celsworth / lxp-bridge

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

Add a new way to parse Inputs packets into readable values #251

Closed celsworth closed 7 months ago

celsworth commented 7 months ago

Partly to replace the nom parsing built into ReadInputs1/2/3/4/All.

With this, we can pass td.pairs() in and get a Vec of (JSON Key, ParsedValue) back out, which can be sent directly to MQTT (then later to InfluxDB).

WIP.