Announcement

Collapse
No announcement yet.

Set Device String in HS4

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

    Set Device String in HS4

    I just updated to HS4Pro from HS3Pro this afternoon. Only a few tweaks were needed to get things going again.
    One thing that is still an issue is an immediate script that worked in HS3 but gives a syntax error in HS4.
    I want to change a device string to another device's string.

    The immediate script is &hs.SetDeviceString(130), hs.DeviceString(109),True

    Log results in HS4: Running script(2) &hs.SetDeviceString(130), hs.DeviceString(109),True, init error: Syntax error

    Any suggestions on fixing this script?

    Thanks.

    #2
    It's now VB.net, so instead of &hs.Something it's now &nhs.Something

    More info here:
    Executing Single Script Statements - HS4 - HomeSeer Docs

    Comment

    Working...
    X