-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
shutter recognized as dimmer #3862
Comments
Hi @zeev-mindali , the code that defines if discovering a cover or a light dimmer is here: zwave-js-ui/api/lib/Gateway.ts Line 1254 in cfcde4a
I may have to add a case to handle your device as a cover, could you do a node export from the ui so I can check the |
Dear robert, i attaching two files: zeev |
Oh ok I may have understand what's the issue here, seems I only get the device class of root endpoint instead of getting it for each one, this requires a fix on my side |
hi @robertsLando |
@zeev-mindali The PR is not merged yet, how did you test it? |
I have created 9.18.1 relese, give it a try |
great, i will check it today, tnx a lot |
dear @robertsLando, i using HAOS |
I think that's something related to HA but I'm not an HA expert, try to ask to them and let me know :) |
@robertsLando but i have another device, whice is still shown as dimmer :( |
here the files: |
From discovery prospecctive seems good:
Then light dimmers:
|
this is my problem, the wallwand is not a dimmer, it's a cover :( |
@zeev-mindali the wallwand has multiple endpoints (13), could you do another export of the node please like you did here: #3862 (comment) ? |
here are logs, i attached only the wallwand |
@zeev-mindali those are the logs, I need an export of the node like you did hre: #3862 (comment) |
@zeev-mindali are ALL dimmers above covers? Because some are reporting |
the controller have two multi level switch:
|
@zeev-mindali wait for 9.19.1, will release it the end of the week |
Dear @robertsLando , any news on the release? |
Coming in one hour :) |
Dear @robertsLando , first of all it's recognize the cover :) for stoping the device the mqtt path is diffrent: this happing on the two multilevel switch , the GlassPanel 9 by MCO home and WallWand by touchwand. i sent the mqtt command and paths, and it's working when i sent to Up or Down the false as value. |
@AlCalzone does all covers have up and down commands? |
Bit of confusion here. First off, all Multilevel Switches support being opened/closed/dimmed up/dimmed down using Start/StopLevelChange. The two MQTT topics @zeev-mindali mentions are a mix of both.
That is fine, but this would be more consistent:
"Up" and "Down" may also be called differently, based on which type of multilevel switch you're dealing with. |
you are correct :) the targetValue is for position setup |
@zeev-mindali could you share the discovery payload? |
Dear all,
i connected the homeassistant to zwave-js-ui.
made working with mqtt discovery because of issues that the shutter is recognized as dimmier
once i made the choice i can see home assistant option on the device.
but the device reporting also as dimmer:
{
"type": "light",
"object_id": "dimmer_9",
"discovery_payload": {
"command_topic": "zwave/lab/gp9/switch_multilevel/endpoint_9/targetValue/set",
"state_topic": "zwave/lab/gp9/switch_multilevel/endpoint_9/currentValue",
"state_value_template": "{{ "OFF" if value_json.value == 0 else "ON" }}",
"brightness_command_topic": "zwave/lab/gp9/switch_multilevel/endpoint_9/targetValue/set",
"brightness_scale": 99,
"brightness_state_topic": "zwave/lab/gp9/switch_multilevel/endpoint_9/currentValue",
"brightness_value_template": "{{ value_json.value }}",
"on_command_type": "brightness",
"availability": [
{
"payload_available": "true",
"payload_not_available": "false",
"topic": "zwave/lab/gp9/status",
"value_template": "{{'true' if value_json.value else 'false'}}"
},
{
"topic": "zwave/_CLIENTS/ZWAVE_GATEWAY-zwave-js-ui/status",
"value_template": "{{'online' if value_json.value else 'offline'}}"
},
{
"payload_available": "true",
"payload_not_available": "false",
"topic": "zwave/driver/status"
}
],
"availability_mode": "all",
"device": {
"identifiers": [
"zwavejs2mqtt_0xf2e08abf_node48"
],
"manufacturer": "TouchWand Co., Ltd.",
"model": "Glass 9 v2.03 (Glass9)",
"name": "lab-gp9",
"sw_version": "4.13.8"
},
"name": "lab-gp9_dimmer_9",
"unique_id": "zwavejs2mqtt_0xf2e08abf_48-38-9-currentValue"
},
"discoveryTopic": "light/lab-gp9/dimmer_9/config",
"values": [
"38-9-currentValue",
"38-9-targetValue"
],
"persistent": false,
"ignoreDiscovery": false,
"id": "light_dimmer_9"
}
is there anything i can do to make it work as shutter?
are there any automation for making all dimmer recognized as shutter?
zeev
The text was updated successfully, but these errors were encountered: