Thanks guys I will look into it and fix it
Blacky
To update the blueprint version (5.8) to the latest one, do I need to use the three dots in the upper right corner and perform a blueprint re-import?
Does this affect the automation I made in version 5.8?
In other words, is my automation I created updated to the last version using all settings?
From 5.8 to 6.0 your all good.
You have a few way to do the update.
All will be okay⌠if any doubt then run a manual backup first then update the blueprint. If anything goes wrong you can use your backup.
Blacky
Got it, it was me. I set the times wrong.
Thanks
Nice one Dave, I can be full on when you first get it but I am glad you fingered it out and you up and running.
Thanks for letting us know.
Blacky
The button uses the mqtt integration (via zigbee2mqtt) it basically triggers an event. I use that to turn on/off bypass ON/OFF input_boolean helpers. (Basically like your blueprint âTrigger - Run ON Timerâ)
My light also uses mqtt via Z2M and is a default light entity.
And (to be complete) my motion sensor, also mqtt via Z2M and is a default binary_sensor entity.
Currently I turn on âbypass ONâ and off âbypass OFFâ on the button on event. And let the Sensor Light Blueprint turn âbypass ONâ off with a delay.
If the button off event is fired, then I turn off âbypass ONâ and on âbypass OFFâ for one minute (managing that delay myself).
This works fine since Version 6.0. The only quirk: The blueprint turns off the light after set delay (bypass ON Auto OFF) even if there happened motion in between.
And thats why I got the Idea of handling the âONâ delay myself in a template sensor. I tried to build this as clean as possible but it seems there will be a lot of helpers involved.
best regards
This has now been resolved and a update will be out soon.
Thanks for the heads up
Blacky
Your lighting experience, your way â take control and customize it to perfection!
Bugs Fixes
Maintenance
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
sorry to be confusing. The existing simple automation uses the scene. With this blueprint I added the dimmer as an entity. The scene is not used.
It looks like I did the right thing per your next post; it just doesnât seem to work. Itâs a HomeSeer HS-WX300
The motion detector is blinking its LED on motion. Thanks for looking at this!
alias: Foyer lights all day
description: ""
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.trisensor_foyer_home_security_motion_detection
light_switch:
entity_id:
- light.foyer_dimmer
include_light_control:
- use_brightness
light_transition_off: 3
ambient_light_sensor: sensor.trisensor_foyer_illuminance
ambient_light_options: ambient_light_option_enabled
include_ambient: ambient_enabled
include_time: time_enabled
after_time: "07:00:00"
before_time: "22:00:00"
include_night_lights: night_lights_enabled
night_lights:
entity_id: light.foyer_dimmer
include_night_light_control:
- use_brightness
night_light_transition_off: 2
night_lights_conditions:
- time_enabled
night_lights_after_time: "22:00:00"
night_lights_before_time: "07:00:00"
I just noticed the 7 a.m. and changed it to 19:00. wups!
Yep your times are not set correctly. See this link and look at the thumbs up and thumbs down part. Click Here
So you normal time also has to include your night time as it is a global condition.
Blacky
Hey @Blacky, I love this blueprint! Would it be possible to just integrate the Bee In The Hive Sensor" into this blueprint? So it can be used in every room without creating an additional sensor? The Same for Humidity Sensors? What is if you have two doors?
Is it possible to change the Ambient Light - Low/High Value maximum scale setting to a personal preference?
The scale goes from 0 to 500 lux. I experience the max of 500 is quite high and also limits the slider steps to 10 lux steps.
Another question: how to configure if the lights should only be turned off if no motion is detected? Not on if motion is detected. I want to turn it on manually.
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.
Blacky
Well, Iâm past the bedroom lamp be bright from 6 until 10 PM on motion sensor and dim with night lights in the middle of the night.
2nd project working for lights On at least, my first schedule helper. Off is the minutes delay so that should work in the morning.
Now to play with sunrise and set for the above, so that I donât have to change times in the helper schedule.
Rest assured, Iâll be visiting the donate button and checking into your other blueprints.
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.
Hi Sebastian
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.
Blacky
Your lighting experience, your way â take control and customize it to perfection!
Bugs Fixes
Maintenance
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky