Closed fmichenaud closed 4 years ago
After having some issues with the discover method, I found a typo in the ssdp:discover header sent in MAN.
Changing from 'MAN: \'ssdp:discover\'\r\n' to 'MAN: "ssdp:discover"\r\n' fixes the issue.
'MAN: \'ssdp:discover\'\r\n'
'MAN: "ssdp:discover"\r\n'
See https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf
Aha, I accidentally replaced double quotes with single quotes in this part when I started using single quotes for all strings... Thanks!
After having some issues with the discover method, I found a typo in the ssdp:discover header sent in MAN.
Changing from
'MAN: \'ssdp:discover\'\r\n'
to'MAN: "ssdp:discover"\r\n'
fixes the issue.See https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf