Tasker and variables


#21

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


#22

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


#23

@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]}


#24

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


#25

Yes, we have supported bright variable yet.


#26

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


#27

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