Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.51k stars 1.63k forks source link

WM25L-Z > reporting AC when it should be battery with solar panel charging #22293

Open quadcom opened 2 months ago

quadcom commented 2 months ago

What happened?

Smartwings WM25L-Z has started to be reported as running on AC power when it is running on battery but has the solar charging panel attached.

Zigbee2MQTT version 1.36.1 commit: unknown Coordinator type zStack3x0 Coordinator revision 20230507 Coordinator IEEE Address 0x00124b0024c0dabd Frontend version 0.6.161 zigbee_herdsman_converters_version 19.11.2 zigbee_herdsman_version 0.40.3

What did you expect to happen?

Whe it was first added to z2m it was correctly identified as on battery. I cannot specifically say when this change started. I only just noticed it now as I was curious about the current battery level of the different shades.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.1

Adapter firmware version

20230507

Adapter

zStack3x0

Setup

HAOS Addon (VM, UnRaid)

Debug log

No response

quadcom commented 1 month ago

It still reports as AC instead of battery in z2m v1.38.0 (HAOS addon) even though the interview shows the battery level being exposed. Re-interviewing or re-configuring makes no difference.

Zigbee2MQTT
version 1.38.0
commit: [unknown]

Coordinator type
    zStack3x0

Coordinator revision
    20230507

Coordinator IEEE Address
    0x00124b0024c0dabd

Frontend version
    0.7.1

    19.47.1

    0.49.2

{
    "battery": null,
    "device": {
        "friendlyName": "BR-MASTER-Shade-Adrian",
        "ieeeAddr": "0x6c5cb1fffefdd249",
        "manufacturerID": 4098,
        "manufacturerName": "Smartwings",
        "model": "WM25L-Z",
        "networkAddress": 57991,
        "powerSource": "Mains (single phase)",
        "type": "EndDevice",
        "zclVersion": 8
    },
    "last_seen": "2024-06-02T13:14:38-04:00",
    "linkquality": 36,
    "state": "OPEN",
    "position": 100
}