ota_mesh_push.py, ota_push.py: run the tth.meshcore OTA engine instead of their own copies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-16 23:17:55 +01:00
1 parent f6e792f1bb
commit a69e97583e
5 files changed
+310 -947

No files matched your search

+9
View File
@@ -124,6 +124,15 @@ any node with `tempradio` takes it.
mesh (869.432/62.5) and EU Narrow (869.618/62.5). The node keeps its TX
power on the side channel: pick a band where that power is allowed.
The transfer in both tools is the OTA engine of the
[tth.meshcore Ansible collection](https://git.rfa.cz/tth-pub/meshcore-ansible)
(`plugins/module_utils/meshcore_ota_engine.py`) -- its `meshcore_fw_ota` module
runs the same code, so a fix lands everywhere at once. The tools need only its
files, not Ansible: an installed collection
(`ansible-galaxy collection install git+https://git.rfa.cz/tth-pub/meshcore-ansible.git`),
a checkout named by `MESHCORE_ANSIBLE`, or one next to this repository
(`tools/ota_collection.py` prints which one it uses).
`ota_mesh_push.py` needs the `meshcore` Python library. It logs in as admin
(password from `[secrets] admin_pw` of `platformio.local.ini`, or asked for),
sends binary chunks with a pause between them, asks which are missing and