Git Product home page Git Product logo

Comments (6)

benjaminbogdanovic avatar benjaminbogdanovic commented on May 11, 2024 6

Maybe we can support press mode in this way, click ON but no state switching occurs.

Could we have this feature?

from homebridge-switchbot.

jerzytraczynski avatar jerzytraczynski commented on May 11, 2024 4

I think best option is to implement time duration after which the HomeKit switch will turn itself off, such as 5 seconds without sending any commands to SwitchBot. This way I can, or an automation can, always switch ON something. There is no situation when automation doesn't happen because HomeKit thinks the switch is in the wanted position.

from homebridge-switchbot.

SwitchBot-Wonderlabs avatar SwitchBot-Wonderlabs commented on May 11, 2024

There is no suitable service in homekit to support press mode.
Myabe we can support press mode in this way, click ON but no state switching occurs.

from homebridge-switchbot.

SwitchBot-Wonderlabs avatar SwitchBot-Wonderlabs commented on May 11, 2024

Any chance we can see support for Press Mode, so that the HomeKit switch automatically turns off again.

The current plug-in supports Press mode.
Even if the Bot is in Press mode, ON/OFF will trigger press, because the Bot's firmware handles this.
You can distinguish Bots of different modes by their names.

from homebridge-switchbot.

github-actions avatar github-actions commented on May 11, 2024

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.

jakubprogramming avatar jakubprogramming commented on May 11, 2024

The current implementation makes it impossible to include switches that use press mode to any automation or scene.
It would be great if the switches would always turn themselves back "off" after a predefined time.

Is there any known workaround?

UPDATE:
I found a workaround. Simply use the Homebridge-Delay-Switch to automatically turn of your switchbot switches after a timeout (default 5 seconds):

You will have to use homekit automations to make it possible, but it works quite well!
Only disadvantage: Each Switch will be pressed twice. For many use cases this should not be an issue though.

from homebridge-switchbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.