Tasker and variables

I think I know! add at the end of command “\r\n” (no quotes) !!!

Yes man! That’s it! You are my hero. Thanks!

@dalanik
Is there any way to send a command with a tasker variable inside?

Example, something like this:
Send: {“id”:1,“method”:“set_bright”,“params”:[%bright_val,“smooth”,1000]}

From Send/Expect in Tasker? Yes, exactly as you wrote.

Yes, we have supported bright variable yet.

Thank you, I hadn’t find any reference in the documentation of send/expect. Just tried and it worked :slight_smile:

Is there anywhere you can find out more about using variables with Yeelight?
Thanks!