I would look at extensions like cmon for examples of how to approach this.
On Saturday, September 23, 2023 at 4:51:12 AM UTC-7 Meteo Oberwallis wrote:
> Hello everyone
> I have a Raspberry 3 B+ and an SSD is attached via USB. The operating
> system (Raspian) and weewx run on it. Now I would like the operating hours
> of the SSD to be displayed in weewx. This works, if you enter the command
> "smartctl --attributes "${disk}" | grep Power_On_Hours" via "smartctl", you
> get the operating hours of the hard drive
> (https://linuxconfig.org/retrieve-hard-drive
> -s-age-and-general-health-information-using-linux). Now it would be great
> if you could display this in weewx. Does anyone have an idea on how this
> could be implemented? You should be able to save the value of the
> “operating hours” in weewx?
>
> Kind regards
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/f041f6f5-fa4e-4928-a8b9-a50ee7e9daaan%40googlegroups.com.