homebridge-tuya-web icon indicating copy to clipboard operation
homebridge-tuya-web copied to clipboard

Tuya WaterValve support as device type.

Open sirwasaeed opened this issue 3 years ago • 15 comments

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!

sirwasaeed avatar Mar 21 '21 23:03 sirwasaeed

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.

milo526 avatar Mar 25 '21 09:03 milo526

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.

stale[bot] avatar Apr 04 '21 11:04 stale[bot]

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!

Tuya

sirwasaeed avatar Apr 07 '21 21:04 sirwasaeed

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).

milo526 avatar Apr 08 '21 07:04 milo526

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!

H74a9d7512e7845a7a2bdca8624d3eca94

sirwasaeed avatar Apr 08 '21 22:04 sirwasaeed

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 =)

Aekung avatar Aug 06 '21 14:08 Aekung

interested as well ;))

dpamping avatar Dec 20 '21 00:12 dpamping

Development is currently slower than I'd hope it would be but everything tagged with the label has my attention 😄

milo526 avatar Dec 21 '21 15:12 milo526

Smoke, water and gas sensors also

dpamping avatar Dec 21 '21 15:12 dpamping

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)

milo526 avatar Dec 21 '21 15:12 milo526

Any news on the valve support?

dpamping avatar Jun 26 '22 14:06 dpamping