Bug Fixes
- Only match
CHRG
as whole word inups.status
, see #3. - Allow mains voltage of 0 (when UPS is offline), see #4.
- More rubust parsing of UPS state, see #5;
- Total Consumption value was in Wh instead of kWh, see #5, #6;
- Force IPv4 connection to
upsd
. NodeJS v18 resolveslocalhost
to::1
instead of127.0.0.1
, and I'm not sure ifupsd
handles IPv6 (or how to whitelist incoming IPv6 hosts on Synology). - Outlet In Use was set to Boolean values instead of UINT8.
Bump Dependencies
- NodeJS v18.12.0 LTS;
- homebridge v1.5.1;
- homebridge-lib v5.7.1.