Again, thank you so much for all your hard work. It is fascinating to see what you can build and how you think of solutions to all kinds of problems.
Iām a bit unsure of how the bypass works, even after carefully reading your documentation several times. As far as i understand it, the bypass āturns off the automationā so one can turn on and off their lights as they want, for example with a physical switch. If that is the case, it makes sense there is also a āauto turn offā of the bypass, which, in effect just āturns onā the automation again. If that is the case, can you give me an example of a situation where that might be needed?
I have a zigbee switch connected to one of my lights. The switch has a button for turning on the light and another for turning off the light. I also have motion sensors which, in combination with your automation, controls the lights on the daily. In rare occasions, i want to turn the lights on manually, but without stopping/disabling/āturning offā the automation. So if it usually turns off automatically after 30s of no motion, i want it to still do that when i turn it on manually, maybe with a cooldown period from turning on, used for giving me a chance to activate the motion sensor. Same with turning off lights.
This is how i imagined a bypass would work, but i might be wrong. I have the impression that when i turn it on manually, it never turns off, which makes sense if it works like my first paragraph.
Can you tell me how the bypass works?
Can you tell me how i can achieve the behavior of the second paragraph?
Hello Blacky, I use a motion sensor (with lux sensor, Aqara RTCGQ11LM) to turn on my kitchen lights. and I want to use your blueprint for the following:
turn on the lights at a certain lux value (when itās dark enough)
when turned on, then after 10 minutes and no motion detection, lower the brightness to a certain value (and if possible, change colour temp to warm)
after 30 minutes and no motion detection, turn off lights (using turn of scene)
I have the feeling this is possible with you Blueprint, but with so many options i only get one or two things working. Can it be done?
a device (eg: lutron dimmer switch) brightness is changed.
device is turned off while Sensor Light is still running (per schedule)
change to a schedule group
Sensor Light has stopped
how to best restart it as if it hadnāt stopped
History
any way to trace code flow? I see traces, and Iāve downloaded sensor light yaml to another editor, but not expert enough to read it without more learning
Iām testing in real time with a few sensor light blueprints turned on, but not knowing how to look inside at the operation makes it very slow to understand.
Porch light. Visitors coming over and you just want the light ON. Turn the bypass option 1 ON and then if you forget to turn it OFF it will turn it OFF for you.
Cooking outside on the BBQ and you just want the light to stay ON and then it will turn OFF for you.
Automation link.
Etc, so many examples to list.
You can just trurn the light ON and the automation will take over if the trigger is triggered.
Script or scene to turn ON your lights, 10 min time delay and use the ambient option.
When the trigger goes OFF a script to handles what you would like in Scenes - Scripts To Turn OFF. Make sure you put a Scenes & Scripts - Toggle Helper in.
The best way to understand it is by checking the traces⦠just follow the orange line through the conditions and actions. Clicking on an action will show what itās doing. But fair warning: this blueprint is complex, and the logic is intense, so donāt worry if itās hard to follow!
Hi @Blacky , thank you so much for this blueprint as Iāve just started using HA! Iāve enjoyed it for the past few days.
I have noticed some odd behaviours and wonder if you have a quick-fix for me.
I have a mmWave sensor that detects motion used as a trigger to toggle a dimmerās state with a time delay of 1 minute.
(1) There are times where it wouldnāt turn off despite waiting for 5 minutes. How do I troubleshoot this?
(2) Tricky situation where a switch controls the same light. Person A goes to the toilet, triggers the mmWave sensor, light turns on, Person A exits the toilet and manually presses the wall switch to turn it off. Person B walks in almost immediately or 1 minute later but it wouldnāt switch on. Wondering if thereās a cooldown period before it can trigger again to turn the lights on again?
I am currently in a process of simplifying my setup and this blueprint is of a great help. However I have 2 scenarios, I am not sure how to replicate using this blueprint. Could you please help me?
I was using node-red for my lights automation and I was quite used combine time and sun range as this:
Scenario 1:
start at sunset (in this blueprint it would be sun elevation)
end 21:00
Scenario 2: for other lights I had 2 ranges.
Morning
start at 5:00
end dawn (in this blueprint it would be sun elevation)
Evening
start at sunset (in this blueprint it would be sun elevation)
end 21:00
Is it possible to replicate these settings in this blueprint? Thanks.
I have a small problem with this blueprint and my bathroom light. I have it configured to switch the light on automatically upon presence detected. This works fine. However, sometimes, out of habit, I will switch the light on manually before walking into the bathroom. If I do that, the automation somehow switches off the light within a split of a second, as soon as the presence is detected.
Note that I donāt use scene for turning the light on, but actual light entity.
Is this a known issue? Any way to solve it?
Using 8.0 version of the blueprint. The automation configuration:
I can confirm that everything works fine during the night but during the day, my ights donāt go on at all. And when I turn them manually, the automation turns them off when the trigger clears itself.
When your light turns ON your trigger (mmWave sensor) has to go clear and then it will wait 5 min and then turn OFF.
You will find when you exit your mmWave sensor is detected so if you turn the light OFF in order for the automation to turn the light back ON it needs to be triggered again so your mmWave sensor must go clear and then detected again. There is no cool down it will be your mmWave sensor.
Your using dynamic lighting. You have 0% for brightness but no Dynamic Lighting - Toggle Helper.
Ambient will turn the light OFF above 140lux. It will only come ON when below 40lux.
Night lights your using state (do not disturb) and your using time from 12:22am to 12:07am is this correct? Both have to be true but your time will be ON most of the day anyway only OFF between 12:07am to 12:22am.
As I reread my original post I did not make myself clear. I want to use only motion sensor as trigger and use it in the 2 ranges to turn on lights.
After more thinking I could do it as daily light from sunset to dawn (as sun elevation) and use night light with 0% light from 21:00 - 5:00. I am not sure if it will work
Set time condition to well before sunset (3pm) and end at 21:00. The set the sun elevation for Sun Elevation Falling sunset and leave Sun Elevation Rising.
Now both conditions have to be true for the automation to work so it will be active from sunset till 21:00.