evanlifetv
Member
Hey All (mainly Lupinglade, unless someone else has run into this) Trying to find a way to get zone notifications for zones outside of my OmniPro II, from an Expansion Board, and an Expansion Enclosure. The designation for these inside of Dealer Access is EX1-** and EE1-** Where the number before the dash is the assigned ID number for each type of expansion, and the number after the dash is the zone. So... how might I call these 'zone.number(s)' from scripts with in Haiku Helper.
Here is an incomplete snippet of code, I have miles of it that's working, but just recently started trying to add Expansion Enclosures and Expansion Boards... Any Thoughts on the appropriate way to identify these for the 'zone.number' identifier?
if(zone.number == 8) {// Match zone by number
helper.sendNotification(controller, zone.bestDescription + ' not ready!');
}
if(zone.number == EX1-5) {// Match zone by number
helper.sendNotification(controller, zone.bestDescription + ' not ready!');
}
if(zone.number == EE1-6) {// Match zone by number
helper.sendNotification(controller, zone.bestDescription + ' not ready!');
}
Thanks guys!
Here is an incomplete snippet of code, I have miles of it that's working, but just recently started trying to add Expansion Enclosures and Expansion Boards... Any Thoughts on the appropriate way to identify these for the 'zone.number' identifier?
if(zone.number == 8) {// Match zone by number
helper.sendNotification(controller, zone.bestDescription + ' not ready!');
}
if(zone.number == EX1-5) {// Match zone by number
helper.sendNotification(controller, zone.bestDescription + ' not ready!');
}
if(zone.number == EE1-6) {// Match zone by number
helper.sendNotification(controller, zone.bestDescription + ' not ready!');
}
Thanks guys!