Scene - Automatic deactivation

Hello everyone,

I have a silly question, I might not be awake enough this Saturday morning :smiley:

I’m creating a very simple scene but I don’t see a way to disable the scene itself. There is a « Start scene » but I don’t see its opposite… Am I crazy or does it not exist?

My scene: since I don’t have a heater connected with a display, it’s plugged into a Niko wall socket with Zigbee.
By clicking « Start scene », I’d like my heater to turn on and for the scene to stop permanently as soon as the temperature = 21°C.

  • Trigger: every 30 seconds
  • Get the state of my temperature sensor
  • Turn on the outlet
  • Continue only if the sensor state is above 21°C
  • Turn off the outlet
  • Désactiver la scène jusqu'au prochain déclenchement manuel ← doesn’t exist.

I can work around it with a virtual button but I find it becomes complicated for something that should be simple.
And if I don’t disable the scene, it will keep checking the temperature every 30 seconds and the bathroom will always be above 21°C for no reason.

If you have any ideas, thanks :slight_smile:

I’m replying to myself, the widget allows starting without activating the scene.
So it does the job :smiley:

Answer found after the 2nd coffee :sweat_smile:

Have an excellent weekend, everyone!

Oh no…

Is it normal that when I launch a scene manually, and it is supposed to trigger every 30 seconds, it only does it once and not every 30 seconds?

I did a test with sending message(s):

  • I click on start the scene from the widget.
  • Trigger scheduled every 30 seconds
  • I send a test message

I receive the message 1x and not every 30 seconds :frowning:
I suppose you have to « activate the scene » and not simply click « start the scene » for it to work.

Any idea or tip for me? :upside_down_face:

Starting the scene allows you to start the scene manually without taking the trigger into account.

For heating, I suggest you go read the programming section of the tutorial. :

Thanks for the link.
That’s already what I set up so it’s comfortable every morning when I work. But unfortunately that doesn’t solve my problem of getting a temperature at a specific instant. And for the scene to then stop permanently. No time criteria or anything.

Actually, I think I’m missing a « while true ». As long as the temperature isn’t 22°C, I stay in the scene.
The « Continue only if » option only checks the condition once. If it’s not 22°C, the scene stops but the radiator will keep running and never stop.

Final objective: to have a button at the entrance of the bathroom. I click it, the scene starts and it stops at the desired temperature.

Why not a scene with a perpetual trigger (temperature < 100 degrees).
You first check if the radiator’s plug is switched on and if that’s the case, you check that the temperature is above 22°C (continue only if temp > 22), in which case you turn it off.
For turning it on, a scene that triggers when you press the button, simply.
What do you think?