lovelace-rpi-monitor-card icon indicating copy to clipboard operation
lovelace-rpi-monitor-card copied to clipboard

Show Available Upgrades

Open tdvantine opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Being able to monitor if there are any upgrades for the RPi without having to ssh into the Pi to check

Describe the solution you'd like Be able to list the number of updates available, and have them separated out by system or security

Describe alternatives you've considered When running Ubuntu you can use the below command to list the number of updates, to which you can then use a command line sensor to pull the data into Home Assistant, however raspbian doesn't have the same ability to do so as easily.

Additional context custom:multiple-entity-row design I have for a Ubuntu machine custom:multiple-entity-row card

Cronjob that runs

/usr/lib/update-notifier/apt-check 2>&1 | tee /home/homeassistant/.homeassistant/system_updates.out

and the command line sensors in config.yaml

  - platform: command_line
    name: System Updates
    scan_interval: 86400
    command: "cat /home/homeassistant/.homeassistant/system_updates.out | cut -d ';' -f 1"
  - platform: command_line
    name: Security Updates
    scan_interval: 86400
    command: "cat /home/homeassistant/.homeassistant/system_updates.out | cut -d ';' -f 2"

tdvantine avatar Jan 09 '22 20:01 tdvantine

@tdvantine This is interesting... let me see what I can do about this... Gonna be a couple of weeks at least... but more when I find out...

ironsheep avatar Jan 09 '22 23:01 ironsheep

Any new news on this Ironsheep?

tdvantine avatar Jun 25 '22 16:06 tdvantine

Finally have updates to the card and distribution working again.

Now I can consider doing this... More soonish...

ironsheep avatar Feb 07 '23 07:02 ironsheep

My challenge is real estate on the card. Easier on the Full card than the Glance card.

So I'll focus on pushing this thru the Daemon for now then I'll work on how to present it...

ironsheep avatar Feb 07 '23 07:02 ironsheep

NOTE: see https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/71 for the latest notes and thinking...

ironsheep avatar Feb 20 '23 00:02 ironsheep

Changes committed and appears in card v1.4.1 and later.

ironsheep avatar Feb 27 '23 22:02 ironsheep