Controlling Yeelight RGBW using terminal / command line

Linx (change the IP to your bulb)
echo -ne ‘{“id”:1,“method”:“toggle”,“params”:}\r\n’ | nc -w1 192.168.0.100 55443

Thanks !
that command works even on ANDROID phone - so that’s good for tasker as well - NEAT !

also - as I learned today - the “id” can can also 0 not just 1 ( guess other numbers as well if you got more then one yeelight in your lan ).