TZE200_locansqn TS0601 Temp / Humi / Clock & TZE200_yvx5lh6k Tuya Air Box

looking to integrate this

  • zigbeeNodeType: SLEEPY_END_DEVICE
  • firmwareManufacturerCode: 4417
  • firmwareFullVersion: 00000043
  • application: 43
  • endpointId: 01
  • firmwareImageType: 54179
  • manufacturer: _TZE200_locansqn
  • model: TS0601
    Raw Description 01 0104 0051 01 04 0004 0005 EF00 0000 02 0019 000A

Tuya Air Box quality CO2/Temp/Humidity/VOC/HCHO Sensor

  • application: 46
  • endpointId: 01
  • manufacturer: _TZE200_yvx5lh6k
  • model: TS0601
  • zigbeeNodeType: ROUTER
    Raw Description 01 0104 0051 01 04 0004 0005 EF00 0000 02 0019 000A

10x

There are several existing threads in the forum on this device, but so far no one has been able to integrate it. :disappointed_relieved:

Seeking device handler for tuya smart air box

ZIGBEE 3.0 Smart Air Box Home

Like several of the Tuya zigbee Devices, it uses a proprietary cluster for communication, so none of the standard DTH/edge drivers can work with it. It needs custom code.

Hopefully someone in the community will eventually take it on.

Try using this driver…

2 Likes

Thanks for sharing this. It works for me. A bit of delay between sensor and smartthings. not sure if there is a way to control sync frequency? M

Not that I know of. Let me know if you find something about it.

In the code from github there is possibility to change the intervals? I found this in the default lua file.
Any idea about it? It looks to be updated every 30-40 min,.

function defaults.command_response_handler(datapoints)
return function (driver, device, zb_rx)
– device.parent_assigned_child_key chega sempre nulo
local dpid = zb_rx.body.zcl_body.data.dpid.value
local value = get_value(zb_rx.body.zcl_body.data.value)
local _type = zb_rx.body.zcl_body.data.type.value
local event_dp = datapoints[dpid] or map_to_fn_type or commands.generic
local event = event_dp:create_event(value, device)
local cur_time = os.time()

--log.info("device.preferences.profile", device.preferences.profile)
if event then
  if event_dp.reportingInterval == nil or event_dp.last_heard_time == nil or cur_time - event_dp.last_heard_time >= 60 * event_dp.reportingInterval then
    event_dp.last_heard_time = cur_time

Some devices are very chatty.
This snippet prevents from updating some states of the device too quickly.

In other words, the device keeps sending messages and this code just ignore some of them.
It doesn’t have any control how often the device reports its states.

Hello there, I noticed something has changed recently. Was the driver updated? My temperature and humidity readings are not updating anymore. Are you aware of anything? thanks

Do you have any clue in the logs?

I wasn’t logging anything. it is working again. SO, let me monitor. thanks

Does your driver prevent the air quality monitor from overloading the network?