Jump to content

apostolakisl

Members
  • Posts

    6846
  • Joined

  • Last visited

Everything posted by apostolakisl

  1. My program is not counting minutes, it is counting 30 second intervals. Divide your final answer by 2 to get minutes. However, it is possible that ISY counts the extra 15 second wait before doing the repeat. So it would be counting 45 sec intervals. I wouldn't think it would, but maybe it does. If you skip the wait 15 seconds it will for sure be counting 30 sec intervals. You could also make it repeat every 15 seconds, then divide the final by 4. The smaller you make your count interval, the more accurate your final answer will be.
  2. How about If status Icon switch is not off and control icon switch is switched on then set table lamp on If status icon switch is off and control icon switch is switched off then set table lamp off You would want to delete the scene connecting the two switches. If the switch were on and you clicked on again, it would turn the table lamp on. If the switch were off and clicked off again, it would tunr the table lamp off. You could play with this general theme using fast on/fast off as well for different combos. But, as mentioned, the light connected directly to the switch will always turn on when you click on or fast on, and always turn off when you click off or fast off.
  3. Can't you Repeat Every 1 Minute and get rid of the Wait? This program will underestimate your light usage by a fair amount depending on your typical length of leaving the light on. If you have a low time on, you will miss most of your minutes. For example, if you only turn it on for 50 seconds at a time, your variable will never count anything. Have the counter click up one in the middle of the time slot and make your time slot shorter, so on average you will undercount the same number of times you overcount. If status light is not off then repeat every 30 sec wait 15 sec variable =+1
  4. probably would want your second program to also have "and elk is armed away" as a provision, unless you want it to shut the lights off at 1130 even when you are home.
  5. I use my elk to detect power failure and make sure everything else is on a UPS... If you have an Elk and the Elk module that is the most obvious and most bullet proof way, but I don't think the OP has an Elk. If conversatons between UD and CAI go well, perhaps we will have a CAI module for ISY anyway, which will make for an great (and cheap) way to have I/O and 1-wire connections across IP for our ISY's.
  6. I did run a couple of SL relays (non dual band) on a ups with a passive coupler coupling the battery back up side of the ups and the wall outlet where the ups was plugged in for about a year with no comm. failures. I don't remember trying the plm on the ups however. Tim Interesting. Did you make the passive coupler or did you purchase something. I suspect you could link it with a capacitor hot to hot across the UPS, correct?
  7. I would like to add another comment pertaining to my above solution. I don't know what happens to an Insteon PLM when you put it on a UPS. Has anyone tried this? Obviously it will not communicate via PLC when it is running on battery (at least not to the other side of the UPS). Has anyone tried connecting to a UPS while not on battery and experienced success or failure as far as PLC getting past it without suck/noise? I imagine there would be problems. This would lead me towards using a non-insteon device such as the cai to detect power faiulres. Running ISY and a CAI on a UPS should not present a problem.
  8. Michel, Both IndyMike and I had similar problems updating to 3.1.13. We both corrected the problem by re-entering our Elk passwords into ISY. viewtopic.php?f=25&t=7401
  9. Lee, aLF, or others, Any comments on how well dual band works while on a non-perfect sine wave? How about the "inverter" style generators. Are they clean enough for Insteon?
  10. In your second program, move the wait 1 second in front of the +=1 line. The reason it is running up too fast is because every time 1 gets added to that variable, the program triggers again and it re-evals the if. You actually don't need the repeat clause at all in either program. They are both getting reset every time the variable changes and the program starts all over from scratch.
  11. That would work. You would want to power the inline lincs with a UPS. You wouldn't necessarily need to have these programs run at startup. If status inline linc generator is on then send email generator power on If status inline linc city power is on Then send email city power on Else send email city power off These programs will run every time the status of the in line lincs change. When you first install the programs or boot the ISY, these will both be "on". No email will be sent at that time if you don't have a "run at startup" checked. If power goes out, both will change to off, and both programs will run, but the first program won't do anything (else is empty). The second program will send the else email (city power off). When the generator turns on a few seconds later, the first program will run again, and this time it will send the then email (generator on). When power is restored, I assume your generator will switch off and back to city power seamlessly so first program does nothing. The second program will run sending the "city power on" email. The cai solution could also work the same and be cheaper, it would only cost about $40 plus some random wall warts you probably already have sitting around. Except, you need a computer running all the time for io-guy's program. However, there might be a chance that ISY adds some direct linking to the CAI board, we shall see.
  12. Nice work. Here is another way. Io_guys program has a "heart beat" it sends to ISY. If the cai is plugged into a regular plug (not a ups), when the power fails the heartbeat will stop. You could use this to trigger an email. Of course your router/modem/ISY would all need to be on UPS.
  13. I went through my box of old wall warts, found one with the right plug, cut it off, and wired it up to my terminal strip 5v lead. The terminal strip is fed by an ATX power supply and powers all of my 5v (and 12v stuff on a second terminal strip). It works beautifully. Very clean, reliable, stable voltage through all amps power supply. And I was able to retire about a dozen bulky, ugly, old, in-effecient second rate wall warts and open all kinds of new plugs.
  14. I do have the elk module and it would appear based on your screen shot that it has added some pages that you don't have. The Elk module appears to add the ability to control what is in your export file. You don't need the Elk module to have the same basic Elk integration that you had before. I assumed you tried hitting the refresh topology button before exporting as well. I assume that hitting that button generates a new export file adding any new devices/scenes and subtracting any removed ones. I am sure Michel can confirm if true. In short, I don't know why you can't connect with your updated firmware. I did not have any trouble communicating with my Elk with the earlier 3.1.<15 versions prior to adding the module. EDIT: WAIT, yes I did. It had something to do with the password. I was not the only one. To fix it, I purposefully entered the wrong one password, saved it, then re-entered the correct password, saved it, and it worked.
  15. Check under Configuration/Elk/Export and add the new lights to the export file. Check under Configuration/Elk/Configuration and make sure the ip/ports are all correct.
  16. but this does not send multiple OFF commands, as reqested earlier. I read this to mean "multiple" as in 3 different lights, not multiple "offs" to each light. Perhaps I am speaking incorrectly to that point, but I think the OP doesn't understand exactly how scenes work. A scene instruction (on/off) sends a SINGLE Intseon power line command. All Insteon devices in your home will hear that command (barring bad communication issues). When a particular device "hears" that command it will check its link records to see if it is supposed to do something (it asks itself "am I in this scene"). If the answer is "yes" then it does whatever you programmed it to do as part of that scene. If it is not in the scene, it just ignores it (actually will repeat it depending on the hop count).
  17. If you really want to monitor your kegerator send me a PM. I have just patented a system for monitoring kegs using a special coupler I designed and a wifi enabled control board. It posts to our webserver and the user can log on and see how much beer is in the keg as well as the temp, all in graphical form over user specified time periods. It does not monitor consumption directly, it monitors liquid still in the keg and consumption is then calculated from that. It also will send email alerts according to user preference. It also has an optional feature for untapping the keg the instant it goes empty keeping gas out of the beer lines (this is primarily for long glycol systems). I am testing the first prototype right now and it is working quite well. Version 2 should be ready to test next month which I will place in our test bar/restaurants (and my own kegerator of course). If that goes well we will go retail in the early summer. It creates usage reports and notifies the distributer for re-stocking as well. The system is geered mainly for inventory control at bars and restaurants, but we plan on having a scaled down version for the private kegerator.
  18. You can do that with a scene but you need to think backwards. Create a scene and put all of those lights in it. Set the level of all the devices that you want "off" when you go to bad as "0". Set the bedroom light you want on to "x%" where x is however bright you want it. Include whatever ramp rates you want on each device. When you go to bed you need a keypad linc or some other insteon device or a program to turn that scene "on", which counter intuitively will actually turn most of the lights off. If you want a delay, you can use slow ramp rates, or you can use a program with a "wait" command. When you get into bed, turn the scene "off", then that one light in your bedroom will turn off, the other lights will stay off.
  19. I would actually tell you to skip the program alltogether and just link the triggerlinc to the light switch. This would do the same thing as the program but do it directly, no middle man. Since you have no delays or other complex issues programmed in, just on when open, off when closed, a direct link would 100% cover you. EDIT: Never mind, I forgot about the sunrise/sunset thing. OK, so try checking your log and see when ISY is receiving the status "on" and when it is sending the "on" to the switch. That would rule out ISY as the delay source. Also, you could try direct linking it to the switch temporarily and see if the delay still exists. I own no triggerlincs so I don't know for sure, but it is also possible that they have a purposeful delay there to prevent false openings from vibrations and the like.
  20. It has been a couple weeks now with not a single malfunction. I believe you have fixed it!
  21. The best way to solve the problem is to have a thermometer that clicks on at one temp and off at another. For example, on at 70, off at 73. Then a simple link would do the trick (no programs). No matter what program you use, you need to set the primary program to run at boot and you will want to run it manually any time you make an edit. Otherwise, if it is already "on" when you start things off and the heater is "off", you will never get a trigger to turn on the heater (a status change, or control on) I think oberkc program will do the trick more simply than mine.
  22. You should use "Status" not "control". If it cycles too often set up 3 programs If Status workshop heater thermometer is below temp (on?) Then set workshop heater on run program 2 then clause Else - - If - - then wait 10 minutes run program 3 if clause else - - ***this program must be disabled**** If status workshop heater thermometer is below temp (on?) Then run program 2 then clause Else set heater off These three programs will run the heater in 10 minute intervals. If the room is still not up to temp after 10 minutes, it will run another 10 minutes, and so forth until it is up to temp. Then it will shut off and wait for the room to drop below temp again. You would want to set the first program to run on boot and also you would need to manually run the "if" the first time to get it started if the workshop is already below temp.
  23. To point 2. It was already covered but I'll add a little. Keep in mind that devices are set as controllers and/or responders. When you have a virtual multiway, all those devices are controllers for all the other devices (meaning that all devices controll each other and respond to each other). So PHYSICALLY acting on any of those devices (by that I mean actually touching it) propogates through to all of them. HOWEVER, if one of those devices is acted upon by the ISY or some other switch not in the scene, it will behave ONLY as a responder, none of the other switches in that virtual multiway will change. Only a switch that is PHYSICALLY acted upon will control another switch. This is how one switch can respond to multiple scenes where perhaps the other switches are not intended to be changed. So, to have all the switches in a multi-way act in sync, you must program the SCENE to change, not just one device. I hope you now have your items in order. I think you did some extra work there manually rebuilding all your scnes. It would have been easier to simply set the system to restore all devices/plm and then go out to dinner and a movie, but oh well. In the future try not to factory reset your plm by accident But if you do, be sure to restore the plm, not restore an old backup of ISY.
  24. Michelle will get you out of this. But realize that when you restored a backup of your isy that the any links you created since then would not be known to the isy but would still exist on the devices and plm. And you had a plm which sound like it got erased and then had some links added in. You've now got a hodge podge of devices in various states of linkage and none of it on the same page. I suspect that you may find it easiest to factory reset every single device and then have ISY re-write all links to all devices and the plm. This will for sure put everything back on the same page. Realize that the ISY does know every single link for all devices and the plm and can re-write all of that. But let Michelle guide you through.
  25. A suggestion, Put all of the switches that control outdoor lights in one scene as responders. Call it "outdoor lights". Instead of listing each light in your "then" clause above, you just list the scene. This will decrease traffic and increase probability of proper execution. Also, it might be nice to then have a kpl button in your house that you set as a controller for that scene, so if you wanted to have all the outdoor lights turned on (hear something suspicious), you can just hit one button. I have a button next to my bed that does that. Also, you can use that same button to turn them all off. And you need to figure out why your ISY isn't getting updated. Probably it is an issue with links as mentioned. If the links are wrong, just right click and hit "restore device" and that rewrites them.
×
×
  • Create New...