Everything posted by PhanTomiZ
-
Heartbeat program for Windows computer
Thanks for sending your version.
-
Heartbeat program for Windows computer
Sounds somewhat like my setup. Let's see what you have. VBS script, Task Scheduler and ISY program. Thanks PhanTomiZ
-
Heartbeat program for Windows computer
Update.... No computer lockups since last post. I've had false notifications. I clued into this only after the 3rd time it happened. Time was 4:00 am. The same time as my Query all. Seems it takes approximately 4 minutes for the Query all command to finish. My "Wait 40 seconds" statement wasn't long enough. I have since changed this to 5 minutes to give me a little wiggle room for the Query all statement... PhanTomiZ
-
Heartbeat program for Windows computer
Not smart enough to figure that one out. I guess you could say I'm old school. I remembered what batch files were from my old DOS/Deskview/Windows 3.0 days and I figured, I could do that...
-
Heartbeat program for Windows computer
So far so good with my $0 approach. I had an I/O linc from a garage kit I wasn't using and ran two wires from it to the computer power switch. I have had 1 computer lockup, which emailed me correctly. I then ran my ISY program and it reset the computer. Here it is: 1 Computer Has Been Reset Now Live - [iD 002E][Parent 0001] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' On Wait 7 seconds Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' Fast Off Wait 15 seconds Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' On Wait 1 second Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' Fast Off Send Notification to 'Default' content 'Default Subject' Send Notification to 'Text Message' content 'Default Text Message' Else - No Actions - (To add one, press 'Action') This program my be crude, but it restarts my computer: In order to reset my machine, I need to push the power button for 7 seconds. Then I wait 15 seconds to let the hard drive come to a stop Then I hit the button to start the computer. I have also had 1 false computer lockup alarm. I have since adjusted my ISY "computer heartbeat" program to give it a little more time to acknowledge the fault.(changed the else statement from 25 seconds to 40 seconds). Please keep in mind that this is a work in progress Computer HB If $Computer_Heartbeat is 1 Then Wait 1 second $Computer_Heartbeat = 0 Else Wait 40 seconds Send Notification to 'Default' content 'Default Subject' Send Notification to 'Text Message' content 'Default Text Message' This ISY program above will be true if the Computer is alive and able to set the HB Variable Wait 1 seconds so I can see it working or see the variable change states Set Computer Heartbeat variable to 0 Else statement becomes true and we wait 40 seconds for the computer to set the HB Variable back to 1 (The computer has 10 seconds to accomplish this or else Notification is sent after 40 seconds proving the computer has locked up and is non responsive... Windows Computer Heartbeat Program: Windows Task Scheduler is "Triggered" "Running at Startup" and repeats every 5 minutes, the Batch File C:\Users\Paul\ComputerHB.bat; it is comprised of the following 2 lines choice /T 10 /D y (This line creates a 10 Second Delay) c:\users\paul\http-ping.exe -n 1 http://User:password@IPAddress/rest/vars/set/2/20/1 (Sets State Computer Heartbeat Variable to 1) Choice command (Batch file query that acknowledges itself after 10 seconds thus creating a 10 second delay) and a Rest command including http-ping.exe which sends the rest command from a Windows batch file or from the dos command line prompt. Hope you can follow this. I don't always get things in the right order, but they seem to be in the right order in my head..... PhanTomiZ P.S. Credit to ih574 for getting my idea started. Here is the old post: http://forum.universal-devices.com/topic/9033-rest-command-from-a-dos-batch-file/ Next big headache it to find out why my machine is locking up in the process. This just buys me a little time to research things.......
-
Heartbeat program for Windows computer
Thanks for the info. I wasn't planning on making any more purchases, but rather use the hardware I currently own being the ISY, I/O Linc and my computer. Teken, I believe you are correct in that I need to correct the problem with my computer locking up. My cameras are not mission critical and are not used for security purposes.(mostly it's to catch my neighbors who don't pick up after their pets!!!!!). This would be a "band aid" in the mean time. So far, this is what I have come up with: Create a Windows Task Scheduler. Run a batch file every 5 minutes (Probably set this to 30 minutes) that sets a Computer HB Variable in my ISY to 1 In this batch file I run a program called "http-ping.exe" using Rest command which sets the Computer HB state variable to 1 Create a program in ISY that will monitor this variable and change it to 0 if it is 1 If this program doesn't see a change from 0 to 1 then restart my computer and send me a text. What I'm foggy on is whether the "http-ping.exe" program will continue to send the rest command if my computer is locked up. PhanTomiZ
-
Heartbeat program for Windows computer
Hello, I have camera recording software running on my Windows 10 based computer. It needs to be on 24 hours. A problem I've been having lately is my computer locks up (every 2 weeks or so) and my camera software stops recording. What I'd like to accomplish when my computer is locked up is to have my computer automatically reset using my ISY and notify me of this. I currently have my remote computer restart working with an I/O linc that I had as a spare. The wires from the I/O linc feed into my computer's power switch. When the I/O linc is activated it turns off my computer, waits a predetermined time and then starts it again all using this program: 1 Computer Has Been Reset Now Live - [iD 002E][Parent 0001] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' On Wait 7 seconds Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' Fast Off Wait 15 seconds Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' On Wait 1 second Set 'Computer RM / Devices / Computer (Sense) RESET / Computer (Relay) RESET' Fast Off Send Notification to 'Default' content 'Default Subject' Send Notification to 'Text Message' content 'Default Text Message' Else - No Actions - (To add one, press 'Action') My challenge is, how do I create a Heartbeat program for my Windows computer and monitor it using my ISY? Is this possible? Any ideas would be appreciated... PhanTomiZ
- Schlage
-
Sunset time wrong Toronto ver.4.4.2
Hi, I'm east of Toronto, Whitby. I used the "locate me" which I believe finds my ISP which is in Oshawa. I'm also showing 9:00:57 as today's sunset. Never really paid any attention to whether it was correct or not. I used the "locate me" because I couldn't get Whitby and I didn't think Toronto was an option or at least it may not have been an option when I installed my ISY. I just changed my location to Toronto and as you'd expect, no change to sunset time. I just checked your "location" being Owen Sound and you are 2 1/2 hours north west of me. I believe it would correct your sunrise/sunset times if you use your Lat/Long position as larryllix says... PhanTomiZ
-
Wireless thermostat - monitor communications / battery
Hi, Made a few small changes before going to bed...Got rid of the "is not Off" and only needed to keep the "<=100%". That should cover all scenarios. I replaced the Status with Control and saw no difference. Why would you suggest "Control"? Thanks for the different angle. PhanTomiZ
-
Wireless thermostat - monitor communications / battery
First off...Many thanks for the "init to" function. I started keeping track of my furnace/air conditioner and dehumidifier cycles and cycle times, but after I updated to the next firmware version, I lost it all. This should protect these numbers from disappearing right? Just setup a quick program. Here is what my program looks like. Would you do it any different? Just seems like a repetition of many lines... RemoteLinc 2 If Status 'Mini Remote A 27 18 F9 1' is not Off Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote A Down 27 18 F9 2' is not Off Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote B Up 27 18 F9 3' is not Off Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote C Down 27 18 F9 6' is not Off Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote C Up 27 18 F9 5' is not Off Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote D Down 27 18 F9 8' is not Off Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote D Up 27 18 F9 7' is not Off Or Status 'Mini Remote A 27 18 F9 1 / Mini RemoteB Down 27 18 F9 4' is not Off Or Status 'Mini Remote A 27 18 F9 1' <= 100% Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote A Down 27 18 F9 2' <= 100% Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote B Up 27 18 F9 3' <= 100% Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote C Down 27 18 F9 6' <= 100% Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote C Up 27 18 F9 5' <= 100% Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote D Down 27 18 F9 8' <= 100% Or Status 'Mini Remote A 27 18 F9 1 / Mini Remote D Up 27 18 F9 7' <= 100% Or Status 'Mini Remote A 27 18 F9 1 / Mini RemoteB Down 27 18 F9 4' <= 100% Then Wait 1 second $Mini_Remote_Linc += 1 $Mini_Remote_Linc Init To $Mini_Remote_Linc Else - No Actions - (To add one, press 'Action') Mini RemoteLinc 2 Charge Battery If $Mini_Remote_Linc is 1500 Then Send Notification to 'Default' content 'Default Subject' Else - No Actions - (To add one, press 'Action') Variable
-
Wireless thermostat - monitor communications / battery
I was just thinking about a program to count the amount of button presses before needing a charge. You think 5000 presses would be enough before sending an email notification to charge the unit?
-
Wireless thermostat - monitor communications / battery
Hi, I know this isn't about the wireless tstat, but I have a Remotelinc 2 keypad 4 scene that I'd like to monitor the battery. My wife went to use it yesterday; she was frustrated that it didn't work so she unplugged my lamp module and plugged the light into the wall. . This is a first with my Insteon products. She used to do this when I used X10. Never knew why my appliances and lights weren't working, only to find the modules unplugged and sitting on the floor. Anyhow, do you have such a program to check battery status of a Remotelinc 2 keypad? Thanks PhaTomiZ
-
Remote Admin Console not showing Program status
Thanks for the prompt response. When I do this, it brings me from "program details" to "program summary". I can see "activity" which gives me the running status all programs, but I was wanting to see the advanced function of each program icon so I can view it as either solid green/red or partial green/red under the details tab. I find it easier to view the program as a color to know if it is running then, running else, ran then or ran else. Hope this makes sense. Internet is not very reliable, but Admin console seems to be working as it does at home except for the program color status. PhanTomiZ
-
Remote Admin Console not showing Program status
Hi, I know the answer is somewhere in the forums, but my internet access is dismal. Not so dismal that the admin console is working remotely. I would like to see the actual program status (red or green), to see the status of my programs. How do I set this? I believe when I'm local I was able to set this by right mouse clicking on the program and going to advance, but I cannot do this. Will this work remotely? Thanks PhanTomiZ
-
Leak Sensor Scene operating an On/Off Module closing/opening valve
Yep, found that. Just thought there would be a more detailed definitions of each code... Thanks
-
Leak Sensor Scene operating an On/Off Module closing/opening valve
How does one decipher this? Plain English would be nice, but a definitions Wiki would work too...Thanks...
-
Leak Sensor Scene operating an On/Off Module closing/opening valve
How about a full description Wiki for the event viewer in order to decipher the code? Is there one? Thanks PhanTomiZ
-
Leak Sensor Scene operating an On/Off Module closing/opening valve
So does this mean I won't be able to use a scene, but rather a program to shut the water off in the event of a flood/leak detected?
-
Leak Sensor Scene operating an On/Off Module closing/opening valve
LeeG, Where do I find the Wiki that describes all the codes of the event viewer? I thought I saw it somewhere, but I can't find it when I need it. Terrible thing this getting old..... Anyway, here is the event viewer...Can you tell me what it means? Wed 09/23/2015 09:38:17 AM : [iNST-SRX ] 02 50 2E.09.48 00.00.02 CF 11 02 LTONRR (02) Wed 09/23/2015 09:38:17 AM : [std-Group ] 2E.09.48-->Group=2, Max Hops=3, Hops Left=3 Wed 09/23/2015 09:38:17 AM : [D2D EVENT ] Event [2E 9 48 2] [DON] [2] uom=0 prec=-1 Wed 09/23/2015 09:38:17 AM : [ 2E 9 48 2] DON 2 Wed 09/23/2015 09:38:17 AM : [D2D EVENT ] Event [2D 1 8E 1] [sT] [255] uom=0 prec=-1 Wed 09/23/2015 09:38:17 AM : [ 2D 1 8E 1] ST 255 Wed 09/23/2015 09:38:17 AM : [D2D EVENT ] Event [2E 9 48 2] [sT] [255] uom=0 prec=-1 Wed 09/23/2015 09:38:17 AM : [ 2E 9 48 2] ST 255 Wed 09/23/2015 09:38:17 AM : [D2D-CMP 0064] STS [2E 9 48 2] ST op=1 Event(val=255 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> true Wed 09/23/2015 09:38:17 AM : [D2D EVENT ] Event [2E 9 48 1] [sT] [0] uom=0 prec=-1 Wed 09/23/2015 09:38:17 AM : [ 2E 9 48 1] ST 0 Wed 09/23/2015 09:38:17 AM : [D2D-CMP 0064] STS [2E 9 48 1] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=0 uom=0 prec=-1) --> true Wed 09/23/2015 09:38:17 AM : [iNST-SRX ] 02 50 2E.09.48 00.00.02 CF 11 02 LTONRR (02) Wed 09/23/2015 09:38:17 AM : [std-Group ] 2E.09.48-->Group=2, Max Hops=3, Hops Left=3 Wed 09/23/2015 09:38:17 AM : [iNST-DUP ] Previous message ignored. Wed 09/23/2015 09:38:18 AM : [iNST-SRX ] 02 50 2E.09.48 33.5E.55 45 11 02 LTONRR (02) Wed 09/23/2015 09:38:18 AM : [std-Cleanup ] 2E.09.48-->ISY/PLM Group=2, Max Hops=1, Hops Left=1 Wed 09/23/2015 09:38:18 AM : [iNST-DUP ] Previous message ignored. Wed 09/23/2015 09:38:18 AM : [iNST-SRX ] 02 50 2E.09.48 11.02.02 CF 06 00 (00) Wed 09/23/2015 09:38:18 AM : [std-Group ] 2E.09.48-->11.02.02, Max Hops=3, Hops Left=3 Wed 09/23/2015 09:38:18 AM : [iNST-INFO ] Previous message ignored. Wed 09/23/2015 09:38:18 AM : [iNST-SRX ] 02 50 2E.09.48 11.02.02 CF 06 00 (00) Wed 09/23/2015 09:38:18 AM : [std-Group ] 2E.09.48-->11.02.02, Max Hops=3, Hops Left=3 Wed 09/23/2015 09:38:18 AM : [iNST-INFO ] Previous message ignored. Wed 09/23/2015 09:38:21 AM : [iNST-SRX ] 02 50 2E.09.48 00.00.01 CB 11 01 LTONRR (01) Wed 09/23/2015 09:38:21 AM : [std-Group ] 2E.09.48-->Group=1, Max Hops=3, Hops Left=2 Wed 09/23/2015 09:38:21 AM : [D2D EVENT ] Event [2E 9 48 1] [DON] [1] uom=0 prec=-1 Wed 09/23/2015 09:38:21 AM : [ 2E 9 48 1] DON 1 Wed 09/23/2015 09:38:21 AM : [D2D EVENT ] Event [2E 9 48 1] [sT] [255] uom=0 prec=-1 Wed 09/23/2015 09:38:21 AM : [ 2E 9 48 1] ST 255 Wed 09/23/2015 09:38:21 AM : [D2D-CMP 0064] STS [2E 9 48 1] ST op=1 Event(val=255 uom=0 prec=-1) is Condition(val=0 uom=0 prec=-1) --> false Wed 09/23/2015 09:38:21 AM : [D2D EVENT ] Event [2E 9 48 2] [sT] [0] uom=0 prec=-1 Wed 09/23/2015 09:38:21 AM : [ 2E 9 48 2] ST 0 Wed 09/23/2015 09:38:21 AM : [D2D-CMP 0064] STS [2E 9 48 2] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false Wed 09/23/2015 09:38:21 AM : [iNST-SRX ] 02 50 2E.09.48 00.00.01 CF 11 01 LTONRR (01) Wed 09/23/2015 09:38:21 AM : [std-Group ] 2E.09.48-->Group=1, Max Hops=3, Hops Left=3 Wed 09/23/2015 09:38:21 AM : [iNST-DUP ] Previous message ignored. Wed 09/23/2015 09:38:21 AM : [iNST-SRX ] 02 50 2E.09.48 33.5E.55 45 11 01 LTONRR (01) Wed 09/23/2015 09:38:21 AM : [std-Cleanup ] 2E.09.48-->ISY/PLM Group=1, Max Hops=1, Hops Left=1 Wed 09/23/2015 09:38:21 AM : [iNST-DUP ] Previous message ignored. Wed 09/23/2015 09:38:21 AM : [iNST-SRX ] 02 50 2E.09.48 11.01.01 CF 06 00 (00) Wed 09/23/2015 09:38:21 AM : [std-Group ] 2E.09.48-->11.01.01, Max Hops=3, Hops Left=3 Wed 09/23/2015 09:38:21 AM : [iNST-INFO ] Previous message ignored. Wed 09/23/2015 09:38:22 AM : [iNST-SRX ] 02 50 2E.09.48 11.01.01 CF 06 00 (00) Wed 09/23/2015 09:38:22 AM : [std-Group ] 2E.09.48-->11.01.01, Max Hops=3, Hops Left=3 Wed 09/23/2015 09:38:22 AM : [iNST-INFO ] Previous message ignored.
-
Leak Sensor Scene operating an On/Off Module closing/opening valve
All three of my leak sensors are (v.41). Noticed that if: I tap once, I get a DON 1 I tap again, I get a DON 2 But if I tap once, I get a DON 1 If I leave it for about 5 seconds, I get a DON 4
-
Leak Sensor Scene operating an On/Off Module closing/opening valve
Haven't done much all summer with my ISY and I can't believe I'm this rusty... I've created a scene with an On/Off module (closing and opening my N/O main water shutoff valve) and a leak sensor-wet. Added the leak sensor as a controller and the On/Off module as a responder. When I hit the set button once on the leak sensor, it sets the leak sensor as wet-on and the On/Off module goes on. When I hit the set button again on the leak sensor, it sets the leak sensor as wet-off but the On/Off module stays on. I would like for the On/Off module to follow the leak sensor wet conditions. I know I can do this using a program, but was hoping I could do it with a scene... What did I do wrong? Thanks once again in advance PhanTomiZ
-
Device to report outdoor temperature
Wow!!!! Never even thought about freezing temperatures which would be a real headache. I'm glad I put out this inquiry and received many great responses and ideas. I will now add to my program list a "Freezing Alert" program and send notifications if my temp reaches 50 degrees.... Thanks again....
-
Device to report outdoor temperature
I'm in Southern Ontario, just east of Toronto. And yea, plenty of humidity on the north shore of Lake Ontario. My A/C is usually up to the task of getting rid of all that humidity, but if the set point is set too low, then the compressor will not cycle and will run all day. If what I plan works, it should keep the temperature set point high enough during the day and also get rid of humidity, while at night I can drop the set point to a level to keep me sleeping...
-
Device to report outdoor temperature
Teken....As far as the human factor I believe my Insteon TStat can take care of that by using below... Sub- mode 07: Button lock (disables front button presses, OFF default) o For high-traffic common area locations, such as a business lobby. a. Up arrow = ON b. Down arrow = OFF • Sub- mode 08: Programming lock (locks out Set button programming operations, OFF default) a. Up arrow = ON b. Down arrow = OFF To try and make everyone happy will be a trial and error thing. Only have 2 complainers and 1 couldn't care less as he's a cave dweller and will add a sweater if he's cold...