Inverter-Data-Logger
Inverter-Data-Logger copied to clipboard
PVOutput plugin does not work with low frequency updates
I am using InverterServer.py as an endpoint for my Omnik inverter. The inverter pushes data once every 5 minutes. The PVOutput plugin has a condition that it only sends the data to when the current minute is divisible by 5. So if my inverter pushes the data any other minute, it will not be reported.
I propose to make this configurable. For inverters that report more frequently, or when using polling, the update can be postponed until the 5th minute, for other inverters the update can be sent immediately.
I removed the 5 min check in the script. The omnik WiFi module sends the data any way every 5 min.
I like your changes. Will change my script accordingly. Not sure if this repo is still maintained.