jpmens / homie-ota

OTA "server" in Python for Homie
127 stars 50 forks source link

Update not working - leading to crashed ESP8266 #73

Closed mwildbolz closed 4 years ago

mwildbolz commented 6 years ago

I'm running homie-ota on a windows PC.

As I tried updating one node via homie-ota i saw two interesting things today:

  1. Upload worked, but the uploaded firmware is too short (mqtt messages say approx. 8000 bytes, image is 408000 bytes big ) - leading to a crashed esp8266 node. The size of the image file is shown correctly when browsed via homie-ota web UI

  2. Upload did not work with node responding an Internal error (ota status 500).

I saw, that the calculated checksum (the target topic homie-ota is trying to publish to) is wrong - maybe this is the root cause of my problems?!?

Could this be something in relation to my Windows environment?