Oooh! I like the sound of that!!
It sounds very much like what I want to achieve and have been discussing with Blacky.
Can you share more details?
I can do better than details
I think I just managed to get it going
I basically just made 3 changes:
- Allowed scripts to be listed
- Extracted the script_entities from the list
- run script.turn_on with the script_entities
See the changes HERE
One would have to update the descriptions to add āscriptsā to them, as well as do the same for the OFF action
Thanks Nils.
Hopefully Blacky can integrate your idea into his main tree.
Could you share an example of your script so we can see how you process the input select?
No the by-pass can be turned on at any time you decide to turn it on.
Thanks for your kind words
I like your use case for scrips. I will officially add this to the blueprint and will be out soon once I complete the code and all the QA testing.
Blacky
Ah okay, now i look at your other options
i think the ligth turn on when i am moving, than the bypass turn on, and after 15 minute it will turn off.
When i take the Bathroom Humidity Exhaust Fan automation,
How can I prevent the light from switching on during the day when it is bright enough?
Hi Blacky, Iāve been happily using your sensor light blueprint, thank you for you continued support and development to make this even more workable for different usecases!
I was wondering if we can add a number helper entity for the time delay option. Normally Iām very happy with 3 minutes motion inactivity to dim the lights in our kitchen but if we are cooking its dimming to fast .
If we can also have an entity beside the delay slider I can create an automation to set the delay at 10 minutes between 17:00 and 17:45 when we are cooking
This is my full set up of the bathroom exhaust blueprint.
Q: Can you show us your full set up?
A: Sureā¦ check this post out Click Here
Blacky
No problem at all, your welcome.
Thanks for sharing what you are trying to do Maybe consider this option;
You are going in the UI to adjust something and then you need to go back into the UI to adjust it back. What you can do is create a by-pass, so when your are cooking you turn it ON in the UI. Then have the by-pass auto OFF in X amount of time. One press to keep your lights on while cooking and automaticity turn OFF the by-pass then the automation will evaluate the site conditions and do the correct action. You can also have a button or a tag you put your phone against to activate the by-pass and turns your by-pass ON.
Let us know if this works for you.
Yes you can do this. So have a trigger between 17:00 and 17:45 if the light is ON. But maybe a the above will work for you.
Blacky
Love the blueprint. I wonder if itād be possible to add the āwasp in the roomā principle.
Iād love to use this setup for my bathroom but the lights turn off if you sit on the toilet or get in the shower and the motion sensors canāt see you.
appologies if this is a silly question, tried setting up this blueprint this afternoon setting up the time, dynamic lighting, motion, bypass options and it seemed to turn the lights on based on the lux value and not motion.
Does this blueprint allow for all the dynamic lighting/lux conditions to be used only when motion is detected during a particular time?
appologies again if this is a silly question.
Thanks
You can do all this with my Bee In The Hive Sensor . Everything is explained on how to do this in my template examples Click Here
Let us know how you go.
Blacky
I Have just tested it again here and it is working perfectly on what we are asking it to do. Below are the Ambient Optionsā¦ yeah there a lot of different scenarios depending on your selection and this is just one option within the blueprint.
- If motion is detected and your lux crosses over to below it will turn ON.
- If motion is detected and your lux crosses over to above and your site conditions is set to "noā it will turn OFF.
- If motion is detected and your lux crosses over to above and your site conditions is set to "yesā and your light is ON it will turn do nothing.
- If motion is not detected and your lux crosses over to above and your site conditions is set to "yesā and your light is ON it is already timing out on your motion sensor and will turn the light OFF when timed out.
- If motion is not detected and your lux crosses crosses over to below it will turn do nothing.
- If motion is not detected and your lux crosses crosses over to above and your site conditions is set to "noā and the light is ON then it will turn turn OFF.
- If motion is detected and your lux is above it will it will do nothing.
Yes but you will need to use a schedule as the trigger. If you are asking if you can enable dynamic lighting between the hours of X & Y and have the automation not use dynamic lighting out of those hours then you will need to create 2 automations, one for dynamic lighting and the other for what ever you like. Use time as a condition in both automations.
Let us know how you go
Hope this helps
Hello, i have only a hue motion Sensor and a Livarno Home LED ceiling light.
Normal when someone enter the bath, the motion sensor detect motion an turn on the light for 5 minutes. But when we take a shower, the light turn off after 5 minute and my wife get angry so i must do anything you know
Thanks for the suggestions Blacky!
Though using a physical or UI button as bypass negates the use of an automation with motion sensor to trigger lightsā¦ The idea of your blueprint is that we donāt even have to look at the UI to turn on the light so a manual by-pass doesnāt seem like a neat solution for my usecase. And a problem for me is that I have no physical switch available, only a zigbee switch which I cannot select as a bypass switch. Bug or something HA doesnāt allow?
The idea with the number helper as an alternative way to set the delay seems the easiest solution for me. I can then use an automation to switch it between 3 and 10 minutes during times we normally cook.
Iām still trying to find a way to work with a bypass but canāt find a valid solution just yet. I was thinking about a helper toggle/switch which I turn on between 17:00 and 17:45 via a separate automation but it should then only by-pass an auto turn off from your automation, it should not turn on the lights. Is that already possible?
sounds like you need an extra motion sensor in your shower
I will go through the options I suggested again.
-
If you have a humidity sensor like in your fist post you said you had one then use a template sensor so when it is above above 60% (your request) then the by-pass turns ON or better option would be to use it to toggle to night lights with state condition and use a 10 min delay (your request for 10 min). That is if your not using night lights in the automation.
-
If you get yourself a door contact sensor then use Bee In The Hive Sensor template sensor.
-
If you have a humidity sensor and something to control the fan then use my Bathroom Humidity Exhaust Fan blueprint.
The best option would be 3 then the 2nd best would be 2 then 1 but they will all work.
Blacky
Do you use night lights in this automation? If not then use the night lights to run between 17:00 and 17:45 and set a 10 min delay for night lights.
If you do use night lights then maybe you could have 2 automation and use time condition to switch them.
Will this work for you?
Blacky
Thank you again, i will try number 3.
but i miss on think, when i take a shower during the day the light will go on
even if it is bright enough
Then use Ambient Options and use a lux sensor.
Blacky