Enable/disable a scene from another scene

Hello,

I’m playing around with scenes and I’m stuck. I don’t think my need is achievable as is.

Here’s the desired use case:

I have an opening sensor on a gate to access the pool. I want to know if the gate is open (by triggering an alarm) BUT:

  • I don’t want this function to be active all the time (don’t want to be spammed or hear the alarm all the time)
  • I can’t program it precisely (time / time of day)
  • I want this monitoring to be activated and deactivated by an action on my part (ideally pressing a button).

I saw that you can start a scene from another, but I don’t find a way to activate or deactivate a scene from a trigger.

Is this feasible currently?

Does that meet your needs?

Unfortunately not.
In fact, let’s start with a simple example, a summer day if you will:

  • I want to go for a swim at 11:04 AM → I open the gate → nothing happens (fortunately) → splash into the water
  • At 14:08, the kids come home → I’m an unworthy father and I forbid them from the pool → at 14:09 I press a button to trigger the « gate surveillance » scene → if someone opens the gate → alarm
  • Finally, I want to accompany them to the water → at 15:35 I deactivate the gate surveillance and we go

IN SHORT: I want this scene to activate or not at my discretion, and I can’t predict a time slot.
I can’t imagine having to go to my computer/phone → Dashboard → Scenes → activate/deactivate surveillance :confused:

I think this relates to the alarm system (activation/deactivation of the system based on other events) which is on another forum thread.

I’ll go get that then, thank you :slight_smile:

You can use a Fake device in MQTT (a simple switch is enough)
You then add it as a second condition for the scene to be executed. Like this:

  • Detection, trigger the scene
  • Retrieve the state of the previously created Fake device
  • Continue the scene only if it is activated (value 1)
  • Trigger the alarm or send a message

I think I don’t quite understand the principle:

I’m happy to retrieve the status of my fake switch, but how do I go about changing its status to activated / deactivated?

I’ve read, but I haven’t quite seen how I could imagine my situation in this thread :confused:
I see the concept of Armed / Disarmed, but this would imply « the whole house », I would like to be able to monitor certain elements of my house (front door and/or pool gate / etc..)

Maybe I also have trouble understanding everything about the scenes and I can’t « build » this scene in the right way!

Manually via the dashboard or via another scene on a chosen event.
Personally, I use this technique for my lighting to simulate a presence if we are away for the weekend/holidays.
The Fake device:

The dashboard:

The scene:

In your case, your trigger is the opening of your gate, your Fake device would be ‹ activation surveillance › and the result (the lighting in my case), sending the message.