Hi there,
New Nymea user here. I am trying to set up two magic rules involving a hue motion sensor and a hue smart plug that works like this:
- [If present] then turn on hue smart plug
- [If last “Last Seen Time” is greater than 5 minutes compared to present time] then turn off hue smart plug
What I want to achieve is that something turns on when I walk into a room, and that the something turns off again 5 minutes after I left the room.
The first rule works fine. For the second rule the closest I have come is to use the option in the app to set “Last seen time” is less than or equal to “0 + datetime”. Instead of zero I have tried to use a negative value, hoping the value there would be in seconds…but to no avail.
Does Nymea support what I wish to achieve, and if so what values or rules can be used?
Thanks in advance for all help