Announcement

Collapse
No announcement yet.

Using HS.WRITELOG in an Event

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

    Using HS.WRITELOG in an Event

    I have been trying to figure out the syntax for using a simple command in an event. Unfortunately I cannot seem to get past the INVALID-1 error that appears whenever I try to save the command. Does anybody have any suggestions?

    Thank you

    Brian


    Click image for larger version

Name:	Screenshot (24).png
Views:	204
Size:	52.8 KB
ID:	1599469

    #2
    It is run as an immediate script calling the HS function.

    Click image for larger version  Name:	image.png Views:	0 Size:	92.4 KB ID:	1599472Click image for larger version  Name:	image.png Views:	0 Size:	114.7 KB ID:	1599474
    HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon

    Comment


      #3
      At the bottom, tick the "Immediate Command" checkbox, then use: &hs.writeLog("Info","Test...")
      HS4Pro on a Raspberry Pi4
      54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
      Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

      HSTouch Clients: 1 Android

      Comment


        #4
        Perfect... it works as I had hoped. Thank you

        Comment

        Working...
        X