[Nut-upsdev] RFC: new variable driver.data.age (seconds since the driver last got data from the device)

Greg Troxel gdt at lexort.com
Sat Nov 14 15:03:16 GMT 2026


Jim Klimov <jimklimov+nut at gmail.com> writes:

> My take on the technical side of this is (and IIRC I posted a bug tracker
> issue to remember the idea at some point), that NUT data state entries each
> have a timestamp. We could publish them as such, maybe with a separate
> option for the client and/or protocol (like we do "aux" data etc.) or
> common namespace following the NUT tree and data point naming convention -
> e.g. `timestamp.battery.charge`. We might offer a special name for the
> newest timestamp (last successful data collection) especially relevant for
> drivers that juggle full and quick/partial data walks.

We could, but in the less is more vein, exposing something simpler seems
very useful.



More information about the Nut-upsdev mailing list