homebridge-xiaomi-fan: I have the latest model, but I cannot use the plugin

model:dmaker.fan.p10 log:

5/28/2020, 2:35:46 PM] [Xiaomi Fan 2] Xiaomi Fan - connected to Fan
[5/28/2020, 2:35:46 PM] [Xiaomi Fan 2] MiioDevice {
  model=dmaker.fan.p10,
  types=miio,
  capabilities=
}
[5/28/2020, 2:35:46 PM] [Xiaomi Fan 2] Xiaomi Fan - error occured could not write fan model info [Error: ENOENT: no such file or directory, open '~/.xiaomiFan/info_19216850118_466f849648a1bea6611f59f156b5fe36'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '~/.xiaomiFan/info_19216850118_466f849648a1bea6611f59f156b5fe36'
[5/28/2020, 2:35:49 PM] [Xiaomi Fan 2] Xiaomi Fan - error while requesting led state: Error: busy.
    at Object.reject (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:475:13)
    at DeviceInfo.onMessage (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:374:8)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:160:11)
    at Socket.emit (events.js:310:20)
    at UDP.onMessage (dgram.js:924:8) {
  code: -30012
}
[5/28/2020, 2:35:52 PM] [Xiaomi Fan 2] Xiaomi Fan - error while requesting power state: Error: busy.
    at Object.reject (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:475:13)
    at DeviceInfo.onMessage (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:374:8)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:160:11)
    at Socket.emit (events.js:310:20)
    at UDP.onMessage (dgram.js:924:8) {
  code: -30012
}
[5/28/2020, 2:35:52 PM] [Xiaomi Fan 2] Xiaomi Fan - error while requesting child lock state: Error: busy.
    at Object.reject (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:475:13)
    at DeviceInfo.onMessage (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:374:8)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:160:11)
    at Socket.emit (events.js:310:20)
    at UDP.onMessage (dgram.js:924:8) {
  code: -30012
}
[5/28/2020, 2:35:52 PM] [Xiaomi Fan 2] Xiaomi Fan - error while requesting speed level: Error: busy.
    at Object.reject (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:475:13)
    at DeviceInfo.onMessage (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:374:8)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:160:11)
    at Socket.emit (events.js:310:20)
    at UDP.onMessage (dgram.js:924:8) {
  code: -30012
}
[5/28/2020, 2:35:52 PM] [Xiaomi Fan 2] Xiaomi Fan - error while requesting mode: Error: busy.
    at Object.reject (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:475:13)
    at DeviceInfo.onMessage (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:374:8)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:160:11)
    at Socket.emit (events.js:310:20)
    at UDP.onMessage (dgram.js:924:8) {
  code: -30012
}
[5/28/2020, 2:35:53 PM] [Xiaomi Fan 2] Xiaomi Fan - error while requesting swing mode state: Error: busy.
    at Object.reject (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:475:13)
    at DeviceInfo.onMessage (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:374:8)
    at Socket.<anonymous> (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:160:11)
    at Socket.emit (events.js:310:20)
    at UDP.onMessage (dgram.js:924:8) {
  code: -30012
}
[5/28/2020, 2:35:56 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:36:00 PM] [Xiaomi Fan 2] Xiaomi Fan - error while requesting buzzer state: Error: Call to device timed out
    at Timeout.retry [as _onTimeout] (/homebridge/node_modules/homebridge-xiaomi-fan/node_modules/miio/lib/network.js:487:18)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7) {
  code: 'timeout'
}
[5/28/2020, 2:36:00 PM] [Config] Starting terminal session
[5/28/2020, 2:36:06 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:36:14 PM] [Config] [homebridge-xiaomi-fan] Failed to check registry.npmjs.org for updates: Timeout: request took more than 15 seconds
[5/28/2020, 2:36:16 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:36:26 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:36:36 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:36:46 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:36:56 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:37:06 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:37:16 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:37:26 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:37:36 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:37:46 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:37:56 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:38:06 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:38:16 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:38:26 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:38:36 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:38:46 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:38:56 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:39:06 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found
[5/28/2020, 2:39:16 PM] [Xiaomi Fan 2] Xiaomi Fan - Fan found

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 28 (15 by maintainers)

Most upvoted comments

If necessary, I will provide more commands to help you improve the plug-in.