Smoke detector "TS0205 _TZ3210_up3pngle" go to offline
What happened?
The smoke detector "TS0205 _TZ3210_up3pngle" apparently pairs well but after a few hours (+- 24h) it goes offline. If you press the test button it "wakes up". Remaining battery in % also shows N/A%
Zigbee2MQTT version: 1.33.2 commit: unknown Coordinator type: ConBee2/RaspBee2 Coordinator revision: 0x26780700 Frontend version: 0.6.142 Zigbee-herdsman-converters version: 15.106.0 Zigbee-herdsman version: 0.21.0
Core: 2023.11.3 Supervisor: 2023.11.3 Operating System: 11.1 Frontend: 20231030.2
If you need any more information, please let me know.
Thanks for the correction please.
What did you expect to happen?
That the smoke detector did not go offline and that it had values on the battery
How to reproduce it (minimal and precise)
the smoke detector is paired and everything works except the battery %. After about 24 hours it goes offline. During this time all other smoke sensors have "last seen" for a short time only this model this parameter is not changed
Zigbee2MQTT version
1.33.2
Adapter firmware version
0x26780700
Adapter
ConBee2
Debug log
No response
@Koenkk Can you help me ?
I have the same issue. :-(
I have the same issue :-(
This could by design to save power on the Device, could also be a firmware bug on the device?
Or maybe we have to figure out, if (constant) report is configureable via Zigbee for this device? Looks like Tuya Devices are a "special" case. https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html Anybody here with a Tuya Gateway ready to Debug?
- https://github.com/Koenkk/zigbee2mqtt/issues/12622
- https://community.hubitat.com/t/release-tuya-zigbee-smoke-detector/104159/74
Maybe the support for this device is incomplete? Looks like Tuya devices are (more) difficult to support because of there own "dp" properties.
Tuya TS0205: https://www.zigbee2mqtt.io/devices/TS0205.html
It looks like the Tuya TS0601 (https://www.zigbee2mqtt.io/devices/TS0601_smoke_1.html) does send his status every 3h because of specific implementation?
Looking at the heardsman convert for TS0205, it looks like (very) basic support: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/tuya.ts
Also ignore_basic_report is defined, maybe thats why we don't get (status) update ?
My Device: Zigbee Model: TS0205 Zigbee Manufacturer: _TZ3210_up3pngle
Looks like there is no "alias" / fingerprint for for "_TZ3210_up3pngle" ?
~~Sadly, the device does not seem to support / respond to bind of genPowerCfg for batteryPercentageRemaining or batteryVoltage~~
debug 2023-12-05 00:36:20 binding cluster 'genPowerCfg' from '0xa4c13867c545a189' to 'Coordinator'
error 2023-12-05 00:36:30 Failed to bind cluster 'genPowerCfg' from '0xa4c13867c545a189' to 'Coordinator' (Error: Bind 0xa4c13867c545a189/1 genPowerCfg from '0x00124b0021a8eb98/1' failed (AREQ - ZDO - bindRsp after 10000ms))
Edit: Bind and batteryPercentageRemaining Report is working. The Devices sends it's battery state every 4h and stays online this way.
@jocamane @vdb72 Please test the following as an external converter: https://www.zigbee2mqtt.io/guide/configuration/more-config-options.html#external-converters and report back here.
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const definition = {
fingerprint: [{modelID: 'TS0205', manufacturerName: '_TZ3210_up3pngle'}],
model: 'TS0205_new',
vendor: 'TuYa',
description: 'Smoke sensor',
fromZigbee: [fz.ias_smoke_alarm_1, fz.battery, fz.ignore_basic_report],
toZigbee: [],
configure: async (device, coordinatorEndpoint, logger) => {
try {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
await reporting.batteryPercentageRemaining(endpoint);
//await reporting.batteryVoltage(endpoint);
} catch (error) {/* Fails for some*/}
},
//exposes: [e.smoke(), e.battery_low(), e.battery(), e.tamper()],
exposes: [e.smoke(), e.battery(), e.tamper()],
whiteLabel: [
{vendor: 'Tesla Smart', model: 'TSL-SEN-SMOKE'},
{vendor: 'Dongguan Daying Electornics Technology', model: 'YG400A (Zigbee)'},
],
};
module.exports = definition;
~Sadly, the device does not seem to support / respond to bind of genPowerCfg for batteryPercentageRemaining or batteryVoltage~
debug 2023-12-05 00:36:20 binding cluster 'genPowerCfg' from '0xa4c13867c545a189' to 'Coordinator' error 2023-12-05 00:36:30 Failed to bind cluster 'genPowerCfg' from '0xa4c13867c545a189' to 'Coordinator' (Error: Bind 0xa4c13867c545a189/1 genPowerCfg from '0x00124b0021a8eb98/1' failed (AREQ - ZDO - bindRsp after 10000ms))Edit: Bind and batteryPercentageRemaining Report is working. The Devices sends it's battery state every 4h and stays online this way.
In my case the device after +-24 hours go to offline state
@jocamane @vdb72 Please test the following as an external converter: https://www.zigbee2mqtt.io/guide/configuration/more-config-options.html#external-converters and report back here.
const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const exposes = require('zigbee-herdsman-converters/lib/exposes'); const reporting = require('zigbee-herdsman-converters/lib/reporting'); const extend = require('zigbee-herdsman-converters/lib/extend'); const e = exposes.presets; const ea = exposes.access; const tuya = require('zigbee-herdsman-converters/lib/tuya'); const definition = { fingerprint: [{modelID: 'TS0205', manufacturerName: '_TZ3210_up3pngle'}], model: 'TS0205_new', vendor: 'TuYa', description: 'Smoke sensor', fromZigbee: [fz.ias_smoke_alarm_1, fz.battery, fz.ignore_basic_report], toZigbee: [], configure: async (device, coordinatorEndpoint, logger) => { try { const endpoint = device.getEndpoint(1); await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']); await reporting.batteryPercentageRemaining(endpoint); //await reporting.batteryVoltage(endpoint); } catch (error) {/* Fails for some*/} }, exposes: [e.smoke(), e.battery_low(), e.battery(), e.tamper()], whiteLabel: [ {vendor: 'Tesla Smart', model: 'TSL-SEN-SMOKE'}, {vendor: 'Dongguan Daying Electornics Technology', model: 'YG400A (Zigbee)'}, ], }; module.exports = definition;
OK, I try
I repaired one of the devices. The other two I chose not to do. I only removed the lid to cause the tamper to move and put it back in place. After that, it stopped being offline and went online.
Now let's wait 24 hours to see the behavior of the 3 devices
It hasn't reached 24 hours yet but it looks like it will be offline again
@jocamane It seems you have setup the external converter correctly, as it says Model: TS0205_new (= external converter).
After setting up the external converter, you need to pair the device again or try to repair the devices via zigbee2mqtt. Otherwise zigbee2mqtt may not establish bind to PowerCfg Cluster and Reporting for the device.
It should look like this:
Bind:
Reporting:
The device should report the battery status at least every 4h .
Change your log level to debug and check if there is any error for the device on interview while pairing / repair.
@jocamane
I repaired one of the devices.
Which device did you repair and how?
It hasn't reached 24 hours yet but it looks like it will be offline again
LQI value of 255 for the devices looks off. Are the devices right next to the coordinator? Do you have any device with other LQI value?
What coordinator do you use?
@jocamane It seems you have setup the external converter correctly, as it says Model: TS0205_new (= external converter).
After setting up the external converter, you need to pair the device again or try to repair the devices via zigbee2mqtt. Otherwise zigbee2mqtt may establish bind to PowerCfg Cluster and Reporting for the device.
It should look like this:
Bind:
Reporting:
The device should report the battery status at least every 4h .
Change your log level to debug and check if there is any error for the device on interview while pairing / repair.
I repaired 1 device (Det Fumo Escritorio ZG). I deleted it from the z2m and re-paired it. Interestingly, it is one of those that is offline again. I didn't do anything with the other two, but I'm going to pair them.
Regarding bind and reporting, I have 2 identical to the ones you sent in the print and one of them has nothing. Regarding LQI: On the z2m home screen I have all devices with 255, but on the map they have different values. My coordinator is zigbeeII
This is what I repaired:
I didn't do anything about these:
The actual situation is:
@jocamane
I repaired 1 device (Det Fumo Escritorio ZG). I deleted it from the z2m and re-paired it. Interestingly, it is one of those that is offline again. I didn't do anything with the other two, but I'm going to pair them.
"Det Fumo Escritorio ZG" is connected via repeater to your coordinator. Maybe the repeater does not (fully) support the device. Maybe pair the device close to the coordinator. Some repeaters can cause all sorts of problems. Also, restarting zigbee2mqtt may have trigger bind and reporting for (all) devices.
Regarding bind and reporting, I have 2 identical to the ones you sent in the print and one of them has nothing.
Please repair the device close to the coordinator.
Some devices stay online and some don't, correct?
Never seen "wrong" LQI values in zigbee2mqtt device list. At least the Zigbee maps shows real values. Maybe open a new issue for that problem.
@pixeldoc2000
"Det Fumo Escritorio ZG" is connected via repeater to your coordinator. Maybe the repeater does not (fully) support the device. Maybe pair the device close to the coordinator. Some repeaters can cause all sorts of problems. Also, restarting zigbee2mqtt may have trigger bind and reporting for (all) devices.
The pair was made close to the coordinator but was connected to the repeater. I even put the "permit coordinator" only on z2m. Note that there are two sensors connected to the coordinator and one apparently works well and the other does not. tomorrow I will try repair again
Regarding restarting the z2m, I've already restarted the entire HA and it stayed the same.
Some devices stay online and some don't, correct?
Yes, one of them goes online and the other two don't
Never seen "wrong" LQI values in zigbee2mqtt device list. At least the Zigbee maps shows reals values. Maybe open a new issue for that problem.
I think that would be a good approach. If you need any help from me with logs, let me know


The device should report the battery status at least every 4h .