Hi @Mariano_Colmenarejo
Thinking in how our smart devices can be used to adapt our behaviour to the changing environment situation.
An example… related to the water restrictions due to lack of rain in some regions like mine in Catalonia Spain, I wonder if your “Zigbee Valve Mc” driver could include an additional slider to open and close the valve partially. The intention is to permanently reduce the flow of water in the circuit.
Thanks in advance.
Normal valves in this driver, Tuya for example, are open close type and have limit switches and stop the movement of the motor.
One is to identify the open position and another the closed position.
I don’t know if there are other types of more complex valves in zwave that monitor the position of the valve and can stop in intermediate positions.
Interesting. I already use your channel and have it installed. But when I added the device it gets added as a switch and not a valve. I don’t see valve as one of the options when trying to change drivers too. What am I missing?
Sorry, there is an error in model.
Fixed in this driver version
───────────────────────────────────────────────────
Name Zigbee Valve Mc
Version 2024-12-05T11:55:44.544145562
───────────────────────────────────────────────────
Thank you. I’m able to select the updated driver now.
But it doesn’t seem to be working properly.
It is stuck in ‘Open’ status, while the device is actually closed.
It works just once at startup to actually close the device from open, but the status keeps loading and stuck at opening.
Changing it back to switch, or manually clicking the button seems to make it work properly.
Following up on this. Is there anything I am doing wrong? I tried removing and readding the device, same behavior. Doesn’t close with the Zigbee Valve Mv driver but works fine with the standard zigbee switch driver.
Additionally, do you also have a door / window open / close sensor driver by any chance? I have one that is detected with a ‘generic sensor’ profile which I wanted to change to ‘contact-battery-tamperalert’.
Thanks again for all the help you do for the community!
Physically the valve closes and the closed status is not updated in the app or does it not close physically?
It is logical that it works well with the zigbee switch driver since it works as a switch.
The only difference in the driver is that the valve driver works with the valve defaults from the hub libraries and the switch driver works with the switch libraries. The only difference is that the valve defaults do not handle the default_response command and it is possible that this device responds to the Off and On command with the default_response command.
To verify that this is the problem, I would need you to send me an answer to the first question and send me some logs with the CLI of when you press Off or On in the app.
Sorry, I don’t have any profile in the driver that handles tamper, It would need to modify the whole driver to be able to handle tamper and open close events manually instead of using the defaults from the hub libraries.
When smartthings adds tamper to the zigbee defaults then I will add it
Try installing this driver version.
I added a new subdriver for this device
───────────────────────────────────────────────────
Name Zigbee Valve Mc
Version 2024-12-09T18:26:16.687919176
───────────────────────────────────────────────────
@Mariano_Colmenarejo Thanks. Tried with the new driver, same issue. How do I get the logs for opening the valve? When I use your driver, it is always on ‘Open’ state. So no possibility for me to try opening it from closed state without switching it back to switch. Do you want me to change to switch and send the logs?
@Mariano_Colmenarejo I changed the driver to switch, went to your channel, uninstalled and reinstalled the valve driver and changed the device back to the valve. Verified the version to be what you mentioned above.
BTW - apologies. Now it doesn’t respond physically too. And I see a few errors in the logs now.