Open Kohle81 opened 5 days ago
Update from 3.7.0 to 3.8.1 & 3.8.2-beta, the bots in Homekit doesn‘t works….
In v3.7.0 all works
In v3.7.0 it works
[14/09/2024, 14:05:34] [SwitchBot] Restarting child bridge... [14/09/2024, 14:05:34] Got SIGTERM, shutting down child bridge process... [14/09/2024, 14:05:39] [SwitchBot] Child bridge process ended [14/09/2024, 14:05:39] [SwitchBot] Process Ended. Code: 143, Signal: null [14/09/2024, 14:05:46] [SwitchBot] Restarting Process... [14/09/2024, 14:05:47] [SwitchBot] Launched child bridge with PID 14834 [14/09/2024, 14:05:51] Registering platform '@switchbot/homebridge-switchbot.SwitchBot' [14/09/2024, 14:05:51] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.8.2-beta.1 child bridge successfully [14/09/2024, 14:05:51] Loaded 7 cached accessories from cachedAccessories.0ED4D25411C9. [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Plugin Version: 3.8.2-beta.1 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Finished initializing platform: SwitchBot [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Verifying Config [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Config OK [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Platform BLE is not enabled [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Loading accessory from cache: Linkes Bett hoch [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Loading accessory from cache: Rechts Bett runter [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Loading accessory from cache: Rechtes Bett hoch [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Loading accessory from cache: Switchbot Luftqualität [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Loading accessory from cache: Türöffner [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Loading accessory from cache: Linkes Bett runter [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Loading accessory from cache: LG [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Executed didFinishLaunching callback [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Using Config Logging: debug [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Using Default Max Retries [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Platform Config: {"logging":"debug"} [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Retry Count: 0 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Using Default Delay Between Retries [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Platform Config: {"logging":"debug","maxRetries":3,"delayBetweenRetries":3} [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Using Default Refresh Rate (2 minutes). [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Max Retries: 3 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Using Default Push Rate. [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Delay Between Retries: undefined [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Using Default Max Retries. [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Using Default Delay Between Retries. [14/09/2024, 14:05:52] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 39464. [14/09/2024, 14:05:52] NOTICE TO USERS AND PLUGIN DEVELOPERS > Homebridge 2.0 is on the way and brings some breaking changes to existing plugins. > Please visit the following link to learn more about the changes and how to prepare: > https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] statusCode: 200 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] devicesAPI: {"statusCode":100,"body":{"deviceList":[{"deviceId":"C42F040FCCD2","deviceName":"Linkes Bett hoch","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"C9A1CF72C9FC","deviceName":"Bett Manu runter","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"CBA415F0A044","deviceName":"Bett Manu hoch","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"D1FFDE76E505","deviceName":"Switchbot Luftqualität","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"D9CB51AD652F","deviceName":"Haustüre","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"FD6A96EC2808","deviceName":"Hub Mini 08","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FEDAC1EDB7BD","deviceName":"Linkes Bett runter","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"}],"infraredRemoteList":[{"deviceId":"02-202201092307-52501973","deviceName":"LG","remoteType":"TV","hubDeviceId":"FD6A96EC2808"}]},"message":"success"} [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] SwitchBot Device Config Set: [{"deviceId":"C42F040FCCD2","configDeviceName":"Linkes Bett hoch","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch","allowPush":false},"external":false,"logging":"debug"},{"deviceId":"C9A1CF72C9FC","configDeviceName":"Rechts Bett runter","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch"},"logging":"none"},{"deviceId":"CBA415F0A044","configDeviceName":"Rechtes Bett hoch","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch"},"logging":"none"},{"deviceId":"FEDAC1EDB7BD","configDeviceName":"Linkes Bett runter","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch"},"logging":"none"},{"deviceId":"D9CB51AD652F","configDeviceName":"Türöffner","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"lock"},"logging":"none"}] [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] SwitchBot Devices: [{"deviceId":"C42F040FCCD2","configDeviceName":"Linkes Bett hoch","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch","allowPush":false},"external":false,"logging":"debug","deviceName":"Linkes Bett hoch","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"C9A1CF72C9FC","configDeviceName":"Rechts Bett runter","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch"},"logging":"none","deviceName":"Bett Manu runter","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"CBA415F0A044","configDeviceName":"Rechtes Bett hoch","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch"},"logging":"none","deviceName":"Bett Manu hoch","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"D1FFDE76E505","deviceName":"Switchbot Luftqualität","deviceType":"Meter","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"D9CB51AD652F","configDeviceName":"Türöffner","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"lock"},"logging":"none","deviceName":"Haustüre","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"},{"deviceId":"FD6A96EC2808","deviceName":"Hub Mini 08","deviceType":"Hub Mini","hubDeviceId":"000000000000"},{"deviceId":"FEDAC1EDB7BD","configDeviceName":"Linkes Bett runter","configDeviceType":"Bot","connectionType":"OpenAPI","bot":{"mode":"press","deviceType":"switch"},"logging":"none","deviceName":"Linkes Bett runter","deviceType":"Bot","enableCloudService":true,"hubDeviceId":"FD6A96EC2808"}] [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered Bot: C42F040FCCD2 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Linkes Bett hoch registerDevice: true [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Linkes Bett hoch connectionType: OpenAPI, will display in HomeKit [14/09/2024, 14:05:52] [SwitchBot] Restoring existing accessory from cache: Linkes Bett hoch deviceId: C42F040FCCD2 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Using Device Config Logging: debug [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Using Platform Config refreshRate: 120, Default updateRate: 5, Platform Config pushRate: 0.1 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Using Default Max Retries: 5, Default Delay Between Retries: 3000 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Model: SwitchBot S1, BLE Model: H, BLE Model Name: WoHand, BLE Model Friendly Name: undefined [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Using Default MQTT URL: , Default mqttOptions: {}, Default mqttPubOptions: {} [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Displaying as Switch [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Retrieve initial values and update Homekit [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch openAPIRefreshStatus [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Registering Webhook Event Handler [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch is not listening webhook. [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Registering Platform BLE Event Handler [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch registerPlatformBLE [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot uuid: C42F040FCCD2-Bot, (8d6ec5bf-85f0-4f60-8182-e58671f185eb) [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Config: {"logging":"debug","connectionType":"OpenAPI","mode":"only_up","deviceType":"switch","allowPush":false} [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Using Device Type: switch [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Fan Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Lock Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Door Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Faucet Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Outlet Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Window Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Garage Door Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Window Covering Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Removing any leftover Stateful Programmable Switch Service [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Firmware Version: 3.8.2 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch is not listening to Platform BLE [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch version: 3.8.2 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Bot: Linkes Bett hoch Using Bot Mode: press [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Using Bot Mode: press [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered Bot: C9A1CF72C9FC [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch No Double Press Set, Using default Double Press: 1 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Rechts Bett runter registerDevice: true [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch No Push Rate Press Set, Using default Push Rate Press: 15 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Rechts Bett runter connectionType: OpenAPI, will display in HomeKit [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch No Allow Push Set, Using default Allow Push: false [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Multi Press Count: 0 [14/09/2024, 14:05:52] [SwitchBot] Restoring existing accessory from cache: Rechts Bett runter deviceId: C9A1CF72C9FC [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot uuid: C9A1CF72C9FC-Bot, (aa451df3-5d4c-44da-8d7f-51f359cde6e8) [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered Bot: CBA415F0A044 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Rechtes Bett hoch registerDevice: true [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Rechtes Bett hoch connectionType: OpenAPI, will display in HomeKit [14/09/2024, 14:05:52] [SwitchBot] Restoring existing accessory from cache: Rechtes Bett hoch deviceId: CBA415F0A044 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot uuid: CBA415F0A044-Bot, (36667291-e731-4089-9cc5-754cc7dc96a7) [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered Meter: D1FFDE76E505 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Switchbot Luftqualität registerDevice: true [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Switchbot Luftqualität connectionType: OpenAPI, will display in HomeKit [14/09/2024, 14:05:52] [SwitchBot] Restoring existing accessory from cache: Switchbot Luftqualität deviceId: D1FFDE76E505 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Meter uuid: D1FFDE76E505-Meter, (e02d7616-280f-4e07-af83-7dbff72d4ebc) [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered Bot: D9CB51AD652F [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Türöffner registerDevice: true [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Türöffner connectionType: OpenAPI, will display in HomeKit [14/09/2024, 14:05:52] [SwitchBot] Restoring existing accessory from cache: Türöffner deviceId: D9CB51AD652F [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot uuid: D9CB51AD652F-Bot, (6f5d82bf-7133-4c30-bd81-f978d3d84809) [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered Hub Mini: FD6A96EC2808, is currently not supported, device: {"deviceId":"FD6A96EC2808","deviceName":"Hub Mini 08","deviceType":"Hub Mini","hubDeviceId":"000000000000"} [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered Bot: FEDAC1EDB7BD [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Linkes Bett runter registerDevice: true [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Device: Linkes Bett runter connectionType: OpenAPI, will display in HomeKit [14/09/2024, 14:05:52] [SwitchBot] Restoring existing accessory from cache: Linkes Bett runter deviceId: FEDAC1EDB7BD [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Bot uuid: FEDAC1EDB7BD-Bot, (5a09c054-4cf0-4ce9-b471-d76ff51d0685) [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] IR Device Config Set: [{"deviceId":"02-202201092307-52501973","configDeviceName":"TV","configRemoteType":"TV","connectionType":"OpenAPI","customize":false,"external":false,"logging":"standard"}] [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] IR Devices: [{"deviceId":"02-202201092307-52501973","configDeviceName":"TV","configRemoteType":"TV","connectionType":"OpenAPI","customize":false,"external":false,"logging":"standard","deviceName":"LG","remoteType":"TV","hubDeviceId":"FD6A96EC2808"}] [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] Discovered TV: 02-202201092307-52501973 [14/09/2024, 14:05:52] [SwitchBot] Restoring existing accessory from cache: TV deviceId: 02-202201092307-52501973 [14/09/2024, 14:05:52] [SwitchBot] [DEBUG] TV uuid: 02-202201092307-52501973-TV, (a55e1476-3bb4-44a8-bbaf-e6508a33baa5) [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"C42F040FCCD2","deviceType":"Bot","hubDeviceId":"FD6A96EC2808","version":"V4.8","power":"on","battery":83,"deviceMode":"pressMode"},"message":"success"} [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"C42F040FCCD2","deviceType":"Bot","hubDeviceId":"FD6A96EC2808","version":"V4.8","power":"on","battery":83,"deviceMode":"pressMode"},"message":"success"} [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch openAPIparseStatus [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch (power, battery, deviceMode) = API:(on, 83, press), current:(false, 83, press) [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch On: false [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch BatteryLevel: 83 [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch StatusLowBattery: 0 [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch Firmware Version: 4.8 [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch version: 4.8 [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch updateHomeKitCharacteristics [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch updateCharacteristic BatteryLevel: 83 [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch updateCharacteristic StatusLowBattery: 0 [14/09/2024, 14:05:53] [SwitchBot] [DEBUG] Bot: Linkes Bett hoch updateCharacteristic On: false
"platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "name": "SwitchBot", "credentials": { "token", "secret": "", "notice": "Keep your token a secret!" }, "options": { "devices": [ { "deviceId": "C42F040FCCD2", "configDeviceName": "Linkes Bett hoch", "configDeviceType": "Bot", "connectionType": "OpenAPI", "bot": { "mode": "press", "deviceType": "switch", "allowPush": false }, "external": false, "logging": "standard" }, { "deviceId": "C9A1CF72C9FC", "configDeviceName": "Rechts Bett runter", "configDeviceType": "Bot", "connectionType": "OpenAPI", "bot": { "mode": "press", "deviceType": "switch" }, "logging": "none" }, { "deviceId": "CBA415F0A044", "configDeviceName": "Rechtes Bett hoch", "configDeviceType": "Bot", "connectionType": "OpenAPI", "bot": { "mode": "press", "deviceType": "switch" }, "logging": "none" }, { "deviceId": "FEDAC1EDB7BD", "configDeviceName": "Linkes Bett runter", "configDeviceType": "Bot", "connectionType": "OpenAPI", "bot": { "mode": "press", "deviceType": "switch" }, "logging": "none" }, { "deviceId": "D9CB51AD652F", "configDeviceName": "Türöffner", "configDeviceType": "Bot", "connectionType": "OpenAPI", "bot": { "mode": "press", "deviceType": "lock" }, "logging": "none" } ], "irdevices": [ { "deviceId": "02-202201092307-52501973", "configDeviceName": "TV", "configRemoteType": "TV", "connectionType": "OpenAPI", "customize": false, "external": false, "logging": "standard" } ], "logging": "standard" }, "_bridge": { "username": "0E:D4:D2:54:11:C9", "port": 39464 }, "platform": "SwitchBot" },
No response
-
20.17.0
——
1.8.4
v3.8.1
v4.57.1
Raspbian
I am experiencing the same behavior. Curtain 3 is working
version 3.8.0 doesn't work either
Last version that works for me the bot is 3.4.0
Describe the Bug
Update from 3.7.0 to 3.8.1 & 3.8.2-beta, the bots in Homekit doesn‘t works….
To Reproduce
In v3.7.0 all works
Expected Behavior
In v3.7.0 it works
Relevant Log Output
Config for homebridge-switchbot
Screenshots
No response
Device and Model
-
Node.js Version
20.17.0
NPM Version
——
Homebridge Version
1.8.4
Homebridge Switchbot Plugin Version
v3.8.1
Homebridge Config UI X Plugin Version
v4.57.1
Operating System
Raspbian