Open uvjim opened 3 years ago
It may be possible to do that. You can get some hub metadata, including the current firmware version, from the hub's UPNP config endpoint (http://<hub>/api/hubitat.xml
). I'm not sure where to find information about the latest available firmware, though; I've only seen it announced in the forums.
With the introduction of update
entities in has this request would probably best using those now rather than the aforementioned entities (unless you need backwards compatibility for some reason).
Having said that, I've still not found an easy way to get if there is an update available other than from the forums either or a scrape as previously mentioned; both of which don't fit with this integration.
As you may be aware HASS recently introduced the Supervisor integration that comes with a number of sensors per add-on etc for: -
I was just wondering if this Hubitat integration would be able to do the same for the firmware versions of the hub? I could probably do something by scraping the Hubitat UI (in fact I think a call to
/hub/messages
would give some of the information that could be parsed. I'm hoping though that the integration you've written would have native access to this from the hub application.Thanks for considering.