Announcement

Collapse
No announcement yet.

Output device not updating on board

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

  • enigmatheatre
    replied
    I think you would need to use CAPI to get the plugin to trigger an update.

    Is this an output device or for an LCD display?

    Greig.

    Leave a comment:


  • actibus
    started a topic Output device not updating on board

    Output device not updating on board

    I have a NodeMCU fetching currenttime from an output device, it works fine at the first fetch after connecting, but then it does not update unless I manually move the slider for the output in HS.
    Device last change, string and value changes every minute when my event runs the script below.
    But the FromHS[3] does not update unless i move the slider.

    Anyone have an idea to why?

    Code:
    Sub Main(parm As String)
    Dim thisDate1 As Date = now
       hs.SetDeviceString(708, thisDate1.ToString("HH:mm"), True)
       hs.SetDeviceValueByRef(708, Now.Hour * 100 + Now.Minute, true)
    End Sub
Working...
X