So this is to use the RGB Bulb as a cheap ambilight:
Set the mode as udp (new implementation is what I use)
Set it up as 1 LED (use left or right), port 19446
then set the ip to whatever computer can run this script:.
You'll need to "pip install yeelight"
from yeelight import *
port = 19446
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
print("waiting on port:", port)
bulb = Bulb("BULB_IP_ADDRESS")
bulb.effect = "sudden"
#Stop/Start music mode, bypasses lamp rate limits, ensures that previous sockets close before starting
d = s.recvfrom(3)