celsworth / lxp-bridge

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

Add net power keys: p_battery and p_grid #183

Closed celsworth closed 1 year ago

celsworth commented 1 year ago

By request from #177

Adds two new calculated keys to our inputs hash.

p_battery is the net flow of power to the battery, so charging is positive and discharging is negative.

p_grid is the net flow of power to the grid, so import is positive and export is negative.