Git Product home page Git Product logo

Comments (6)

nplan avatar nplan commented on July 19, 2024 3

Added this feature in v2.0.2. It works slightly differently than what @gon0 suggested to be compatible with Home Assistant. There is now a separate topic and a separate trigger entity for single, double, triple and quadruple press. The payload is still "PRESS" in all cases. The LEDs flash the number of presses. Hold functionality is not implemented since it's used for controlling other features of Home Buttons.

from homebuttons.

nplan avatar nplan commented on July 19, 2024

No, not at the moment. It's on the list of future improvements.

from homebuttons.

gon0 avatar gon0 commented on July 19, 2024

I received two homebuttons and I am willing to get more in the future. Great product!
Iwould like to add as feature requests:

  • SINGLE, DOUBLE, TRIPLE, QUAD, PENTA instead of "PRESS" (like tasmota )
  • HOLD and RELEASE (see tasmota)
  • LED Feedback should confirm the detected Press-Mode via flashes

from homebuttons.

MatthiasLohr avatar MatthiasLohr commented on July 19, 2024

The LEDs flash the number of presses

Can't confirm that.

Single: LED just on
Double: LED just on
Triple: LED on - off - on
Quadruple: LED on - off - on - off - on

Firmware v2.0.3

from homebuttons.

nplan avatar nplan commented on July 19, 2024

In sleep mode the last blink always holds until device goes back to sleep. In awake mode all blinks are the same length.

Is it actually registering the correct number of presses and just blinking wrong?

You might be clicking too quickly. See issue #26.

from homebuttons.

MatthiasLohr avatar MatthiasLohr commented on July 19, 2024

You might be clicking too quickly. See issue #26.

Oh, yes! Giving it a bit more time and it works.

from homebuttons.

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.