Index | Thread | Search

From:
Matthieu Herrb <matthieu@openbsd.org>
Subject:
Re: upd(4): add more sensors (load, power..)
To:
Landry Breuil <landry@openbsd.org>
Cc:
tech@openbsd.org
Date:
Wed, 20 Nov 2024 21:28:51 +0100

Download raw body.

Thread
On Sat, Nov 16, 2024 at 07:59:29PM +0100, Landry Breuil wrote:
> new diff after miod@ pointed out i had forgotten a break..

On an eaton 1200 ECO I get:

hw.sensors.upd0.acvolt0=-26.00 VAC (VoltageAc), OK
hw.sensors.upd0.power0=1600.00 W (ConfigApparentPower), OK
hw.sensors.upd0.indicator0=On (Charging), OK
hw.sensors.upd0.indicator1=Off (Discharging), OK
hw.sensors.upd0.indicator2=Off (NeedReplacement), OK
hw.sensors.upd0.indicator3=Off (ShutdownImminent), OK
hw.sensors.upd0.indicator4=On (ACPresent), OK
hw.sensors.upd0.indicator5=Off (Overload), OK
hw.sensors.upd0.percent0=87.00% (RemainingCapacity), OK
hw.sensors.upd0.percent1=100.00% (FullChargeCapacity), OK
hw.sensors.upd0.percent2=0.00% (PercentLoad), OK
hw.sensors.upd0.timedelta0=2405.689200 secs (RunTimeToEmpty), OK

The 1st line (VolatageAC) seems wrong. It looks  like the inverse of a
plausible VoltageDc (2 * 12V batteries in serial)

The other values look ok.

-- 
Matthieu Herrb