SO i have a third reality motion sensor and some smart bulbs. Currently i have it set up so when there is motion it truns on and when there is no motion it turns off. What I would like to have is a override by turning the switch (which is up all the time now as its a regular switch) off to on it overrides the motion sensor and stays on for say 15 minutes and then turns off. But would like to keep the current setting as is. I read about helpers but dont really understand on how to do it. Is there a easy way? Thanks
#Motion sensor and smart lights override?
1 messages ยท Page 1 of 1 (latest)
I think the best way is to use helper. The idea is to create a boolean helper (that will hold on/off values) and use this as an information if the light was turned on or off by the motion sensor or by the user.
what switch you have that will override the off to on?
It is just a regular switch . What type of switch would be suggested to replace it with. There are a few areas I would like to set this type of scenario.
if you have a regular switch, then this switch cuts the power to the smart light. How can we detect the transition from off to on if there is no information about it? And switch must always be on, otherwise the light won't go on if motion is detected
Ok, makes Sense, I guess I didn't think about it . What's the ideal switch to have for this type of situation? Thanks
Also, is there a way that I could just set it up so if I use voice Assistant that the light would stay on for a longer period and still keep the motion sensor?
In my setup i have 2 hue switches and a group of 4 lights with a motion sensor. Thinking about the same. Motion > Light on for ~90s > dim 30% for 30s > off. When used the switch manually on/off it shoud set a override helper and the Light will stay on/off for 10min. Dont haste me, but i can post something to you when i'm done
this makes sense, what type of hue switches are you using
Hue switch v1 with conbee/deconz
Thanks, I will check it out.
Traditional solution is to put tape over the standard switch so that nobody turns it off, and then place some wireless switch next to it ๐ I have been using the Ikea zigbee switches (and one Hue switch) myself
Alternatively you can check if you could instell something like shelly switch inside the lamp or switch, so that the lights can be controlled wirelessly or with switch
Ripped out the switchs, connected the wires directly and placed the hue groundplate over the hole ๐
Here is my untested Code...
My wife will kill me if she get blindet @2am if something goes wrong ^^
Flur V3 โ Event-Based Hold-Dimming (deCONZ, No Extra Timers)
โข Motion-controlled lighting with manual override (10 min)
โข Native hold-dimming using repeated deCONZ 2001/3001 events
โข No delay(), repeat(), or extra dimming timers required
โข Nightlight-aware (auto dim = 10 bri when active)
โข Clean 0โ255 brightness range with safety clamping
โข Compatible with Hue v1 switches via deCONZ
โข CPU < 0.5%, latency โ100 ms
โข Fully production-ready
@ember sigil still here? ๐
Update for you
Flur Light Control V2.8 (White Ambiance โ Full Dynamic Brightness)
This Home Assistant automation controls a hallway light using Hue Dimmer Switches and a motion sensor, with fully dynamic brightness values stored in helpers โ no hardcoded values.
โจ Features:
Scene rotation (0โ3, white ambiance temperature presets)
Persistent brightness via helper (input_number.flur_helligkeit)
Configurable nightlight brightness (input_number.flur_nachtlicht_helligkeit)
Smart night mode via schedule (input_boolean.bz_nachtlicht)
Manual override (disables motion control) with timer-based release
Smooth fade transitions for on/off and afterglow
๐ Helpers used:
Entity Purpose
input_number.flur_helligkeit Stores day brightness
input_number.flur_nachtlicht_helligkeit Stores nightlight brightness
counter.flur_szenen_index Tracks current white scene index
input_boolean.fl_override Indicates override active
input_boolean.bz_nachtlicht Indicates night mode active
timer.fl_override_timer Controls override duration
๐น Hue Dimmer Switch Mapping:
Button Event Action
1002 (short press ON) Cycle scenes / turn on light and activate override
2002 (short press UP) Increase brightness and save it
3002 (short press DOWN) Decrease brightness and save it
4002 (short press OFF) Turn off light and activate override
4003 (long press OFF) Cancel override and turn off immediately
โ Behavior Summary:
Motion ON โ Light turns on (nightlight if night mode active, else main brightness)
Motion OFF โ Afterglow with gentle fade-out
Override active โ Motion ignored
Timer end โ Override deactivated, light fades out softly
Yes, still here. This is way over my skill level. I am using a regular light switch a nd a third reality motion sensor.
I need to invest into done smart switched it seems to start with. Thanks!