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

I am new to home assistant so i might miss something but my setup has a lot of knx motion sensors and those fire telegrams that should be used as trigger. At least if i read the knx documentation: KNX - Home Assistant

Do I have to create a helper for every motion sensor (and how would that work?) or is there a way to just use a telegram trigger as I can do it in automations without this blueprint, like here:

  - domain: knx
    device_id: e694c98bb00ba1355f72fd7972c4b3cf
    type: telegram
    trigger: device
    group_value_write: true
    group_value_response: false
    group_value_read: false
    incoming: true
    outgoing: false
    destination:
    - 6/2/5

Thank you , turns out I was using your smart automation and not sensor , it now works great now :+1:

1 Like

@botany112

Yes, if you change the brightness and the light stays ON it will not adjust it. Once the light goes OFF it will apply the settings you selected in the blueprint as this is what you are asking it to do. If you donā€™t want this to happen then donā€™t use brightness and your light should come back ON from your last setting.

Blacky :smiley:

1 Like

@xtfrost

Your welcomeā€¦ yes, I can see your donationā€¦ thank you for your support :smiling_face_with_three_hearts: :pray: :+1:

Hope you have a Merry Christmas :santa: and happy new year :sparkler:

Blacky :smiley:

1 Like

@funkstille

Welcome to the community.

I donā€™t use them, but what state do your knx motion sensors provide? It should be a ON / OFF state. If so then you just use the knx motion sensors.

Blacky :smiley:

@Blacky AWESOME work, canā€™t believe all the effort you put into this.
I have a feature request that (I think) would make this blueprint even more awesome:

On the Lights section of the blueprint add two options with checkboxes:

ā˜‘ Use automation to turn selected lights ON (default: selected)
ā˜‘ Use automation to turn selected lights OFF (default: selected)

This would give the user more control to what to do with the automation. My use case is I want to turn on lights manually and use the automation just to turn these off.

I know that you made the Manual Light blueprint for this but It isnā€™t nearly as powerful as this one that has bypass; sun elevation; and other cool configs.

What do you think?

3 Likes

@maxipallotto

Thanks for your feedbackā€¦ I will add it to the list of suggestions.

Blacky :grinning:

2 Likes

Sweet. Thatā€™s a nice idea! :+1:

1 Like

Thx for the input!
I have been using scenes for lights and night lights anyways :slight_smile:

Thatā€™s my script which I am using to turn off the lights from now on:

alias: Script Light Staircase FF pre-off
sequence:
  - action: scene.turn_on
    metadata: {}
    data: {}
    target:
      entity_id:
        - scene.scene_staircase_ff_night
  - action: scene.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: scene.scene_staircase_ff_off
description: Triggers night scene first and then turns lights off
icon: mdi:lightbulb-auto-outline

Hi Blacky,
Thank you for all your efforts!

Can you check out my error?
Iā€™m trying to establish a pretty simple (yet :wink: ) automation using your template and it returns error Message malformed: extra keys not allowed @ data['triggers']

Thatā€™s what Iā€™ve tried:

description: ""
use_blueprint:
  path: Blackshome/sensor-light.yaml
  input:
    motion_trigger:
      - binary_sensor.corridor_motion_sensor_motion
    light_switch:
      entity_id: light.wled
    time_delay: 2
alias: Š”Š²ŠµŃ‚ Š² ŠŗŠ¾Ń€ŠøŠ“Š¾Ń€Šµ

Hello Blacky,

can you please add the function that you also have in the Smart Light Blueprint to the Blueprint?

So that you can select the trigger from ā€œOff to Onā€ or ā€œOn to Offā€?

That would be really great.

I have a hallway light that is either always on or always off until a button is pressed.

It works with the Smart Light Blueprint, but unfortunately I canā€™t set a time (e.g. 3 minutes) after which it should go off on its own.

@chris400

Nice one, glad you got it working how you would like it.

Thanks for letting us know.

Blacky :smiley:

1 Like

@YusDyr

Please update your Home Assistant and you will be good to go.

Blacky :smiley:

@Markus1995

Have you looked at this blueprint? :hourglass_flowing_sand: Entity - Run ON Timer

Blacky :smiley:

1 Like

Hi all,
I have a simple application and thought i could use this blueprint. But the complexity is a bit overwhelming.
I want to reset my Internet router some time during the night, for example at 02:00 and switch it back on at 02:15.all other times the router should be stayed ON.
I want to use a TAPO Plug for this (entity: switch.tapo_smart_wcd_10)
But I do not know to tackle thisā€¦
I was thinking of using Night Lights Mode, but instead of switching a light ON, I just want to switch it OFF for 15 minutes.
.
This is what I came up with, but I dont see any On or OFF functions:

alias: Smart Light Fritz!Box 7490 - Reset (Tapo 10)
description: Smart Light voor uit- en aanschakelen Fritz!Box 7490
use_blueprint:
  path: Blackshome/smart-light.yaml
  input:
    after_time: "03:00:00"
    before_time: "02:00:00"
    light_switch:
      entity_id: switch.tapo_smart_wcd_10

I am sure, I do somthing stupid or do noth know how to use the Bp properly.
Anyone who could help me with this?

And Ohhh, I forgot something; with a restart from Home Assistant, the Smart Plug should default to ON, so my Internet connection comes on-line againā€¦

I try it for the first time. I canā€™t trigger any lamp or scene.

Here is the yml

talias: Sensor Light
description: ""
use_blueprint:
  path: Blackshome/sensor-light.yaml
  input:
    motion_trigger:
      - binary_sensor.0x001788010201002f_occupancy
    end_scenes:
      - scene.bad_hell

+1 i have the same use case, motion activated lighting in the ceiling and a mirror light which is turned on manually. Right now I just have a second automation to ā€œfollowā€ ceiling light if itā€™s turned off.

I will move this to the correct blueprint.

Blacky :smiley:

@Olli0073

You have your scene in the Scenes - Scripts To Turn OFF and it should be in Lights - Switches - Scenes - Scripts.

If you use a scene then you should create a Scenes & Scripts - Toggle Helper and then you need to create another scene with everything OFF and add this scene into Scenes - Scripts To Turn OFF.

I am thinking that you may not need a sceneā€¦ then you just add your light entities into Lights - Switches - Scenes - Scripts and set all the light settings in Light Control as this is a lot easier than creating scenes.

talias: Sensor Light
description: ""
use_blueprint:
  path: Blackshome/sensor-light.yaml
  input:
    motion_trigger:
      - binary_sensor.0x001788010201002f_occupancy
    light_switch:
      entity_id: scene.bad_hell

Blacky :smiley:

@xtfrost

For you mirror light that you turn ON manually use this blueprint :magic_wand: Manual light control with auto OFF and opt to use the Motion Sensor Option.

Blacky :smiley: