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?
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
Comment