Closed sdtaheri closed 1 year ago
This error happens because of device.support
is undefined
on this line.
It should be changed to:
const support = deviceInfo.support?.split(" ") || "";
Yet, it seems like device.support
should never be undefined
since after fixing it you'll run into issue #69, that means something in much earlier step has been going wrong...
I put some extra logging in for these corrupt device info. However if you have these, it might be best to remove these devices from the home bridge cache. With the deviceInfo missing, there won't be much that yeelighter can do with these devices.
Hi. This is the log I'm getting when homebridge starts.
This is the config for Yeeligher:
My setup environment:
Hombridge:
v1.5.1
Node.js:v18.12.0
OS:Linux raspberrypi 5.15.74-v7l+
It doesn't work either if I don't add the
manual
key.I'd appreciate if you could help me find the issue.