Get notified of Available Hassio Addon Updates

hey, tried now with nabucasa urlā€™s, but its the same ā€¦
on first reboot , i have 5 errors for my 5 sensors, i think its already requesting info, while my system is not yet ready ā€¦ on next scan_interval its succeeds

i should find a way to have some startup delay for those sensorsā€¦

Yup, this is a known issue and is documented in the write up.

Ok, np

All working now

i noticed today a new HassOs update 3.12 in the supervisor tba
is this also possible to notify with a sensor?

https://version.home-assistant.io/stable.json

That will fine you the most current available for your platform.

I would explore the Hassio API. I think I have seen both the supervisor and HassOS versions reported.

cool, seen you already created this one :slight_smile:

allthough you still need to know the current version installed ā€¦

Maybe we can look at something that does a pull from command. When you do ha supervisor info in ssh, you get installed addons, version installed and version available.

Get that data from there, make it as some kind of sensor and trigger based on that

do i create llt for every addon that i want a sensor for??ā€™

No a single one will work for all of them.

1 Like

yes, that ā€œha supervisor infoā€ command is indeed better
then its indeed possible to have 1 rest sensor, for all available addons, ha version, hassos version ā€¦
edit: seems is doesnt give the HassOs version

For me the notifications donā€™t work Iā€™ve no clue on where it goes wrong, I see there is an update but i didnā€™t get a message

If you donā€™t give any info on how you set up your sensor and automation, I (nor anyone else) can help you troubleshoot.

did the sensor show up in your states dev tool? Are the attributes included?

I have everything setup as described,
sensor & switch are in dev tools.

but i have already updated that addon. so you donā€™t see an update now.

sensor

What is the state of the automation? Did you include initial_state: false in the automation setup?

for some reason, my rest sensors for my add-ons dont have the ā€œlast_versionā€ attribute anymore?

i only see ā€œversionā€ in the states ā€¦ someone else got this too ?

EDIT : ok, seems the attribute is changed, its now : version_latest

I think the latest supervisor update may be at the root of this change. Thanks for digging into it, I hadnā€™t had the chance yet.

I think @CentralCommand has a very complete one

Iā€™m getting this errorā€¦ Why? :frowning:

Log Details (WARNING)

Logger: homeassistant.components.rest.sensor
Source: components/rest/sensor.py:249
Integration: rest (documentation, issues)
First occurred: 11:28:10 PM (1 occurrences)
Last logged: 11:28:10 PM

Empty reply found when expecting JSON data

Can you share your config?

I looks like the sensor is making the call but its getting nothing in return.