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: Multipress Mode doesn‘t work #1116

Open
Kohle81 opened this issue Nov 18, 2024 · 0 comments
Open

Bug: Multipress Mode doesn‘t work #1116

Kohle81 opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Kohle81
Copy link

Kohle81 commented Nov 18, 2024

Describe the Bug

Multipress mode has been activated in the plugin settings. The switch in Homekit is permanently on and even if it is pressed multiple times, the bot is only activated once.

To Reproduce

I only have switched from press mode to multipress mode

Expected Behavior

I want to use multipress mode, to make bot pressing two or three times…

Relevant Log Output

I have saved the log file on this issue:

https://github.com/OpenWonderLabs/homebridge-switchbot/issues/1051

Config for homebridge-switchbot

{
            "name": "SwitchBot",
            "credentials": {
                "token": "7c4974c26d475fd1483b63087c4c3b65ba63fa506f27c4933fa7faf274ffa71a4076ac830fe2afd4b2995df28deb7b8d",
                "secret": "71fc8f8d45c7d1962b1459fb7edeb3b2",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "configDeviceName": "Linkes Bett hoch",
                        "deviceId": "C42F040FCCD2",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "type": "switch",
                        "mode": "press",
                        "external": false,
                        "logging": "standard"
                    },
                    {
                        "configDeviceName": "Rechts Bett runter",
                        "deviceId": "C9A1CF72C9FC",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "type": "switch",
                        "mode": "press",
                        "logging": "standard"
                    },
                    {
                        "configDeviceName": "Rechtes Bett hoch",
                        "deviceId": "CBA415F0A044",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "type": "switch",
                        "mode": "multipress",
                        "allowPush": false,
                        "logging": "standard"
                    },
                    {
                        "configDeviceName": "Linkes Bett runter",
                        "deviceId": "FEDAC1EDB7BD",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "type": "switch",
                        "mode": "press",
                        "logging": "standard"
                    },
                    {
                        "configDeviceName": "Tueroeffner",
                        "deviceId": "D9CB51AD652F",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "type": "switch",
                        "mode": "press",
                        "logging": "standard"
                    }
                ],
                "irdevices": [
                    {
                        "configDeviceName": "TV",
                        "deviceId": "02-202201092307-52501973",
                        "configRemoteType": "TV",
                        "connectionType": "OpenAPI",
                        "customize": false,
                        "external": false,
                        "logging": "standard"
                    }
                ],
                "logging": "debug"
            },
            "_bridge": {
                "username": "0E:D4:D2:54:11:C9",
                "port": 39464
            },
            "platform": "SwitchBot"
        },

Screenshots

No response

Device and Model

Switch Bot Bot

Node.js Version

v20.18.0

NPM Version

v10.8.2

Homebridge Version

v1.8.5

Homebridge Switchbot Plugin Version

v4.1.4

Homebridge Config UI X Plugin Version

v4.62.0

Operating System

Raspbian

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

No branches or pull requests

6 participants