GithubHelp home page GithubHelp logo

Comments (4)

jer avatar jer commented on August 19, 2024 1

Ouch that's annoying. So what about changing the values here: https://github.com/SmartThingsCommunity/SmartThingsPublic/blob/master/devicetypes/smartthings/aeon-minimote.src/aeon-minimote.groovy#L70

to read something like "held $button" and "pushed $button"

That should end up making it more consistent with your ZWN-SC7, and it gives you an opportunity to parse the information in Home Assistant.

The alternative would be to send over the entire jsonData with each event, and it's unclear how to actually do that without wrapping the whole event in a data structure that needs to be parsed every time on the HA side.

from smartthings-mqtt-bridge.

aderusha avatar aderusha commented on August 19, 2024 1

Closing because the proposed workaround works.

from smartthings-mqtt-bridge.

aderusha avatar aderusha commented on August 19, 2024

That sure is annoying! It's not something that impacts me directly but I ran across it after a user of an ST SmartApp I wrote pointed it out as an issue with my own project.

Changing the Minimote code should in fact address the issue directly, but it's also an annoying fix as the code is a first-party ST driver which can create challenges merging updates to the codebase later. The overall problem is that there doesn't appear to be a well-defined standard for reporting both "press"/"hold" actions while also reporting the specific button being pressed.

I honestly don't know what I'm expecting here, other than surfacing the issue for you fellas to think about and maybe if you come up with an elegant solution I can steal it for my own app 😀

from smartthings-mqtt-bridge.

mike1237 avatar mike1237 commented on August 19, 2024

I'm reopening this as Issue #120 since this issue occurs for other button controllers, not just the Aeon Minimote.
Using a GoControl WA00Z-1 Z-Wave Wireless Light Switch with two buttons, each button push event results in the same MQTT message, making it impossible to discern which button was pushed.

The fact that this item was closed "because the proposed workaround works" only applies to the Aeon Minimiote, while this issue affects all button devices. (Since the workaround was a modified Aeon Minimote device handler, this should really be addressed at the bridge level, to cover all devices.)

from smartthings-mqtt-bridge.

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.