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

Feature Request: Save State of Switchbot Bot #882

Closed
McDin opened this issue Dec 14, 2023 · 6 comments
Closed

Feature Request: Save State of Switchbot Bot #882

McDin opened this issue Dec 14, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request stale

Comments

@McDin
Copy link

McDin commented Dec 14, 2023

Problem

Is there an option that the Bot stays on in HomeKit after setting it to on? After pressing the button the Bot turns on in HomeKit but after it it returns to off. It would be nice if it stays on until I set it to off and the state is saved.

Solution

An option for save state

Alternatives

No response

Additional context

No response

@donavanbecker
Copy link
Collaborator

@McDin what is your config?

@McDin
Copy link
Author

McDin commented Dec 14, 2023

{
"name": "SwitchBot",
"credentials": {
"token": "...",
"secret": "....",
"notice": "Keep your Token & Secret a secret!"
},
"options": {
"devices": [
{
"deviceId": "DE9D85E3BC3A",
"configDeviceName": "Haustür",
"configDeviceType": "Bot",
"connectionType": "OpenAPI",
"bot": {
"mode": "press",
"deviceType": "door"
},
"lock": {
"activate_latchbutton": false
}
},
{
"deviceId": "DDEED064F0C9",
"configDeviceName": "Server",
"configDeviceType": "Bot",
"connectionType": "OpenAPI",
"bot": {
"mode": "press",
"deviceType": "outlet"
},
"lock": {
"activate_latchbutton": false
}
}
]
},
"_bridge": {
"username": "0E:96:E3:54:92:3F",
"port": 58493
},
"platform": "SwitchBot"
}

Copy link
Contributor

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 github-actions bot added the stale label Dec 30, 2023
@donavanbecker
Copy link
Collaborator

When you have a SwitchBot set to switch, it will always go right to off. If you are wanting it to keep its state then you need to switch it to switch instead of press

@github-actions github-actions bot removed the stale label Dec 31, 2023
Copy link
Contributor

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 github-actions bot added the stale label Jan 15, 2024
Copy link
Contributor

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

6 participants