joe-ng / homebridge-dyson-link

MIT License
207 stars 40 forks source link

Product number #73

Open dE2ykqu1alex1075 opened 5 years ago

dE2ykqu1alex1075 commented 5 years ago

How do you find the correct product number to add at the end of the serial number on the config file ? It keeps coming back with wrong serial number

dE2ykqu1alex1075 commented 5 years ago

So the serial number worked with a number from the online manual but it comes out with this output when running homebridge HAP Warning: Characteristic 000000AC-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 000000B7-0000-1000-8000-0026BB765291. Adding anyway. HAP Warning: Characteristic 000000AB-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 000000B7-0000-1000-8000-0026BB765291. Adding anyway. events.js:167 throw er; // Unhandled 'error' event ^

Error: Connection refused: Not authorized at MqttClient._handleConnack (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/mqtt/lib/client.js:877:15) at MqttClient._handlePacket (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/mqtt/lib/client.js:319:12) at work (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/mqtt/lib/client.js:261:12) at Writable.writable._write (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/mqtt/lib/client.js:271:5) at doWrite (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/readable-stream/lib/_stream_writable.js:428:64) at writeOrBuffer (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/readable-stream/lib/_stream_writable.js:417:5) at Writable.write (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/readable-stream/lib/_stream_writable.js:334:11) at Socket.ondata (_stream_readable.js:670:20) at Socket.emit (events.js:182:13) at addChunk (_stream_readable.js:287:12) Emitted 'error' event at: at MqttClient._handleConnack (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/mqtt/lib/client.js:879:10) at MqttClient._handlePacket (/usr/local/lib/node_modules/homebridge-dyson-link/node_modules/mqtt/lib/client.js:319:12) [... lines matching original stack trace ...] at addChunk (_stream_readable.js:287:12)

joe-ng commented 5 years ago

did you try to connect using your email account and password? or did you connect that using your device serial number and password?