![]() # Using a template allows us to cater for either of these entities being "None" Then the occupancy sensor will be disabled e.g. Name: If this media player is on than disable occupancy sensor Then the occupancy sensor will be disabled If the input_boolean is in the 'on' state Name: Input Boolean to use for disabling sensor Set how sensitive we want the sensor to be: 0 = least sensitiveĭescription: "The luminance sensor to use"ĭescription: "Anything darker than this will turn on the light"ĭescription: "The brightness to set the light during the day (100%)"ĭescription: "The brightness to set the light at night(100%)"ĭescription: "The colour temperature during the day (4500K)"ĭescription: "The colour temperature during the night (3000K)" NOTE: Restart Home Assistant on changing this value This delay is reset each time motion is detected. Set the time in seconds we require the light(s) to stay on. Optionally, choose a TV and the occupancy sensor will be ignored when the TV is onĭescription: "The occupancy sensor to use for this automation"ĭescription: "The zigbee network id of the sensor" Turn on light(s) when occupancy detected and off when unoccupied. The sets the sensor attributes when Home Assistant boots The basic occupancy sensor automation does the following: Name: Occupancy Detection Response (SML001) # I also use an input_boolean to enable me to disable all my occupancy sensors. # while sitting in the Lounge watching TV. # I usually link this to a TV state, as I do not want my lights going on & off # Additionally the sensor can be disabled using a oneof two entities. # I used to use HA timers to do this, but Blueprint is now much more simple :-) # setting the Occupied to Unoccipied time and sensitivity of the sensor. # Home Assitant configures the sensor to be an Occupancy Sensor at boot, # motion sensor connected to Home Assistant via ZHA # Blueprint to control a light (or lights) using a Philips Hue SML001 It can be found in the Devices Page under Zigbee info. I use an Input Boolean to disable some sensors during the night (to stop the cats trigger them) and a media player entity to disable the sensor when I’m watching TV (I don’t like the lights going on and off while watching TV).Īt the moment you will need to paste in the Zigbee ieee device id as I haven’t found a way to get to this value from a template using the occupancy or illuminance entities (if anyone knows how then please share). There are also two entities that can be used to enable/disable the sensor. The light level to trigger switching on a light can also be set. ![]() Different brightness and colour settings can be used for between 22:00 and 07:00, so if you get up to take leak in the middle of the night you are not blinded by bright lights as you walk out onto the landing The Blueprint takes a number of parameters to use the occupancy sensor to control a light or group of lights. The attributes are set whenever Home Assistant starts allowing your SML001 to behave as an occupancy sensor and not a bad motion sensor (as it does when using the defaults). If you are using ZHA to control your Philips Hue SML001 Motion Sensor then this Blueprint can be used to configure the Occupied to Unoccupied Delay & Sensitivity ZigBee Cluster attributes.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |