šŸ’” Sensor Light - Motion Sensor - Door Sensor - Sun Elevation - LUX Value - Scenes - Time - Light Control - Device Tracker - Night Lights

Hi @ahoy

Firstly welcome to the community :wave:

Thanks for the heads up :+1:

It is not the smiley face that the logs show it is the;

  author:

This was introduce in Home Assistant 2023.3. I think I may have jumped the gun on this one and included it to fast. I have now removed it from all my blueprints and you should be good to go. Next time I should wait 1 year before doing this type of thing again :wink:

Again thanks for letting me know, and you should be all good now.

Blacky :smiley:

1 Like

@christianj

this is one thing I was afraid of, but I do use this blueprint and every feature in my HA everyday. Once you get to know it hopefully you will to. A good starting point is to read ā€œThe Settings & Best Practice Guidelinesā€ Click Here.

Your correct in what you are saying. Another feature :wink:. This is on the road map and I have developed already 3 different ways to make this work. I am just trying to decide on the best way to implement it so new users dont become overwhelmed by all the options and it works with ease. So this is something you may see sooner than latter. For now use time and stay tuned.

Thanks for reaching out and your suggestion / question.

Blacky :smiley:

@harryfine

Hi Harry, if you are in the bathroom and you are removing humidity could I suggest you have a look at my :shower: Bathroom Humidity Exhaust Fan. Once you set it up correctly you will wonder how you lived without it. You then will have 2 automations in your bathroom and they work perfectly together. You will then achieve what you are trying to do.

Blacky :smiley:

Hi @maxedmini1

Reading this looks like you need to group your PIR and your presence sensor. You will then find it will do what your asking. For more information on how to set up group sensors please Click Here.

Blacky :smiley:

Will give it a shot. Thank you.

1 Like

Hi,

Thanks for the awesome blueprint. I think it would be lovely to have the ability to activate scripts in the same way the blueprint handles scenes, one for on and one for off.

Regards

Great! I would prefer a checkbox for ā€œNight Light Sun Optionā€ and for ā€œNight Light fixed timeā€. And then simply take the Sun / Elevation configuration from the upper sun option. But of course, just a wish, you may have other factors to consider.

1 Like

In terms of the bypass, this did confuse me a bit at the beginning. But I am finding my family/guests are confused.

When they walk in the room it is clear, the light is on so they ignore everything. But when they leave their habit is to turn off the light, they I see them pressing the button and cannot figure out what is happening whilst the off timer is going.
I am wondering if there should be an option in which the switch will just cut the light (automation) immediately?

So then they will ā€œfeelā€ they did something even though it doesnt matter.

Hi thanks for the reply, I donā€™t want to make them a group as I donā€™t want the mmWave presence sensor to trigger the automation as it can sometimes be too sensitive but would like it to be used to keep the lights on and then turn them off once no presence is detected.
Thanks

@ob1w4nken0b1

Firstly welcome to the community :wave:

Could you explain what your using the script for?

Blacky :smiley:

@Brad_Ford

Hi Brad

:rofl: :joy: First my family said we donā€™t need this automation stuff and now they say how annoying it is to turn a light on.

The by-pass has 3 options to chose from. You can have it turn the light OFF if you like.

Blacky :smiley:

1 Like

@maxedmini1

This is what we need to look at (your mmWave presence sensor). You have a few options and because I donā€™t know what mmWave presence sensor you have I will provide some general information.

  1. If your mmWave presence sensor is done with ESPHome then you can put a delay ON. The forum is very active there and you should get some help if you ask a the question on how to do this.
  2. You could go into the settings of the mmWave presence sensor and adjust the sensitivity.
  3. You could create a template sensor that has a delay ON. Below is the code that you will need to put into your configuration.yaml file and restart Home Assistant.

This is the code to create a template sensor. with this code your mmWave presence sensor must be ON for 1 minute for it to change its state to ON thus no longer too sensitive. Once you create this sensor you can adjust the ā€œdelay_onā€ time to suit you as you will be the only one that will know what works. Every time you change it you must restart HA.

In the code below to suit you;

  • Change the name of your ā€œkitchen_mmwave_presence_sensorā€
  • Change the friendly name ā€œKitchen mmWave Sensorā€
  • Enter your mmWave presence sensor into here ā€œbinary_sensor.your_mmWave_presence_sensor_hereā€
  • Icon if you like.
binary_sensor:
  - platform: template
    sensors:
      kitchen_mmwave_presence_sensor:
        friendly_name: "Kitchen mmWave Sensor"
        device_class: occupancy
        icon_template: mdi:motion-sensor
        delay_on: "00:01:00"
        value_template: >-
          {{ is_state('binary_sensor.your_mmWave_presence_sensor_here', 'on') }}

Once done, now group your PIR and your new template mmWave presence sensor and enter it into the trigger. This should resolve what your trying to do.

Let us know how you go.

Blacky :smiley:

I have a question regarding the Trigger Sensor - Binary Sensors - Schedule * section in this blueprint.
I couldnā€™t find the answer for it but is this field a AND or an OR field?

I have added in 1 automation multiple sensors that could trigger a action but it seems that they need to be triggerd all at once, is that correct?

It is not a AND and it is not a OR.

No, without getting to technical if you have multiple sensors for the trigger it is best to group them. Then they will act like one sensor and the automation will work perfectly. In saying that I do have multiple sensors (3 off them) down my hallway and I have added them individually, but they are ON for about 2 seconds and by the time I get to the 3rd one the first one is OFF. So in this type of situation it works but most of the time if you have a room with multiple sensors then it is best to group them.

For more information on how to set up group sensors please Click Here.

Blacky :smiley:

1 Like

Hi,

I could use scripts to build an automation that sets a group of lights to 100% brightness when movement is detected and then after the time delay sets it back down to a given value from an input helper on the dashboard.
Iā€™m currently doing this with your blueprint using scenes, but without the option to adjust the lower brightness value from an input helper

Regards

@ob1w4nken0b1

Thanks for letting us know I will put it on the list.

yes I use a ā€˜motion groupā€™ for a stairwell that has motion sensors at the top and bottom. I then use that motion group as the trigger for your blueprint. Works perfectly.

1 Like

New update 4.1

:warning: Please read this before upgrading. If you use night lights in you automations, once you upgrade if you would like to keep using time for night lights you will need to select ā€œEnable time optionā€ as shown below and click save. Otherwise you can now choose sun elevation :+1:

New Features :new:

  • Added the ability to use sun elevation for night lights :partying_face:. You can now select to use time and or sun elevation conditions for your night lights. It can now be used for having lower softer lights come ON when going to the bathroom at night by still using time or having different lights come on when it is dark or below the sun elevation setting.

Bugs Fixes :bug:

  • Crossover for start and end of night lights.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

1 Like

Thanks you so much, Blacky. :+1:
This blueprint is exactly what Iā€™ve been looking for. The results from other searches Iā€™ve done were either blueprints that were overly complicated that need additional installation of helpers and entities or yaml scripts that I donā€™t understand yet. Iā€™m a newbie to HA. :crazy_face:

New update 4.2

Bugs Fixes :bug:

  • Fixed a bug in HA restart.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning: