Hi all,
bought a Yeelight and put it into the config (via led-light plugin) it works so far, but not always. Sometimes I always able to control it via Yeelight App, but not via Pimatic. A Pimatic restart or making the Yeelight powerless for some time does not help to make it running again…
Somebody else with the same problem?

After making the Yeelight powerless for a while and powering on is afterward I’m getting this error in Pimatic when I try to operate the device.

error [pimatic]: An uncaught exception occurred: TypeError: Cannot read property 'location' of undefined
    at Yeelight._matchDevice (/home/pi/pimatic-app/node_modules/pimatic-led-light/devices/yeelight.coffee:124:8)
    at Yeelight._this.disconnectHandler (/home/pi/pimatic-app/node_modules/pimatic-led-light/devices/yeelight.coffee:55:15)
    at emitOne (events.js:82:20)
    at Yeelight.emit (events.js:169:7)
    at Yeelight.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-led-light/node_modules/node-yeelight/index.js:73:9)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Socket.emit (/home/pi/pimatic-app/node_modules/pimatic/startup.coffee:63:24)
    at TCP._onclose (net.js:490:12)
 This is most probably a bug in pimatic or in a module, please report it!

Äääähm btw. I have a router/repeater network. Could this be the problem? Maybe Yeelight are not handling a repeater connection well… Only an idea…