Moved the logic that handles the PVOutput processing to a separate function.
This change fixes bug #450 which causes InfluxDB processing to be skipped when PVOutput interval is lower than the interval of the data logger. e.g. When the datalogger sends data every minute, but the PVOutput is configured to do so every 5 minutes.
Moved the logic that handles the PVOutput processing to a separate function. This change fixes bug #450 which causes InfluxDB processing to be skipped when PVOutput interval is lower than the interval of the data logger. e.g. When the datalogger sends data every minute, but the PVOutput is configured to do so every 5 minutes.