Download raw body.
upd(4): add more sensors (load, power..)
On Wed, Nov 20, 2024 at 09:28:51PM +0100, Matthieu Herrb wrote: > 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. > After disconnecting the 230V cord : hw.sensors.upd0.acvolt0=-26.00 VAC (VoltageAc), OK hw.sensors.upd0.power0=1600.00 W (ConfigApparentPower), OK hw.sensors.upd0.indicator0=Off (Charging), OK hw.sensors.upd0.indicator1=On (Discharging), OK hw.sensors.upd0.indicator2=Off (NeedReplacement), OK hw.sensors.upd0.indicator3=Off (ShutdownImminent), OK hw.sensors.upd0.indicator4=Off (ACPresent), OK hw.sensors.upd0.indicator5=Off (Overload), OK hw.sensors.upd0.percent0=88.00% (RemainingCapacity), OK hw.sensors.upd0.percent1=100.00% (FullChargeCapacity), OK hw.sensors.upd0.percent2=0.00% (PercentLoad), OK hw.sensors.upd0.timedelta0=2433.340800 secs (RunTimeToEmpty), OK I'm not sure if it's OK to have ACPresent=Off ... but may be the sysctl OK only means that there was no error reading the sensor ? -- Matthieu Herrb
upd(4): add more sensors (load, power..)