nmakel / solaredge_meterproxy

Modbus proxy for SolarEdge inverters and unsupported kWh meters
MIT License
29 stars 20 forks source link

Generic mqtt input example #18

Closed marcelrv closed 2 years ago

marcelrv commented 2 years ago

This adds the an input with MQTT json text. In the code, no conversions is done, hence the json object should match the data elements as in the generic.py

marcelrv commented 2 years ago

note: @jonesPD borrowed some bits & pieces from your mqtt code However, main difference is that I did not want to trigger the refresh from the P1 meter, as it already automatically comes every few seconds.

nmakel commented 2 years ago

Cool! I'll have a look at this when I have a bit more time so I can merge it properly. Thanks for your work!