-
Posts
62 -
Joined
-
Last visited
Everything posted by piconut
-
Greetings, I have about 50 devices in my Amazon portal and I sometimes add several "Alternate Spoken" phrases just to make sure that i cover my bases when I'm trying to remember the subtle differences in names between operating 3 different fans (or similar items). Often when I ask Alexa to turn a light or fan on or off, she says "several devices share that name, which one do you want?". So I've been trying to not overlap the spoken phrases, and to do this I use the Portal > Amazon Echo > Download as CSV function to look a common and possibly overlapping spoken names. The problem is, it doesn't include the room name (which is an input option when setting up devices). The CSV contains all the fields (Device Name, Address, Category, and Spokens) EXCEPT the room name. So this is a long way of asking could you please add the room name field to the CSV download? It would make sorting a large number of devices a little easier and more user friendly. I'm no programmer but I imagine adding that field to the download script would be really easy for whomever has the access to change that. Thank you! Scott from Austin
-
I recently moved from v4.x to v5.0.14 and in the transition, it enabled programs that were previously disabled. Is there any way to open old v4 ISY backups to see which programs were disabled before I upgraded? I tried unzipping a v4 backup and then unzipping the uuid... backup inside of that, but I just get an error when trying to extract it. I was hoping it would be some sort of text file that I could open to find previously disabled programs. Thanks for your help.
-
OK, thank you Teken. I do have the Z-Wave model so I might see if there is something out there that would work.
-
I have a lawn lamp plugged into a load sensing outlet and was wondering if there is any way to write a program to determine if the bulb is burned out? The only program I have on it now just turns it on at sunset and off at sunrise. Thanks for any help you can provide.
-
Echo Dot Stops Responding - New Mystery Devices Showing in Alexa App
piconut replied to hbskisurf's topic in Amazon Echo
I used the "discover devices" command from the alexa.amazon.com page and the spansih named devices are still showing up on mine. What should I try now? -
Ahhhhhh... That was it! Thanks LeeG! I deleted it and added it back in and everything worked. I wasn't sure how the programs that included the module when it was "unsupported" would behave if the newly added module had the same name so I renamed the new module just in case. Any idea if re-adding the module back in using the same name has any negative effective on programs that still contain the old name? In other words, will the programs work correctly or are they still associated with the old information?
-
I upgraded the ISY and UI firmware and now it is showing as v.4.2.8 for both. I checked to make sure that that 2635-222 module was still shown and now the ISY lists it (and the other appliance modules I have) as 2635-222 On/Off Module v.46. However, the two manual ON and OFF programs still do not work and the variables that they should be added 1 to each time I run the program, are not increasing. I also ran manually ran the two programs from the ISY interface (Right click > IF, or Run Then) and when I do the "Run Then") each program works as it should. So apparently there is a problem with the IF part of my program. Maybe the up and down triangular buttons are not the ON and OFF buttons. However I modified my IF statements to take care of (what I thought) the possible options for the UP triangle button on the Appliance Module and ti still didn't work when I pressed the button on the side of the module. See here: If Control 'A6 Ping Pong Lights' is switched On Or Control 'A6 Ping Pong Lights' is switched Fast On Or Control 'A6 Ping Pong Lights' is switched Fade Up Or Control 'A6 Ping Pong Lights' is switched Bright Then $m4_ON_test += 1 Set 'A6 Ping Pong Lights' On Disable Program 'm4 activity PingPong' Stop program 'm4 activity PingPong' Else - No Actions - (To add one, press 'Action') This program overrides the motion control of the ping pong room lights by stopping the ping pong room motion lights program, then disabling that program, turning the lights on and/or keeping the light on until they are manually turned off. Manually turning off the lights will re-enable the motion sensing program again.
-
ISY994i with v4.0.5 The device type in the ISY interface shows "unsupported Device:2.55" as do all the other appliance modules I bought a couple months ago. The box says 2635-222.
-
I have a program which detects motion from an Insteon motion detector (2842-222) and turns on the lights in our ping-pong room. The main program is written so that the lights only stay on a short time if someone is just passing through, and they stay on longer if the motion detector is tripped frequently over a short period of time. Everything seems to be working well with this program and I use a similar one on other motion detectors. Next I wrote a program so that if the Insteon Appliance Module (which controls the ping pong lights) is manually turned ON or Fast ON by the triangular switches on the side of the module, then it stops and disables the motion program and basically puts the lights into a manual mode. I also have another program that re-enables the motion program once the ping pong room lights are manually turned back OFF or Fast OFF. I cannot get either of these last two programs to work at all. I set a variable called m4_test_ON so that the Manual ON program adds 1 to it each time the program runs. The variable is not being added to when the conditions are met (the light is turned on manually) which indicates that the program is not running when I think it should. I also set up an M4_test_OFF variable too for the Manual Off program and it is also not increasing above 0 indicating that it is not working either. I would appreciate some help as to why it is not working as I think it should. Here are the 3 programs (Motion detection, Manual ON, and Manual OFF: Motion Detection (working fine): If Control 'M4 PingPong-Sensor' is switched On And $m4_timed <= 10 Then $m4_timed += 1 Set 'D3 Ping-Turtle test light' Fast On Set 'A6 Ping Pong Lights' Fast On Wait 1 minute Set 'D3 Ping-Turtle test light' 50% Wait 1 minute Set 'A6 Ping Pong Lights' Fast Off Set 'D3 Ping-Turtle test light' Off Wait 1 minute $m4_timed = 0 Else $m4_timed += 1 Set 'A6 Ping Pong Lights' On Wait 10 minutes Set 'D3 Ping-Turtle test light' Fast On Wait 10 minutes Set 'D3 Ping-Turtle test light' Off Set 'A6 Ping Pong Lights' Fast Off Wait 1 minute $m4_timed = 0 When motion is detected near the ping pong table and the number of recent detections is low (<10), then turn the ping pong fluorescent lights on for approx. 2 minutes, then turn them back off. Also, reset the M4 counter back to 0 three minutes after the last motion is detected. Otherwise, if motion is detected and there have been other recent motion detections in the ping-pong area (>10), then turn on the ping pong lights for 20 minutes after the last detection of motion. The Manual ON Program (not working): If Control 'A6 Ping Pong Lights' is switched On Or Control 'A6 Ping Pong Lights' is switched Fast On Then $m4_ON_test += 1 Stop program 'm4 activity PingPong' Disable Program 'm4 activity PingPong' Else - No Actions - (To add one, press 'Action') This program overrides the motion control of the ping pong room lights by stopping the ping pong room motion lights program, then disabling that program, turning the lights on and/or keeping the light on until they are manually turned off. Manually turning off the lights will re-enable the motion sensing program again. The Manual Off program (not working): If Control 'A6 Ping Pong Lights' is switched Off Or Control 'A6 Ping Pong Lights' is switched Fast Off Then $m4_OFF_test += 1 Wait 20 seconds $m4_timed = 0 Enable Program 'm4 activity PingPong' Else - No Actions - (To add one, press 'Action') This program re-enables the motion sensign program once the ping pong room lights are manually turned off. It also resets the M4 counter.
-
Thanks. It never occurred to me that I could disable a program within a program and utilize that function to make things work like you did. I appreciate your helping me to learn this stuff. I've implemented your program and am testing it now.
-
Hi Xathros... Could you please explain how this is done? I think your motion setup might work well for me but the only thing I might want to add is a 2 hour timeout added to the switch so that if the light is left on accidentally, the light still goes out 2 hours after the last motion sensed movement.
-
Hi oberkc.... Thanks again or your quick response. Regarding the settings and jumpers, I have it all set correctly as you stated (I learned all that from the other helpful info found on this forum). Just to note, you cannot set the timeout to anything less than 30 seconds from the options menu (which actually shows up as 0.5 minutes). If you try to set something like 0.25 minutes, it just reverts back to the 2 minute default. So I currently have it set to 30 seconds (0.5 minutes). Also, I have the "On commands only" set which is actually unchecking the On Only Mode. I thought this was very confusing when I originally set it up but I tried various things and read more stuff here and you actually have to uncheck it to turn on the ON Only Mode. See my image of my settings below and it should be clear what I'm talking about. The three programs I have now seem to be working but I would still like to tweak it so that the number of the integer variable corresponds to the length of time the light stays on, to a point. I just can't think of how to program that. I might try to play with the programming some more to see if I can figure it out and I'm open to suggestions from you and the other experienced members here. I may not know much but at least I enjoy trying to logically solve the problem and test it, and whether I'm successful or a failure, I still learn from the experiences. That would be great! Thanks!
-
I have already offered a suggestion. Whether or not it is better or more efficient, I will leave to you. Certainly, it is fewer lines of code. Hi oberkc... Thanks for your quick response. I should have mentioned that I tried what you suggested but it didn't work as expected and this is probably because either I wasn't clear in my expectations of how I wanted the light to work, or I wrote the program wrong (or most likely, both). I also guess I wasn't clear on what the Run this program (else path) meant. Here is are the two programs I tried originally after your first response. If Control 'Devices Garage / Motion Sensor / Garage Motion Sensor-Sensor' is switched On Then $motion_test += 1 Wait 30 minutes Run Program 'motion test light on' (Else Path) Else $motion_test = 0 and then the program that it runs is: If Control 'Devices Garage / Motion Sensor / Garage Motion Sensor-Sensor' is switched On Then Set Scene 'Garage Motion Light' On Wait 30 seconds Set Scene 'Garage Motion Light' Off Else Set Scene 'Garage Motion Light' Off What happened was that the light just stayed on for 30 seconds after the last motion then went off, regardless if whether someone was just passing through the motion sensor beams or if they were continually working in the area. The part that didn't work as expected was that the continual motion in the area would cause the light to stay on for at least 10 minutes after the last activity. If you can give me some pointers as to where I might improve this, I would appreciate it. Thanks... Scott
-
Here is what I have programmed and am currently testing. I have an integer variable called gmotion_timed which starts at zero and when the motion sensor detects motion, a program adds +1 to it for each detection. If Control 'Devices Garage / Motion Sensor / Garage Motion Sensor-Sensor' is switched On Then $gmotion_timed += 1 Else - No Actions - (To add one, press 'Action') Then I have another program called reset variable that waits for 5 minutes after the last motion is detected and then it resets the gmotion_timed variable to 0. If Control 'Devices Garage / Motion Sensor / Garage Motion Sensor-Sensor' is switched On And $gmotion_timed > 0 Then Wait 5 minutes $gmotion_timed = 0 Else - No Actions - (To add one, press 'Action') The program that actually turns on the light is this: If Control 'Devices Garage / Motion Sensor / Garage Motion Sensor-Sensor' is switched On And $gmotion_timed <= 10 Then Set Scene 'Garage Motion Light' On Wait 2 minutes Set Scene 'Garage Motion Light' Off Else Set Scene 'Garage Motion Light' On Wait 20 minutes Set Scene 'Garage Motion Light' Off So far it seems to be working well and I'm playing with both the reset time and the length of time to wait to see what works best for being able to determine whether the light should stay on briefly, or for a long time. There is probably a better and/or more efficient way to write all of this so I'm open to suggestions. What I really need now but I'm unsure how to setup is a way to log the time of each motion detection for each day (every one) and then have that emailed to me. The reason I want this is to see how frequently, on average, the motion detector gets tripped by the "just passing though" trips in the garage. I think if I had this information that I would be better able to tweak the values of my program to achieve what I want regarding the momentary and long acting lighting. I know how to do the email part but I don't know of a way to write a program that would create and log the times. Is this possible? Thanks ... Scott
-
I'm new to ISY and Insteon and have been playing with the programming functions to try to learn them (although I'm not a programmer but I can usually muddle my way through basic If/Then statements). I have a motion sensor in the garage that turns on the inside garage light. I want the light to come on and then go off in 30 seconds when someone walks through the garage. I also want the light to stay on for 10 minutes or more when someone walks into the garage and works on a project in there. From reading numerous posts on this forum by the helpful members here, I have successfully setup a simple program that can turn on the light for any chosen interval of time when the motion sensor is activated, and keeps the light on as long as the sensor still detects motion. I have set the motion sensor so that it only sends ON commands. Now here is my logic for what I want but I'm not exactly sure how to program it. I have created an integer variable that starts at 0 and gets ticked up +1 for each time the motion sensors sends the ON command. I'm not sure how to do it but I want to set that variable so that it gets reset to zero when the motion sensor has not sent the ON command on anything over 30 minutes. I'm trying to use the variable as an "activity" monitor. When someone just walks through once and then there is no other activity for an 30 minutes or more, then the motion sensor clicks off the light within 30 seconds because the variable is 1 or 2. But when there is a fair amount of motion within the 30 minute time frame, the variable gets increased and then this larger variable is used in a program to tell the light to stay on for a longer time, like 10 minutes after the last activity. Ideally, the larger the variable, the longer the light stays on up to a point. Like a variable of 8 within 30 minutes might make the light stay on for 5 minutes after the last motion being sensed, but a variable of 20 within 30 minutes would make the light stay on for 10 minutes past the last motion sensed. I don't want the light to stay on longer than 30 minutes after the last motion was sensed. I don't know if there is a way to do this but this is why I'm asking for help here. This is my first post after several days of reading these forums and playing with basic programming. Thank you for any help that you can provide. Thanks... Scott