-
INIT TO causing variable to be zeroed out
I only learned about "INIT TO" in the last year. Setting the INIT value allows the ISY to reset variables to the desired values if the ISY reboots for some reason (i.e. power blip).
-
INIT TO causing variable to be zeroed out
Well, the problem came back again after the program executed at midnight on schedule. The variable shows 0 while the INIT shows 14. I experimented with adding a couple of initializer statements (so I can watch the variables get flipped while the program is running) as well as WAIT statements between each line, thinking the executor is not running them in the sequence they are coded (or running too fast?) Then I removed the WAIT statements one by one, testing over and over to make sure the code still worked. The following code finally does what I expect when the THEN clause is executed. For now at least. DATTM SetCurDayOfMonth - [ID 0078][Parent 0028] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $iCurrentDayOfMonth = 0 $iCurrentDayOfMonth Init To 0 Wait 3 seconds $iCurrentDayOfMonth = [Current Day of Month] $iCurrentDayOfMonth Init To $iCurrentDayOfMonth Else - No Actions - (To add one, press 'Action') Note that if I set the wait statement to 1 second, the program doesn't work for some reason. I don't see the variable or its INIT being changed. Change it back to 3 seconds and then I can see the values changing. Weird.
-
INIT TO causing variable to be zeroed out
Thanks for the information. I have not looked at Plug-ins in a long time because I don't use them and haven't taken the time to learn about them. I'm just an Admin Console user, controlling Insteon devices in my home. I poked around in the PG3 interface and see two listed as "Purchased". I don't remember purchasing them or what they are for. Perhaps from years ago. Both are described as "Notification Node Server for Pushover and Telegram" with one labeled Beta and one Production. I'm guessing they have to do with sending notifications to my phone, so I'll leave them as-is. I'm a retired batch developer (C and Unix) so all this Polyglot/GitHub programming stuff is foreign to me. Will take time to learn. Wish there was a good old-fashioned hard-copy book on all this to follow. I waste too much time wandering around lost in the forum and wiki. LOL ;-)
-
Odd pop up keeps popping up
I agree with oberkc. I upgraded to 6.0.5 a few days ago. After reboot the "Added" dialog went away. Today it came back. Rebooting again cleared it. Don't quite understand what is going on here.
-
INIT TO causing variable to be zeroed out
I'm not aware of what plugin you are referring to. Can you explain further? Thanks.
-
New Device Notification
I have an IOLinc 2450 v.41 that has been in operation for over 5 years. A few weeks or so ago I started getting this same error (and several others). I tried all kinds of things but it wouldn't stop. Upgraded to v6.0.5 and after a reboot or two it finally seems to have gone away. Must have been a bug in 6.0.0. Thanks.
-
IndyUDIuser started following How to find my current EISY software version numbers , New Device Notification , What century is this? Updates are archaic and 1 other
-
INIT TO causing variable to be zeroed out
I deleted the program, restarted the Admin Console, and then hand-typed the entire program again from scratch. This time it worked, both the variable and it's INIT value appear correct. Thank you IndyMike.
-
What century is this? Updates are archaic
I feel your pain. I've been a ISY user for maybe 20+ years (ISY994i and now EISY). I've been having a few odd bugs with my EISY lately. No idea why they suddenly started happening. Removing the devices and re-linking them over and over didn't help. The error messages from admin console were bizarre and all but useless. I thought I had a couple of failed devices. So I started browsing the forum. I saw a notice from MIchel about a new version 6.0.5 released. No information on how to download and install it. So, as I do about once a year, I spent time searching through the wiki and the forum. A simple software update in any other software I've used in 40 years doesn't take hours to figure out -- it's usually a click or two -- 5 or 10 minutes max. Not here. Tried rebooting my EISY and all of a sudden it was updated to 6.0.5. I didn't even know it would do that. Then the admin console no longer worked. More time spent finding the link to download start.jnlp again. Why isn't there a prominent link at the top of the "Official News and Announcements" page to a page that gives all the information about how to download and install updates? Why has it always been this hard? I'll get off my soapbox for now. Thanks.
-
Odd pop up keeps popping up
I've been having a similar error for at least a month. Plus other anomalies about a couple of devices not communicating (that had been working for years). I just rebooted my EISY and it installed v6.0.5. The problems seem to have gone away. I had to clear Java cache and download a new copy of start.jnlp to get admin console working again. Good luck.
-
How to find my current EISY software version numbers
Thank you! I found them by clicking the three lines, then Settings, then System. Next question: Near the bottom of the list I see "Upgrade status: Inactive". What does that mean? Below that is a button labeled "Upgrade packages". Do I use that to update everything to the latest versions? I also find an "Upgrade packages" button in the Admin Console under Configuration > System. I assume that performs the same function? Sorry for the simple questions. I've been using Insteon + EISY (previously ISY994i) for 20+ years. I just don't look at this matter but maybe every couple of years. I get rusty.
-
How to find my current EISY software version numbers
Michel K. sent out a new version announcement last month. How do I find what my current versions are? If I go to Help > About in the Admin Console all I can see is Firmware IOS v.6.0.0. I cannot find the other version numbers he describes anywhere (Michel I suggest when you send a release announcement you include a link to the installation instructions). I've spent the better part of an hour trying to find the other numbers in my system and browsing the forum for hints. Also, I cannot seem to find out how to upgrade the Firmware. I've done it in the past but cannot seem to remember how I did it. When I go to Configure > System the "Upgrade BIOS" button doesn't function (doesn't respond to clicks). I found a link to an old YouTube video describing the process but the video is way out of date and the screen images do not match my EISY Admin Console displays. Help! Copied from Michel's post: Hello All, I am happy to announce a set of updated software and OS for your eisy/polisy: OS v14.3p9 UDX - v4.4.0_6 IoX - v6.0.5_1 eisyui - v0.10.1
-
IndyUDIuser started following Current Release Announcements
-
INIT TO causing variable to be zeroed out
OK, how do I paste code into a forum post and keep the indenting? For some reason it appears to be all shoved to the left and indenting is lost. If I post the same clipboard into Notepad the code appears indented. Thanks for any tip you can provide.
-
IndyUDIuser started following INIT TO causing variable to be zeroed out
-
INIT TO causing variable to be zeroed out
I have this program that I am trying to use to set an integer variable to the current day of the month. When I run the THEN clause the INIT value is correct but the variable iCurrentDayOfMonth is set to zero. This doesn't make sense. I expect them both to be the same. I have a couple of other similar programs using different variables and they work fine. What is going on? TIA DATTM SetCurDayOfMonth - [ID 0047][Parent 0028] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $iCurrentDayOfMonth = [Current Day of Month] $iCurrentDayOfMonth Init To $iCurrentDayOfMonth Else - No Actions - (To add one, press 'Action') Whereas these programs work fine. Both the variables and its INIT values are correct all the time: DATTM SetCurHH - [ID 006D][Parent 0028] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat 23 times $iCurrentHH = [Current Hour] $iCurrentHH Init To $iCurrentHH Run Program 'DATTM SetCurMM' (Then Path) Wait 1 hour Else - No Actions - (To add one, press 'Action') DATTM SetCurMM - [ID 006E][Parent 0028] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat 59 times $iCurrentMM = [Current Minute] $iCurrentMM Init To $iCurrentMM Wait 1 minute Else - No Actions - (To add one, press 'Action') EISY running version 6.0.0.
-
New eisy Model, home r2, 994 upgrade Path offer
I upgraded from an ISY994i to Eisy about a year ago. Didn't notice any difference in performance. Several weeks ago my Eisy stopped running programs and responding to Alexa commands. I went to check it and the box was very hot. I spent a few hours rebooting and trying to debug. It did notice an update was available, which restored its functionality (and now requires me to log on to Admin Console with my portal ID and passwords, which takes twice as long). I don't really know what "locked up" in the Eisy but it was very hot, and I fear it may have shortened its lifespan. In the last 2 weeks I've had wierd problems occur with an IOLinc that has been working for years suddenly getting communication errors. I moved it closer to the PLM (on the same power strip actually) and then it worked fine. I moved it back to its original location (15 feet away) and it failed again. Like I said, it has been working for years without an issue. Nothing else has been changed in that room. My PLM is over 10 years old and everything else in the house is working fine.
-
How to use From Last Run Time?
Sorry, forgot to post the previous version: DEHUM Toggle - [ID 0062][Parent 0057] If From Last Run Time for 'DEHUM Toggle' + 30 minutes For 30 minutes Then $sDehumidifierOn = 1 $sDehumidifierOn Init To $sDehumidifierOn Else $sDehumidifierOn = 0 $sDehumidifierOn Init To $sDehumidifierOn A separate program turns the dehumidifier on or off based on the value of $sDehumidifierOn.
IndyUDIuser
Members
-
Joined
-
Last visited