homebridge-tuya-web
homebridge-tuya-web copied to clipboard
Tuya WaterValve support as device type.
Hi, thanks for the plugin, it works like a charm!
I recently purchased and added a valve smart device from Tuya to my collection. Unfortunately the valve icon isn’t available with the plugin in HomeKit, i tried to ID it as waterValve, but with no luck.
Will there be a future update to support this device? Or can i edit the config for this?
Thanks in advance!
Please post the result of the steps under "How to check whether the api this library uses can control your device".
Without this it is hard for me to help you with regards to this specific issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi Milo, thanks for the quick response. sorry for my late update.
I tried steps for how to check whether the api can control the device. i'm not sure if i did it correctly, but the output got the valve read as: "Buitenkraan".
Let me know if it's correct or whether i needed to provide a different output?
Thanks again!
No problem, Lately I'm also not the quickest to respond 😉 (Next time please paste the raw text instead of an image, makes it significantly easier for developers to work with)
This is exactly the output I was looking for.
Given the valve device definition in HomeKit it should be possible to create some form of support for this. The valve device type does have an "in use" property that is supposed to get if water is currently actively flowing (or maybe to indicate if a hose is connected?). Since Tuya exposes a switch, it is not possible for me to get this state and thus it would probably always be equal to whether the valve is turned open or not (i.e. the switch state).
Thank you for the explanation and for the tip, next time i'll paste the raw text. My mistake!
I didn't know my request would make it this complicated. I should have taken in account that Homekit supported device, for example the Eve Aqua. Would indeed have a feedback function.
I just wished that the icon for the valve would be visible with this Tuya homebridge intergration. As just a "switch". Have it turn blue when 'on / opened' and turn grey if 'off / closed'.
The Tuya device i am using now has no feedback option either, just turns the valve open in side the house to be able to shut off water supply outside the home.
Thanks again for your time!
I'm also interested in this. Not sure if @milo526 is still working on implementing the water valve type accessory to this plugin.
Thank you =)
interested as well ;))
Development is currently slower than I'd hope it would be but everything tagged with the label has my attention 😄
Smoke, water and gas sensors also
Smoke, water and gas sensors also
Please follow the steps under How to check whether the API this library uses can control your device to see if this is possible and if so, please open a new issue per device for requesting access. (Given the fact that they are sensors I expect them not to be possible though, that is my experience with other Tuya sensors at least)
Any news on the valve support?