now that my IKEA gear works with Gladys, I’m going to tackle automation.
Unfortunately, I can’t find a guide on how to get started.
Simple thing, I have several decades of experience in development but I don’t know how scenes work, it’s not intuitive for me.
Are we talking about a procedural operation where we start from the top and go to the bottom, or do we have a constantly active process with constant loops? (I’m old school )
I’ll give you an example:
I have a program that I would like to apply to my cellar:
I want to manually trigger my scene
Scene:
Action 1: set the heating to Comfort
and as long as no inactivity of 2 hours has been detected, I want:
if the temperature exceeds 21° I put it on Eco
if the temperature drops below 19° I put it on Comfort
Action 2: set the heating to Frost Protection
so I would be interested in a link to a guide to get started properly
Hi @4get9, unfortunately I don’t have a link to help you, but you can check out some tutorials on the forum that integrate scenes to understand how they work.
Here’s an idea for an example for your scene that we could separate or not. I’m going with an « all in one » approach that will need to be tested and improved, of course. One thing to know is that there are no loops in Gladys yet, so we’ll have to work around that. I’m not taking into account the 2-hour tempo because I don’t know how to handle it right now, maybe in a second scene that will only manage that.
Triggers for the different actions
I see 4 (we’ll adjust the different actions later):
Heating in Comfort mode → single click of a button
If the temperature exceeds 21° → auto-trigger if temp > 21°C
If the temperature drops below 19° → auto-trigger if temp < 19°C
Heating in Frost Protection mode → double click of a button
On this block, you’ll need to be careful because we’re asking to switch to Comfort mode. Outside of this scene, it monitors the change in heating mode and triggers when we switch to Comfort mode, so we’ll inevitably re-trigger Comfort mode in a loop until the temp is >= 19°C. There may be safeguards to add as well.
The « Execute the scene after the condition has been valid for » checkbox allows you to wait for a specific time before triggering your inactivity action.