Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wrong device]: #17637

Closed
cloudbr34k84 opened this issue May 10, 2023 · 16 comments
Closed

[Wrong device]: #17637

cloudbr34k84 opened this issue May 10, 2023 · 16 comments

Comments

@cloudbr34k84
Copy link

cloudbr34k84 commented May 10, 2023

Link

https://a.aliexpress.com/_m0uVjs8

Model

PJ-MGW1203

Description

Zigbee Single Phase Power Metering Module with an 80A CT Clamp

Vendor

Tuya

Picture (link)

https://smarthomescene.com/wp-content/uploads/2023/03/tuya-zigbee-clamp-energy-meter-pj-mgw1203-buy-smarthomescene.jpg.webp

Database entry

{"id":117,"type":"Router","ieeeAddr":"0x70ac08fffe916c19","nwkAddr":59430,"manufId":4098,"manufName":"_TZE204_cjbofhxw","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,4,5,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"�\u0005�+i","65506":31,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE204_cjbofhxw","stackVersion":0,"dateCode":"","zclVersion":3,"appVersion":70,"powerSource":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":70,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1684784773996,"defaultSendRequestWhen":"immediate"}

Notes

The energy sensor us not correct. It's not a continue increase, rather it delta value.

@Koenkk
Copy link
Owner

Koenkk commented May 11, 2023

Please post the data/database.db entry of this device.

@cloudbr34k84
Copy link
Author

Same as other comments.

@cloudbr34k84
Copy link
Author

Here is the Device about page
Screenshot_20230514-052750

@cloudbr34k84
Copy link
Author

@Koenkk updated with database.db info

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue May 23, 2023
@Koenkk
Copy link
Owner

Koenkk commented May 23, 2023

Fixed!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@tenkaibr
Copy link

tenkaibr commented May 24, 2023

I'm having a problem with this model. It already appears correctly but the current, power and energy data are null. linkquality and voltage are showing ok.

I'm using the latest version of edge (I just installed it) and the latest version of the coordinator.

debug 2023-05-24 01:35:48Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":194}' from endpoint 1 with groupID 0
debug 2023-05-24 01:35:53Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":195}' from endpoint 1 with groupID 0
debug 2023-05-24 01:35:58Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":196}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:04Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":197}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:09Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":198}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:14Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":199}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:20Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":200}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:25Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":201}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:27Received Zigbee message from '0x70ac08fffe3a46de', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":70}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:30Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":202}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:36Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":203}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:36Received Zigbee message from '0x70ac08fffe3a46de', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,4,254],"type":"Buffer"},"datatype":2,"dp":20}],"seq":52224}' from endpoint 1 with groupID 0
info 2023-05-24 01:36:36MQTT publish: topic 'zigbee2mqtt/0x70ac08fffe3a46de', payload '{"current":null,"energy":null,"linkquality":105,"power":null,"voltage":127.8}'
debug 2023-05-24 03:00:08Received Zigbee message from '0x70ac08fffe3a46de', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000f\u0000\u0000\u0000\u0000\u0012\u0000\u0000\u0000\u0000\u0012"}' from endpoint 1 with groupID 0

image

image

@cloudbr34k84
Copy link
Author

Have you tried re adding it??

@tenkaibr
Copy link

Have you tried re adding it??

Yeap. I've already lost count.

Is your device working properly?

@cloudbr34k84
Copy link
Author

Have you tried re adding it??

Yeap. I've already lost count.

Is your device working properly?

Yeah man
Screenshot_20230524-165654.png

@tenkaibr
Copy link

Yeah man !

That's weird. When did you buy your device? Mine just arrived. Maybe they changed something? Here it is blinking a red light every 2-3s. It's normal?

@cloudbr34k84
Copy link
Author

Yeah man !

That's weird. When did you buy your device? Mine just arrived. Maybe they changed something? Here it is blinking a red light every 2-3s. It's normal?

I bought months ago. Do you have a tuya zigbee hub to connect to to. Is it picking up any sensors?

@tenkaibr
Copy link

I bought months ago. Do you have a tuya zigbee hub to connect to to. Is it picking up any sensors?

Unfortunately I don't have a tuya zigbee hub but I already bought it to do the tests. The problem is that it won't arrive in time to open a claim.

Your log (debug) shows something like this:

type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":203}' from endpoint 1 with groupID 0

Should I open another topic to address the problem? This one is listed as closed.

And thanks for the attention!

@cloudbr34k84
Copy link
Author

Yeah you should open a separate issue. You need to attach herdsman logs. Do you have that enabled?

@tenkaibr
Copy link

I have no idea but I'll look into it. But first I will buy a tuya hub to confirm if the problem is in ziggbe2mqtt.

@aaDJaa
Copy link

aaDJaa commented Jan 7, 2025

I'm having a problem with this model. It already appears correctly but the current, power and energy data are null. linkquality and voltage are showing ok.

I'm using the latest version of edge (I just installed it) and the latest version of the coordinator.

debug 2023-05-24 01:35:48Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":194}' from endpoint 1 with groupID 0
debug 2023-05-24 01:35:53Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":195}' from endpoint 1 with groupID 0
debug 2023-05-24 01:35:58Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":196}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:04Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":197}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:09Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":198}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:14Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":199}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:20Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":200}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:25Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":201}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:27Received Zigbee message from '0x70ac08fffe3a46de', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":70}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:30Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":202}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:36Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":203}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:36Received Zigbee message from '0x70ac08fffe3a46de', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,4,254],"type":"Buffer"},"datatype":2,"dp":20}],"seq":52224}' from endpoint 1 with groupID 0
info 2023-05-24 01:36:36MQTT publish: topic 'zigbee2mqtt/0x70ac08fffe3a46de', payload '{"current":null,"energy":null,"linkquality":105,"power":null,"voltage":127.8}'
debug 2023-05-24 03:00:08Received Zigbee message from '0x70ac08fffe3a46de', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000f\u0000\u0000\u0000\u0000\u0012\u0000\u0000\u0000\u0000\u0012"}' from endpoint 1 with groupID 0

image

image

I have the same thing here, did you solve it already?

@danwooller
Copy link

I'm having a problem with this model. It already appears correctly but the current, power and energy data are null. linkquality and voltage are showing ok.
I'm using the latest version of edge (I just installed it) and the latest version of the coordinator.

debug 2023-05-24 01:35:48Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":194}' from endpoint 1 with groupID 0
debug 2023-05-24 01:35:53Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":195}' from endpoint 1 with groupID 0
debug 2023-05-24 01:35:58Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":196}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:04Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":197}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:09Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":198}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:14Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":199}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:20Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":200}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:25Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":201}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:27Received Zigbee message from '0x70ac08fffe3a46de', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":70}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:30Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":202}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:36Received Zigbee message from '0x70ac08fffe3a46de', type 'commandMcuGatewayConnectionStatus', cluster 'manuSpecificTuya', data '{"payloadSize":203}' from endpoint 1 with groupID 0
debug 2023-05-24 01:36:36Received Zigbee message from '0x70ac08fffe3a46de', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,4,254],"type":"Buffer"},"datatype":2,"dp":20}],"seq":52224}' from endpoint 1 with groupID 0
info 2023-05-24 01:36:36MQTT publish: topic 'zigbee2mqtt/0x70ac08fffe3a46de', payload '{"current":null,"energy":null,"linkquality":105,"power":null,"voltage":127.8}'
debug 2023-05-24 03:00:08Received Zigbee message from '0x70ac08fffe3a46de', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000f\u0000\u0000\u0000\u0000\u0012\u0000\u0000\u0000\u0000\u0012"}' from endpoint 1 with groupID 0

image
image

I have the same thing here, did you solve it already?

I just have 0 on energy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants