-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
feat: support start stop commands for multilevel switch #40
Conversation
Pull Request Test Coverage Report for Build 394221574
💛 - Coveralls |
Hi, I've tested it but it does not work but it does respond with an error. The request:
I've enabled HASS discovery but that seems not to matter. Thnx! |
|
isNaN(value) | ||
) { | ||
if (/stop/i.test(value)) { | ||
await zwaveNode.commandClasses['Multilevel Switch'].stopLevelChange() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlCalzone here is where I call it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you get any specific error? Lots of things can go wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stopLevelChange failed
that's the error 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ive attached logging to the issue: #30 (comment)
14:31:50.571 DRIVER » [Node 004] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 73
└─[SupervisionCCGet]
│ session id: 10
│ request updates: false
└─[MultilevelSwitchCCStopLevelChange]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think I have made something wrong becasue from the logs seems the call is done correctly but something else has failed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works!! 😃
Your are my heroes! 💪
I found in the mean time more users that want this, so your there heroes as well.
(https://community.home-assistant.io/t/fibaro-roller-shutter-3-fgr-223-cannot-get-it-to-work-properly/97577/115 )
🍻 🥂
If you are interested in the logs: #30 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlCalzone So based on this I think you will have to remove the check and just send the command? Can I revert to the previous version and use start/stopLevelChange?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll need to figure out why I used Supervision for those commands in the first place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ODINServ start spam hass forums with zwavejs so 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, fuck past me.
I changed this here but I no longer know why...
Fixes #30