ollo69 / ha_tuya_custom

Tuya Custom Component for testing
Apache License 2.0
39 stars 18 forks source link

Tuya temperature and humidity sensor #55

Open AdrianTindeche opened 3 years ago

AdrianTindeche commented 3 years ago

Hi,

Thanks again for your great work.

I have couple of Tuya temperature and humidity sensors, that are detected by either the Tuya integration, or yours, as a switch and not as a sensor. I created a free account on iot.tuya.com and there all my sensors are shown as "Temperature and Humidity Sensor", though in the details info page there are no Standard Function Set parameters shown.

I saw that most of you seems to be reusing the abandoned tuyaha v0.1.3 package, is there any chance to have these sensors detected correctly in HA and have the temp and humidity readings?

Thanks & cheers

ollo69 commented 3 years ago

The developer site provided by Tuya cannot be used to directly reach Tuya device. It only provide an SDK that can be used to implement app for third part supplier. So unfortunately there is no way to replace the TuyaAPI currently used, at least in my understanding. Personally I worked on this library to try to fix existing issue, but my suggestion and my preference is to use different devices for Home Domotics, based on firmware that can be locally controlled (e.g. using Tasmota).

AdrianTindeche commented 3 years ago

Unfortunately I couldn't find a WiFi or Zigbee temperature and humidity sensor that has a display also and that can be "tasmotized" or integrated in HA. Btw, I just saw last night that the sensors I have are not supported by Tasmota. I am using these sensors for my home heating automation project, which works fine using the Tuya app, but I wanted to have them integrated in HA also.