I would like to have the newest version number to be shown in ha.
Bonus - Update Notification:@smadds also publishes the latest released version number to a publicly available MQTT server which may be subscribed to at sonoff.maddox.co.uk:1883 with the topic sonoff-version . No authentication needed.
I don’t know how to set this up, i tried this without luck:
Unfortunately the code I postet above does not work as expected.
Github only allows 60 request per hour. It looks like the code looks for the version number every 30 seconds, because github blocks the sensor every 30 minutes.
I tried adding
timeout: 1800
but that did do the trick.
I didn’t use the component “rest” before. How can I change the update rate?