Closed sweebee closed 8 years ago
Thanks for testing this. changeDimlevelTo was not returning a Promise as expected by pimatic. This should be fixed in 0.0.4.
Thanks.
"Object 0 has no..." is fixed now. But sometimes i get
error [pimatic]: A uncaught exception occured: TypeError: Cannot read property 'state' of null
at process (/home/pi/pimatic-app/node_modules/pimatic-hue/node_modules/hue-module/lib/hue.js:111:37)
at ClientRequest.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-hue/node_modules/hue-module/lib/http.js:92:6)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at Socket.socketCloseListener (http.js:1522:9)
at Socket.EventEmitter.emit (events.js:117:20)
at TCP.close (net.js:466:12)
This is most probably a bug in pimatic or in a module, please report it!
That sounds like a network error. I created a new issue #3 for this.
When i have this:
But when i execute this rule i get this:
and