![]() Those other sensors are not involved in turning on the original lights that came on, but some other lights in the room, for example a sink vanity light. But the shape of the room means I need other sensors to reveal that I’m still in the room. But the Lights & Switches apps have the logic that’s been described, namely multiple motion sensors turning on different lights, and complex or possibly disjoint turn-off logic.Ī common thing I do is have a motion sensor turn on a rooms’ main lights, that sensor at the entry to the room. Custom apps don’t always work as expected, and things involving time and multiple event sources get hairy. But, I can tell you for certain that these sorts of use cases can usually be handled with shortcuts from Lights & Switches instead of custom apps. I can’t tell what the actual use case is from what’s been written. Walking from A to C… what will turn off Y? It’ll end up staying on as long as there’s motion in any of A,B, or C.īack to what I said originally, OP is making this way harder than it needs to be. I’m offering these ideas simply because they have worked well for me for use cases like yours. OR, use more than one instance of the app.ĭisclaimer: I haven’t studied your code. If you want to distinguish which motion did it in the app for some reason, just have more than one handler and more than one subscription. However, expect that the method of the app that is subscribed to the motions will probably run more than once. It’s ok to have multiple motion sensors trigger some “turn on” action, and it’s not necessary to distinguish which one did it in the app. It doesn’t matter that multiple apps refer to the same physical devices so long as they don’t contradict each other in some way. You select the dimmers and motions for that, which can be multiples. Instead of building the “turn off when no motion” logic into your app, just use a separate Lights & Switches shortcut to turn things off after x minutes. I think you may be making this harder than it needs to be. I’m also not beholden to that app I am using but did struggle to find another that would let me set light values to 1% and not just 10%, 20% etc. I have NO programming experience, so I’m am relying on simple logic to troubleshoot, and the helpfulness of forum members. For example, turn on to 1% if motion, but if switch is pushed, turn on to 100%. I’d also LOVE it if the app would allow a bypass of the dimmer setting to 100% if a switch is manually pushed. It’d be nice if I could ID multiple sensors i.e., if motion detected on hallway sensor A or hallway sensor B, turn on hall light at X percent until 2 minutes after no motion on sensor A or sensor B is detected. Not sure if having two apps that control the same switch makes a difference, but I am just throwing that out there. When motion is detected, the light in the hall is to turn on for two minutes, then turn off. For example, I have a sensor above both doors that lead into a hallway. Multiple sensors triggering a single switch.Now however, the lights will not turn off and remain on once triggered. What would frequently happen is that 10 minutes after the light turned on, the light would turn off, even rgough I was still in the room moving around suggested adding “unschedule(switchesOff)” which was done. I set the app to turn the kitchen lights off 10 minutes after motion stopped. For example, I would be in my kitchen, and as intended, the kitchen lights would turn on. } section("Select the switches to control.") Ĭontinued motion did not appear to reset the timer for the light to turn off. Input “motion1”, “capability.motionSensor”, title: “Which?”, required: true, multiple: false I would like to be able to have the motion sensors trigger certain dimmer switches with motion and turn off after a set period of time after no more motion is detected.ĭescription: “Turn on some lights with motion if not already on”, ![]() I have several (4) Fibaro motion sensors and one Aeotec motion sensor. Support DVRs or IPCameras of different manufactures.( I thought it best to take this out of the Fibaro thread in order not to get too far off topic.) Support history view to switch different camera IP convenient. Snapshot capability (while viewing live stream) to save to your local photo gallery.Ībility to change ip address and port as desired for internal and remote users. No video going through 3rd party servers. Pro version support more convenient settings & functions.ĭirect stream connection. VMEyeSuper allows iPhone users to view and control live video streams from cameras and video encoders. *Please Use TCP PORT On this app, the default is 34567
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |