Jump to content


Photo
- - - - -

Notification for Zone Activity


  • Please log in to reply
6 replies to this topic

#1 jeremyg

jeremyg

    Cocooner

  • Registered
  • PipPip
  • 28 posts

Posted 09 March 2016 - 05:59 PM

I'd like to create an email notification that will send an alert when specific zone/s are not ready. The alerts should be active/inactive based on a flag that is set manually and/or follows a schedule. The zones that are part of the alert should be selectable somehow (user settings?)

 

Is this doable?



#2 ano

ano

    Cocoonut

  • Registered
  • PipPipPipPip
  • 3255 posts
  • Location:AZ
  • Experience:guru
  • Hardware:HAI OmniPro II
  • Tech:UPB, ZigBee
  • Audio:HAI
  • Phone:Ooma

Posted 09 March 2016 - 11:48 PM

I'd like to create an email notification that will send an alert when specific zone/s are not ready. The alerts should be active/inactive based on a flag that is set manually and/or follows a schedule. The zones that are part of the alert should be selectable somehow (user settings?)

 

Is this doable?

Just buy and install the Omni email board 20A30-1.  Its very easy to send an email when a zone is violated and with programming you can do pretty much anything. 

BUT do keep in mind, when the panel is in alarm, that is the priority, so other functions like email get a lower priority.



#3 lupinglade

lupinglade

    Cocoonut

  • Manufacturers
  • PipPipPipPip
  • 1514 posts
  • Experience:guru
  • Software:Custom
  • Hardware:HAI OmniPro II, Custom
  • Tech:UPB, INSTEON, Z-Wave, ZigBee, Custom
  • Audio:Nuvo
  • Video:AirPlay
  • CCTV:ip, dvr
  • Phone:Asterisk

Posted 10 March 2016 - 07:44 PM

You can do this with HaikuHelper easily:
 
function onZoneNotReady(zone) {
    if (!zone.isSecure /* insert other conditions */) {
        helper.sendNotification(controller, "Zone not ready: " + zone.bestDescription);
    }
}
Your other conditions can check user settings, flags and the zone number or name.

This will send a generic notification that you can handle in HaikuHelper via push or e-mail. Or if you want e-mail only specifically, use:
helper.sendMail(controller, "[email protected]", "subject", "message");

Edited by lupinglade, 10 March 2016 - 07:47 PM.


#4 sdl5e

sdl5e

    Cocooner

  • Registered
  • PipPip
  • 20 posts

Posted 13 March 2016 - 04:03 PM

What is the best way to selectively turn a text notification on and off remotely for a single zone or group of zones. I have my system setup to text me if a door or window is opened, but I'd like to be able to turn notifications on my front door for a period of time, for example. I know I could change the script if I was at my Mac, but I'm looking for a way if I am away from home.

Also, is it possible to have email notifications only sent for alarms?

Edited by sdl5e, 13 March 2016 - 04:08 PM.


#5 jeremyg

jeremyg

    Cocooner

  • Registered
  • PipPip
  • 28 posts

Posted 14 March 2016 - 02:22 PM

Is HaikuHelper no longer available? The mac it's installed on now is on the fritz and I'd like to install HH on a diff machine.



#6 jeremyg

jeremyg

    Cocooner

  • Registered
  • PipPip
  • 28 posts

Posted 21 March 2016 - 10:48 AM

You can do this with HaikuHelper easily:
 

function onZoneNotReady(zone) {
    if (!zone.isSecure /* insert other conditions */) {
        helper.sendNotification(controller, "Zone not ready: " + zone.bestDescription);
    }
}
Your other conditions can check user settings, flags and the zone number or name.

This will send a generic notification that you can handle in HaikuHelper via push or e-mail. Or if you want e-mail only specifically, use:
helper.sendMail(controller, "[email protected]", "subject", "message");

 

What is the correct syntax to add a condition? For example, whenever "ZoneNotificationFlag" is on?

 

I am trying to find the scripting documentation, but the link i had doesnt work.



#7 lupinglade

lupinglade

    Cocoonut

  • Manufacturers
  • PipPipPipPip
  • 1514 posts
  • Experience:guru
  • Software:Custom
  • Hardware:HAI OmniPro II, Custom
  • Tech:UPB, INSTEON, Z-Wave, ZigBee, Custom
  • Audio:Nuvo
  • Video:AirPlay
  • CCTV:ip, dvr
  • Phone:Asterisk

Posted 05 April 2016 - 09:05 PM

You can find the documentation in the Help menu in HaikuHelper.

You can use something like this:
if(controller.unitWithName("ZoneNotificationFlag").isOn) { ... }





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users