driedlinger Posted February 22, 2011 Posted February 22, 2011 I am wanting to switch from X10 (old laptop running Heyu) to Insteon and I am researching the isy99i device. What I would like to know is can a program be written on the isy99i device to mimic a unix shell script (using Heyu) that I currently have. What I would like to do is move off the laptop and onto the isy99i, using the current X10 appliance module but eventually use an Insteon appliance module (so I can query the on state) once I get past procurement approval with management at home. The script is user initiated via ssh and basically does the following. 1.) Sends an email at the start of script (via gmail userID - Passowrd & TLS). 2.) Enters a while loop [ counter <= someNumber ] 3.) It turns on the pump (X10 appliance module). 4.) sleeps for 15 minutes 5.) It turns off the pump (X10 appliance module) . 4.) increments counter +1. 5.) sleeps for 60 minutes. 6.) Returns to the top of while loop and iterates the above process until while loop is exhausted. 7.) Sends email at exit of while loop (via gmail userID - Passowrd & TLS). One of the issues I have with the X10 setup is sometimes the pump does not actually turn off (I know what a shocker X10 would fail). In another script I would like to be able to query the Insteon module to find the state of the module...just to make sure it is off when it should be off (when the above program is not running). If the module is found on turn it off and send an email. I think most Insteon modules offer a query state feature?? Any help / insight here would be great. I do see there is a limitation of the number of programs on the unit, is there program size - number limitation or just a number limitation? Thank you, Darin
Michel Kohanim Posted February 23, 2011 Posted February 23, 2011 Hi Darin, ISY is fully capable of executing your algorithm + more. This said, though, ISY does not allow you to write shell scripts ... instead, you would use ISY programs which are created using Admin Console. Please checkout this article for more information on ISY programming: http://www.universal-devices.com/mwiki/ ... e#Programs . Furthermore, ISY is event driven so the status of all your devices are evaluated as they change: you can have programs based on changes in status and therefore you would not necessarily need your second program to query the status. With kind regards, Michel
driedlinger Posted February 24, 2011 Author Posted February 24, 2011 After reviewing some of the programing info I noticed there were multiple files in folders. http://www.universal-devices.com/mwiki/ ... ram_Detail Question: Is each file in a folder a program that counts towards the total count of 300 for the isy99? Question:Are the 300 programs usually satisfactory for "power users" with somewhat complicated programs? Thank you, Darin Darin
oberkc Posted February 24, 2011 Posted February 24, 2011 I had no idea there was a limit to the number of programs. Regardless, I am quite confident that each program in the folder counts towards whatever limits there may be. While I am sure one can get to 300 programs, I suspect one would have to be extremely extreme (or extremely inefficient) to reach this.
driedlinger Posted February 24, 2011 Author Posted February 24, 2011 Thank you for your input. The below link is where I got the 300 program count. http://www.homeorchestrator.com/UDStore ... ctPurchase
Brian H Posted February 24, 2011 Posted February 24, 2011 If you need the larger amount of programs. You can use the Purchase Modules feature, in the Administrative Console. To add the Pro feature. If you purchased the non Pro model. That would get you 1000 programs. It is a software thing and nothing has to be done internally to the ISY99i.
Sub-Routine Posted February 24, 2011 Posted February 24, 2011 Hi Darin, We don't very often find that 300 programs is a limit. Usually it is the number of devices (75+) and scenes. As Brian mentions you can upgrade to Pro ($30US) at any time. Rand
Recommended Posts