MyController OTA problems
-
Hi
I am having various issues with MyController and OTA updates.
-
If I compare MYSController OTA vs MyController.org OTA, the MYSController takes about 10% of the time to do an update. I am running MyController.org on a C.H.I.P, so is it possible that its not fast enough to keep up with the Firmware Requests.
-
Sometimes when the OTA fails for whatever reason like I manually power down the node being updated or battery runs flat or perhaps RF connection is lost, then MyController seems to crash my ESP8266 Ethernet Gateway. Trying to reconnect i get "Connection Refused". I manually power down gateway and even router and still can't connect to the gateway anymore. Then I notice MyController crashed and needs to be started again. Eventually everything starts working again.
-
If my C.H.I.P is unexpectedly powered down or no.2 above occurs then the database gets corrupt and I need to delete the database files in /conf and launch MyController, then do a restore, then wait a bit, then start up mycontroller again. With No.2 above seeming to happen quite often in trying out OTA, this means my DB is getting corrupt fairly often.
-
There seems to be no way to remove Firmware from a Node once its assigned. If I continue to experience issues with MyController.org's OTA then I would like to remove the firmware assigned to the node and rather use MySController's firmware update for now. Is it possible to add an option to select "No Firmware"
Thanks for the assistance
-
-
@slt1 Hi Sorry for the inconvenience. Could you please report your version of MyController? C.H.I.P configuration.
What type of gateway is using with MYSController?
-
@slt1 said in MyController OTA problems:
There seems to be no way to remove Firmware from a Node once its assigned. If I continue to experience issues with MyController.org's OTA then I would like to remove the firmware assigned to the node and rather use MySController's firmware update for now. Is it possible to add an option to select "No Firmware"
Kindly open an issue for this. https://github.com/mycontroller-org/mycontroller/issues
-
@jkandasa Hi. Its not too much inconvenience It would just be nice to get this working as MyController seems to work rather well for me otherwise.
I am using Version 0.0.3.Final-SNAPSHOT of MyController.org
The CHIP i installed Oracle JDK and then set it up to start on reboot by reading through this http://forum.mycontroller.org/topic/122/launch-start-sh-on-startup-or-like-a-service/2.
I also have mosquitto, node and node-red setup on the CHIP.
-
@slt1 said in MyController OTA problems:
I also have mosquitto, node and node-red setup on the CHIP.
I guess this makes MyController too slow. When you are not using inbuilt MQTT broker. you can make it disable. Can you send me the MyController.log file to know more about Ethernet failure?
-
@jkandasa mycontroller.log file
I am not using MQTT for MySensors. I just installed it to try out at some stage. I am using ethernet connection for MySensors from MyController.
-
@jkandasa Sorry - i misread ... I do have the inbuilt MQTT disabled in MyController already
-
@slt1 I couldn't download the file you have attached. Can you please send it to jkandasa at gmail dot com?
-
@jkandasa Not sure why the "Upload file" for the forum is not working ! Sent via email !
-
@slt1 Thank you! Do you have the serial or MQTT gateway? If yes, Can you try once with the serial or MQTT gateway and report the status?
-
@jkandasa I only have an ESP8266 gateway working over ethernet. I do not have an MQTT or serial gateway. Should I rather be using one of those?
-
@slt1 For now I do not have Ethernet gateway to reproduce your issue.
Yes, I request you to update your ESP8266 ethernet to MQTT. it is simple. Just modify your ESP8266 firmware as shown here. https://github.com/mysensors/MySensors/blob/development/examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino
-
@jkandasa There are 2 problems I have moving to MQTT. Firstly MYSController only works on Ethernet and Serial. Secondly, in MyController.org I lose all my sensor data as it will create new nodes for each of the sensors it picks up on a new gateway.
-
Firstly MYSController only works on Ethernet and Serial.
I understand this. But the only test with MQTT. If you are not fine with the change of gateway. go back to current setup.
Secondly, in MyController.org I lose all my sensor data as it will create new nodes for each of the sensors it picks up on a new gateway.
No, You can use edit gateway option. Edit existing ethernet gateway and update to MQTT configuration. This will retain your setup as is.
-
@jkandasa Ok. I will try it out and let you know. Thanks for all the help. Its greatly appreciated.