celsworth / lxp-bridge

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

add ReadInput4 for registers 120-159 #239

Closed pmccut closed 6 months ago

pmccut commented 6 months ago

Generator data is available for EG4 18K on registers 120+. This adds a 4th ReadInput since only 40 registers can be read at once. Not much of 120-159 is populated on my EG4 18K so I only added what was populated that I could verify.

I've been reading v_gen, p_gen, f_gen for the last week (with AC coupled solar on the GEN port) into prometheus and the data looks correct.

EPS is after generator data but mine are all 0 so can't verify what those do - so left them out

jgulick48 commented 6 months ago

From my installation, it looks like the EPS stuff will show various line stats when running in an off grid/backup mode. Here is a screen shot from my monitor panel, I can pull direct data if needed for examples.

Screenshot 2024-03-03 at 8 24 06 PM
celsworth commented 6 months ago

This looks great. Ignore the tests which are probably going to fail, they're a pain and I'll probably just disable them to be honest. I'll merge this in today :)