arjenhiemstra / ithowifi

Itho wifi add-on module (ESP32 wifi to itho I2C protocol)
GNU General Public License v3.0
170 stars 29 forks source link

[Feature] provide FW update available of add-on via MQTT #242

Open thyzzv opened 4 months ago

thyzzv commented 4 months ago

Describe the feature Would it be possible to provide the 'Firmware update available' of the add-on itself via MQTT? That way we wouldn't have to login to the add-on itself to check for newer versions (or follow the GoT toic very precisely)

Expected behaviour Provide an 'fw_update_available' boolean on the mqtt status topic for the add-on. or a 'available firmware version' field

arjenhiemstra commented 3 months ago

certainly possible. The json file could be parsed from github lets say once a day. Only downside is that connecting to github requires https client support in the firmware which is quite costly firmware size (adds about 180kb). Maybe some other solution is possible...

thyzzv commented 3 months ago

Ah I had not noticed that the firmware check is done locally in the browser. Not on the device 180kb is indeed a lot.