-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Accessory error in 3.5.1 #993
Comments
I have the same issue. And this is in the Homebridge logs at startup:
|
Hi! I have the same issue since the last update. One Device (Switchbot Bot) appears as two devices and nothing works anymore. Logfile: Before the Bot was Nice, because it showed the press funktion in the home app. So a few seconds after i clicked on my "Kaffeemaschine" the switch in home app turned off again. like the bot. can you please implement this functionallity again? |
Can you try the latest beta: |
Thank you! Is there any problem with switchbot lock? Because i can't find it under supported devices. |
not sure what you mean by that? |
Thanks @donavanbecker, duplicates removed, bots are responding and all errors are gone for me with beta.4 🫡🙌 |
v3.6.0 has been released. |
Describe the Bug
After I have updated to 3.5.1, the Bot I have exposed to the Home app as a switch, now displays as an outlet.
Even if I change it to something else, like a fan or faucet etc in the plugin config, it still appears as an outlet.
I have tried to downgrade, but I get this error.
npm error code ENOTEMPTY
npm error syscall rename
npm error path /var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot
npm error dest /var/lib/homebridge/node_modules/@switchbot/.homebridge-switchbot-cCp4HJsc
npm error errno -39
npm error ENOTEMPTY: directory not empty, rename '/var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot' -> '/var/lib/homebridge/node_modules/@switchbot/.homebridge-switchbot-cCp4HJsc'
To Reproduce
Install 3.5.1 on Raspberry Pi 4, with hub mini and Bot
Expected Behavior
Bot to be exposed to the Home app as the selected switch.
Relevant Log Output
[28/06/2024, 14:21:49] [SwitchBot] Total SwitchBot Devices Found: 2 [28/06/2024, 14:21:49] [SwitchBot] Restoring existing accessory from cache: HOME-PC deviceId: EC6D55CDE3C7 [28/06/2024, 14:24:30] [SwitchBot] Initializing SwitchBot platform... [28/06/2024, 14:24:30] [SwitchBot] Initializing child bridge 0E:08:72:D9:D4:44 [28/06/2024, 14:24:30] Loading 2 accessories... [28/06/2024, 14:24:33] [SwitchBot] Launched child bridge with PID 50461 [28/06/2024, 14:24:33] Loaded 0 cached accessories from cachedAccessories.0EDD2E555048. [28/06/2024, 14:24:33] Loaded 0 cached accessories from cachedAccessories.0E7B4F9B2994. [28/06/2024, 14:24:40] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.5.1 child bridge successfully [28/06/2024, 14:24:40] Loaded 1 cached accessories from cachedAccessories.0E0872D9D444. [28/06/2024, 14:24:41] [SwitchBot] Total SwitchBot Devices Found: 2 [28/06/2024, 14:24:41] [SwitchBot] Restoring existing accessory from cache: HOME-PC deviceId: EC6D55CDE3C7 [28/06/2024, 14:32:55] [SwitchBot] Restarting child bridge... [28/06/2024, 14:32:55] Got SIGTERM, shutting down child bridge process... [28/06/2024, 14:33:00] [SwitchBot] Child bridge process ended [28/06/2024, 14:33:00] [SwitchBot] Process Ended. Code: 143, Signal: null [28/06/2024, 14:33:07] [SwitchBot] Restarting Process... [28/06/2024, 14:33:07] [SwitchBot] Launched child bridge with PID 52258 [28/06/2024, 14:33:10] Registering platform '@switchbot/homebridge-switchbot.SwitchBot' [28/06/2024, 14:33:11] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.5.1 child bridge successfully [28/06/2024, 14:33:11] Loaded 1 cached accessories from cachedAccessories.0E0872D9D444. [28/06/2024, 14:33:11] Homebridge v1.8.3 (HAP v0.12.2) (SwitchBot) is running on port 48515. [28/06/2024, 14:33:12] [SwitchBot] Total SwitchBot Devices Found: 2 [28/06/2024, 14:33:12] [SwitchBot] Restoring existing accessory from cache: HOME-PC deviceId: EC6D55CDE3C7
Config for homebridge-switchbot
Screenshots
Device and Model
Switch Bot
Node.js Version
29.15.0
NPM Version
10.7.0
Homebridge Version
1.8.3
Homebridge Switchbot Plugin Version
3.5.1
Homebridge Config UI X Plugin Version
4.56.4
Operating System
Homebridge
The text was updated successfully, but these errors were encountered: