Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Identify doesn't works for led-light #18

Closed
Xento opened this issue Jan 5, 2016 · 0 comments
Closed

Identify doesn't works for led-light #18

Xento opened this issue Jan 5, 2016 · 0 comments
Labels

Comments

@Xento
Copy link

Xento commented Jan 5, 2016

When I want to identify a led-light I get this error:

error [pimatic]: A uncaught exception occured: TypeError: Object #<Object> has no method 'then'
    at LedLightAccessory.SwitchAccessory.identify (/usr/local/pimatic-app/node_modules/pimatic-hap/accessories/switch.coffee:15:10)
    at LedLightAccessory.<anonymous> (/usr/local/pimatic-app/node_modules/pimatic-hap/accessories/switch.coffee:1:1)
    at LedLightAccessory.identify (/usr/local/pimatic-app/node_modules/pimatic-hap/accessories/base.coffee:1:1)
    at LedLightAccessory.<anonymous> (/usr/local/pimatic-app/node_modules/pimatic-hap/accessories/base.coffee:21:10)
    at LedLightAccessory.EventEmitter.emit (events.js:98:17)
    at LedLightAccessory.Accessory._identificationRequest (/usr/local/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:104:10)
    at LedLightAccessory.<anonymous> (/usr/local/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:73:14)
    at EventEmitter.emit (events.js:106:17)
    at Characteristic.setValue (/usr/local/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Characteristic.js:151:10)
    at Bridge.<anonymous> (/usr/local/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:537:22)
    at Array.forEach (native)
    at Bridge.Accessory._handleSetCharacteristics (/usr/local/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/Accessory.js:486:8)
    at HAPServer.EventEmitter.emit (events.js:106:17)
    at HAPServer._handleCharacteristics (/usr/local/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:696:10)
    at HAPServer.<anonymous> (/usr/local/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/lib/HAPServer.js:178:39)
    at IncomingMessage.EventEmitter.emit (events.js:92:17)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)
 This is most probably a bug in pimatic or in a module, please report it!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants