motion detection for unlock screen
Posted: 12 Oct 2018 20:04
Hi,
I am new with automagic and I am building a picture frame with an old tablet.
I want to save energy, so the screen should not be on all the time, only when people are around.
I use the app "motion dectetor" which triggers a broadcast that automagic can receive.
I have made a flow that has the motion detector as trigger.
Than the condition is asked. Is the screen on.
If no - than light the screen, pause for 5 minutes, lock the screen.
Now I want to add the answer yes for the condition - set the pause timer to its begining.
When a movement is detected during the pause the flow should be set back to the beginning of the pause.
So that after five minutes without motion the screen will lock. But if there is movement the screen will stay on.
I tried to use the pause action also on the yes condition but it does not work. With this i get numerous instances of pause.
I there a way to achive this. I am thankfull for any suggestion.
Greetings Minorum
I am new with automagic and I am building a picture frame with an old tablet.
I want to save energy, so the screen should not be on all the time, only when people are around.
I use the app "motion dectetor" which triggers a broadcast that automagic can receive.
I have made a flow that has the motion detector as trigger.
Than the condition is asked. Is the screen on.
If no - than light the screen, pause for 5 minutes, lock the screen.
Now I want to add the answer yes for the condition - set the pause timer to its begining.
When a movement is detected during the pause the flow should be set back to the beginning of the pause.
So that after five minutes without motion the screen will lock. But if there is movement the screen will stay on.
I tried to use the pause action also on the yes condition but it does not work. With this i get numerous instances of pause.
I there a way to achive this. I am thankfull for any suggestion.
Greetings Minorum