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

MCO home MH-C421 multilevel switch is not good #2454

Closed
4 of 7 tasks
S1M8N opened this issue Apr 24, 2021 · 30 comments · Fixed by #2471
Closed
4 of 7 tasks

MCO home MH-C421 multilevel switch is not good #2454

S1M8N opened this issue Apr 24, 2021 · 30 comments · Fixed by #2471
Labels
bug Something isn't working
Projects

Comments

@S1M8N
Copy link

S1M8N commented Apr 24, 2021

Checklist:

  • I am using HomeAssistant.
  • I am using ZWaveJS2MQTT.
  • I have checked the troubleshooting section and my problem is not described there. Yes and No
  • I have read the changelog and my problem was not mentioned there. Yes and No...

Describe the bug

Hello,

I use home assistant OS without any add-on except zwavejs2mqtt which is in the latest version and the z-wave js integration that goes with it. However my C421 home MCO switches are not considered a multilevel switch (I think). I can still move them up and down I don't really know how but it works. On the other hand, it is impossible for me to do the STOP / PAUSE action ...

If you need a log please let me know where they are so I can send them to you. If I need an additional add on to retrieve these logs let me know

This is an issue that had already been addressed and corrected by adding a force multilevel switch for my device. When I did not yet have the add-on version it was good the force multievel switch worked but there it does not seem to work or badly ...
I noticed that if the module was in an unknown state everything was working in the management of the multilevel switch however when it is added correctly this is no longer the case and the stop button no longer works ...

I won't go into details because I don't really know how it works.

Hope we can solve this problem.

Thank you in advance

Device information

MCO home C421
What are the node IDs?
6 and 8

Did you change anything?

  • No

Did this use to work before?

  • Don't know

How are you using node-zwave-js

  • HomeAssistant version 0.13.0

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Zwave js Integration'
  2. Click on 'Stop button'
  3. See error (doesn't work)
    zwave_js_dump.zip
@blhoward2
Copy link
Collaborator

What do you mean the stop/pause action? Can you go into the zwavejs2mqtt UI, go to that node, and see if everything works when controlling it under the Multilevel sub-tab?

@AlCalzone
Copy link
Member

Also, I'm probably going to need a zwave-js logfile where you control the device.

@S1M8N
Copy link
Author

S1M8N commented Apr 26, 2021

Also, I'm probably going to need a zwave-js logfile where you control the device.

faf58650.zip

@blhoward2
Copy link
Collaborator

The log is helpful but can you also answer my questions? We need to understand the issue.

@AlCalzone
Copy link
Member

@S1M8N that's no logfile :(

@S1M8N
Copy link
Author

S1M8N commented Apr 27, 2021

Yes sorry... I have that :
Log and printscreen.zip

@AlCalzone
Copy link
Member

Thanks, but we still need a bit of explanation what the problem is. In your log I see that you control the device using Multilevel Switch CC and it changes the value.

@S1M8N
Copy link
Author

S1M8N commented Apr 27, 2021

Yes, however the pause button does not work :
image

@AlCalzone
Copy link
Member

That's in Home Assistant though. I'd need to see a log where you push that, but I don't know how to get a log out of HA.

@S1M8N
Copy link
Author

S1M8N commented Apr 27, 2021

I understand but if I do not go through HA I do not have the pause button that appears in the add on zwavejs2mqtt. Moreover if I do not understand but I only have the possibility of doing UP / DOWN from HA in the add on I can only manage the position

@AlCalzone
Copy link
Member

@S1M8N your cache file above contains version: 0 for Multilevel Switch on both nodes. Either the node didn't respond during the interview, or your cache file got corrupted.
Please re-interview both nodes in zwavejs2mqtt (under the "advanced" node options) and post a log of that. Maybe that fixes the problem - if not, I'll at least know why.

@S1M8N
Copy link
Author

S1M8N commented Apr 27, 2021

it doesn't seem to have helped. Even worse ...
However once I added the module and I had an unknown state and everything worked ... But when I have everything correct at Device ID level the problem is the one mentioned above ....
Re-interview_log.zip

@AlCalzone
Copy link
Member

Okay, the node is contradicting itself. First it lists Multilevel Switch as supported, then it claims it does not support Multilevel Switch:

2021-04-27T20:24:05.603Z CNTRLR « [Node 006] node info received
                                  supported CCs:
                                  · [...]
                                  · Multilevel Switch
...
2021-04-27T20:24:05.967Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
                                  └─[VersionCCCommandClassReport]
                                      CC:      Multilevel Switch
                                      version: 0
2021-04-27T20:24:05.974Z CNTRLR   [Node 006]   does NOT support CC Multilevel Switch (0x26)

We can force-override this information via the config files, but I'm not sure which version it actually supports. Going with 1 probably doesn't hurt.

@AlCalzone
Copy link
Member

Ok, it turns out we already forced it to support Multilevel Switch, but that was not enough.

@S1M8N
Copy link
Author

S1M8N commented May 1, 2021

@AlCalzone,

Your changes had no effect

I have included the module again and check that the config file has been changed...
logs.zip

@AlCalzone AlCalzone reopened this May 1, 2021
Triage automation moved this from Closed to Needs triage May 1, 2021
@AlCalzone
Copy link
Member

@S1M8N you have to re-interview it for the changes to be applied.

@S1M8N
Copy link
Author

S1M8N commented May 5, 2021

@S1M8N you have to re-interview it for the changes to be applied.

@AlCalzone, Yes I have make that...

@S1M8N
Copy link
Author

S1M8N commented May 12, 2021

Hello @AlCalzone,

I'm sorry but I don't have an answer, were you able to find something or do you need something more ??

thank you for your work

@AlCalzone
Copy link
Member

Please re-interview the device and share the zwave-js log and the cache files <homeid>.json and <homeid>.values.json afterwards.

@S1M8N
Copy link
Author

S1M8N commented May 12, 2021

Please re-interview the device and share the zwave-js log and the cache files <homeid>.json and <homeid>.values.json afterwards.

Ok, I have re-interview the devices. It's the node 10

@S1M8N
Copy link
Author

S1M8N commented May 15, 2021

@AlCalzone,

The logs is ok for you ?
Logs (1).zip

@AlCalzone
Copy link
Member

Ok I think I found it. The change does get applied and you can even see in the cache now that the version is forced to be 1:

                "0x26": {
                    "name": "Multilevel Switch",
                    "endpoints": {
                        "0": {
                            "isSupported": true,
                            "isControlled": false,
                            "secure": false,
                            "version": 1
                        }
                    }
                },

However, the interview for that CC is still not done, which is why you're not seeing those values.

@S1M8N
Copy link
Author

S1M8N commented May 16, 2021

ok can you do something about it?

@AlCalzone
Copy link
Member

Yeah

@AlCalzone
Copy link
Member

Duplicate of #2273

Please follow that issue for an update

Triage automation moved this from Needs triage to Closed May 16, 2021
@S1M8N
Copy link
Author

S1M8N commented May 28, 2021

@AlCalzone
Hello, I still cannot use the stop button on my shutter. I have version 7.7.0 of z-wavejs and the latest version of the plugin. I re included the device. Its node is now 12.
Log 28.02.2021.zip

@AlCalzone
Copy link
Member

The issue I linked to isn't done yet.

@S1M8N
Copy link
Author

S1M8N commented Jun 1, 2021

The issue I linked to isn't done yet.

@AlCalzone
Ok when are you planning to do this?

@AlCalzone
Copy link
Member

I can't make any promises right now. Will do it soon, but that's about as concrete as I can be at the moment.

@S1M8N
Copy link
Author

S1M8N commented Jun 1, 2021

I can't make any promises right now. Will do it soon, but that's about as concrete as I can be at the moment.

I hope you will have time before the end of June it would be super cool

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
No open projects
Triage
Closed
Development

Successfully merging a pull request may close this issue.

3 participants