Announcement

Collapse
No announcement yet.

Question about using status names instead of numbers for If statements

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

    Question about using status names instead of numbers for If statements

    I am writing some If statements and want to use the status names instead of the values. I can do this using the normal HomeSeer If statements but using Easy Trigger. Am I missing something or does is this feature not available?

    #2
    I do this all of the time. Make sure the status/graphics values are set up correctly for the device you want to use.
    "if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)

    Comment


      #3
      kenm and spud wondering if you have run into this... the status/graphics on my cameras are set to the 'actual status', and control what it reports to HS events BUT the 'displayed text' is the frame rate. SO, when I use $$GLOBALVAR:ETDeviceStatus_CamerasAll: to pull the status from the triggering device, it actually shows the 'displayed text' and not the status/graphics text.
      Click image for larger version

Name:	Screenshot 2022-11-16 081752.png
Views:	68
Size:	29.6 KB
ID:	1576013

      Click image for larger version

Name:	Screenshot 2022-11-16 081812.png
Views:	72
Size:	70.3 KB
ID:	1576012
      Attached Files

      Comment


        #4
        Yes, I've seen this as well. Something is setting the device status to that frame rate string which overrides the status/graphics status text. Are you using a plugin for your cameras?

        EDIT: On the status/graphics page, scroll down to Advanced Information and look at what the device value is. I'd be curious to see if it's something other than 1, 2, 4, or 5,
        "if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)

        Comment


          #5
          The Blue Iris plugin writes the frame rate to the device string. AFAIK, HS always overwrites the current status with the string, if a string value exists.
          -Wade

          Comment


            #6
            Originally posted by Wade View Post
            The Blue Iris plugin writes the frame rate to the device string. AFAIK, HS always overwrites the current status with the string, if a string value exists.
            This is consistent with what I've seen as well. I accidentally wrote to device text while developing a script and it threw me off for some time before I figured out that I needed to clear that text before the status values would display again.
            "if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)

            Comment

            Working...
            X