I have two automations set up - As I walk into the room (Dining room part of the room) the light turns on, and as I walk left into the ākitchen zoneā the kitchen light turns on.
Is there a way of adding to this automation that if presence is detected in the kitchen zone that the dining zone will remain on until all zones are clear? Rather than the dining zone turning off when iāve moved into the kitchen area?
I have it set up this way so that If I only stay in the dining zone - then I dont need the kitchen light to turn on. However, if iāve moved into the kitchen zone - both should remain on until Iāve left the room completely.
Ultimate Goal:
Only Dining zone detected - only turn on dining zone and turn off when no presence detected.
If Kitchen zone is entered - keep the dining zone on as well while there is detection in Kitchen zone
If moving back to dining zone - and remaining there - Dim Kitchen light a little but remains on until both zones detect no presence.
Iām sure this is possible, but possibly outside the scope of this blueprint.
Sorry, I meant the time delay until the automation checks for motion.
Is there any way to trigger it during that delay? For example, if the lux level drops below a certain threshold and the lights are off, it would turn them on immediately instead of waiting for the time delay to finish.
Just come back to looking at using this blueprint as its always seemed so cool, but Iāve never really got it to work. and today is no difference.
just imported (7.3)
Either using a single motion detection or a group of two . which works, I can see the motion entity change to on etc.
Selected a few bulbs in the room. brightness level and temp level.
selected night time between midnight and 7am. for just one light.
nothing else is enabled.
tested a bunch but it sits there with ālast time this activation was activated = neverā and if i force it to run actions , it doesnāt do anything.
tracing is next to impossible given the complexity of this blueprint. any pointers as to what i can do to work it out??
Hi,
I have set a motion detector as a trigger so that certain lamps are switched on. This also works so far. However, I would like the light to stay on as long as the TV is on or the brightness in the room exceeds a certain value.
I can query my television via media_player.fernseher.
What is the best way to do this?
Regards
Herbert
Iām having a similar problem. I have one automation using it that I setup a few weeks ago and it works great. I tried to setup another one today but cannot get the trigger to fire. Iāve tried multiple trigger entities (that all work and show status change in the logs) but none work and, as with the OP, ālast time this activation was activated = neverā.
You are going to have to use scenes in your light input.
Add your helper for scenes & scripts.
Now the exciting part Scenes - Scripts To Turn OFF this is were all your logic will be. You will create scripts to handle ever condition.
In your kitchen off script you will have;
If dining room detected turn light to 50%.
If dining room clear and dining room light is ON = turn off kitchen light and dining room light.
If dining room clear and dining room light is OFF = turn off kitchen light.
In your dining room automation.
If kitchen detected leave light dining light ON.
If kitchen is clear and kitchen light is on = turn off kitchen light and dining room light.
if Kitchen is clear and kitchen light is OFF = turn off dining room light.
To do this you would go to settings > automations & scenes > create your 2 scenes for your lights input and then create 2 off scripts. In the script create new script > add building block > choose then add in the condition and action for each one. keep adding building blocks choose for each one.
Because you are using scripts it has to wait for the Scenes & Scripts - Toggle Helper to turn OFF before it will run the script again. Try removing the helper as then it will just run your script every time it is triggered.
Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on ā</>ā and paste code in there.
Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on ā</>ā and paste code in there.
Hi thanks for replying. I somehow managed to get it working in the end by creating a simple automation from scratch with it and then adding the complexity things (ie making it have a nightlight and thats about it) testing, working, then changing the bulb and motion sensor to the ones i wanted it to be. and its ok now.
No idea why though given that it was identical in the config options to the original one i created. so iāve no idea whats happening with it. Iām about to migrate a bunch of other rooms automations with it so iāll let you know if it keeps happening.
Hi, I found this blueprint recently and Iām wondering if it supports the use case I am currently looking for.
I have a light in the hallway, which I want to turn on with a motion sensor and adjust the brightness and color temperature based on sun elevation (or time which is not supported but somewhat related) dynamically. Ideally the light would start turning on at about 17:00 or when the sun goes down with the max brightness and temperature and then slowly decrease over the evening and reach its low point at about midnight. It should stay like this until about 7:00 and increase to its max at about 9:00 again.
I tried achieving this by setting a negative value of - 60 for the elevation end point, but this does not seem to work at all with mode 6 (which I hope is correct).
I think this might be a user error on my end, but if someone could spare some time and ideas I would be very grateful
PS: I tried using the night light feature (which is what I basically want) but sadly this is not dynamic.
Controlling lights with motion sensor, multiple switch manual override and Siri, is it possibleā¦
I currently have this blueprint setup to control my living room lights using a motion and light level sensor. Itās working great but I also have two Philips hue dimmer switches that have ātoggleā switches. When I turn the lights off from the switch, this blueprint immediately turns them back on. When the physical toggle switches are used to turn the lights off, how can I disable the automation until either
a) The lights are turned back on.
b) On a timer at 11am the next day.
Ideally I would also like to retain control via Siri too so if I tell Siri to turn the lights off they also wonāt come back on until a or b happens.
Okay, then the best way to set this up is to create a template binary sensor for when your TV is ON (unless you have this already). Once you done that group your TV template binary sensor with your current trigger. That will turn your lights ON when motion is detected or your TV is ON or both.
Next enable and set up ambient condition in the blueprint so when the brightness of your sensor goes high it will turn OFF the lights.
To create a Template binary sensor, follow these steps:
Navigate to Settings > Device & Services > Helpers tab at the top.
Click the Create helper button.
Select Template and then choose Template a binary sensor.Next, provide a Name and Device class of your choice. If applicable, you can link this template to an existing device so it appears under that deviceās details.In the State template field, add the code below, replacing your_tv_entity_id_sensor_here, with your entity ID of your TV status (ON / OFF).
Thanks for your YAML. You are using a device in Lights - Switches - Scenes - Scripts. You will need to expand it down to an entity. Click Here to show you the how to.