I am using virtual devices to track some battery powered devices wake up time. Their wake up interval is set to 6 minutes. I am turning a virtual device on on wake up ( I am catching this with Ultralog), the turning the virtual device off again. If the virtual device has been off for 1 hour, I send a pushover message.
What I have now is the virtual devices are normally off, and I have to look at the time stamp when the last wake up was. I want the virtual devices to be on, and only go off after no wake up for 1 hour. But its not as easy as it first sounds. I cannot configure anything where I could say if last timestamp is older than 1 hour... or is there somewhere ?
This is my current solution:
What I have now is the virtual devices are normally off, and I have to look at the time stamp when the last wake up was. I want the virtual devices to be on, and only go off after no wake up for 1 hour. But its not as easy as it first sounds. I cannot configure anything where I could say if last timestamp is older than 1 hour... or is there somewhere ?
This is my current solution:
Comment