Announcement

Collapse
No announcement yet.

where did string value go !

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

    where did string value go !

    hi
    running HS4 V4.0.10.0

    when i look at the hs3 device view is see the string value
    Click image for larger version

Name:	hs3.PNG
Views:	230
Size:	30.9 KB
ID:	1398140
    when I look at it in HS4 I don't see it
    Click image for larger version

Name:	features.PNG
Views:	186
Size:	22.6 KB
ID:	1398141

    #2
    I have just reported this bug today. I will link to this thread in the report.
    Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
    X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
    Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
    Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
    Scripts =
    Various

    Comment


      #3
      It is the Status enumeration when you retrieve it. Use Feature ValueStringByRef when you set it.
      Code:
      hs.UpdateFeatureValueStringByRef(iRef, sPayload)
      Dim sString As String = hs.GetPropertyByRef(iRef, Devices.EProperty.Status)
      I have found hs.UpdatePropertyByRef(iRef, Devices.EProperty.Status, sString) to no longer work. Since there is an alternative that does work I did not report it formally.

      Comment


        #4
        Originally posted by Michael McSharry View Post
        It is the Status enumeration when you retrieve it. Use Feature ValueStringByRef when you set it.
        Code:
        hs.UpdateFeatureValueStringByRef(iRef, sPayload)
        Dim sString As String = hs.GetPropertyByRef(iRef, Devices.EProperty.Status)
        I have found hs.UpdatePropertyByRef(iRef, Devices.EProperty.Status, sString) to no longer work. Since there is an alternative that does work I did not report it formally.
        Michael,

        Thanks for the reply but this is not a scripting problem it is a HS4 problem in the UI and core
        I have a script from HS3 that sets a virtual device string and this shows in the HS4 UI /devices.html page but when I go to the device Advanced Information under status graphics the Status is blank. The problem is I use replacement variables to speak the device string ( Please remember to $$DTR:143: ) and it is blank so it is not spoken.
        Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
        X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
        Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
        Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
        Scripts =
        Various

        Comment


          #5
          Does $$DSR work for you?

          Comment


            #6
            Good pick up I didn't notice this missing in the GUI. However the field must still exist behind the scenes as a virtual device and event I created depends on it and still works.

            Comment

            Working...
            X