hacs-hubitat icon indicating copy to clipboard operation
hacs-hubitat copied to clipboard

Feature Request: Hubitat Current Version and New Version Sensors

Open uvjim opened this issue 4 years ago • 2 comments

As you may be aware HASS recently introduced the Supervisor integration that comes with a number of sensors per add-on etc for: -

  • Update Available (binary_sensor)
  • Version (sensor)
  • Newest Version (sensor)

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.

uvjim avatar May 18 '21 09:05 uvjim

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.

jason0x43 avatar May 29 '21 20:05 jason0x43

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.

uvjim avatar Apr 17 '22 20:04 uvjim