Hey Harry,
I assume that the new update button on the Devices tab is using some sort of API call to the relevant device to trigger the update, but I can’t see such a call on the API documentation on port 8080.
Is this something that we can trigger ourselves using the API?

Thanks,
James
1 Like
I did some more investigation and have discovered you don’t really need a proper API afterall to trigger an update.
Going to http://hostname/api/remoteupdate will trigger an update on hostname. If you want to trigger one on another host then obviously you can just change hostname but you can also pass ?host=host2name to trigger the update on host2.
So, now my home assistant page that shows me when an update is due can show a button to trigger an update (just like the devices page does).
Hi @James_Fitzell,
How do you display on your Home Assistant that an update is due for a Ropieee device?
Cheers,
Joost
I’ve done a few things with some assistance from @GregD.
I use the RESTful integration to pull 4 values from each Ropieee using the relevant API. For my usage I pull temperature, current version, update status, and uptime, but realistically you can pull as much or as little as you like and store them in HA entities.
On an HA card I display an overview that shows me info about the 5 ropieee devices. The version number is a button using state-switch that highlights when the version is out of date (not visible in the screenshot but it puts asterisks around the version and makes it red) and when I press the button it used to take me to the relevant ropieee HTTP page so I could update it… now it takes me to the “kick off update API”.
3 Likes
It will be future request for modification for Ropieee or independent project?
Great work!
Regards
Ropieee already has all the APIs required (even the start update one that was the original question from this thread).
What Greg helped me with was working out how to query those APIs from inside Home Assistant (a completely independent project).
Happy to assist if someone uses Home Assistant and wants to do the same type of dashboard, but it’s not something missing from Ropieee.
2 Likes