Achronite / mqtt-energenie-ener314rt

MQTT interface for Energenie ENER314-RT add-on board for the Raspberry Pi, designed for use by Home Assistant.
MIT License
13 stars 5 forks source link

Add "New Version" update information / Integrate MQTT Update #80

Closed genestealer closed 7 months ago

genestealer commented 7 months ago

I'm using Raspberry Pi MQTT Monitor and noticed they have very cleverly implemented MQTT Update which shows the user a notice in Home Assistant when a new github version is released. I thought it would be great to add this feature too.

The mqtt Update platform allows you to integrate devices that might expose firmware/software installed and the latest versions through MQTT into Home Assistant as an Update entity. Every time a message under the topic in the configuration is received, the entity will be updated in Home Assistant.

image image https://github.com/hjelev/rpi-mqtt-monitor/releases/tag/0.8.3

genestealer commented 7 months ago

I see they have implemented an MQTT command to auto-update the scripts running on Pi, which may be a step too far, an update warning/notice would be nice though.

image

Achronite commented 7 months ago

Almost there.... image

Achronite commented 7 months ago

@genestealer Can you give the develop branch a test please to see if it meets your suggestion (bar the 'install' button, obviously).