ironsheep / lovelace-rpi-monitor-card

A Raspberry Pi status display Card for Home Assistant Lovelace
MIT License
189 stars 9 forks source link

Card data arrived => Warning if greater than 3 minutes / default value from RPi-Reporter-MQTT2HA-Daemon is 5 minutes #54

Open chri-bra opened 1 year ago

chri-bra commented 1 year ago

Issue being Addressed

The card data arrived timestamp changes regulairly to warning (aka orange).

grafik

The default value from the RPi-Reporter-MQTT2HA-Daemon is 5 minutes.

Enhancement

Adjust the threshold in the lovelace-rpi-monitor-card also to 5 (or better 6) minutes.

Alternatives

Make the value (_colorReportPeriodsAgoDefault) adjustable for the user.

Additional information

No response

ironsheep commented 1 year ago

I'm using the coloring on my RPi farm to keep me aware of what's working as intended or not. But I certainly could make this user configurable as you suggest. Good idea!

Give me some time to get this done...