Git Product home page Git Product logo

Comments (4)

itavero avatar itavero commented on June 5, 2024

What's not working currently in HomeKit?

All Action values are exposed.
Combining them into a single button will not change the behavior or the events that get triggered.

from homebridge-z2m.

noworthwhile avatar noworthwhile commented on June 5, 2024

Five buttons are exposed to HomeKit:

A single press is mapped to button one in HomeKit, then a second single press is mapped to button two. then it goes back to button one, and then two and so on.

Long pressing is mapped to button 4, and then another long press is mapped to button 5. Releasing the long press from either of the two long presses is mapped to button 3.

Mapping the button to turning on and off a connected light with a single short press is not working, as the switch will use either button 1 or 2, depending what was pressed before.

Example:

  1. Turn on light with switch => switch pressed button 1 in HomeKit, light turns on.
  2. Turn off light via app/voice => switch is still in button 1 state
  3. Press light switch again => button 2 is pressed in HomeKit ie: turn OFF the lights but they already are off, so the button press is useless.
  4. Press light switch again => button 1 is pressed in HomeKit, light is turned on.

Is it possible to configure the switch to be only: button 1 : Toggle(ON/OFF), button 2 : Long press?

Thank you for your answer.

from homebridge-z2m.

itavero avatar itavero commented on June 5, 2024

For such customization, I would suggest to see if you can handle this particular device with a plugin like homebridge-mqttthing.

from homebridge-z2m.

stale avatar stale commented on June 5, 2024

It appears that this issue did not have an update in quite some time. Please check if you can provide any additional information to help resolve this issue. If there isn't any activity in the next two weeks, this issue will be closed automatically. Thank you for your contributions!

from homebridge-z2m.

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.