hannseman / homebridge-mi-hygrothermograph

Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
MIT License
268 stars 50 forks source link

shutting down Homebridge ?,Hygrothermograph 2 / LYWSD03MMC #184

Open ghost opened 2 years ago

ghost commented 2 years ago

Try removing the entire directory /var/lib/homebridge/node_moduleshomebridge-mi-hygrothermograph and then install.

not work

Expected Behavior

Homebrige should run

Current Behavior

Homebrige stops running

Versions



 **Homebridge Log / Command Output**

[2022/7/24 14:04:20] [miot] [Mi LED Desk Lamp 1S] Starting property polling.
[2022/7/24 14:04:22] [Homebridge UI] Homebridge restart request received
[2022/7/24 14:04:22] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[2022/7/24 14:04:22] [Homebridge UI] Sending SIGTERM to Homebridge
[2022/7/24 14:04:22] Got SIGTERM, shutting down Homebridge...
[2022/7/24 14:04:27] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[2022/7/24 14:04:32] [HB Supervisor] Restarting Homebridge...
[2022/7/24 14:04:32] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[2022/7/24 14:04:32] [HB Supervisor] Started Homebridge v1.5.0 with PID: 754
[2022/7/24 14:04:33] Loaded config.json with 1 accessories and 2 platforms.
[2022/7/24 14:04:33] Loaded 6 cached accessories from cachedAccessories.
[2022/7/24 14:04:33] ---
[2022/7/24 14:04:33] Loaded plugin: homebridge-config-ui-x@4.50.0
[2022/7/24 14:04:33] Registering platform 'homebridge-config-ui-x.config'
[2022/7/24 14:04:33] ---
[2022/7/24 14:04:33] Loaded plugin: homebridge-mi-hygrothermograph@3.3.1
[2022/7/24 14:04:36] Registering accessory 'homebridge-mi-hygrothermograph.Hygrotermograph'
[2022/7/24 14:04:36] ---
[2022/7/24 14:04:37] Loaded plugin: homebridge-miot@1.2.4
[2022/7/24 14:04:37] Registering platform 'homebridge-miot.miot'
[2022/7/24 14:04:37] ---
[2022/7/24 14:04:37] Loading 2 platforms...
[2022/7/24 14:04:37] [miot] Initializing miot platform...
[2022/7/24 14:04:37] Loading 1 accessories...
[2022/7/24 14:04:37] [Temperature & Humidity] Initializing Hygrotermograph accessory...
[2022/7/24 14:04:37] [miot] Initializing devices
[2022/7/24 14:04:37] [miot] [先锋风扇] Got device configuration, initializing device with name: 先锋风扇
[2022/7/24 14:04:37] [miot] [小米风扇] Got device configuration, initializing device with name: 小米风扇
[2022/7/24 14:04:37] [miot] [插座] Got device configuration, initializing device with name: 插座
[2022/7/24 14:04:37] [miot] [Mi LED Desk Lamp 1S] Got device configuration, initializing device with name: Mi LED Desk Lamp 1S
[2022/7/24 14:04:37] [miot] [浴霸内卫] Got device configuration, initializing device with name: 浴霸内卫
[2022/7/24 14:04:37] [miot] [浴霸外卫] Got device configuration, initializing device with name: 浴霸外卫
Setup Payload:
X-HM://0023UVB9KDS06
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     
    │ 234-09-864 │     
    └────────────┘     

[2022/7/24 14:04:37] Error: ENODEV, No such device
    at Hci.init (/var/lib/homebridge/node_modules/.pnpm/@abandonware+noble@1.9.2-15/node_modules/@abandonware/noble/lib/hci-socket/hci.js:121:20)
    at NobleBindings.init (/var/lib/homebridge/node_modules/.pnpm/@abandonware+noble@1.9.2-15/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:93:13)
    at /var/lib/homebridge/node_modules/.pnpm/@abandonware+noble@1.9.2-15/node_modules/@abandonware/noble/lib/noble.js:61:24
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
ripcurl7777 commented 2 years ago

same problem here

filipwitek commented 2 years ago

same problem on my end

chris-008 commented 1 year ago

here as well, any solution so far?

chris-008 commented 1 year ago

It seems that you should have the device connected so it can be discovered before installing this plugin. this link might help:

https://github.com/hannseman/homebridge-mi-hygrothermograph/issues/177

chris-008 commented 1 year ago

anyone has success so far?