Skip to content
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

Bug: Swichbot Bot doesn't work #1062

Open
Gandalf8266 opened this issue Sep 27, 2024 · 0 comments
Open

Bug: Swichbot Bot doesn't work #1062

Gandalf8266 opened this issue Sep 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working pinned

Comments

@Gandalf8266
Copy link

Describe the Bug

The StwitchBot Bot "Kessel aus" doesn't work. In home app, the Swicht seems working, but the Bot doesn't.

To Reproduce

Pushing the Button in Home app, but Bot doesn't work

Expected Behavior

SwitchBot Bot should be activated

Relevant Log Output

[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"EEF89FCE1D2A","deviceType":"Bot","hubDeviceId":"F642F291DEAD","version":"V6.3","power":"on","battery":100,"deviceMode":"pressMode"},"message":"success"}
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus statusCode: 200, deviceStatus: {"statusCode":100,"body":{"deviceId":"EEF89FCE1D2A","deviceType":"Bot","hubDeviceId":"F642F291DEAD","version":"V6.3","power":"on","battery":100,"deviceMode":"pressMode"},"message":"success"}
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus openAPIparseStatus
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus (power, battery, deviceMode) = API:(on, 100, press), current:(false, 100, press)
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus On: false
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus BatteryLevel: 100
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus StatusLowBattery: 0
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus Firmware Version: 6.3
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus version: 6.3
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus updateHomeKitCharacteristics
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus updateCharacteristic BatteryLevel: 100
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus updateCharacteristic StatusLowBattery: 0
[9/27/2024, 3:39:04 PM] [SwitchBot] [DEBUG] Bot: Kessel aus updateCharacteristic On: false
[9/27/2024, 3:39:04 PM] [Meross] [Garage] has been reported [online].
[9/27/2024, 3:39:11 PM] [SwitchBot] [DEBUG] Bot: Kessel aus Set On: true
[9/27/2024, 3:39:11 PM] [SwitchBot] [DEBUG] Bot: Kessel aus openAPIpushChanges
[9/27/2024, 3:39:11 PM] [SwitchBot] [DEBUG] Bot: Kessel aus No Changes (openAPIpushChanges), On: true OnCached: true
[9/27/2024, 3:39:11 PM] [SwitchBot] [DEBUG] Bot: Kessel aus Set On: false
[9/27/2024, 3:39:11 PM] [SwitchBot] [DEBUG] Bot: Kessel aus openAPIpushChanges
[9/27/2024, 3:39:11 PM] [SwitchBot] [DEBUG] Bot: Kessel aus No Changes (openAPIpushChanges), On: false OnCached: false

Config for homebridge-switchbot

{
            "name": "SwitchBot",
            "credentials": {
                "token": "c20f5b102e54fcf100dbe7795bab7ba0cd7273xxxxxxxxxxxxxxxxxxxxxxxx1a8c770dd607",
                "secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "EExxxxxxxxxx",
                        "configDeviceName": "Kessel aus",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch"
                        },
                        "logging": "debug"
                    }
                ],
                "logging": "debug"
            },
            "platform": "SwitchBot"
        },

Screenshots

No response

Device and Model

SwitchBot Bot

Node.js Version

v20.17.0

NPM Version

V10.8.3

Homebridge Version

v1.8.4

Homebridge Switchbot Plugin Version

v3.8.2

Homebridge Config UI X Plugin Version

v4.59.0

Operating System

Docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned
Projects
None yet
Development

No branches or pull requests

6 participants