
The Device Send Action lets you declare a device in the Device tab and send it data. In the action, the first value you declare is the device you want to send to. This field is a dropdown of all the current devices in the device tab. The second value you declare is the data you want to send. The next value is a checkbox. This checkbox tells Tasker to listen for a response or not from the device being sent to. Tasker will listen for 2 seconds for a response. If no data is sent by then it stops listening. If enabled, two new fields for the action will appear. One sets the response to a variable that can be referenced, and the other lets you choose the data for the response to be declared as a string or bytes. The data returned can also be interacted with by using the (devicename)_buffer, hexutils.bytestohex(), and string.frombytes() syntax values.