I am using the HTTP Agent to monitor a Fronius inverter. I created a trigger to receive an alert when the inverter is not answering:
The time interval is needed to avoid checking the inverter during the night, when it's off.
Assuming I can get the sunrise and sunset time from a table, or from a websocket, how could I use that info to make the time interval more precise? Something like this:
Maybe somebody has already solved this, no need to reinvent the wheel. :-)
Help is greatly appreciated!
Code:
nodata(/Fronius Solar/fronius.GetInverterRealtimeData_CommonInverterDataAPI,3m)=1 and time()>070000 and time()<200000
Assuming I can get the sunrise and sunset time from a table, or from a websocket, how could I use that info to make the time interval more precise? Something like this:
Code:
nodata(/Fronius Solar/fronius.GetInverterRealtimeData_CommonInverterDataAPI,3m)=1 and time()>SUNRISE(today) and time()<SUNSET(today)
Help is greatly appreciated!
Comment