It getâs little bit tricky with all the options but I do love that Bee In The Hive Sensor . It is pretty cool hay.
Not sue what you are referring to here.
Make 2 sensors or are you referring to having double doors⌠if so you can group your door sensors or you will have to change the template so it will work⌠easy way is to group them and use the group as the door sensor.
Normally you just set this up once. You can have any value you like just type it in and click save. So if you would like 658 or 13 just type it in.
This is where you would use a scrip and put it into âLights - Switches - Scenes - Scriptsâ or âNight Lightâ. You would create a script an use an If-Then-Else. So it would be IF = Light is OFF (selecting your lights) Then = Turn Light OFF (Selecting your lights) Else = Turn Lights ON (selecting your lights). A detailed guide on this process (similar) can be found Here.
Thanks for the replay!
Is it so complcated to just ad a toggle button to say only on or only off action per entity? that saves scripting
With the humidity sensor I meant it could be used as a presence indicator if humidity goes up fast â some under the shower.
Im struggling with the script for just turn the light out if nobody is in the room.
When is the scipt called? Sensor detects motion and no-motion? Because then I need to determine in the script if this is an on or off action.
So if light is off or on and motion is detected, do nothing.
If no-motion is detected and light is on, switch light off. How do I recognize in the script if this is a motion or no-motion action.
If I need to do this handling and logic all in the script, in donât need your blueprint anymore. So having a button to configure this would be super cool
And of cause the possibility to easily add a door sensor for the Wasp in a box scenario.
You realy need to look at my Bathroom Humidity Exhaust Fan blueprint. This blueprint works with it and it works perfectly + it will control your fan for you.
Just a quick question, why are you using a script. You dont need to use a script just enter in your lights or switches. It is realy easy and you may be trying something that is not required.
Have a look at groups in the FAQ. Group your door sensors. Then follow the guide on the be in the hive but use your group as the door sensor.
I have a question to the lux-based options. My motion sensor (IKEA Vallhorn) is in a guest bathroom. There the lux value only rises up to 10 lux, even on a sunny day (see screenshot). Why is a value of like 2lx not possible for the e.g. ambient light sensing high/low value?
Hey Blacky, I think I confused myself.
I want one light not going on when I enter the room at any time. But I want to switch it off when I leave the room.
Where do I configure that it is only turned off, not on.
In the answer to my first post you suggested to use a script�
I have the same set-up. I want to only turn on two lights when i enter the room. But if i happen to turn on more lights while sitting in the room i want to turn off all lights in the room when I leave.
Great work as always. Just wondering if is possible to implement making some of the settings collapsable? For example, Iâm not using Dynamic lighting in the blueprint, so I can simple collapse all settings related to it, and expand if needed, it should be collapsed by default.
The blueprint is quite powerful and has vast amount of configurations on a single page. which can become overwhelming for some. Hope you understand, thanks.
How can I add an offset for Sunset so lights come on 1 hour before sunset, and 1 hour after Sunrise? I tried tweaking the Sun Elevation either way, but it doesnât do anything for me for some reason.
Q: Why did you choose sun elevation as the sun option and not sunrise and sunset, I donât really understand the degrees and elevation, I assume zero is the sun just on the horizon with a + being day time and a - night time.
A: Please read our explanation and how to set it up, itâs easy Click Here
Hi @Blacky first of all your blueprint looks amazing! Thanks you for sharing that with the community. As I am playing around with it, I came to the following issue:
My light gets turned on whenever there is motion and the illuminance is below the lux level I have set. One minute after the last detection of motion it turns off again as it should. However, turning on the light changes the illuminance measured by the sensor, which means the lights do not turn on again when I re-enter the room, because the illuminance is now too high for the automation to trigger. I tried to figure out if I could solve this by using the ambient sensor options your blueprint provides. Unfortunately, I was not successful despite reading the FAQ.
What I guess is missing is a cutoff value for the illuminance in the room, so the automation only runs when the illuminance is below that cutoff value, as well as an illuminance value that is not provided by the motion sensor itself, because then the illuminance would be affected by the light when the light is on. The illuminance value should instead be provided by a number helper which is basically a copy of what the motion sensorâs illuminance would be BUT only changes lux when the light is off (got the idea from here). This way you only get ârealâ values for the illuminance in the room without any interference when the light is turned on.
I hope I explained this in a way one can understand and am looking forward to your answer.
Select âYES - My Ambient Light Sensor is affected by the Lightsâ
If you like then to can create a template helper, then use that for your LUX sensor but when the light is OFF you will need to check LUX at quick intervals as you may close your blinds and the room gets dark. You could get a LUX sensor that reads fast and your problem is solved. See we need data to make things work if you would like it to respond quickly. If you had a LUX sensor that updates fast then everything works. The data is only stored for 10 days so you dont build a big data file thanks to the work from the HA Team.
I think all you need to do is tick the âYES - My Ambient Light Sensor is affected by the Lightsâ.
Hi @Blacky you were of course absolutely right. My bad I got some settings wrong. Thanks for the explanation and your blueprint. This is absolutely amazing!
One final questions: Is there an option to completely block the automation from running at night? As far as I have seen, the night option only makes it possible to have different settings for the lights whenever the night condition is met, but it always means the lights will be ON in some way.
In my old automation, I used a helper that is activated whenever I say Good Night to Siri, resulting in the light automation being blocked. When I say Good Morning, the helper changed its state and the light automation would be active again.