Need driver for Neo Coolcam Temperature and Humidity Sensor

That would be even more "evil" than I was thinking. At least the Tuya Air Sensor I got before reports everything readily, even if all of it is in the Tuya EF00 cluster. This hidden or "only report when polled but send nonsense other times" is frustrating.

But I am still working at it. No sense giving up.

FYI: There is some new information on the GitHub zigpy/ZHA-device-handlers thread for issue#862.

Iā€™m also wondering if this could somehow be helpful: GitHub - TradeFace/tuyagateway: Local Python Gateway for Tuya devices

I have seen the zigpy in my research and 862 seems key (although it is huge and I am not knowledgeable of Python)...

Everything says endpoint 02, which is great except I have not figured out how to receive anything from the clusters using endpoint 02. Even if I request a read of the clusters with an endpoint of 02 nothing comes back.

I can get it to report back illuminance just fine (always on endpoint 1). Model information comes back... temperature and humidity? Never. Very frustrating.

Not sure if this is going to help much - but I NOW have this same AliExpress Link device working using your latest driver 0.1.3 on my C7 Hub.

I suffered the same frustrations and was watching your progress (but with nothing constructive to add). I kinda gave up on it in September.

I just bought a Tuya Zigbee TRV to play with - that happened to come with a Tuya hub Amazon Link

The TRV was initially problematic on connection to Hubitat using a community driver - so I connected to the Tuya hub to check for new firmware. Both the Tuya hub and the TRV had new firmware available.

While I was doing this, I thought what the heck, and connected this multi-sensor to the Tuya hub, to see if it functioned correctly (ie luminance+Temp+Humidity+Battery). Initially, no luminance.

I upgraded the hub firmware, and the multi-sensor then started showing luminance in the Tuya app. Unfortunately, I cant confirm if Tuya sneaked in a firmware for the multi-sensor. but I don't think so, as auto updates are turned off. Sorry.

This afternoon I re-paired it with my Hubitat c7. 'Discover devices' auto-selected your driver - and it immediately shows illuminance, temp, humidity and battery.

image

image

Device display is only showing 1 of 3 battery segments (and they're cheap batteries). Tuya app was reporting 3 of 4 segments. I find is curious that I'm also showing 82% in Hubitat.

The device driver is accurately reporting Humidity: device displays 49.6 - reporting as 4960, and Temp: device displays 24.9C - reporting as 24.9 - there is sometimes a +0.1 degree difference on the C7.

Luminance is as you've already experienced.

Changing the environment (heat/humidity/light) is reported quickly and accurately.

The Tuya app shows the multi-sensor has firmware version 'V1.0.4'

Please let me know if I can supply any more info.

Thanks... It appears that the hub does "something" that gets it all reporting but exactly what is unclear. I have read other posts for other Tuya-based devices (and other discussions for this one) and there have been a variety of idea/explanations with one of the most common being that it sends it a broadcast message to trigger the reporting.

Unfortunately all those methods have failed with my device. Even the broadcast commands (which I know it receives because it triggers a luminance read, but none of the rest). Frustrating.

But thanks... so there IS a method (that the hub at least can initiate and hopefully will be figured out someday for my driver) AND the driver does work if you do get it going (for now via the hub to begin with). So that is definitely some good news there.

If you do not mind... can you set the logging for Trace and run the "Read Device" command then share the log results with me? I want to see what differences (if any) there are from my device.

No problem:

dev:157262021-10-14 11:17:06.655 am traceA test MultiSensor - Tuya - Sending request for Basic cluster data

dev:157262021-10-14 11:17:01.091 am debugA test MultiSensor - Tuya - Driver version up to date

dev:157262021-10-14 11:17:00.131 am traceA test MultiSensor - Tuya - Sending request to set ZigBee reporting

dev:157262021-10-14 11:17:00.126 am traceA test MultiSensor - Tuya - Sending request to read device attributes

dev:157262021-10-14 11:17:00.116 am infoA test MultiSensor - Tuya - Configuring device...

dev:157262021-10-14 11:17:00.083 am infoA test MultiSensor - Tuya - Saved preferences

dev:157262021-10-14 11:15:41.566 am traceA test MultiSensor - Tuya - Sending request for Basic cluster data

dev:157262021-10-14 11:15:19.347 am traceA test MultiSensor - Tuya - Sending request for Basic cluster data

dev:157262021-10-14 11:14:41.789 am traceA test MultiSensor - Tuya - Luminance is 22305 lx

dev:157262021-10-14 11:14:02.820 am traceA test MultiSensor - Tuya - StackVersion = 00

dev:157262021-10-14 11:14:02.007 am traceA test MultiSensor - Tuya - ApplicationVersion = 44

dev:157262021-10-14 11:14:01.893 am traceA test MultiSensor - Tuya - Luminance is 23484 lx

dev:157262021-10-14 11:14:01.814 am traceA test MultiSensor - Tuya - ZCLVersion = 03

dev:157262021-10-14 11:14:01.670 am traceA test MultiSensor - Tuya - Luminance is 23484 lx

dev:157262021-10-14 11:14:01.394 am traceA test MultiSensor - Tuya - Luminance is 23484 lx

dev:157262021-10-14 11:13:58.147 am traceA test MultiSensor - Tuya - Sending request for Basic cluster data

dev:157262021-10-14 11:13:53.846 am debugA test MultiSensor - Tuya - Driver version up to date

dev:157262021-10-14 11:13:53.147 am traceA test MultiSensor - Tuya - Sending request to set ZigBee reporting

dev:157262021-10-14 11:13:53.144 am traceA test MultiSensor - Tuya - Sending request to read device attributes

dev:157262021-10-14 11:13:53.136 am infoA test MultiSensor - Tuya - Configuring device...

dev:157262021-10-14 11:13:53.104 am infoA test MultiSensor - Tuya - Saved preferences

dev:157262021-10-14 11:13:41.617 am debugA test MultiSensor - Tuya - Driver version up to date

dev:157262021-10-14 11:13:40.743 am traceA test MultiSensor - Tuya - Sending request to set ZigBee reporting

dev:157262021-10-14 11:13:40.735 am traceA test MultiSensor - Tuya - Sending request to read device attributes

dev:157262021-10-14 11:13:40.726 am infoA test MultiSensor - Tuya - Configuring device...

dev:157262021-10-14 11:13:40.663 am infoA test MultiSensor - Tuya - Saved preferences

Well, good news bad news. Good news it is not anything different from what I normally see. Bad news... it is not anything different from what I normally see... so I cannot tell the firmware version from what it reports back as a response to normal commands. Go figure.

If I got hold of another device, is there something I can do/monitor when it connects to the tuya hub to capture what the tuya hub sends/activates?

I do not know of a way to "intercept" the ZigBee communication in that case, so sorry, I do not know what to recommend. Thanks for thinking of it though.