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