Comments (12)
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.
from homebridge-switchbot.
I have release v1.7.0 with this included.
from homebridge-switchbot.
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 !
from homebridge-switchbot.
but I guess that I have to put “2” into the “do you want to simulate a double press ?” ?
That is correct.
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 ?
I want to be able to alternate between the two but wasn't able to the right code needed, I can keep trying.
and 3rd question, is it possible to set the time between the 2 press ?
This also was an issue that I was having. Let me keep trying.
from homebridge-switchbot.
but I guess that I have to put “2” into the “do you want to simulate a double press ?” ?
That is correct.
👍
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 ?
I want to be able to alternate between the two but wasn't able to the right code needed, I can keep trying.
It will be awesome to have 2 switches, to be able to make scenes with single, and other scenes with double.
and 3rd question, is it possible to set the time between the 2 press ?
This also was an issue that I was having. Let me keep trying.
👍
Whatever you succeed to do, thanks A LOT for your effort, your replies and your work 👍
from homebridge-switchbot.
I use the v1.14.1 and the double press still doesn't work
from homebridge-switchbot.
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.
from homebridge-switchbot.
Can you try the latest beta:
Click here to find out how to install Beta
from homebridge-switchbot.
@alvst has implemented this in a different way with #628
from homebridge-switchbot.
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?
from homebridge-switchbot.
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.
from homebridge-switchbot.
This issue has been closed as no further activity has occurred.
from homebridge-switchbot.
Related Issues (20)
- Support Request: Errors and Warning for Switchbot Curtain, not sure where to configure these values HOT 2
- Bug: Unknown statusCode: undefined - Re-opening HOT 2
- Feature Request: Specify a range of temperature settings for the air conditioner HOT 5
- Wiki updates HOT 1
- Bug: Missing all device with 3.1.1 HOT 6
- v3.1.2 leads to endless restart of child bridge. When restarting HomeBridge no plugins are loaded. HOT 4
- Bug: Cannot find package '@abandonware/noble' HOT 2
- Support Request: HOT 13
- Bug: Lock New Status Code Response HOT 4
- Feature Request: Smart Lock Pro HOT 7
- Mini Vacuum K10+ not working HOT 11
- Support Request: IR Devices not showing up HOT 7
- Support Request: HOT 3
- Bug: OpenAPI Unauthorized using valid keys HOT 4
- Support Request: Refresh rate HOT 2
- Support Request: Indoor/Outdoor sensors not showing in HomeKit HOT 4
- Bug: Ceiling Light does not respect changes outside of Homebridge/Homekit HOT 2
- Bug: Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500 HOT 15
- Bug: Homekit open/close/percentage open requests appear to do nothing or have the blinds proceed to incorrect open angles. HOT 2
- Bug:Blind Tilt: Right window Internal Server Error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-switchbot.