OpenWonderLabs / homebridge-switchbot

The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit. Homebridge.
https://openwonderlabs.github.io/homebridge-switchbot/
ISC License
244 stars 54 forks source link

Support Request: Keep getting "Bot: Basement Heater botDeviceType: undefined, On: false" Error everytime it repolls the device #1020

Closed pmoney303 closed 3 weeks ago

pmoney303 commented 3 months ago

Describe Your Problem

Keep getting "Bot: Basement Heater botDeviceType: undefined, On: false" Error everytime it repolls the device

Relevant log output

[8/3/2024, 1:27:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:29:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:31:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:33:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:35:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:37:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:39:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:41:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:43:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:45:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:47:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:49:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:51:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:53:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:55:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:57:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 1:59:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:01:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:03:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:05:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:07:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:09:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:11:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:13:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:15:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:17:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:19:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:21:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:23:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:25:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:27:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:29:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:31:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:33:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:35:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:37:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:39:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:41:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:43:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:45:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:47:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:49:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:51:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:53:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:55:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:57:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 2:59:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:01:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:03:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:05:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:07:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:09:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:11:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:13:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:15:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:17:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:19:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:21:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:23:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:25:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:27:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:29:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:31:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:33:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:35:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:37:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:39:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:41:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:43:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:45:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:47:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:49:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:51:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:53:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:55:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:57:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 3:59:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:01:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:03:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:05:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:07:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:09:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:11:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:13:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:15:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:17:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:19:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:21:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:23:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:25:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:27:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:29:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:31:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:33:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:35:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:37:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:39:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:41:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:43:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:45:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:47:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:49:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:51:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:53:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:55:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:57:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 4:59:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:01:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:03:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:05:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:07:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:09:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:11:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:13:57 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:14:15 PM] [SwitchBot] Restarting child bridge...
[8/3/2024, 5:14:15 PM] Got SIGTERM, shutting down child bridge process...
[8/3/2024, 5:14:20 PM] [SwitchBot] Child bridge process ended
[8/3/2024, 5:14:20 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[8/3/2024, 5:14:27 PM] [SwitchBot] Restarting Process...
[8/3/2024, 5:14:28 PM] [SwitchBot] Launched child bridge with PID 487142
[8/3/2024, 5:14:33 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[8/3/2024, 5:14:33 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.7.1-beta.10 child bridge successfully
[8/3/2024, 5:14:33 PM] Loaded 4 cached accessories from cachedAccessories.0EFC8373C44D.
[8/3/2024, 5:14:34 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 40975.
[8/3/2024, 5:14:34 PM] 

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

[8/3/2024, 5:14:34 PM] [SwitchBot] Restoring existing accessory from cache: Curtains deviceId: C709127261D0
[8/3/2024, 5:14:34 PM] [SwitchBot] Restoring existing accessory from cache: Motion Sensor 53 deviceId: CE28F4E14553
[8/3/2024, 5:14:35 PM] [SwitchBot] Restoring existing accessory from cache: Basement Heater deviceId: E2464870D7BE
[8/3/2024, 5:14:35 PM] [SwitchBot] Bot: Basement Heater Device Type not set
[8/3/2024, 5:14:35 PM] [SwitchBot] Restoring existing accessory from cache: Curtain Bedroom deviceId: F75D1E44E796
[8/3/2024, 5:14:40 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:16:40 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:18:40 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:20:40 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:21:30 PM] [SwitchBot] Restarting child bridge...
[8/3/2024, 5:21:30 PM] Got SIGTERM, shutting down child bridge process...
[8/3/2024, 5:21:35 PM] [SwitchBot] Child bridge process ended
[8/3/2024, 5:21:35 PM] [SwitchBot] Process Ended. Code: 143, Signal: null
[8/3/2024, 5:21:42 PM] [SwitchBot] Restarting Process...
[8/3/2024, 5:21:43 PM] [SwitchBot] Launched child bridge with PID 487705
[8/3/2024, 5:21:47 PM] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[8/3/2024, 5:21:47 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.7.1-beta.10 child bridge successfully
[8/3/2024, 5:21:47 PM] Loaded 4 cached accessories from cachedAccessories.0EFC8373C44D.
[8/3/2024, 5:21:47 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 40975.
[8/3/2024, 5:21:47 PM] 

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

[8/3/2024, 5:21:48 PM] [SwitchBot] Restoring existing accessory from cache: Curtains deviceId: C709127261D0
[8/3/2024, 5:21:48 PM] [SwitchBot] Restoring existing accessory from cache: Motion Sensor 53 deviceId: CE28F4E14553
[8/3/2024, 5:21:48 PM] [SwitchBot] Restoring existing accessory from cache: Basement Heater deviceId: E2464870D7BE
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Device Config Logging: debug
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Platform Config refreshRate: 120, Default updateRate: 5, Platform Config pushRate: 0.1
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Default Max Retries: 5, Default Delay Between Retries: 3000
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Model: SwitchBot S1, BLE Model: H, BLE Model Name: WoHand, BLE Model Friendly Name: undefined
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Default scanDuration: 5
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Default MQTT URL: , Default mqttOptions: {}, Default mqttPubOptions: {}
[8/3/2024, 5:21:48 PM] [SwitchBot] Bot: Basement Heater Device Type not set
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Retrieve initial values and update Homekit
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BLERefreshStatus
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Registering Webhook Event Handler
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater is not listening webhook.
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Registering Platform BLE Event Handler
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater registerPlatformBLE
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Config: {"logging":"debug","connectionType":"BLE/OpenAPI","mode":"only_up"}
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater No Device Type Set, deviceType: undefined, Using default deviceType: undefined
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Firmware Version: 3.7.1
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater is not listening to Platform BLE
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater version: 3.7.1
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Bot Mode: switch, from Accessory Cache.
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Double Press: 1, from Accessory Cache.
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Using Push Rate Press: 15, from Accessory Cache.
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater No Allow Push Set, Using default Allow Push: false
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BLE Address: e2:46:48:70:d7:be
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Multi Press Count: 0
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Scanning for WoHand devices...
[8/3/2024, 5:21:48 PM] [SwitchBot] Restoring existing accessory from cache: Curtain Bedroom deviceId: F75D1E44E796
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -33,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -38,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -47,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -45,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -45,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -45,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -33,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -38,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
  "id": "e2464870d7be",
  "address": "e2:46:48:70:d7:be",
  "rssi": -47,
  "serviceData": {
    "model": "H",
    "modelName": "WoHand",
    "modelFriendlyName": "Bot",
    "mode": false,
    "state": true,
    "battery": 100
  }
}
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BLEparseStatus
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater (power, battery, deviceMode) = BLE:(true, 100, false), current:(false, 100, switch)
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Press Mode, On: false
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BatteryLevel: 100
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater StatusLowBattery: 0
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater updateHomeKitCharacteristics
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater updateCharacteristic BatteryLevel: 100
[8/3/2024, 5:21:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater updateCharacteristic StatusLowBattery: 0
[8/3/2024, 5:21:53 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false
[8/3/2024, 5:23:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BLERefreshStatus
[8/3/2024, 5:23:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BLE Address: e2:46:48:70:d7:be
[8/3/2024, 5:23:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Scanning for WoHand devices...
[8/3/2024, 5:23:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
[8/3/2024, 5:23:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:23:48 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:23:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
[8/3/2024, 5:23:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:23:49 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:23:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
[8/3/2024, 5:23:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:23:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:23:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
[8/3/2024, 5:23:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:23:51 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:23:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
[8/3/2024, 5:23:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:23:52 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater {
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater address: e2:46:48:70:d7:be, model: H
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater serviceData: {"model":"H","modelName":"WoHand","modelFriendlyName":"Bot","mode":false,"state":true,"battery":100}
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BLEparseStatus
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater (power, battery, deviceMode) = BLE:(true, 100, false), current:(false, 100, switch)
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater Press Mode, On: false
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater BatteryLevel: 100
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater StatusLowBattery: 0
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater updateHomeKitCharacteristics
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater updateCharacteristic BatteryLevel: 100
[8/3/2024, 5:23:53 PM] [SwitchBot] [DEBUG] Bot: Basement Heater updateCharacteristic StatusLowBattery: 0
[8/3/2024, 5:23:53 PM] [SwitchBot] Bot: Basement Heater botDeviceType: undefined, On: false

Config for homebridge-switchbot

{
    "name": "SwitchBot",
    "credentials": {
        "token": "88096f94db88cce4f5fa18d640ba27b41ae553eb81ab21b09180207a0f6b9ba7cdacd45c47d9bfadf58c79a865c1bf12",
        "secret": "7b84732da09c9d7578d7a35aa44b8970",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "deviceId": "E2464870D7BE",
                "configDeviceName": "Basement Heater",
                "configDeviceType": "Bot",
                "connectionType": "BLE/OpenAPI",
                "logging": "debug"
            },
            {
                "deviceId": "F75D1E44E796",
                "configDeviceName": "Curtain Bedroom",
                "configDeviceType": "Curtain",
                "connectionType": "OpenAPI"
            },
            {
                "deviceId": "C709127261D0",
                "configDeviceName": "Curtains",
                "configDeviceType": "Curtain",
                "connectionType": "OpenAPI"
            }
        ],
        "logging": "standard"
    },
    "_bridge": {
        "username": "0E:FC:83:73:C4:4D",
        "port": 40975
    },
    "platform": "SwitchBot"
}

Screenshots

No response

Device & Model

Switchbot Bot

Node.js Version

v20.16.0

NPM Version

v7.22.0

Homebridge Version

v1.8.4

Homebridge SwitchBot Plugin Version

v3.7.1-beta.10

Homebridge Config UI X Plugin Version

v4.41.2

Operating System

Debian GNU/Linux Bookworm (12)

donavanbecker commented 1 month ago

Can you try the latest beta:

npm version

Click here to find out how to install Beta

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

donavanbecker commented 3 weeks ago

Closing all issues now that v4.0.0 is out. If you are still having an issue after trying v4.0.0, please open a new issue. Keep in mind v4.0.0 has some breaking changes with the config. You will need to re set your config up, however there are some nice added bonuses since you can set settings at a deviceType level or individual level.