XtheOne / Inverter-Data-Logger

Data logger for Omnik/Hosola and other Solarman Wi-Fi kit powered Solar Inverters
GNU General Public License v3.0
120 stars 29 forks source link

PVOutput plugin does not work with low frequency updates #34

Open silvester747 opened 5 years ago

silvester747 commented 5 years ago

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.

conradhagemans commented 5 years ago

I removed the 5 min check in the script. The omnik WiFi module sends the data any way every 5 min.

conradhagemans commented 5 years ago

I like your changes. Will change my script accordingly. Not sure if this repo is still maintained.