lupinglade Senior Member Aug 16, 2014 #16 jeremyg said: i am guessing this is what you meant...will try it when I get a chance later today. Code: function onZoneSecure(zone) { alert(zone.name); } Click to expand... Yes, that's correct.
jeremyg said: i am guessing this is what you meant...will try it when I get a chance later today. Code: function onZoneSecure(zone) { alert(zone.name); } Click to expand... Yes, that's correct.
J jeremyg Member Aug 17, 2014 #17 lupinglade said: Yes, that's correct. Click to expand... i'm confused here. this just pops up an alert on the mac when ANY zone is secure.
lupinglade said: Yes, that's correct. Click to expand... i'm confused here. this just pops up an alert on the mac when ANY zone is secure.
lupinglade Senior Member Aug 17, 2014 #18 Ah found the error. Its my mistake. The content of the onZoneSecure function should be: Code: if(zone.name == "Kitch/Pool Door") { clearTimeout(garageDoorCheckTimer); }
Ah found the error. Its my mistake. The content of the onZoneSecure function should be: Code: if(zone.name == "Kitch/Pool Door") { clearTimeout(garageDoorCheckTimer); }
J jeremyg Member Aug 18, 2014 #19 ok, so yes, i get a popup notification when every zone secure, and it includes the name of the zone.