hello,
i was wondering what is the python code to turn the light bulb white ?
First get the python yeelight library from here: https://yeelight.readthedocs.io/en/latest/
make sure lan mode is enabled in the app
then in an idle script write:
from yeelight import Bulb
bulb = Bulb(“192.168.x.xxx”) (change to the bulbs ip)
bulb.set_rgb(255,255,255)
if you want to turn the brightness up add bulb.brightness(100)
This code is not running properly on my device, I am using Canon Printer and my printer is showing Canon Printer Paper Jam error. Do you have any idea to fix this issue?