zwave-js / zwave-js-ui

Full featured Z-Wave Control Panel UI and MQTT gateway. Built using Nodejs, and Vue/Vuetify
https://zwave-js.github.io/zwave-js-ui
MIT License
987 stars 201 forks source link

[Bug]: MR40Z missing action capability #2740

Closed jpoeppelman1 closed 2 years ago

jpoeppelman1 commented 2 years ago

Checklist

Deploy method

Docker

Z-Wave JS UI version

latest

ZwaveJS version

latest

Describe the bug

MR40Z button scene controller will not send the button push event to MQTT. We have no way to trigger an automation in Home Assistant.

Here is the device:

https://www.amazon.com/dp/B09BQKD5FQ?psc=1&ref=ppx_yo2ov_dt_b_product_details

To Reproduce

easy to produce, no action events..

Expected behavior

should send the button push events

Additional context

none

robertsLando commented 2 years ago

should send the button push events

Do you see this events in node events tab? Did you check under basic cc? Do you have mqtt explorer?

jpoeppelman1 commented 2 years ago

The events are not coming through. I use Node Red and there is no entity I can listen to when triggering an automation. All other scene controllers work fine. Check out the screen shot below. There should be a button action entity registered in HA.

image

robertsLando commented 2 years ago

The events are not coming through. I use Node Red and there is no entity I can listen to when triggering an automation. All other scene controllers work fine. Check out the screen shot below. There should be a button action entity registered in HA.

I mean in zwave-js-ui, click on a node, expand it, go to events tab and see if the event is shown on that list.

If it is there I suggest to use mqtt explorer to detect the topic where that event is published. On the HA side I cannot help so much as I don't use HA

kpine commented 2 years ago

It certainly sounds like you're using HA and the Z-Wave integration, based on the screen shot, not MQTT. In that case you should be consulting the integration docs. Scene controllers send events, they are not entities.

jpoeppelman1 commented 2 years ago

You are correct, the events are coming through but HA is not creating an entity for the button action. I will report this to HA team. Thank you! BTW, great job with this zwave software!

kpine commented 2 years ago

There are no entities created for the button action, it is not a bug. Use the events.

jpoeppelman1 commented 2 years ago

In other scene controllers, there is an entity created in HA that stores the last button action. Tuya devices are a good example of this.

image

kpine commented 2 years ago

They are different integrations. The Z-Wave integration does not create entities. Use the events as indicated in the docs.

jpoeppelman1 commented 2 years ago

Okay, thanks for all the help. Apologies for the confusion. You may close the issue.

kpine commented 2 years ago

You're free to submit an issue to HA as you choose, but just letting you know it probably won't go anywhere. The events are by design. It is a nuisance that integrations approach this in different ways. IMO Tuya has it wrong.