Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

Simple Script line doesn't work

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

  • Simple Script line doesn't work

    What am I doing wrong here. This simple script line doesn't work for me. It is supposed to copy the device value from device 1783 to device 2359. BTW 1783 is a running timer if it matters.

    &hs.SetDeviceValueByRef(2359, (DeviceValue1783), True)

    It does execute as I see Device 2359 being updated but it always updates to 0 while the value of the device 1783 is not zero.



  • #2
    Try this
    Code:
     &hs.SetDeviceValueByRef(2359, hs.devicevalue(1783), True)

    Comment


    • #3
      MattL0

      Thanks a lot. It works like a charm.

      Comment

      Working...
      X