zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

socket TS011F manufacturer _TZ3000_cphmq0q7 not reporting anything except linkquality

Open slashbv opened this issue 5 years ago • 165 comments

Bug Report

What happened

I have this plug TS011F manufacturer _TZ3000_cphmq0q7 and it is not reporting power, current, voltage,energy and also it doesn't report the state when changed from physical button. The only things that it reports is linkquality. image image

What did you expect to happen

How to reproduce it (minimal and precise)

Debug Info

Zigbee2MQTT version: 1.21.2 Adapter hardware: CC2652RB Adapter firmware version: 20210708

slashbv avatar Oct 07 '21 16:10 slashbv

if I go to Dev console and try to read each cluster and attributes it is showing values but again they are never updated unless I read them from dev console. image

slashbv avatar Oct 07 '21 16:10 slashbv

Same exact issue happening with sockets reporting Zigbee manufacturer as "_TZ3000_dpo1ysak". I got 6, so far tried two of them with the same result.

ristomatti avatar Oct 15 '21 19:10 ristomatti

I wonder if these need polling of values like with TS0121_plug? It would be rather unfortunate as I already got 8 of them but didn't like the fact they need polling. I bought these hoping for instantaneous reporting. 😄

ristomatti avatar Oct 15 '21 19:10 ristomatti

I went through the pull requests at zigbee-herdsman and noticed some recent ones related to "_TZ3000_dpo1ysak". After upgrading to the latest-dev Docker image, indeed the values started to update, although it seems via polling. Also the device picture is now wrong but I guess this is what you occasionally get when buying stuff from AliExpress. 😄

Maybe it's the same for your device type @slashbv?

This is the info I see on the web Ui now:

Zigbee Model: TS011F Zigbee Manufacturer: _TZ3000_dpo1ysak Description: Smart plug (with power monitoring by polling)

ristomatti avatar Oct 16 '21 01:10 ristomatti

I bought another one _TZ3000_cphmq0q7 that works fine. I suspect they might have different firmware.

slashbv avatar Oct 16 '21 18:10 slashbv

Strange indeed. I wonder if there's any other identification the devices provide besides the model and manufacturer value that's just not visible on the Web UI?

ristomatti avatar Oct 16 '21 19:10 ristomatti

I have no idea. I opened the issue hopping someone experienced may help.

slashbv avatar Oct 17 '21 10:10 slashbv

@Koenkk ? :roll_eyes:

ristomatti avatar Oct 18 '21 13:10 ristomatti

@ristomatti the picture will be correct after the next z2m update (1 November)

Koenkk avatar Oct 18 '21 15:10 Koenkk

@Koenkk Great! I was referring to the issue @slashbv was experiencing though, trying to "help". :smile:

ristomatti avatar Oct 18 '21 16:10 ristomatti

no solution to my issue?

slashbv avatar Oct 21 '21 10:10 slashbv

@slashbv can you try reconfiguring the device by clicking the yellow refresh icon on the device page?

Koenkk avatar Oct 21 '21 15:10 Koenkk

hello @Koenkk

It does not work, I have the same problem, I have done what you suggest and it still does not report the consumption data

bertocea85 avatar Oct 22 '21 16:10 bertocea85

I have tried this already and it doesn't work

slashbv avatar Oct 22 '21 17:10 slashbv

@slashbv it is strange, I also have the _TZ3000_cphmq0q7 and it support power reporting. Could you provide the debug log when pressing the configure button on the frontend?

See https://www.zigbee2mqtt.io/information/debug.html on how to enable debug logging.

Koenkk avatar Oct 23 '21 12:10 Koenkk

here it is: debug 2021-10-23 15:51:45: Received MQTT message on 'zigbee2mqtt/bridge/request/ device/configure' with data '{"id":"socket_sara","transaction":"k8s72-1"}' info 2021-10-23 15:51:45: Configuring 'socket_sara' info 2021-10-23 15:51:46: Successfully configured 'socket_sara' info 2021-10-23 15:51:46: MQTT publish: topic 'zigbee2mqtt/bridge/response/devi ce/configure', payload '{"data":{"id":"socket_sara"},"status":"ok","transaction" :"k8s72-1"}'

slashbv avatar Oct 23 '21 13:10 slashbv

@slashbv do you by any chance own a TuYa hub and could sniff the traffic when pairing it to that? https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

Koenkk avatar Oct 24 '21 13:10 Koenkk

I attached the file. wireshark_TZ3000_cphmq0q7.zip

slashbv avatar Oct 24 '21 16:10 slashbv

Your plug does not seem to support reporting indeed, it only provides the power measurement updates as a read response. Could you provide me the data/database.db entry of your plug?

Koenkk avatar Oct 25 '21 15:10 Koenkk

It seems to be working well while connected to tuya hub.

{"id":70,"type":"Router","ieeeAddr":"0x84fd27fffec2296f","nwkAddr":10727,"manufId":4098,"manufName":"_TZ3000_cphmq0q7","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_cphmq0q7","powerSource":1,"zclVersion":3,"appVersion":69,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1,"activePower":40,"rmsCurrent":232,"rmsVoltage":228}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":[0,2]}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0021cc0b8a","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0021cc0b8a","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0021cc0b8a","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":69,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"reporting":1,"configured":680236614},"lastSeen":1635177742948}

slashbv avatar Oct 25 '21 16:10 slashbv