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

cannot set value to shutter #6416

Closed
zeev-mindali opened this issue Oct 11, 2023 · 24 comments
Closed

cannot set value to shutter #6416

zeev-mindali opened this issue Oct 11, 2023 · 24 comments
Labels
config ⚙ Configuration issues or updates

Comments

@zeev-mindali
Copy link

Dear All,

i have a shutter from MCOHOME
Screenshot 2023-10-11 at 15 33 11

i can control the binary switch by the control panel
Screenshot 2023-10-11 at 15 33 22

and sending mqtt command 37 , true false, which is working

but i can not control the value from the ui:
Screenshot 2023-10-11 at 15 33 35

and any attempt to send also value is not effecting the shutter.

@robertsLando
Copy link
Member

@zeev-mindali YOu should use targetValue to control the state

@zeev-mindali
Copy link
Author

i using targetValue, as i mantion, i can send true/false, and the shutter goes up and down.
but when i send a value:
{
"value":50
}

northing happend

@zeev-mindali
Copy link
Author

my topic is :
zwave/sallon/shutter/38/0/currentValue/set

json:
{
"value":50
}

@robertsLando
Copy link
Member

robertsLando commented Oct 11, 2023

I mean:

zwave/sallon/shutter/38/0/targetValue/set

Isn't there on ui a target value for CC 38?

@zeev-mindali
Copy link
Author

my mistake, i did use :zwave/sallon/shutter/38/0/targetValue/set
on the ui there is no target to cc 38 as i showed in the picture, the value is read only on the ui

@robertsLando
Copy link
Member

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

@AlCalzone any clue?

@zeev-mindali
Copy link
Author

on it, moving to docker and sending logs

@AlCalzone
Copy link
Member

Is there a Window Covering CC in the list? If so, use that.

@zeev-mindali
Copy link
Author

sorry, but there is no window covering
Screenshot 2023-10-15 at 9 30 33

the only setting i have is this:
Screenshot 2023-10-15 at 9 31 25

but i can not send any mqtt command to it using command 38, or setting the value in the ui

the manufactor is:
Screenshot 2023-10-15 at 9 30 47

@zeev-mindali
Copy link
Author

does the problem related to the issue unkown product?

@zeev-mindali
Copy link
Author

i found the config file that i need, where i need to drop the file?
if i enter via docker and creating in store a folder config,manufactor hex code and the confing

Screenshot 2023-10-15 at 18 00 26

i still getting unknown product
Screenshot 2023-10-15 at 18 01 17

what am i missing?

@zeev-mindali
Copy link
Author

zeev-mindali commented Oct 16, 2023

i can see the driver was loaded finally,

Screenshot 2023-10-16 at 7 53 16

made interview with the device, got the options finally
but still i can not change the value by numbers, only binary switch on off

@AlCalzone
Copy link
Member

As asked before, please share the driver log of the interview. Just screenshots don't help diagnose this.

@zeev-mindali
Copy link
Author

can you please send the link for how to active the driver log?
sorry

@AlCalzone
Copy link
Member

#6416

@zeev-mindali
Copy link
Author

zwave-js-ui-store.zip

@AlCalzone
Copy link
Member

The device claims it doesn't support Multilevel Switch CC when queried for the CC version. We can override that in a config file, but we currently don't have any for the device - which is also why it wasn't identifying with a label at first.

Where do you have your config file from?

@zeev-mindali
Copy link
Author

zeev-mindali commented Oct 16, 2023

i got the config file from your github:
https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/devices/0x015f/mh-s521.json

and the information from :
https://devices.zwave-js.io/?jumpTo=0x015f:0xc321:0x5102:0.0

but the config file, the configuration paramter are wrong.
i editing now the config file for my devices.

how can i override the multilevel switch?

@zeev-mindali
Copy link
Author

this my config file for mh-c521/mh-c621 that is working:

mh-C621.json

but still i need to override the multilevel to writeable

@AlCalzone
Copy link
Member

You'll have to add it via a compat flag: https://zwave-js.github.io/node-zwave-js/#/config-files/file-format?id=commandclassesadd
Not sure which version of the CC is supported, maybe your manual explains it?

@zeev-mindali
Copy link
Author

sorry for the question, i checked the link, didn't understand what to do :(
this is the manual that McoHome sent to me:
MH-C621 - Glass Shutter.pdf

@zeev-mindali
Copy link
Author

yeeessssssss, made it to work :)
you are the best, thanks for all the help,

@AlCalzone AlCalzone transferred this issue from zwave-js/zwave-js-ui Oct 17, 2023
@AlCalzone
Copy link
Member

Reopening so we can add the file on our end

@AlCalzone AlCalzone reopened this Oct 17, 2023
@AlCalzone AlCalzone added the config ⚙ Configuration issues or updates label Oct 17, 2023
@AlCalzone
Copy link
Member

fixed by #6419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config ⚙ Configuration issues or updates
Projects
None yet
Development

No branches or pull requests

3 participants