Announcement

Collapse
No announcement yet.

Alarm properties question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alarm properties question

    I'm trying to determine if this plug-in will allow me to check alarm settings by user, but I've gotten confused.

    If I query the Alarm object,
    For Each Alarm As Object in hs.Plugin("BLAlarm").Alarms

    and then list information for each alarm,
    hs.WriteLog "Alarm Time", Alarm.Key & " - " & Alarm.AlarmTime

    it appears that I will get a list of all alarms for all users. I'd like to be able to distinguish which alarms belong to which users. How do I do that?
    Mike____________________________________________________________ __________________
    HS3 Pro Edition 3.0.0.548

    HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF, Rain8Net+ | RFXCOM | QSE100D | Vantage Pro | Green-Eye | X10: XTB-232, -IIR | Edgeport/8 | Way2Call | Ecobee3

  • #2
    You cannot currently do this via scripting.
    You will need to add a feature request for this.
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      OK. Thanks.
      Mike____________________________________________________________ __________________
      HS3 Pro Edition 3.0.0.548

      HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF, Rain8Net+ | RFXCOM | QSE100D | Vantage Pro | Green-Eye | X10: XTB-232, -IIR | Edgeport/8 | Way2Call | Ecobee3

      Comment


      • #4
        I have added this to build 1.0.13.0 on my site and in the HS updater.

        You can now do this:

        For Each Alarm As Object in hs.Plugin("BLAlarm").Alarms("Bob")
        Next

        The user name is optional so if you do not pass it then it will return all alarms.
        Let me know how it works.
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


        • #5
          Wow. That has to be the definition of responsive. I'll try it out immediately. Thanks.
          Mike____________________________________________________________ __________________
          HS3 Pro Edition 3.0.0.548

          HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF, Rain8Net+ | RFXCOM | QSE100D | Vantage Pro | Green-Eye | X10: XTB-232, -IIR | Edgeport/8 | Way2Call | Ecobee3

          Comment


          • #6
            Works just as I'd hoped.

            If only all my requests were granted so quickly. Thank you again.
            Mike____________________________________________________________ __________________
            HS3 Pro Edition 3.0.0.548

            HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF, Rain8Net+ | RFXCOM | QSE100D | Vantage Pro | Green-Eye | X10: XTB-232, -IIR | Edgeport/8 | Way2Call | Ecobee3

            Comment

            Working...
            X