Skip to content

Shelly Gen 4 1PM not updating state #30381

@kevdogg

Description

@kevdogg

What happened?

Setup -
Z2M running within Proxmox VE 9.1.4 LXC Container (Z2M 2.7.1, frontend 2.4.2, zigbee herdsman converter 25.83.1, zigbee herdsman 7.0.4).
Shelly Gen 4 1PM - firmware version 1.7.1. Device installed as zigbee with wireless still active.
Zigbee Coordinator - SLZB-MR3 firware - CC2674P10 Zigbee Coordinator firmware version 20240716

My problem is z2m is not updating the device's status regularly. Device is hooked to a washing machine.
I've documented the issue with screen shots here: https://www.reddit.com/r/ShellyUSA/comments/1pxlwo4/having_issues_with_polling_or_reporting_when/
however a brief description is the power entities don't change without a manual refresh within z2m.

Device states are nearly instanteously reported using either shelly http device web page, shelly app, or querying device using mqtt directly. Within z2m however the entity states don't change without a manual refresh -- or if they do change its often long duration between updates (like maybe 30 minutes or more). Washer had been stopped for at least thirty minutes and z2m still reporting power draw of 8 Watts whereas every other reporting means (http device page, shelly app, mqtt query) reported 1.2 Watts which is idle power draw.

Within z2m I tried changing reporting parameters and this is what I'm currently using however I've really seen no change with the problem:

Image

What did you expect to happen?

I expected device entities to be updated in timely manner consistent with other reporting mechanisms

How to reproduce it (minimal and precise)

Explained above

Zigbee2MQTT version

Frontend 2.4.2

Adapter firmware version

zstack3x0 20240716

Adapter

SLZB-MR3 CC2674P10

Setup

Z2M within Proxmox VE LXC
uname -a = Linux zigbee2mqtt 6.5.13-5-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-5 (2024-04-05T11:03Z) x86_64 GNU/Linux
cat /etc/issue.net = Debian GNU/Linux 13

Device database.db entry

{"id":19,"type":"Router","ieeeAddr":"0xa085e3fffebd9794","nwkAddr":49807,"manufId":5264,"manufName":"Shelly","powerSource":"Mains (single phase)","modelId":"1PM","epList":[1,239,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,3,4,5,6,2820,1794],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"modelId":"1PM","manufacturerName":"Shelly","powerSource":0,"zclVersion":8}},"genOnOff":{"attributes":{"onOff":1}},"haElectricalMeasurement":{"attributes":{"acPowerDivisor":1,"acPowerMultiplier":1,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"acFrequencyDivisor":100,"acFrequencyMultiplier":1,"acVoltageDivisor":100,"acVoltageMultiplier":1,"activePower":2,"rmsCurrent":44,"acFrequency":5999,"rmsVoltage":12187}},"seMetering":{"attributes":{"divisor":1000000,"multiplier":1,"currentSummReceived":0,"status":0,"currentSummDelivered":2212903}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0033c67425","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0033c67425","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0033c67425","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1},{"cluster":2820,"attrId":1291,"minRepIntval":10,"maxRepIntval":65000,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":10,"maxRepIntval":65000,"repChange":50},{"cluster":2820,"attrId":768,"minRepIntval":10,"maxRepIntval":65000,"repChange":100},{"cluster":2820,"attrId":1285,"minRepIntval":10,"maxRepIntval":65000,"repChange":500},{"cluster":1794,"attrId":0,"minRepIntval":10,"maxRepIntval":65000,"repChange":100000},{"cluster":1794,"attrId":1,"minRepIntval":10,"maxRepIntval":65000,"repChange":100000}],"meta":{}},"239":{"profId":49153,"epId":239,"devId":8193,"inClusterList":[64513,64514],"outClusterList":[],"clusters":{"shellyWiFiSetupCluster":{"attributes":{"status":"got ip","ip":"10.0.20.158","enabled":1,"dhcp":1,"ssid":"DDigital_IoT","staticIp":"","netMask":"","gateway":"","nameServer":""}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"zclVersion":8,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1766941375779}

Debug log

log.log

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    problemSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions