Announcement

Collapse
No announcement yet.

How do you get the value of a misc flag?

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

    How do you get the value of a misc flag?

    spud or anyone else that knows.

    I am sure I am being dum but I can set a misc flag no problems but can not for the life of me work out how to read it back. Any help would be greatly appreciated.

    Greig.
    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

    #2
    If (hs.GetPropertyByRef(iRef, HomeSeer.PluginSdk.Devices.EProperty.Misc) And HomeSeer.PluginSdk.Devices.EMiscFlag.StatusOnly) <> 0 Then

    Comment


      #3
      Originally posted by Michael McSharry View Post
      If (hs.GetPropertyByRef(iRef, HomeSeer.PluginSdk.Devices.EProperty.Misc) And HomeSeer.PluginSdk.Devices.EMiscFlag.StatusOnly) <> 0 Then
      Thank you Michael,

      I have it working now. just seems a little harder than dv.MISC_Check(hs, Enums.dvMISC.NO_LOG) in HS3!

      Greig.
      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

      Working...
      X