Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event parameter for stateful notifications not exposed #7095

Open
MickaelColombieSnC opened this issue Aug 8, 2024 · 7 comments
Open

Event parameter for stateful notifications not exposed #7095

MickaelColombieSnC opened this issue Aug 8, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@MickaelColombieSnC
Copy link
Contributor

Hello,

Is there any way to add a display for the value of an event parameter in the zwave js ui ?
image

I'd like to add kind a 113-0-Event parameter in the notification command class.

I receive this from my device :
image

In this example, I would like the Event parameter: 30 37 30 45 to be displayed.

Is this something that could work thanks to adding a compat, or is it completely different ?
If what I'm asking could be possible, I would be grateful for links to documentation.
Thanks in advance for the help, I've been struggling for a while trying to understand how those notifications works.

@robertsLando
Copy link
Member

@MickaelColombieSnC You should be able to see those informations from events tab

@MickaelColombieSnC
Copy link
Contributor Author

@robertsLando
image
I cannot see them in the events tab, in fact I can't either see them while subscribing to event Topic :
image

@robertsLando
Copy link
Member

ok so the problem is that the event does not come at all from the driver so please make a driver log, loglevel debug and attach it here as a file (drag & drop into the text field).

@robertsLando
Copy link
Member

cc @AlCalzone

@AlCalzone
Copy link
Member

I'm relatively certain that the info is exposed to Z-Wave JS UI, but maybe not in a format that it expects. Will try to debug when I'm back to work next week.

@MickaelColombieSnC
Copy link
Contributor Author

zwave-js-ui-store (1).zip

And here the sniff of this Notification report received with the event parameter, that is still not displayed in the UI, nor MQTT
IMG_3240

@AlCalzone
Copy link
Member

I see what's happening. The received notification is considered stateful and for those, the notification event which would include the event parameters does not get emitted.

@AlCalzone AlCalzone transferred this issue from zwave-js/zwave-js-ui Aug 12, 2024
@AlCalzone AlCalzone added the bug Something isn't working label Aug 12, 2024
@AlCalzone AlCalzone changed the title Displaying event parameter in the UI Event parameter for stateful notifications not exposed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants