Everything posted by johnstonf
-
Leak Sensors - Another (Suggested) Complete Program Package
This is response to question asked by dierwin johnstonf, deirwin has just posted a reply to a topic that you have subscribed to titled "Leak Sensors - Another (Suggested) Complete Program Package". Thank you for doing this! I am unable to find the "Add And (..)" button. I've googled and read and searched... Even Wiki, doesn't tell me how to access it, just how to use it. First add an AND statement, then you'll see the AND.. OR.. See attached screenshot...
-
Can't backup config JAVA READ ONLY
Me thinks there's more to it... it's not just the 1k nothing... First time it DOWNLOADS the application, and I can see traffic downloading via SNMP on my router. So I'd rather know I'm running and backing up the actual app... /f
-
Can't backup config JAVA READ ONLY
Thanks... i did find it (was just coming back to report)... that is so confusing... I don't know what that dashboard thing is, but it should NOT be listed on the first page of instructions for getting the ISY going! Horribly Confusing! I downloaded the .jnlp but when i run it it goes and appears to grab a file from externally and is only 1k in size. Can i find the actual application file, and save/keep it, and run it locally? /f
-
Can't backup config JAVA READ ONLY
OK, before i BLOW A COOKIE... wtf have i downloaded? I used the link at the page http://forum.univers...s-now-official/ to download a link http://isy.universal.../dashboard.jnlp and get a totally useless looking interface... what is this? (see attached screenshot)...
-
Can't backup config JAVA READ ONLY
Please rescue me from f&ching JAVA! I was able (MAC) to backup my config til recently. Now it won't ALLOW me to save it anywhere... WTF... JAVA drives me EVEN MORE nuts these days. I can run the admin console ok. What happened recently that i can no longer back up my configs? When i go to back up, i get no writeble locations! If i click the "New Folder" button, i get a popup saying "this location is read-only". Tried on BOTH of my macs, in all browsers. /f
-
Emergency Health Alert needed... Insteon?
Thanks for the insights and laughs guys... much appreciated...
-
Emergency Health Alert needed... Insteon?
My mom has had a stroke... She's recovering quickly, but I need an 'alert' solution, as she lives alone without computer or internet, and doesn't like technology. I'm looking for some sort of mini-switch on a bracelet that she can push if she runs into trouble. Then I can have the ISY (Will install it and Internet in her home) send out emails to us children, friends, etc if she has another fall/episode. I also found an app called ManDown that monitors movement on a smartphone, and resets whenever it senses movement (eg set to 1 hour, and if NO movement, it will start calling, emailing, texting). So just putting data on a smartphone would allow this app to work, BUT, she would need to carry and maintain a smartphone (charge nightly, etc). The app also has an SOS button to push to send immediate alert, but it can be a P.I.T.A. to get into the app, touch the screen in the right place, answer an "are you sure?" button, etc. She does drive, and go for long walks, so a 500 foot limited RF solution won't cover it all. Also, money / cost IS a consideration, for sure! Any thoughts? Anyone going through this and found good solution(s)?
-
Leak Sensors - Another (Suggested) Complete Program Package
Hey, rabbit1543, I appreciate you and all others that offer up their hard work, don't misinterpret me! I, on the other hand, am too busy for pulling info from my many systems, so I rely heavily on push notifications. So in my case, it could be disasterous, so people need to be informed when a bug appears... some might not care, and that's everyone's own decision! Again, thanks.
-
Leak Sensors - A (Suggested) Complete Program Package
Great ideas, thanks for the tips!
-
Leak Sensors - A (Suggested) Complete Program Package
i like your logic to make things naturally logical! (just need to get my head around reversing the logic, etc) (I use mobilinc also (on Android)) i'm not familiar with your first 3 lines: The method I use is to drop all your programs into a folder and disable it with If 1 is not 1...etc.. That gets them out of the way until proven lesser than what you are doing. -Wouldn't the programs then stop (be disbled) until i either enable them again or replace them? -What to you mean using if 1 is not 1 (I know it's short for false, but not how you use it... put all into then to programatically disable?) (is this a quick way to disable while testing NEW, and then reverse the logic to re-enable them?) /f
-
Leak Sensors - A (Suggested) Complete Program Package
Oh man, I was so interested in your PM, i totally missed the "attachment" lol! Thanks! I'll let the one i set up last night settle in, and then make changes based on yours. Fred
-
Leak Sensors - Another (Suggested) Complete Program Package
Hey Rabbit1543, you really need to put a disclaimer up top, so people don't waste a whole pile of time on this, like i did, and direct them to the Belias solution (unless you got it fixed?). It looks nice, and all, but doesn't work (as intended)!
-
Leak Sensors - A (Suggested) Complete Program Package
After hours of wasted time on the 'other' program... threw it out, and started over... Now at least have a working program! totally agree!... NOT the nicest thing to look at (but works!) I'd like to look at yours, and make mine more readable. Thanks! Fred
-
Leak Sensors - A (Suggested) Complete Program Package
Belias Wet Sensor Program Flow v1.04/17jan17 This is simply to OVERVIEW the Belias program... to help understand what is going on. It's more of a "birds eye" view, to grasp the concepts before DIGGING IN. It can be a bit overwhelming when you first get into ISY programming, so I hope this helps a newbie (like i was), to get "over the hump"... it's not hard after you grasp it. HAVE FUN! TERMS: PGMx = Programs below HB = Heartbeat SV = State Variable ;ONE for EACH SENSOR (4 in my case) (EG "sLeak01BsmtEnt", "sLeak02Laundry", "sLeak03SumpRm", "sLeak04BsmtOffice") IV = Integer Variable ;ONE for WHOLE program (for STARTUP detection) (EG "iStartup") 1 = HB ok 2 = HB Missed 3 = HB Check Program NOT RUNNING 9 = LEAK DETECTED REMINDERS / NOTES: -Interrupt driven means ANY program can run ANYTIME it is evaluated TRUE! (So it hops out from its current "wait" state, and starts over, for example!) -When a SV value changes, it forces a re-evaluation of any programs using it (When an IV value changes, it does NOT cause any interrupts to occur anywhere!) -This is the MODIFIED version of Belias' for newer Leak Sensors (so all sensors work) -In PGM1, put lines to run PGM2a of each sensor (Not PGM2b) (Not mentioned in forum) ======= ======= LOGIC FLOW ======= ======= Note: PGMS1-3 below are ONE PER SENSOR (So 4 of each for 4 sensors)... ...(PGM0 is not duplicated, only ONE needed) PGM0: "LEAK STARTUP" ;Ran when ISY first boots, and IV = 0 (Tests IV 'iStartup', if 0 (JUST WAKING UP)... then...) (Runs THEN of every VariableControl2a program (one for each sensor)) (Otherwise IV=1 (ISY already awake), so this PGM1 doesn't even get ran at all)) PGM1: "VARIABLE CONTROL 1" IF this Leak Sensors "WET" node is set to ON (yuk! LEAK!)... Set SV to 9 (yuk! BAD!) Otherwise, chill for 10 seconds, and if all ok, set SV = 1 (10 seconds prevents "flapping") PGM2a: "VARIABLE CONTROL 2a" (Upon getting HB, AND if sensor WET is NOT 'ON' (Thus NO LEAK))... (Sets SV to 1(All ok), waits 25hrs for HB, if not received, then sets SV to 2 (HB Missed!) (So SV should always be at 1(ok), unless wet or HB missed) ...IF 25 Hours pass, it sets SV to 2 (HB MISSED) ...Which then gets noticed by PGM5 below PGM2b: "VARIABLE CONTROL 2b" (Upon getting HB, AND if sensor WET-STATUS=ON (yuk! LEAK!))... (LEAVES SV at CURRENT VALUE (NO CHANGE) (waits 25hrs for HB, then sets SV to 2 "HB MISSED") (note: the WET-STATUS=ON "COULD" still be from last wet sensed event... (...then reset button needs to be pushed to CLEAR the alarm) PGM3: "MODIFY VARIABLE CONTROL 3" ;Keeps an eye that above 2a/2b's are RUNNING! IF State Variable = 1 (all normal, or so it appears!) AND if last runtime of 2a/2b above is MORE that 26hours (should be 25 hours max!) THEN set StateVariable to 3 to indicate it has been too long! ---or--- IF State Variable = 9 (LEAK DETECTED!) AND if last runtime of 2a/2b above is MORE that 26hours (should be 25 hours max!) THEN set StateVariable to 3 to indicate it has been too long! ======= ======= COMMUNICATIONS ======= ======= Note: PGMS4-5 below are ONE only (not one per sensor)... PGM4: "LEAK SENSOR ACTIVATION" ;WET sensed!! IF StateVariable is set to "9"(yuk! LEAK!) then Send notification to LIST with content CONTENT PGM5: "LEAK SENSOR PROBLEM" ;Something OTHER than "WET sensed" IF TIME 9AM or 6PM (If problem, send out alerts at both 9am and 6pm)... And if ANY problems (StateVariable is NOT "1") Then send notification to LIST with content CONTENT"LeakSensorProblem"
-
Leak Sensors - Another (Suggested) Complete Program Package
Gollllllleeeeeeeeyyyyy Jeeee... New and Improved!... ya! i wish i had seen that and not gone down this rabbit hole!... waste of time! oh well... time to re-do this top down... grrrrr!!!! Thanks!
-
Leak Sensors - Another (Suggested) Complete Program Package
Thanks Larry... since I know you understand Interrupt Driven programming, that's increases my confidence that this code appears busted. If that is the case (we'll wait to see what rabbit1543 comes back with), it would be prudent to get this code fixed asap, and/or put a huge disclaimer pinned up top, so people relying on such an important thing (flood sensing) won't be shocked when their batteries quietly die, or devices go out of range for some reason. Fred
-
Leak Sensors - Another (Suggested) Complete Program Package
Will be interested to hear... thanks
-
Leak Sensors - Another (Suggested) Complete Program Package
I'm having trouble with my leak sensor program... My "Leak Startup Alert" seems to fire whenever my $sLeakXXXnHB STATE variable changes from 1 to 0 (which happens when my "WET#x-xxx-HeartbeatMissed" program runs for 25hours (temp 5 min to test) and falls down to where $sLeakXXXnHB=0 is set. This seems to then cause "Leak Startup Alert" to re-evaluate(ok), but runs the ELSE section (proven by putting a notification diagnostic in that section), thus re-running my "WET#x-xxx-HeartbeatMissed" in the "ELSE" section (why?) when $iStartup is still 1 (ISY is FULLY up...) so I don't understand), which then sets my $sLeakXXXnHB back to 1, thus waiting another 25 hours, and looping through this cycle, and never keeping $sLeakXXXnHB=0 when I have the battery pulled from one of the sensors (thus never announcing a problem). With the wait set to 5 minutes, instead of 25 hours, i watched the variable $sLeakXXXnHB and i saw it quickly flip to 0, then immediatly back to 1, and i received a diagnostic email, telling me that "Leak Startup Alert" had triggered in the ELSE section! My understanding was that the way this IF statement reads, that if a state variable 'changes' value, and that variable is referenced in the IF statement, it would re-evaluate... that's ok... but I'm puzzled why it triggers to ELSE section... I thought that if the AND were FALSE, that the WHOLE program would not run. I'm assuming this whole program works for other people, so I'm not sure how this works for anyone if this is true (or do I have something wrong in my program?) I'm to the point I'm just spinning this in circles. /fred Code sections follow: ===== ===== ===== ===== ===== Leak Startup Alert - [iD 000F][Parent 000E][Run At Startup] If $iStartup is 0 And ( $sLeakWET1 is 1 Or $sLeakWET2 is 1 Or $sLeakWET3 is 1 Or $sLeakWET4 is 1 Or $sLeakWET1HB is 0 Or $sLeakWET2HB is 0 Or $sLeakWET3HB is 0 Or $sLeakWET4HB is 0 ) Then Send Notification to 'FCJforwarderOnly' content 'Leak Sensor Startup Alert' Wait 10 seconds Run Program 'WET#1-BsmtEnt-HeartbeatMissed' (Then Path) Run Program 'WET#2-Laundry-HeartbeatMissed' (Then Path) Run Program 'WET#3-SumpRm-HeartbeatMissed' (Then Path) Run Program 'WET#4-BsmtOffice-HeartbeatMissed' (Then Path) Wait 30 seconds $iStartup = 1 Else Send Notification to 'DIAG01distList' content 'Leak Sensor Startup DIAG' Run Program 'WET#1-BsmtEnt-HeartbeatMissed' (Then Path) Run Program 'WET#2-Laundry-HeartbeatMissed' (Then Path) Run Program 'WET#3-SumpRm-HeartbeatMissed' (Then Path) Run Program 'WET#4-BsmtOffice-HeartbeatMissed' (Then Path) Wait 30 seconds $iStartup = 1 ===== ===== ===== ===== ===== WET#1-BsmtEnt-HeartbeatMissed - [iD 0010][Parent 000E] If Control 'ZZZ1-DO-NOT-USE / LEAK-SENSORS / HEARTBEAT / WET#1-BsmtEnt-Heartbeat' is switched On Or Control 'ZZZ1-DO-NOT-USE / LEAK-SENSORS / HEARTBEAT / WET#1-BsmtEnt-Heartbeat' is switched Off Then $iLeakTHISSensorNumber = 1 Run Program 'WET#ALL-NotifyOfHeartbeatChange' (Then Path) $sLeakWET1HB = 1 $sLeakWET1HB Init To $sLeakWET1HB Wait 25 hours (currently set to 5 minutes to test!) $sLeakWET1HB = 0 $sLeakWET1HB Init To $sLeakWET1HB Send Notification to 'FCJforwarderOnly' content 'Leak Sensor Heartbeat Alert - Level 1' Send Notification to 'ALL FREDS Email Addresses' content 'Leak Sensor Heartbeat Alert - Level 1' Wait 12 hours Repeat Every 12 hours Send Notification to 'FCJforwarderOnly' content 'Leak Sensor Heartbeat Alert - Level 2' Send Notification to 'ALL FREDS Email Addresses' content 'Leak Sensor Heartbeat Alert - Level 2' Else - No Actions - (To add one, press 'Action') ===== ===== ===== ===== =====
-
Temperature from 2441TH into a customization for email?
Correct! And developers need to think like normal end-users too... (happy end-users = more sales = more success) (hard for them to do sometimes, being bitheads)
-
Temperature from 2441TH into a customization for email?
ok, i guess that's why footnotes were invented, lol
-
Temperature from 2441TH into a customization for email?
ok, but maybe an '(eg temp)' added to end to cover 90% usage maybe
-
Temperature from 2441TH into a customization for email?
Funny, that's the screen i took the screenshot from. I looked 10 times at it, and skipped by it! What a HORRIBLE description! How about "formatted temperature value" Instead of "The formatted specified value" /Fred
-
Temperature from 2441TH into a customization for email?
THANKS Larry! Works Great! Where in the world is this all documented? Fred
-
Temperature from 2441TH into a customization for email?
RE: Substitution Variables Anybody know how to actually put CURRENT TEMPERATURE into an email? I see Heat and Cool SETPOINT, Humidity, ETC, but not the current TEMPERATURE... I don't want the agony of moving to v5 yet, i'll wait for more maturity on it... (looking to do it with v4.5.4) (SORRY For the reformatting of a NICE table below... lol... see attachment screenshot) Variable Example Description sys.node.<address>.name sys.node.11 22 AA 1.name Name of the device node sys.node.<address>.addr sys.node.#.addr Address of the device node sys.node.<address>.<valueName>.ST sys.node.11 22 AA 1.ST The formatted specified value sys.node.<address>.<valueName>.raw sys.node.11 22 AA 1.ST.raw The unformated specified value sys.node.<address>.<valueName>.OL sys.node.11 22 AA 1.OL On Level sys.node.<address>.<valueName>.RR sys.node.11 22 AA 1.RR Ramp Rate sys.node.<address>.<valueName>.ERR sys.node.11 22 AA 1.ERR Error sys.node.<address>.<valueName>.CLISPH sys.node.11 22 AA 1.CLISPH Heat Setpoint sys.node.<address>.<valueName>.CLISPC sys.node.11 22 AA 1.CLISPC Cool Setpoint sys.node.<address>.<valueName>.CLIFS sys.node.11 22 AA 1.CLIFS Fan State sys.node.<address>.<valueName>.CLIMD sys.node.11 22 AA 1.CLIMD Thermostat Mode sys.node.<address>.<valueName>.CLIHUM sys.node.11 22 AA 1.CLIHUM Humidity sys.node.<address>.<valueName>.CLIHCS sys.node.11 22 AA 1.CLIHCS Heat/Cool State sys.node.<address>.<valueName>.UOM sys.node.11 22 AA 1.UOM Unit sys.node.<address>.<valueName>.CV sys.node.11 22 AA 1.CV Current Voltage sys.node.<address>.<valueName>.CC sys.node.11 22 AA 1.CC Current Current sys.node.<address>.<valueName>.PPW sys.node.11 22 AA 1.PPW Polarized Power Used sys.node.<address>.<valueName>.TPW sys.node.11 22 AA 1.TPW Total Energy Used sys.node.<address>.<valueName>.PF sys.node.11 22 AA 1.PF Power Factor
-
Leak Sensors - Another (Suggested) Complete Program Package
Was combination of bad battery in one unit, and i had to activate the other, and then the status came alive. Will monitor, to see if it keeps working ok. Still curious on the Q1 question: Q1>what does the "2" in 2.ST mean? If i change to 1, status changes to "off" instead (i couldn't see this looking at the link in above post...)