-
-
Notifications
You must be signed in to change notification settings - Fork 55
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: Double Press #124
Comments
I have add this option into the latest beta if you can give it a try. Currently it is for all push changes where it will push the change twice. |
I have release v1.7.0 with this included. |
Oh, thanks ! I didn’t make tests yet, but I guess that I have to put “2” into the “do you want to simulate a double press ?” ? If I want to be able to alternate between single and double, the better is to create a switch with single press, and one with double press, right ? and 3rd question, is it possible to set the time between the 2 press ? thanks again for your consideration and your work ! |
That is correct.
I want to be able to alternate between the two but wasn't able to the right code needed, I can keep trying.
This also was an issue that I was having. Let me keep trying. |
👍
It will be awesome to have 2 switches, to be able to make scenes with single, and other scenes with double.
👍 Whatever you succeed to do, thanks A LOT for your effort, your replies and your work 👍 |
I use the v1.14.1 and the double press still doesn't work |
I have an Optoma projector which requires a double press of the off button to turn it off. I don't see where I can add this in the config file or the plugin configuration? Also I'd be very happy if you can have separate switches for on/off. |
Can you try the latest beta: |
Yea, #628 should will accomplish this but you should really have a wrapper Accessory that uses a cURL to call Switchbot-Homebridge. The wrapper can maintain the power state of the accessory and, if it’s on, automatically instruct the bots to press twice times and once when off. This is similar to my use case (a thermostat). Then you can hide the Switchbot switches in the Home/within Homebridge app. Alternatively, one could develop and add additional functionality onto of this repo that updates that allows for multiple presses in some instances (for example lights), this way you could do a double press when turning lights off. (This is probably the easiest and best path and most worth implementing.) One problem you may have is it not being able to double press fast enough because you have to wait for the refresh interval which may be too long for the projector to instruct it to turn off. How quickly does the bot need to double press? |
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. |
This issue has been closed as no further activity has occurred. |
Problem
Double press option
Solution
It's not particularly a problem, but I have a device that need 1 press to power on, but 2 presses to power off (Xiaomi projector).
It would be nice if, for the same SwitchBot, we could have 2 switches : 1st one for single press and 2nd one for double press.
It's the only thing missing for my HomeKit scene to be perfect :)
Thanks a lot !
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: