celsworth / lxp-bridge

A bridge to MQTT/InfluxDB/Postgres for communications with LuxPower inverters
MIT License
9 stars 14 forks source link

Switch to u16 for registers & values #196

Closed celsworth closed 1 year ago

celsworth commented 1 year ago

I've messed with this before but having reviewed inverter protocol datasheets, pretty sure these are all actually unsigned int16.

With the exception of p_grid and p_battery which aren't real registers but ones I calculate, and they can definitely be signed.