Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Available Upgrades #18

Closed
V1d1o7 opened this issue Jan 9, 2022 · 6 comments
Closed

Show Available Upgrades #18

V1d1o7 opened this issue Jan 9, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@V1d1o7
Copy link

V1d1o7 commented Jan 9, 2022

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"
@ironsheep ironsheep self-assigned this Jan 9, 2022
@ironsheep ironsheep added the enhancement New feature or request label Jan 9, 2022
@ironsheep
Copy link
Owner

@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...

@V1d1o7
Copy link
Author

V1d1o7 commented Jun 25, 2022

Any new news on this Ironsheep?

@ironsheep
Copy link
Owner

Finally have updates to the card and distribution working again.

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

@ironsheep
Copy link
Owner

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
Copy link
Owner

NOTE: see ironsheep/RPi-Reporter-MQTT2HA-Daemon#71 for the latest notes and thinking...

@ironsheep
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants