Jump to content

Recommended Posts

Posted

When I first moved into my house I replaced the light by the rear door with a motion activated flood light for security reasons. Two years ago I built a detached garage in the back yard. In the winter months the back yard dark in the mornings and evenings. As such when the garage was built I installed two lights on the side of the garage to light the path around it for taking garbage and recycling to the bins in the alley. I automated this using an on/off switch for the lights in the garage, a micro module in the motion light, and button on a keypad in the house. I called the scene "Path Lights"

The on/off switch is the responder in the scene and the micro module and button are controller/responders. The way I wired up the module is in the attachment of this post.

I recently acquired an I/O module that is in the basement for controlling the humidifier on the furnace. I used the security rough in that came with the house and a magnetic sensor to connect to the input of the I/O module. This lets my EISY know when the back door is opened.

I wrote a program with the conditions "if between sunset and sunrise (next day) AND back door open" then turn on the Path Lights scene.

This worked great during testing. The scene turned on when I opened the back door. However, yesterday when I took some stuff out to the garage the lights came on when the door opened, but when I stepped outside and motion was detected the scene turned off. I shrugged it off at the time, but then it did it to me again this morning.

The motion sensor should provide a latching signal to the micro module but having a program to turn the lights on seems to have reversed the on - off operation of the module.

Is there a set up option I should change in the micro module? I am currently using the built in timer on the motion sensor to keep the lights on for about five minutes so it should be providing an on signal for that whole time.

And because someone might ask: the reason I am not setting the I/O module as another controller to the scene is that I do not want the lights to come on when it is still sunny outside when the rear door is opened.

 

K-bert

d59c316953dd321baef8e70c9535b7ae.jpg

346.jpg

Posted (edited)

It's going to help to see the program. 

What you're describing could happen its totally controlled with a scene

What I do in these situations is:

  1. Use a scene where the sensor is the controller to turn the light on fast
  2. Set the "off" time of the detector to the longest time possible if possible
  3. Use a program to detect it "switched on" and use a wait of my choosing and have the program switch it back off

If you can;t set the off time on the sensor to be long, do the whole thing program only with no scene

Edited by paulbates
Posted

I do something similar to Paul, which is basically detach the motion detection from the action, by having a program in between the two. I use Insteon motion sensors in my basement to turn on a Hue bulb for a short time, for those situations where I'm just going there to get something momentarily. This avoids the need to turn on the big ceiling fluorescent lights for just a minute. Having a program allows it to retrigger by new motion, and avoid the motion sensor turning off the lights because it's timer is up (I do the opposite of Paul: I set it to the shortest on time, and ignore the off signal altogether). It's the program that sets the on time. I can also make it time of day sensitive as you are doing, and also ignore the motion sensing and the Hue bulb if the fluorescent lights are on.

Post your program. It should be easy to figure out.

Posted

Thank you for your replies!

I don't want to crank up the time that the motions sensor is on for because if I have a program turn the light off after five minutes and then someone else is in the back yard the motion light will not re-trigger the micro module until the time on the motion sensor has passed.

I took a look at the options for the module in the admin console the only thing I have changed previously here was turning off the LED. Its in an enclosure so it will never be seen anyway.

There is an option to set it as "Line high always On; Line low always Off"

Since I know that sending a high from the motion sensor turns the light on when it is off and now apparently off when it is on I wonder if I should check this option.

The program I am using uses a variable called "sRearDoorOpen". I have it do a some other things in the system like turn the humidifier off if the door is open long enough to prevent wasting water. A screen grab of the program is attached.

K-bert

Options.jpg

Program.jpg

Posted

And of course I thought of this after posting my reply: If I simply add another argument to the program with "And Micro Module Status is Off" to the program it should turn the Path Lights scene on when the door is open and turn in back on if the motion sensor turns it off.

K-bert

  • Like 1
Posted
3 hours ago, Guy Lavoie said:

I do something similar to Paul, which is basically detach the motion detection from the action, by having a program in between the two. I use Insteon motion sensors in my basement to turn on a Hue bulb for a short time, for those situations where I'm just going there to get something momentarily. This avoids the need to turn on the big ceiling fluorescent lights for just a minute. Having a program allows it to retrigger by new motion, and avoid the motion sensor turning off the lights because it's timer is up (I do the opposite of Paul: I set it to the shortest on time, and ignore the off signal altogether). It's the program that sets the on time. I can also make it time of day sensitive as you are doing, and also ignore the motion sensing and the Hue bulb if the fluorescent lights are on.

Post your program. It should be easy to figure out.

The only reason I cant do this right now is that the micro module detects the motion sensor output and controls the lights at the same time. So far as I know there isn't a way to disconnect the output (Load) from the input (Sense #1). I could easily do this if I had a second module in the light so one would detect the motion sensor output and then the other control the load.

K-bert

Posted

And I can now confirm that adding the condition in the "If" part of the program did not work. As before the lights came on when the door was opened. When i stepped out the lights went off as before, but then came back on as expected.

However this continued with the lights turning off and on in about one second intervals. My neighbours must have thought i had a child flipping the lights on and off or something.

I was able to disable the program in the mobile app.

I left my laptop at work so i will give it another try this weekend.

Posted

Don't want to be a broken record, but you need to take control of the lights' off away from the sensor and let a program do it

Posted
8 hours ago, paulbates said:

Don't want to be a broken record, but you need to take control of the lights' off away from the sensor and let a program do it

I support this statement.  You need to get the motion sensor disconnected from the micro module and control everything programmatically.  Assuming an Insteon sensor, configure it to send ON only commands, and use a program to turn the lights off.  I tend to set the motion sensor time out to be short, so that continuous motion sensing retriggers the motion program before the program turns off the lights.

Posted

I am not arguing. It is not an insteon motion sensor. It is a motion sensor that is triggering an insteon micro module. The micro module then controls the lights. As I mentioned before there is no way that I know of to prevent the output of the micro module from following the input, or sense wire. If I could pulling apart the sensing and control would be child's play. The only way I can separate the motion sensor from the lights in this setup is to add a second micro module. Because this is retrofitted into existing wiring I can't use the micro module at the sensor to detect motion and a switch on the wall inside to turn on the lights as there would be no power in the electrical box where the light is for the micro module.

I also cannot use an insteon motion sensor as it simply would not survive outside in our harsh winters.

K-bert

Posted (edited)

Ok, I see what you're saying. I use one of these in a box with hardware store lamp post photo cell for a dusk sensor..  but I've capped off the load and use iox programs to control the lights and avoid unwanted behavior like car lights reaching the sensor. The only way I can think of to do it is to add hardware like another micro module or switch to control the lights. 

The yellow lead in the micromodule is expecting a hard on/or off voltage, kind of the equivalent of dry contacts, and it looks like there are fluctuations in what the sensor is sending the micromodule. I know for my dusk sensor app, I have to use an iox program to send it an "off" in the afternoon this time of year in my northern latitude as there were days it wouldn't work simply because the photocell never reset it back to off for similar reasons. 

Edited by paulbates
Posted

I have lived with it without having the door control for this long, so I can live with it in its current configuration for now. I will play with some options and programs and see if I can get it working like I would like to. Otherwise I will pick up a couple more micro modules when my wife isn't looking.

K-bert

  • Like 1
Posted

Maybe you could keep the micro module and light sensor as a weatherproof motion sensor combination, and replace the lights with smart bulbs (Does Hue have weatherproof floodlights?) that are hardwired to line voltage, controlled by a program.

Posted
5 minutes ago, Guy Lavoie said:

Maybe you could keep the micro module and light sensor as a weatherproof motion sensor combination, and replace the lights with smart bulbs (Does Hue have weatherproof floodlights?) that are hardwired to line voltage, controlled by a program.

Its a possibility, but the cost of two outdoor smart floodlights that would fit into this fixture is not much less than a second micro module, and in some cases much more. At least according to my quick internet search. I also currently only have Insteon and z-wave devices in my house. Depending on which type of smart bulb used I would have to get some controller hardware that polyglot can talk to.

Posted
2 minutes ago, K-bert said:

Its a possibility, but the cost of two outdoor smart floodlights that would fit into this fixture is not much less than a second micro module, and in some cases much more.

Agreed. Just brainstorming here. Yes, Hue is expensive. I only mention Hue because I'm familiar with it. It does work with a polyglot plugin. But getting Hue just for this is a bit expensive, since you need the hub too. The second micro module looks like the best solution, and you're familiar with it already.

  • Like 1
Posted
20 hours ago, K-bert said:

Program.jpg

First off...for future reference the preferred method for posting programs to the forum is to right click the program, select "copy to clipboard" (be sure you select the last item of "COPY", then paste the text into the forum post. This makes it easier for people to edit or comment on rather than a picture. 

Now, have you thought about removing the else? I would make a 2nd program that has a wait or is based on the micro module status to then turn the lights out. To me (not knowing what is controlling the variable) it sounds like you're opening then closing the door so the lights are coming on and going off due to the status of your variable. 

Removing the "ELSE" (turning lights off) will leave the lights on after the door is closed and whatever you're doing with the scene for "Path Lights" will remain on. The 2nd program would make a wait timer or even look at the trigger for the micro module to turn the scene off at a later time. 

Post the program(s) setting the "$sRearDoorOpen" value. Based on what you posted I expect that the program is changing to false when you're outside and causing the path lights to go out (the ELSE statement). You're then triggering them on with the motion sensor (not Insteon), but because the program above is still FALSE it's causing the ELSE to trigger again. Thus just flashing your lights. 

Remove the "ELSE" and test the result.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...