Everything posted by IndyUDIuser
-
INIT TO causing variable to be zeroed out
Ugh. Programs still aren't working as expected. I added more WAITs between every line of code in every program so I can try and see what it is doing to the variables, but that made it worse. I can see what appears to confirm my original post, in that the variable iCurrentDayOfMonth gets set correctly, then the INIT gets set, and the variable is ZEROED OUT. So I added another line to set the variable again (after copying it to the INIT) and that seems to work. To me this looks like a bug in the OS. But now all the WAITs I've been adding are causing other things to malfunction. Programs are running out of order. More variables are being set incorrectly. I'm thinking I may have to throw out all the individual programs I wrote and write just one large program that does all of the calculations in sequence as I expect. More debugging..... DATTM SetCurDayOfMonth - [ID 0078][Parent 0028] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $iCurrentDayOfMonth = 0 Wait 2 seconds $iCurrentDayOfMonth Init To 0 Wait 2 seconds $iCurrentDayOfMonth = [Current Day of Month] Wait 2 seconds $iCurrentDayOfMonth Init To $iCurrentDayOfMonth Wait 2 seconds $iCurrentDayOfMonth = [Current Day of Month] Else - No Actions - (To add one, press 'Action')
-
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.
-
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
-
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.
-
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.
-
How to use From Last Run Time?
I'm a long-time ISY Admin Console user struggling with the "From Last Run Time" statement. This is the first time I've tried using it. I'm trying to create a simple program that sets a variable to 1 for half an hour and then 0 for the next half hour. Repeat every hour all day. I've tried different variations of the following code but it doesn't behave I think it would. Or I don't know how this works in plain English. The current version (below) turns on for 30 minutes and then off for 60 minutes. DEHUM Toggle - [ID 0062][Parent 0057] If From Last Run Time for 'DEHUM Toggle' + 1 hour For 30 minutes Then $sDehumidifierOn = 1 $sDehumidifierOn Init To $sDehumidifierOn Else $sDehumidifierOn = 0 $sDehumidifierOn Init To $sDehumidifierOn A previous version, shown below, sets the variable to 1 and just leaves it that way forever. I can see from the status log that the program runs every hour, but never sets the variable to 0. Can anybody please explain the thinking on how this "From Last Run TIme" is supposed to work? In the past I had just hard coded all the half hour intervals, but I thought I could come up with something shorter and more succinct. Alas it is fighting me. No combination of times in the command seems to work. (For those that are curious, I like to run my dehumidifier for just half of every hour so that it has time to defrost between runs.) Thanks in advance!
-
[RESOLED] ISY stuck in linking over and over
That PDF shows the module I was wishing for, but I don't seem to find that for sale anywhere on Google. I wonder if/when they plan to release it? Knock on wood my current PLM keeps working until then.
-
[RESOLED] ISY stuck in linking over and over
I wonder if they ever plan to redesign the PLM. The case design reminds me of the early Insteon products that I got rid of years ago. A smaller size would be nice.
-
[RESOLED] ISY stuck in linking over and over
My PLM is at least 10-15 years old. I don't suppose there's a way to check the device electronically to see what is manufacture date is. Does the device label show the date? I haven't unplugged mine in many years and am afraid to touch it. Should I go ahead and buy one just to get the latest improvements in the technology (if any)? Have they changed much in recent years?
-
EISY runs programs after power outage unexpectedly
I found the setting for "Catch up schedules at restart" and it IS checked. This is the first time I've seen that setting, so it must have been a default. I would think this is OK so that any programs scheduled AFTER the reboot will happen on their appropriately scheduled times. What other ramifications do I need to consider? I left it checked for now. I also see a "Query at restart" which probably explains why the EISY queried every device. I guess this should be harmless. I left it checked. I'm not quite understanding Geddy's comments about the wait. The program seems very simple. Twice a day it turns on the blower, waits 5 minutes, and turns it off again. It has been working fine for months. It has never left the blower turned on for more than 5 minutes. The Onvacation variable simply allows me to prevent the blower from running unnecessarily when I am on vacation. I set that variable to 1 before I leave, and then set it to 0 when I return. I don't have any other programs that affect the BSMT Blower. Perhaps you are saying "what if the reboot occurred during that 5 minute wait?" I guess I don't know to be honest. Is the software smart enough to know that it has to catch up to the middle of that 5 minute wait and continue on where it left off, finishing out the wait and turning the blower off? Or if the power is out for, say, 10 minutes, will it recognize the current time is now past when the blower should have been shut off, and go ahead and shut it off immediately? The X10 Universal Modules I mentioned are used to turn ceiling fans on or off. Two of them are programmed to turn on at noon every day (they turn on my kitchen and living room ceiling fans). A third one turns on again in the evening (to turn off the kitchen fan). None of those programs has "run at startup" set to true, yet they did run. I could hear the modules clacking on and off during the reboot. Not a big deal, just odd. I kind of understand what you are saying about using 2 programs, but I'm hesitant to make this more complicated that it needs to be, given how rare the problem comes up. Thank you nonetheless. Oh well, I'll just chalk this up to "live and learn". P.S. I did move the EISY to a UPS so it shouldn't be affected by power outages (at least relatively short ones). I'm a retired batch programmer and have used Insteon and UDI for many years, but still learning a new trick here and there. Thank you for your assistance and have a good day! Jon
-
EISY runs programs after power outage unexpectedly
Saturday night 8/16/2025 I had a thunderstorm and my house lost power for a second or two and came back on. This happened twice several minutes apart. Each time, my EISY rebooted and started running a few programs unexpectedly. It was bizarre sitting in my living room as EISY turned on modules unnecessarily after the power restored. Just now I was able to replicate the issue by simply unplugging the EISY and plugging it back in. In the log file there are 134 entries in the few seconds after each power blip. Like it is maybe polling information from modules, getting Status, On Level, Ramp Rate, etc. from just about every device in my house. Is that normal? Here is one example program. It turned on an appliance module for my basement blower for 5 minutes and turned it off again, even though it wasn't 6AM or 5PM. In the Summary tab, this program is not set to Run At Startup. (I have very few programs set to Run At Startup.) Yet this one did. Despite the conditions not being met. Any idea why this would happen? 7D Bsmt blower - [ID 005A][Parent 0023] If ( Time is 6:00:00AM Or Time is 5:00:00PM ) And $sOnVacation is 0 Then Set 'Basement / BSMT Blower' On Wait 5 minutes Set 'Basement / BSMT Blower' Off Else - No Actions - (To add one, press 'Action') I've attached an excerpt from my log. The outages were at 9:43:45PM and again at 9:53:22PM. I inserted a couple blank lines to break them apart. The X10 Universal Modules at lines 20-25 all triggered on even though their programs are not set to Run At Startup. THANKS! Partial EISY Log.xlsx
-
Portal dead again?
My Alexa and phone app weren't working but they're back up now. Thanks!