Smart action dependent upon previously run action
A bit involved to explain ...
I have two smart actions for controlling by indoor cameras.
The first one sets privicy mode off, if it's on.
The second action sets privicy mode back on.
I would like that second smart action to be run ONLY if privicy mode had been turned off by the first smart action, not if it was already turned off.
The idea is that I keep privicy mode on during the day when we're at home and it's automatically turned off during the night, but if we're away, e.g. on vacation, I will manually turn the privicy mode off and don't want the second smart action to turn it back on in the morning.
Does that make sense?
I know I can disable the smart actions when we go away and re-enable when we get home, but it would be easier if the actions took care of it all
Any thoughts?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Slight change...
I now have another action call INITIATE
This runs at 23:55 and does this:
IF
privicy mode of the indoor cameras is enabled
THEN
turn on the "main" smart action
....
Then main smart action does this,
IF
The time is 00:00
THEN
Disable privicy mode
THEN
Delay 3 hours
Delay 3 hours
THEN
Enable privicy mode
THEN
Turn off this smart action (so that it's reset, ready for tomorrow)
So, when we go wway on vacation or whatever, all I need to do is to disable privicy mode for the cameras and it takes care of itself
Samo
- Copy Link
- Report Inappropriate Content
I don't know if I have understood your requirement correctly, but I solved a similar problem with a smart button and two actions (one click to set Privacy mode ON, plus disabling the motion sensor at the entrance door, and two clicks to set it OFF, plus enabling the same motion sensor). This requires two manual actions, though, but without using the smartphone.
- Copy Link
- Report Inappropriate Content
Hi
Thanks for the reply. Not really sure that's really what I want.
BUT - I had inspiration during the night🙂...
I think I can combine the two smart actions with a delay of 12 hours between turning the privicy modes on and off.
..so, turning the privicy mode on wouldn't happen unless it had already been automatically turned on.
- Copy Link
- Report Inappropriate Content
Hi,
Typically, the action of a smart action entry can't be set to the trigger of another entry.
Would you please describe the smart action entry you have configured on the Tapo app so we can check if it will meet your requirements?
Best Regards
- Copy Link
- Report Inappropriate Content
Thanks.
I think I'm there after inspiration last night.
The smart action is:-
Start to run at midnight.
IF my two internal camera's provicy mode is on
THEN turn the privicy mode off.
DELAY 3 hours
DELAY 3 hours
THEN turn the privicy mode on.
THEN send a notification
The only thing I'm usure about is whether the THEN after the IF controls the logic flow for only the following action or the remainder of the steps.
If it only controls the next step, then I'll write another smary action with the IF, and if met then will run this smart action tgat has all the steps in
(Can you tell that I'm a software developer 😄)
- Copy Link
- Report Inappropriate Content
Slight change...
I now have another action call INITIATE
This runs at 23:55 and does this:
IF
privicy mode of the indoor cameras is enabled
THEN
turn on the "main" smart action
....
Then main smart action does this,
IF
The time is 00:00
THEN
Disable privicy mode
THEN
Delay 3 hours
Delay 3 hours
THEN
Enable privicy mode
THEN
Turn off this smart action (so that it's reset, ready for tomorrow)
So, when we go wway on vacation or whatever, all I need to do is to disable privicy mode for the cameras and it takes care of itself
Samo
- Copy Link
- Report Inappropriate Content
Hi,
Thank you for sharing your settings.
Best Regards
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 177
Replies: 6
Voters 0
No one has voted for it yet.