Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not find device #23

Open
licuhui opened this issue May 23, 2017 · 0 comments
Open

Can not find device #23

licuhui opened this issue May 23, 2017 · 0 comments

Comments

@licuhui
Copy link

licuhui commented May 23, 2017

I used homebridge-miio after running as follows, could not find a runable device. Also found a problem, my gateway device will disappear. Remove homebridge-miio later will not disappear.
[5/22/2017, 11:27:56 PM] Loaded plugin: homebridge-miio
[5/22/2017, 11:27:57 PM] Registering platform 'homebridge-miio.XiaomiMiio'
[5/22/2017, 11:27:57 PM] ---
[5/22/2017, 11:27:57 PM] Loaded config.json with 0 accessories and 1 platforms.
[5/22/2017, 11:27:57 PM] ---
[5/22/2017, 11:27:57 PM] Loading 1 platforms...
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Initializing XiaomiMiio platform...
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Setting up Miio platform
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐
│ 000-00-002 │
└────────────┘

[5/22/2017, 11:27:57 PM] [XiaomiMiio] DidFinishLaunching
[5/22/2017, 11:27:57 PM] Homebridge is running on port 51826.
[5/22/2017, 11:27:57 PM] [XiaomiMiio] device discovered 48282918
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Investigating Miio Device at udp://192.168.31.6:54321
[5/22/2017, 11:27:57 PM] [XiaomiMiio] device discovered 54965957
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Investigating Miio Device at udp://192.168.31.171:54321
[5/22/2017, 11:27:57 PM] [XiaomiMiio] device discovered 1097069
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Investigating Miio Device at udp://192.168.31.182:54321
[5/22/2017, 11:27:57 PM] [XiaomiMiio] device discovered 48562027
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Investigating Miio Device at udp://192.168.31.161:54321
[5/22/2017, 11:27:57 PM] [XiaomiMiio] device discovered 49371632
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Investigating Miio Device at udp://192.168.31.74:54321
[5/22/2017, 11:27:57 PM] [XiaomiMiio] Unsupported, ignoring
[5/22/2017, 11:27:59 PM] [XiaomiMiio] Unsupported, ignoring
[5/22/2017, 11:28:01 PM] [XiaomiMiio] Couldn't investigate device { id: 1097069,
address: '192.168.31.182',
port: 54321,
token: '00000000000000000000000000000000',
lastSeen: 1495466877459,
writeOnly: true } Error: Timeout
at _ensureToken.then (/usr/local/lib/node_modules/homebridge-miio/node_modules/miio/lib/device.js:223:23)
(node:2482) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'model' of undefined
(node:2482) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[5/22/2017, 11:28:01 PM] [XiaomiMiio] Couldn't investigate device { id: 48562027,
address: '192.168.31.161',
port: 54321,
token: '00000000000000000000000000000000',
lastSeen: 1495466877459,
writeOnly: true } Error: Timeout
at _ensureToken.then (/usr/local/lib/node_modules/homebridge-miio/node_modules/miio/lib/device.js:223:23)
[5/22/2017, 11:28:01 PM] [XiaomiMiio] Couldn't investigate device { id: 49371632,
address: '192.168.31.74',
port: 54321,
token: '00000000000000000000000000000000',
lastSeen: 1495466877460,
writeOnly: true } Error: Timeout
at _ensureToken.then (/usr/local/lib/node_modules/homebridge-miio/node_modules/miio/lib/device.js:223:23)
(node:2482) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'model' of undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant