jpmens / homie-ota

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

Homie 2.0: wrong version published to $ota #31

Closed ghost closed 7 years ago

ghost commented 7 years ago

homie-ota publishes a string like 0123456789@1.0.0 to the $ota topic. Mosquitto log:

homie/my-device/$implementation/payload <firmware blob>
homie/my-device/$ota 0123456789@1.0.0

However, Homie 2.0 wants just the new firmware version number (1.0.0) to be published to the device/$ota topic.

As a result, homie-esp8266 (2.0 branch) always updates firmware, even if the new firmware version number equals the currently running firmware version.

jpmens commented 7 years ago

closed via #32