heishamon-homeassistant icon indicating copy to clipboard operation
heishamon-homeassistant copied to clipboard

support for firmware update through home assistant

Open IgorYbema opened this issue 5 months ago • 20 comments

As the developer of the Heishamon software I would like to discuss the posibility to add upgrading through the home assistant heishamon integration. I am not a python developer and am not a frequent user of home assistant. But I like where it is going and there a lot of users using it.

So what could I do on the heishamon side to support firmware upgrades through this integration?

Currently heishamon firmware updates is done using a POST to the /firmware url with filename and md5 as the post values, including the firmware itself ofcourse. Is this something which the integration could post a self-downloaded (from github) file to?

I can't make OTA upgrade on heishamon as the ESP8266 is too low on memory to add HTTPS support (required for it to download the binaries from github). I could host the binaries on a HTTP site but that would make it depended on that, probably, single server. That is why I wanted to look into the home assistant method of upgrading the firmware.

IgorYbema avatar Sep 09 '24 18:09 IgorYbema