
lgilsenberg
Members-
Posts
59 -
Joined
-
Last visited
Everything posted by lgilsenberg
-
Thank you @larryllix. This was a great solution. I made a couple of mods that I'll share below. I was wondering if there is a way to set a variable to it's initial value programmatically without using another variable? Some Notes up front LR.K is Living Room and Kitchen. $LR.K_Motion is set by Alexa (Off = 1440 which is number of minutes in a day, On = 10 which is the default timeout for motion sensors) $FINISHED = 0 $LR.K_Motion is reset to 10 every sunrise LR.K Motion Stopped - [ID 003D][Parent 003C] If Status '1 - First Floor / Kitchen / Kitchen Sensor Motion' is On Or Status '1 - First Floor / Living Room / Living Room Motion Sensor' is On Then $LR.K_Motion_Countdown = $LR.K_Motion LR.K Countdown - [ID 0044][Parent 003C] If $LR.K_Motion_Countdown > $FINISHED Then Wait 1 minute $LR.K_Motion_Countdown -= 1 LR.K Turn off lights - [ID 004B][Parent 003C] If $LR.K_Motion_Countdown is $FINISHED Then Set Scene '1 - First Floor / First Floor' Off $LR.K_Motion = $LR.K_MOTION_INIT This is why I'm looking to find a way to set a variable to it's initial state. When the lights finally turn off, I want to reset the motion timer to 10 (until I change my mind). To keep it simple on the changes, I want to change it in only one place - INIT value on the variable page if possible.
-
I've been working with motion sensors throughout my house (with lots of advice from the forum - thank you). Now I'd like to figure out a way to have a variable length motion timeout. I've been able to get Alexa to pass a number to a variable LR_Motion_Countdown. I thought I'd write it like this: LR Motion If LR_Motion_Sensor_1 is switch off AND LR_Motion_Sensor_2 is switched off Then Run LR_Countdown (IF) LR Countdown If LR_Motion_Countdown > 0 then LR_Motion_Countdown =- 1 Wait 1 minute else set scene LR off I'd concerned this won't work because i want the motion sensor to restart the countdown every time it senses motion and this method won't do that. I started playing around with the following program. Do you think it will work? First Floor Motion - [ID 003D][Parent 003C] If Status '1 - First Floor / Kitchen / Kitchen Sensor Motion' is Off And Status '1 - First Floor / Living Room / Living Room Binary Sensor' is Off And $Motion is not $OFF Then $Hold_For_Living_Room_Motion = $Motion Repeat Every 1 minute $Motion -= 1 Repeat 1 times Set Scene '1 - First Floor / First Floor' Off Run Program 'First Floor Motion' (Else Path) Else $Motion = $Hold_For_Living_Room_Motion **** this is done to reset motion countdown to original value The problem I see with this program is $Hold_For_Living_Room_Motion should be reset every time i change $Motion. I don't know how to do that. Also I'd like to have the ability to turn off motion sensor timer by setting it to 0. Does anybody have any suggestions? I'm beginning to lose my own train of thought.
-
Looking for differences in V5 vs. V4
lgilsenberg replied to lgilsenberg's topic in New user? Having trouble? Start here
My key components are Insteon (Switches, Keypads, MS I, MS II), Z Wave Locks, Logitech Harmony Hub and Amazon Echo. I'm primarily looking at programming differences. Is there a different manual for 5.x versus 4.x? -
Lighting based on Motion AND Time of Day AND last set
lgilsenberg replied to lgilsenberg's topic in ISY994
I think I just figured out the answer to my own question. In order for the program to execute within a conditional folder, the condition within the program must have just changed. So . . . . I changed the structure to: FOLDER] Turn on Lights If Status 'Kitchen' is off (Removed the Sensor Status check from the conditional folder and put it in the Program condition since that is what is changing) [PROGRAM] Kitchen High IF $Kitchen_Lighting is $KITCHEN_HIGH AND Status "Kitchen Sensor" is on then Set Scene 'Kitchen High' On [PROGRAM] Kitchen Medium IF $Kitchen_Lighting is $KITCHEN_MEDIUM AND Status "Kitchen Sensor" is on then Set Scene 'Kitchen Medium' On [PROGRAM] Kitchen Low IF $Kitchen_Lighting is $KITCHEN_LOW AND Status "Kitchen Sensor" is on then Set Scene 'Kitchen Low' On ------- It's a bit cumbersome to repeat the Sensor test in every program but it seems to work (so far) -------- -
Lighting based on Motion AND Time of Day AND last set
lgilsenberg replied to lgilsenberg's topic in ISY994
@larryllix I am having a blast experimenting . . . can't say the same for my wife. On setting the variable based on scene, found I was able to set the variable based on the KPL Button. The scene incorporates the button as both a controller and a responder so I can test on it. I set up the following programs: [FOLDER] What Lights are on [PROGRAM} Kitchen High If Status 'Keypad - Kitchen' is not Off Then $Kitchen_Lighting = $KITCHEN_HIGH [PROGRAM] Kitchen Medium If Status 'Keypad - Party' is not Off Then $Kitchen_Lighting = $KITCHEN_MEDIUM [PROGRAM] Kitchen Low If Status 'Keypad - Movie' is not Off Then $Kitchen_Lighting = $KITCHEN_LOW ---------------------------- I found that Kitchen_Lighting changed correctly whether I changed the scene via a program, a call from Alexa or by pushing a button. Yeah!!!! ----------------------------- Here's my latest problem: I created conditional folder and several programs underneath it. I assumed that if the both the folder condition and the program conditions were true that the program would execute. So far . . . not so much. [FOLDER] Turn on Lights If Status 'Kitchen Sensor' is on and Status 'Kitchen' is off [PROGRAM] Kitchen High IF $Kitchen_Lighting is $KITCHEN_HIGH then Set Scene 'Kitchen High' On [PROGRAM] Kitchen Medium IF $Kitchen_Lighting is $KITCHEN_MEDIUM then Set Scene 'Kitchen Medium' On [PROGRAM] Kitchen Low IF $Kitchen_Lighting is $KITCHEN_LOW then Set Scene 'Kitchen Low' On --------------------------- I have found that the Folder Program shows green (I'm assuming it is now calling the programs under it). The Program Kitchen high shows green on the left but never turns on the light. Have I misunderstood the capabilities of the folder IF? -
Lighting based on Motion AND Time of Day AND last set
lgilsenberg replied to lgilsenberg's topic in ISY994
@dbwarner5 - I was thinking along the same path but then I came across a few issues: 1) "How do I determine which scene is currently on so I can set the variable" I don't know how to base a condition on a scene either having a status of on or turned on. I was thinking of basing it on the status light of a keypad. I'm not sure if it will only execute when I physically push the button or will it hopefully execute when Alexa executes the scene that turns on the button. 2) If I set the variable based on the light status of the button, then the motion sensor will have to turn the scene off without changing the button lights. I believe I will have to create a generic scene off command for the room. 3) Is there an easy way to duplicate an existing scene? When the program changes scenes based on time of day, I'd like a longer ramp rate. -
Lighting based on Motion AND Time of Day AND last set
lgilsenberg replied to lgilsenberg's topic in ISY994
I like the all CAPS CONSTANTS. Nice touch. Imagine the following scenario: 1) I walk into the Gathering Room in the morning and my motion sensor turns on the "Morning Gathering Room Scene" 2) I'm working a project so I need a little more lighting. I push the button on keypad "Party Scene" and I now have brighter lighting. 3) I step out for a few minutes, so the motion detector sees no motion and turns off the lights. 4) I walk back in and the motion sensor will turn on "Morning Gathering Room Scene" when I would really like it to turn on "Party scene" I know how to change the scene that the sensor will turn on. I don't know how to tell it that I turned on the Party scene from either the button or Alexa so it will turn the "Party Scene" on instead of the Morning Scene. Does that make sense? -
Lighting based on Motion AND Time of Day AND last set
lgilsenberg replied to lgilsenberg's topic in ISY994
I love the integer variables to make the program more readable. Excellent idea. How are you setting the state variable $sGathRm.lighting. Is there a way to set the state variable based on a scene that is turned on? -
I am trying to set up a series of programs to turn on different scenes at different times of day based on 1) Motion in the Room (3 Motion Detectors in the room due to odd shape) 2) Time of Day (3 scenes) 3) Last light set (if somebody selects a specific scene on the 6 button controller, then I want to have the motion detector turn that scene back on within a 30 minute window, in case the lights go off because the motion detector didn't see us in the room) So, My thoughts and questions are: 1) setting a variable based on the current light level. (For example, If First_Floor_Light_Level = 1, then turn scene 1 on). - I'm not sure how to do that unless I set a unique setting in each scene and test for it (For example, pendant = 21% in movie scene, 22% in party scene, etc) - is there a way to set a variable in a scene? 2) I would also like to kick off scenes automatically based on time of day. - If I am in the room and the TOD hits then do a 5 minute fade to that new scene. - Each scene has 30+ devices in it and I'm concerned about changing the ramp rate in the scene twice a day. - Would it make sense to copy the scene and change the ramp rate in the new scene? Is there an easy way to copy a scene? 3) has anybody done something like this or am I biting off too much?
-
Thanx for the feedback on the MSII and the MSI idea. It's too bad the MSI are not more widely available, I really like the "instant on" with programmatically adjustable scenes and timers. I'm going to try keeping the 30 second timeout, changing the wait to 15 minutes to see if the number of times the light unintentionally turns off is tolerable. If not, I'm afraid without a reliable supply of MSI, I will be either trying one of two solutions: 1) the double MS II concept that @kclenten laid out. "With two MS II sensors, you could make a direct link between one of the MS II sensors and the devices you want turned ON. Set that MS II to send only ON commands. Then use the second MS II sensor, which is not directly linked to the devices being controlled and should be set to send both ON and OFF commands, to determine when there has been no motion for the specified time. This would allow you to have the speed of the first MS II turning ON the scene, but program control over when it is turned OFF. Sort of an expensive way to accomplish the goal, but if nothing else does what you want..." Very creative solution but I'm not sure how this would work in a larger room where multiple sensors are required to capture occupancy. 2) Try Z-Wave sensors to handle on and off in larger rooms. What I would give up in terms of "instant-on", could be made up by the flexibility of programming and accuracy of multiple sensors in a room. I'm not sure if I will run into a new layers of complexity by having multiple sensors in a room. I guess I'll jump off that bridge when I get to it. If I go this route, does anybody have any recommendations for a z-wave sensor? The Aeotec Multi-Sensor 6 seems expensive at $60 each. I'm hoping to find a good alternative that hopefully will ignore small pets. .
-
So it sounds like MS II is not a great idea to monitor occupancy for scenes. The good thing I take out of that is the ability to select any motion sensor and not rely on Insteon alone. Is there a motion sensor you would recommend for controlling programs?
-
I thought I had this working . . . I thought wrong. I am finding that the light in the bathroom turns off despite there being movement in the room directly in front of the motion detector. I am on 4.18 still because 5.x writes to the controller (MS) and the responders during adjust scenes and I don't want to continuously queue up writes to battery operated devices. Any thoughts? I've changed the wait from 45 seconds that was listed in larryllix post to 10 minutes but the light keeps turning off at the end of the wait period. Program: Motion Sensor Setting:
-
Thank to larryllix and oberkc I’ve gotten ms II to work by linking to a scene and getting different lighting levels by adjusting the scenes, I was thinking of taking it one more step and using multiple ms ii in one room to ensure the lights stay on when there is an occupant and triggers on quickly regardless of the entryway. a couple of questions: 1- are there any subtleties that I should be aware of with having multiple ms ii in a single room? 2- are there advantages of moving to v5.x for this scenario?
-
oberkc, You are exactly correct in stating that I needed to change the controller scene. I adjusted the program as you laid out and it works perfect. I was surprised that I was able to programmatically adjust a scene in a battery operated device (MSII). Thank you very much.
-
I am still running the v4 software. The scene (Guest Bathroom) includes 3 devices: - Guest Bathroom Overhead (Controller) - Guest Bathroom Vanity - Guest Bathroom Sensor (Controller) When the scene adjust program is triggered: - Guest Bathroom scene on levels are changed from 100% to 20% - It appears that the scene levels are not propagated to the controller devices so they still turn on the lights at 100% Is there another step I need to do to adjust the device on levels? I am using the command: In Scene '1 - First Floor / Guest Bathroom / Guest Bathroom' Set '1 - First Floor / Guest Bathroom / Guest Bathroom Overhead' 20% (On Level)
-
I've been messing around with the Insteon Motion Sensor (MS II) and trying to figure out how to provide both a fast response and different lighting levels. I ran across @larryllix posting of @Xathros technique but I have been having a problem getting to run correctly and hoping somebody can give me some advice. I am able to get the programs to adjust the on levels of the scene but the lights still come on at the 100% level. I see the scene is adjusted but the motion sensor scene on levels are not adjusted. Any thoughts?
-
Insteon Thermostat unresponsive thru ISY-Alexa Integration
lgilsenberg replied to lgilsenberg's topic in Amazon Echo
I deleted the thermostat from Alexa, changed the spoken part in the isy portal, re-added the device and presto, it’s all working. Thank you for the guidance. Sent from my iPhone using Tapatalk -
Insteon Thermostat unresponsive thru ISY-Alexa Integration
lgilsenberg replied to lgilsenberg's topic in Amazon Echo
isy is updating and I am able to control the thermostat from the ISY. Alexa claims it is unresponsive. Alexa will not read the temperature or adjust the temperature. I am using the ISY portal connectivity to connect Alexa to the insteon thermostat via ISY -
Insteon Thermostat unresponsive thru ISY-Alexa Integration
lgilsenberg replied to lgilsenberg's topic in Amazon Echo
I tried warming it with a hairdryer, no change. I am not even able to adjust the temperature with Alexa. Does anybody have any suggestions? -
Insteon Thermostat unresponsive thru ISY-Alexa Integration
lgilsenberg posted a topic in Amazon Echo
I have an Insteon 2441TH Thermostat that is currently connected to ISY-994i v4.6.2. I am able to get the current temperature, as well as raise or lower the temperature. I have the ISY connected to Amazon Alexa and my lights, scenes and motion detectors work great. Alexa says the Thermostat is unresponsive in the Alexa app. I'm not sure what to do. Thank you in advance for any suggestions. -
ISY User Manual for Motion Sensor II (2844-222)
lgilsenberg replied to JacktheRipper's topic in ISY994
@JacktheRipper. I'm intrigued by your motion sensor solution. Could you share the programs you described? "I wrote a timer program, normally disabled, that turns the lights off after a time-out, set at 10 minutes. If the light switch or the MS II turns on the scene, the timer program is enabled and starts the timer. If the MS II detects subsequent motion, it triggers a second program that (1) sends an on command for the scene, (2) disables the timer program, (3) waits 5 seconds, then (4) re-enables the timer program and runs it. This refreshes the timer program to always time out 10 minutes after the last detected motion. When the timer program reaches the time-out, it turns the scene off, then disables itself." -
I have a Keypad that is only responding intermittently and I would like to replace it with a new one. Is there a way to copy all the scene inclusions and programs of the old keypad to the new keypad?