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

momentary function (id 20) behaves like a roller blind switch #4057

Open
3 tasks done
xav31190 opened this issue Dec 10, 2024 · 7 comments
Open
3 tasks done

momentary function (id 20) behaves like a roller blind switch #4057

xav31190 opened this issue Dec 10, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@xav31190
Copy link

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Docker

Z-Wave JS UI version

9.27.8

ZwaveJS version

14.3.7

Describe the bug

a double momentary switch is connected to a fibaro FGD212 - Dimmer 2. button 2 is used with a scene (normal press), to turn on another light. When I press the button, the light turns on then off. In the logs 2 actions are executed at the same time as if I pressed the button twice.
it seems to behave like a bistable while id 20 is configured in "momentary"
This behavior is observed on 3 fibaro modules that use scenes.
I restore my VM with version 9.25 of zwave JS UI, everything works normally, one press of the button turns on the lamp, another turns it off

To Reproduce

I restore my VM to the previous version, I no longer have the problem. I redo the update to 9.27.8, the problem returns

Expected behavior

when i press the button the light turns on but should not turn off. The scene action should run once but not 2

Additional context

No response

@xav31190 xav31190 added the bug Something isn't working label Dec 10, 2024
@robertsLando
Copy link
Member

Please make a driver log, loglevel debug and attach it here as a file (drag & drop into the text field).

cc @AlCalzone

@AlCalzone
Copy link
Member

AlCalzone commented Dec 11, 2024

I don't see how the physical behavior of the end device would depend on the version of Z-Wave JS, but let's see that log. I'm also not sure what you mean by "scene".

@xav31190
Copy link
Author

xav31190 commented Dec 11, 2024

zwave-js-ui: 9.25.0

zwave-js: 13.10.1

1/12/2024 21:47:31 - value updated Arg 0: └─commandClassName: Multilevel Switch └─commandClass: 38 └─property: currentValue └─endpoint: 2 └─newValue: 63 └─prevValue: 63 └─propertyName: currentValue 11/12/2024 21:47:31 - value updated Arg 0: └─commandClassName: Multilevel Switch └─commandClass: 38 └─property: currentValue └─endpoint: 2 └─newValue: 63 └─prevValue: 0 └─propertyName: currentValue 11/12/2024 21:47:31 - value notification Arg 0: └─_commandClassName: Scene Activation_ └─commandClass: 43 └─property: sceneId └─endpoint: 0 └─_value: 26_ └─propertyName: sceneId └─newValue: 26 └─stateless: true 11/12/2024 21:47:31 - value updated Arg 0: └─commandClassName: Scene Activation └─commandClass: 43 └─property: dimmingDuration └─endpoint: 0 └─newValue └──value: 0 └──unit: seconds └─prevValue └──value: 0 └──unit: seconds └─propertyName: dimmingDuration

I press switch 2, scene id=26, the light turns on. It's ok
I do the zwave-js update

zwave-js-ui: 9.28.0

zwave-js: 14.3.7

11/12/2024 22:01:11 - value updated Arg 0: └─commandClassName: Multilevel Switch └─commandClass: 38 └─property: currentValue └─endpoint: 2 └─newValue: 63 └─prevValue: 0 └─propertyName: currentValue 11/12/2024 22:01:10 - value updated Arg 0: └─commandClassName: Scene Activation └─commandClass: 43 └─property: dimmingDuration └─endpoint: 0 └─newValue └──value: 0 └──unit: seconds └─prevValue └──value: 0 └──unit: seconds └─propertyName: dimmingDuration └─nodeId: 37 11/12/2024 22:01:10 - value notification Arg 0: └─commandClassName: Scene Activation └─commandClass: 43 └─property: sceneId └─endpoint: 0 └─value: 26 └─propertyName: sceneId └─newValue: 26 └─stateless: true └─nodeId: 37 11/12/2024 21:59:37 - ready
I press switch 2, scene id=26, the light comes on then goes off. It's nok

I restore my VM to the old zwave version

zwave-js-ui: 9.25.0

zwave-js: 13.10.1

I press switch 2, scene id=26, the light turns on. It's ok

@xav31190
Copy link
Author

debug13_10_1.txt
debug14_3_7.txt
debug FGD212 Dimmer2

@AlCalzone
Copy link
Member

Those are not driver logs. Please check the link @robertsLando posted before.

@robertsLando
Copy link
Member

This --> driver log,

@xav31190
Copy link
Author

sorry
zwave-js-ui-store.zip

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