Ah yes, I meant reboot. Thanks for directing me to the command, I was assuming that once the firmware was assigned to the node, it would be sent as part of the next update. My Controller does that so there must be a way, I can run some tests for you to discover how. I have set my nodes now to update accordingly, I'll let you know how it goes.
Best posts made by manutremo
-
RE: OTA on DualOptiBoot mysensors nodes?
Latest posts made by manutremo
-
RE: OTA on DualOptiBoot mysensors nodes?
Ah yes, I meant reboot. Thanks for directing me to the command, I was assuming that once the firmware was assigned to the node, it would be sent as part of the next update. My Controller does that so there must be a way, I can run some tests for you to discover how. I have set my nodes now to update accordingly, I'll let you know how it goes.
-
RE: OTA on DualOptiBoot mysensors nodes?
@jkandasa said in OTA on DualOptiBoot mysensors nodes?:
Can you post the complete error trace?
I tried again but nothing was recorded on the MyController log in Status / MyController server log.
I checked the Serial Monitor output and everything seems to be fine, same as when I use MysController. Maybe I did something wrong the first time. I can still send the full Serial Monitor log if you want to have a look.
My comment about OTA not starting after a normal update from the node but only after a reset still remains. In case, it matters, my node is using smartsleep.
-
RE: OTA on DualOptiBoot mysensors nodes?
Hi @jkandasa ,
Yes for sure. Many thanks for preparing the snapshot. I downloaded the snapshot version and tested fota on a test node. I run MYSController in parallel to capture the communications between the gw and the node during the update.
These are my first obervations:
When the note is rest, ota is detected and starts. However the first requests for blocks are done in a row and with no response from the gateway, which doesnt happen with MYSController. See capture below. I'm not sure if this is as intended.
I also noticed that OTA seems to start only on node reset, not after next update.
Finally, the OTA operations are logged into the MyController log as ERROR, like e.g.
2018-11-04 08:26:09,209 ERROR [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:279] Throws exception while processing!, [MessageImpl(gatewayId=1, nodeEui=23, sensorId=SENSOR_BC, type=Stream, subType=Firmware request, ack=0, payload=010000002604, isTxMessage=false, timestamp=1541316369203, properties=null)]
java.lang.NullPointerException: nullThat's all for the moment. I can do more testing as time allows, and hope this helps
-
OTA on DualOptiBoot mysensors nodes?
Hi!
Coming from the mysensors forum... I've been using Domoticz as my controller and MysController for OTA updates for my nodes, which is working quite well.
I've just installed MyController on my server, mainly to test the OTA feature since some of them update once every several hours and leaving my PC on for that is just not too energy effective, specially having a small server running 24h/day.
My nodes work with DualOptiboot with EPROM memory installed.
I've run some tests with Mycontroller but haven't had success on OTA even though I think I followed all the step.
I've searched this forum but the only thing I found is a year old or so request to test OTA with optiboot nodes.
Would you be so kind to provide an update on if this setup should work with v1.3? I can obviously volunteer to run tests on my network if this is still unders testing or development.
Thanks!