Announcement

Collapse
No announcement yet.

Error message in log

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

    Error message in log

    HS4 4.2.4.0
    EasyTrigger 3.0.0.71


    I'm getting this in the logs:

    Click image for larger version  Name:	screenshot1.png Views:	0 Size:	80.9 KB ID:	1499789

    The event is trying to set the device to an expression, but using replacement variables:

    Click image for larger version  Name:	screenshot2.png Views:	0 Size:	101.5 KB ID:	1499790

    Thanks
    Rob
    Last edited by rmasonjr; September 30, 2021, 04:22 PM. Reason: added versions
    HS4Pro Running on a Raspberry Pi4
    67 Z-Wave Nodes, 111 Events, 422 Devices
    Z-Wave, UPB, WiFi
    Plugins: EasyTrigger, weatherXML, OMNI, Z-Wave, Tuya, Device History
    HSTouch Clients: 3 Android, 1 Joggler

    #2
    the "Set Device To Expression" action only works with numerical values, the expression needs to result in a number, that is used to control the device. You can't use that to set the device's string.

    if you just want to set the device's string to the current date, I think you can use the "Set Device's string" action.

    Comment


      #3
      spud, related to this topic...I had similar confusion with this ET action as well as "Set device to device". It wasn't clear to me what properties would be copied from one device to the other. Over time I came to figure out it's only the value. Minor suggestion for for user convenience: Change action names to "Set Device Value to Expression", "Set Device Value to Another Device", "Set Device Value to Variable".

      Thanks.
      -Wade

      Comment


        #4
        Originally posted by Wade View Post
        spud, related to this topic...I had similar confusion with this ET action as well as "Set device to device". It wasn't clear to me what properties would be copied from one device to the other. Over time I came to figure out it's only the value. Minor suggestion for for user convenience: Change action names to "Set Device Value to Expression", "Set Device Value to Another Device", "Set Device Value to Variable".

        Thanks.
        +1 - it would be clearer to add "Value" to the prompt.
        HS4Pro Running on a Raspberry Pi4
        67 Z-Wave Nodes, 111 Events, 422 Devices
        Z-Wave, UPB, WiFi
        Plugins: EasyTrigger, weatherXML, OMNI, Z-Wave, Tuya, Device History
        HSTouch Clients: 3 Android, 1 Joggler

        Comment


          #5
          "Set Device Value" is probably better but it's not perfect either because all those "Set Device...." actions actually "control" the device if they find a CAPI control for this value, if no control is found then they just update the device value.

          Comment


            #6
            Originally posted by spud View Post
            "Set Device Value" is probably better but it's not perfect either because all those "Set Device...." actions actually "control" the device if they find a CAPI control for this value, if no control is found then they just update the device value.
            Aha, interesting point.
            -Wade

            Comment

            Working...
            X