I have several shelly devices that are integrated with HA via the official integration(Shelly - Home Assistant). I am able to monitor for firmware updates for the devices, but I have not yet found or seen the correct approach for an automated rollout of the firmware. Appreciate any pointers on this.
Using the shelly integration you can both check if 1) a firmware update is available and 2) update it with the press of a button from one or two cards on a dashboard in homeassistant like so. You can also test stability easily by only updating one or two shellies at a time.
Settings → Devices & Services → Entities
search for ‘firmware_update’ and enable all within the shelly integration.
Than create a card based on the entity
Search for ‘firmware_update’
And select all.
You can also create a new card (or combine them) for ‘ota_update’ by selecting all entities by that name (enabled by default).
DONE, you have one or two cards that show if there are updates and allow you to update with the click of a button
Can see the following missing:
binary_sensor.ROOM_shelly_1pm_plus_firmware_update
button.ROOM_shelly_1pm_plus_ota_update
button.ROOM_shelly_1pm_plus_ota_update_beta
I had the button.shellyXYZ_ota_update set and working when I used MQTT. Now using HA integration, the only button available is the reboot button. If I open the firmware entity, it has the option to “install”. How can I expose this “install” action as a button?
I have latest HA version (installed on Docker with supervisor).
Thanks.