Jump to content

apostolakisl

Members
  • Posts

    6998
  • Joined

  • Last visited

Everything posted by apostolakisl

  1. If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then - No Actions - (To add one, press 'Action') Else Repeat 60 times Set 'Alexis Room / Alexis BR-Overhead L' 14 (Beep Duration) Wait 1 second I would expect the else clause to run for 60 seconds and the switch to beep nice and steady once/sec. But it is not so. The beeps fluctuate greatly in timing and the entire 60 beeps takes more like 70 seconds. Comments?
  2. I don't understand. I have the counter starting after 5 seconds of run-time using the 'Wait 5 seconds' command. Watching it work, by starting it manually and monitoring the variables, it works like you'd expect. Only after 5 seconds have elapsed, does it add the first count. Wait 5 seconds Repeat Every 5 seconds $Cool_Cycle_Time_Daily_5Sec += 1 The only problem I see with this particular logic, is when the unit shuts off between counts, and you miss counting the last 1-5 seconds. Hence why I chose a small 5 second counting window. I suppose you could shorten the count time to as small as 1 second, but I assumed that that would use too much resources and might cause problems if another program tried to run at the same time. The way I see it is, if I miss a complete 5 seconds every cycle (not likely), my count is off (low) a max of 1 minute every 12 cycles. When the math is calculated, the variables get rounded down as well. From that, I could be as much as 59 seconds low per report also. I wonder if that wait statement shouldn't be removed as a way of compensating for the rounding down. Anyway, I do want things to be as accurate as possible, and if there is a quick and easy way to do it, I'm all for it. But at the end of the day, a couple of minutes either way isn't that big of a deal to me. When it's running for 8 or 10 hrs in the summer, 2-3 minutes is minor. Sorry, you are right, you are counting the 5 sec blocks at the end, which would result in undercounting. Just change the wait time to 2 or 3 seconds and then, on average, you would reduce your error to 1 sec per cycle on average. Or change your count interval to 6 seconds and use a 3 second wait to start things off, then (on average again) you would be dead on. It isn't a big deal, but if you are doing it, I figure you might as well make as dead on as possible. Wait 3 seconds Repeat Every 6 seconds $Cool_Cycle_Time_Daily_6Sec += 1 By having your counter flip at the middle of the cycle, on average, you would undercount the same number of times as you overcount and thus it would zero out. You could also go with much larger intervals while still maintaining accuracy but taxing the ISY less.
  3. Is this because there will be one last count after the cooling stops (program goes false)? Meaning once the last repeat starts, the count will always increment one more time? Sort of. The progression is this 1) Units turns on 2) counter goes up by one immediately (even though 0 seconds of being on have actually happened, counter would indicate the full 5 sec have passed) 3) counter waits 5 sec (at the end of this, unit has been on 5 sec) 4) counter goes up by one again (at this point the unit has actually been on 5 sec, but the counter would indicate 10 sec) 5) counter waits 5 sec (at the end of this unit has been on 10 sec) The counter adds one at the beginning of the 5 sec interval, even though the unit could shut off before the 5 sec is up. So there is no difference between the unit shutting off .1 sec after the counter went up or 4.9 sec. Either way it looks like 5 full seconds of being on. Their are 2 ways to fix this. 1) Count the number of cycles, multiply by 2.5 seconds and subtract that from the total 2) Have the counter start counting 2.5 seconds after the unit turns on.
  4. This may be a silly point, but your counter counts the 5 second blocks at the start of the 5 second time period. So you will be overcounting your usage by anywhere from 0 to 4.9 seconds on each cycle. You will never be undercounting. If you put a "wait" 2 seconds as the very first line, you would end up sometimes undercounting by up to 2 seconds and sometimes overcounting by 3 seconds, on average this would mostly cancel each other out and you would get a more accurate number. Of course, if you used 4 or 6 seconds as your interval, then you could use 2 or 3 seconds as your opening wait and even more accurately average out your under/over counting. Again, this won't change things that much, but just to be anal, that would be my suggestion.
  5. Probably antivirus software. This is different than windows firewall.
  6. Wow, come to think of it, I don't think there is. The admin console is the only local running app that I am aware of. Touchswitch runs through a webbrowser. So, kind of a windows user interface "app", but not really.
  7. Also you can set the KPL into "radio" mode. I think the analogy is to presets on an old car radio where you push one in and the other pops out? Anyway, if all the buttons are to be used for scenes that are exclusive of one another (in other words only one button should ever be on at a time), then putting the KPL into "radio mode" automatically shuts off any buttons that are on when you turn a different one on.
  8. You can not buy old/used Insteon stuff off of ebay. There are lots of bad switches out there (mostly the tact switch issues or "paddle issue" as SH calls it). SH is warrantying those for 7 years, but only if you were the original purchaser and got it from SH. They will even check the hardware version number to make sure it matches one that you had previously bought from them. So unless you happen to pick up a used/broken one on ebay that is the exact same version of one that you personally bought from SH in the past (and had not returned), you won't be able to get it replaced.
  9. It should. Try logging off and rebooting the computer. Check to make sure your ISY firmware level and Java control panel are using the same firmware version. Clear your Java cache and reload the java console. Try rebooting ISY. Try updating your firmware. Now I am out of ideas.
  10. 2876db is programmable from isy the same as a 2476d is. I don't know what your issue is. Perhaps a factory reset will get you back in order?
  11. The data connection between ISY and PLM is not ethernet. You can not run it into a LAN and pick it off somewhere else. It has to be a direct connection. The fact that it uses an rj45 is just becuase it is cheap and easy and universally available. Of course the ISY to LAN connection is just a normal ethernet connection.
  12. http://apnews.excite.com/article/201201 ... FHR80.html Legionella happens.
  13. You should try a factory reset on the swith and then use ISY to restore the switch. Also, I have 6 of the v27 switches which means that (unless they used that firmware on multiple hardwares) that it is post tact switch problem and probably not a member of the extended warranty. I have replaced every switch that was part of that "recall".
  14. I don't know about that price though. Almost $1000.
  15. I agree. You said your leds moved when you hit the button. The deal with the tact switch is that it doesn't register the button press at all. So if the leds moved, then the switch circuitry received the message that you pushed the button and thus the tact switch worked. But frankly, if you have a switch of that vintage (I have the actaul versions written down somewhere), you will have the tact switch problem sooner or later. And it doesn't need to be consistent. I had switches that would quit working for a few days, then start working, then work every other time, then work if a wacked it, then work normal again for a while, then not work. . . and so on.
  16. It does not sound like you are having the tact/micro switch problem (also referred to as paddle issue). However, if your device is of the vintage that had that problem, it is generally pretty easy to get SH to replace it provided you actually bought it from SH. You don't need the receipt. Just call them up and tell them who you are and where you had it shipped. They keep all sales in their computer. As long as you bought a switch from them of the version you are returning, you should be in luck. It is probably easiest just to tell them you have the "paddle issue". The new switches are a lot nicer and have added features. I had to replace all of my switches and the new ones have been very good.
  17. Now that my ISY is back to work, I just upgraded the firmware to 3.1.17 and was anxious to test this. My conclusion is that it still generates two events. In the following program, the counter is increased by 2 each time the light is turned on: If Status 'Etage / Salle de bain' is On Or Control 'Etage / Salle de bain' is switched On Then $TestCounter += 1 Else - No Actions - (To add one, press 'Action') And the control is always the first event. Sometimes, it may be desirable to combine control and status of the same device, if you AND a control and status from the same device, the program will run only once, and this will be during the control. When the status event occurs, it will run the else, because the control will always be false on that event. Also, during the control event, the evaluation occurs with the status PRIOR to the switch being pressed, not the new status (if that happens to actually change the status). Benoit. Yes, it is supposed to run twice, depending on the situation and how you wrote it, it will run the "then" twice, the "else" twice, or one of each, or it could run just once. Remember, "status" is a trigger when the status changes. If the program runs and that causes the status to change, the program will run a second time. Programs do not ignore the consequences of their own action (or the conseqeunces of actually hitting the on/off switch). When a program triggers, the entire "if" clause is evaluated at that instant in time, then, it is open to be evaluated again. It does not ignore the consequences of it's own "then" and "else" clauses or the consequences of pushing the switch paddle. This isn't a malfunction or bad logic. It is the correct logic. You just have to understand it so you can use it to your benefit.
  18. I believe the reason your original program doesn't work is as follows. ISY evaluates everything in an if clause simultaneously. When the program triggers it looks at all the conditions at that moment as a single block. So, lets say it is night, the light is on, and you switch it off. If Status 'Main Floor / Garage Light' is not On <<<< this is false, And Control 'Main Floor / Garage Light' is not switched Off <<<< And Control 'Main Floor / Garage Light' is not switched Fast Off <<< And Program 'Nightime Flag' is True <<<< And Program 'Garage Door Outside Open Flag' is True <<<< Probram evaluates false, else clause is empty, so program does nothing, however light turns off because you pushed "off" at the switch However, ISY then receives a status change from the light to "off" If Status 'Main Floor / Garage Light' is not On << And Control 'Main Floor / Garage Light' is not switched Off <<<<< And Control 'Main Floor / Garage Light' is not switched Fast Off <<<< And Program 'Nightime Flag' is True <<<< And Program 'Garage Door Outside Open Flag' is True <<<< All conditions are TRUE and the program triggered. The light is thus set to "on" Take this program If Status 'Alexis Room / Alexis BR-Overhead L' is Off And Control 'Alexis Room / Alexis BR-Overhead L' is switched Off Then Set 'Alexis Room / Alexis BR-Overhead L' 25% Else - No Actions - (To add one, press 'Action') It runs true when the light is off and you switch it off. But, a split second later it changes to false. The Else clause is empty, so it doesn't matter. But it switched to false because the light status changed to "25%" when it executed its own then clause. The initial act of turning the light "off" when "off" and then the light status comming on to 25% are two different events and thus the program runs twice. In this case, it simply doesnt matter that it ran the second time. In your case, it does.
  19. I have a situation that I control as follows. It is essentially identical to yours, however I also have a included a shut off timer. The timer can be interupted by pushing the "on" paddle (or off paddle), this is what the "if" clause is for in program 3 and why I put the timer in the "else" clause. . so it could be interupted. If Elk Zone 'Gar Overhead Lou' is Violated Or Elk Zone 'Gar Overhead Ell' is Violated Then Run Program 'Garage Lights 2' (If) Else - No Actions - (To add one, press 'Action') ****GARAGE LIGHTS 2***** **THIS IS DISABLED*** If Status 'Garage / Garage-Floures L' is not On And Program 'Dark Outside' is True Then Run Program 'Garage Lights 3' (Else Path) Else - No Actions - (To add one, press 'Action') *****GARAGE LIGHTS 3***** If Control 'Garage / Garage-Floures L' is switched On Or Control 'Garage / Garage-Floures L' is not switched On Then - No Actions - (To add one, press 'Action') Else Set 'Garage / Garage-Floures L' On Wait 10 minutes Set 'Garage / Garage-Floures L' 250 (Beep Duration) Wait 30 seconds Set 'Garage / Garage-Floures L' Off Program 1 and 2 are separated because I didn't want the light to turn on if the door was open and then it became dark outside. I wanted the only trigger for this program to be the opening of the garage door.
  20. This isn't really true. ISY does know how to properly execute programs where control and status refrencing the same switch co-exist. However, there were quite a number of firmware versions that status/control didn't behave properly. This was a result of homes where the communication was one step below perfect. The problem was that if the switch didn't get an ack from the plm, it resent the message causing a faulty running of the program when the PLM thought someone pushed the button again. See this for a more detailed description. viewtopic.php?f=27&t=7622 For example, I have lots of programs like this: If Status 'Alexis Room / Alexis Bath-Cans L' is Off And Control 'Alexis Room / Alexis Bath-Cans L' is switched Off Then Set 'Alexis Room / Alexis Bath-Cans L' 25% Else - No Actions - (To add one, press 'Action') They have all been running perfectly since firmware 3.1.16. Starting in either the last 2. versions or first 3. version these programs started misbehaving. They would turn the light on to 25% virtually every time you turned the light off.
  21. What firmware are you running? 3.1.16 fixed some issues with the combo of status/control combos on the same switch that could have easily caused your probs.
  22. 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.
  23. 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.
  24. 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
  25. 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.
×
×
  • Create New...