OpenWonderLabs / homebridge-switchbot

The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit. Homebridge.
https://www.switch-bot.com/
ISC License
229 stars 47 forks source link

Bug: Bot Accessory State #950

Closed danglez83 closed 3 months ago

danglez83 commented 3 months ago

Describe the Bug

I have a bot set to press mode, but when I turn on the accessory via HomeKit, the accessory stays in the ON state as opposed to resetting back to OFF. Also does the accessory state changing to on confirm that the bot press was triggered or just that the request has been made?

To Reproduce

Trigger a press mode Bot on in HomeKit The accessory will toggle to ON and never back to OFF

Expected Behavior

I would expect the accessory to stay on briefly and then toggle back to off.

Relevant Log Output

[3/10/2024, 2:58:38 PM] [SwitchBot] Bot: Sauna Switch Set On: true
[3/10/2024, 2:58:58 PM] [SwitchBot] Bot: Sauna Switch Set On: false - **this was manual interaction**

Config for homebridge-switchbot

{
    "name": "SwitchBot",
    "credentials": {
        "token": "foo",
        "secret": "bar",
        "notice": "Keep your Token & Secret a secret!"
    },
    "platform": "SwitchBot"
}

Screenshots

No response

Device and Model

SwitchBot Bot v6.6

Node.js Version

v18.19.0

NPM Version

v10.2.3

Homebridge Version

v1.7.0

Homebridge Switchbot Plugin Version

v3.4.0

Homebridge Config UI X Plugin Version

No response

Operating System

Raspbian GNU/Linux Bullseye (11)

github-actions[bot] commented 3 months 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.

github-actions[bot] commented 3 months ago

This issue has been closed as no further activity has occurred.