Announcement

Collapse
No announcement yet.

Case statment not working?!?!?

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

    #16
    That does tell me there are some extraneous characters in your string. HS wouldn't show these in the log if they're HTML tags or otherwise unprintable characters.
    Just out of curiosity, try:

    hs.writelog("Test", "This is parameter X: " & X.ToString & " " & Len(X.ToString))
    hs.writelog("Test", "This is parameter Y: " & Y.ToString & " " & Len(Y.To String))

    The Length of X reported likely won't match the visible string.
    Real courage is not securing your Wi-Fi network.

    Comment


      #17
      Originally posted by sparkman View Post

      Does it pass an array or an object?
      An array, unlike HomeSeer itself.

      Comment


        #18
        Originally posted by ajachierno View Post

        I am using the "HomeSeer: Run a HomeSeer script with values from elements(s)" function

        That last one wouldnt run at all just an error.
        Looks like the End Sub was not pasted into my code.
        HS 4.2.8.0: 2134 Devices 1252 Events
        Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

        Comment

        Working...
        X