homebridge-switchbot: Bug: SwitchBots Not Triggering in Home App

Describe The Bug

I installed the Plug-In, Verified my Token, Verified My Accessories in Homebridge as well as in the Home app. They aren’t triggering via the Home App. But still work via the SwitchBot app. Verified Cloud Services are active in app and devices are connected. Rebooted hub mini, same results - not triggering.

To Reproduce

Install SwitchBot Plugin, Configure Token, Try to execute SwitchBots in Home app - failes.

Expected behavior

Should trigger SwitchBots in Home app.

Relevant log output

[30/12/2021, 09:20:43] Homebridge v1.3.9 (HAP v0.9.8) (Homebridge XXXX) is running on port 51875.
[30/12/2021, 09:20:43] [SwitchBot] Total SwitchBot Devices Found: 4
[30/12/2021, 09:20:43] [SwitchBot] Restoring existing accessory from cache: Exhaust Fan DeviceID: XXX
[30/12/2021, 09:20:43] [SwitchBot] Restoring existing accessory from cache: Carport DeviceID: XXX
[30/12/2021, 09:20:43] [SwitchBot] Restoring existing accessory from cache: Bathroom Meter DeviceID: XXX
[30/12/2021, 09:20:43] [SwitchBot] Total IR Devices Found: 0
[30/12/2021, 09:20:43] [SwitchBot] Bot: Exhaust Fan Displaying as Outlet
[30/12/2021, 09:20:43] [SwitchBot] Bot: Carport Displaying as Outlet
[30/12/2021, 09:22:22] [SwitchBot] Bot: Exhaust Fan failed pushChanges with OpenAPI Connection
[30/12/2021, 12:38:00] [SwitchBot] Bot: Exhaust Fan failed pushChanges with OpenAPI Connection
[30/12/2021, 13:44:13] [Homebridge UI] [@switchbot/homebridge-switchbot] Terminating child process...
[30/12/2021, 13:44:13] [Homebridge UI] [@switchbot/homebridge-switchbot] Terminating child process...
[30/12/2021, 13:44:13] [Homebridge UI] [@switchbot/homebridge-switchbot] Terminating child process...
[30/12/2021, 13:44:13] [Homebridge UI] [@switchbot/homebridge-switchbot] Child process ended
[30/12/2021, 13:44:13] [Homebridge UI] [@switchbot/homebridge-switchbot] Child process ended
[30/12/2021, 13:44:13] [Homebridge UI] [@switchbot/homebridge-switchbot] Child process ended

Config for homebridge-switchbot

{
    "name": "SwitchBot",
    "credentials": {
        "openToken": "XXXXX",
        "notice": "Keep your token a secret!"
    },
    "platform": "SwitchBot"
}

Screenshots

No response

Device & Model

Raspberry Pi 400 & SwitchBots (v4.9) & Temp/Humidity Meter (v2.6)

Node.js Version

v16.13.1

NPM Version

v8.3.0

Homebridge Version

v1.3.9

Homebridge Switchbot Plugin Version

switchbot/homebridge-switchbot v1.5.0

Homebridge Config UI X Plugin Version

homebridge-config-ui-x v4.41.5

Operating System

Raspbian

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 24

Most upvoted comments

Yes. It is. Lightning fast too! @donavanbecker

@donavanbecker Success!! Thank you!

[31/12/2021, 21:18:00] [SwitchBot] Bot: Carport Sending request to SwitchBot API. command: turnOff, parameter: default, commandType: command [31/12/2021, 21:18:16] [SwitchBot] Bot: Carport Sending request to SwitchBot API. command: turnOn, parameter: default, commandType: command