![]() The light is turned on by motion and turned off after several minutes of no motion. The first two automations simply create a Motion-Controlled kitchen light. You will need to create a 3-second timer and an input_boolean. The following examples use: light.kitchen two automations to implement the manual override feature.two automations to implement the MCL feature.timer to help implement the manual override feature.input_boolean to enable/disable the MCL feature.This ensures the MCL feature is restored in case you disabled it but forgot to re-enable it. ![]() Lastly, an automation is used to turn the input_boolean back on after it has been off for an hour. The approach I’m describing assumes your switch either doesn’t have this capability or you are already using it for another purpose. Some switches can transmit events when they are double-tapped (and the event can be used to enable/disable the MCL feature). To summarize, the action of turning the light switch off then back on serves to toggle the state of the input_boolean.This will serve to turn on the input_boolean. To re-enable the MCL feature, simply repeat the action: turn the light switch off then back on.This quick toggling action serves to turn off the input_boolean. When you enter the room, and the light is automatically turned on, turn the light switch off then back on.If the light is controlled by a physical switch (such as a wall-mounted switch), it can be used to turn the input_boolean on or off. Perhaps the most convenient would be to tell your favorite voice assistant something like “Disable automatic living room light.” This would require creating a custom skill to enable/disable the input_boolean (and is something I plan to try in the future).Īn alternative method is to use the light switch itself. However, in practice, it may be inconvenient to access the Lovelace UI to turn off the input_boolean (even if you have your phone handy). The question is: “How do you make the manual override command convenient?”Īn input_boolean can be used to enable/disable the MCL feature. To prevent this undesirable behavior you can use additional methods of presence detection or by simply commanding the system to (temporarily) disable the MCL feature (i.e. You might be sitting quietly and, after a few minutes of no detected motion, the light automatically turns off (leaving you in a dark room and unimpressed). However, in practice, the first deficiency one experiences is the light might turn off while the room is still occupied. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |