Announcement

Collapse
No announcement yet.

Scripting issues - Solved!

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

    Scripting issues - Solved!

    I am trying to query the status of some of the control variables:

    Syntax:

    temp = hs.DeviceStatus("]4")

    Tested Panel Control and Panel Status. They both report 3 all of the time. I have also tested some of the zones and get the same thing? What am I doing wrong? thanks.

    #2
    Are you wanting what is shown in the status field on the Status HomeSeer screen? If so you need to use temp = HS.deviceString("]4")
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      No, thanks. I am looking for the actual device values. According to the documentation they report as below but either it is not working correctly or I am querying them incorrectly.

      Panel Control Device Values are..
      Disarmed = 1
      ArmedAway = 2
      ArmedStay = 3
      Fire = 4
      SirenOn = 5
      NoConnection = 6
      UserCodeRequired = 7

      Panel Status Device Values are..
      Ready = 0
      Faulted = 1
      Fire = 4
      SirenOn = 5
      Troubled = 10

      Comment


        #4
        Did you try hs.deviceValue?
        💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

        Comment


          #5
          I didn't, and if I did I would have found that the values are reporting correctly! I was thrown off by the word status in the documentation - I should have dug deeper. Thanks.

          Comment

          Working...
          X