Page 1 of 1

Bidirectional energy meter with 80A current clamp tuya PJ-1203A zigbee2mqtt

Posted: Sunday 05 May 2024 2:30
by albaga
Good night.
I have a zwave network through OpenZWave and another zigbee through zigbee2mqtt with the MQTT Auto Discovery Client Gateway with LAN interface.
Until now the two networks in domoticz have worked well, but since the addition of the TuYa PJ-1203A 80A Bidirectional Energy Meter with Current Clamp device, domoticz has slowed down to such an extent that it is not able to execute any events.

By unpairing the device from the network, domoticz recovers and functions normally again.

Domoticz runs on a raspberryPi3 the version is V2023.2 Build Hash: 19efd039c, Date: 2023-07-21.
The mqtt broker runs on another machine that is the same one where zigbee2mqtt is installed through docker compose.

MQTT Agent v5.0/v3.1.1/v3.1.
Zigbee2MQTT version
1.37.0 commit: 46f34c8
Coordinator type
EZSPv8
Coordinator version
6.10.3.0 build 297

Does anyone have any idea why this may be happening?

Thank you.

Greetings.

Re: Bidirectional energy meter with 80A current clamp tuya PJ-1203A zigbee2mqtt

Posted: Sunday 05 May 2024 9:58
by gizmocuz
Maybe it has something to do with the polling interval? It looks like you get a lot of updates
Have a look at the 'reporting' settings for that device

Re: Bidirectional energy meter with 80A current clamp tuya PJ-1203A zigbee2mqtt

Posted: Sunday 05 May 2024 11:49
by waltervl
Check https://www.zigbee2mqtt.io/devices/PJ-1203A.html for some settings about reporting timing.

Re: Bidirectional energy meter with 80A current clamp tuya PJ-1203A zigbee2mqtt

Posted: Sunday 12 May 2024 15:26
by albaga
Good afternoon.
Indeed there is a parameter that indicates the frequency of updating the measurements, I have set it to the maximum it allows, which is 60 seconds, but the same thing keeps happening.
I have updated to the latest version of domoticz, in case it had something to do with it, but the problem has not been fixed.

Thank you.

Gretings.

Re: Bidirectional energy meter with 80A current clamp tuya PJ-1203A zigbee2mqtt

Posted: Sunday 12 May 2024 15:33
by waltervl
Perhaps update Zigbee2MQTT? Also check with MQTT explorer if the device is really sending a lot of messages.

Re: Bidirectional energy meter with 80A current clamp tuya PJ-1203A zigbee2mqtt

Posted: Sunday 12 May 2024 22:38
by albaga
The same thing has to do with this:

https://github.com/Koenkk/zigbee2mqtt/discussions/21462

Starting with version 1.36, zigbee2mqtt has the ember adapter for Sonoff ZBDongle-E, it is also possible that there is a problem when the ember and the EZSP work in parallel.
I have downgraded zigbee2mqtt to 1.35 and now it works on a raspberry pi 4, but the same thing happens on 3.
So I have left domoticz running on rpi 4 for now.

Thank you.
Greetings.