AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.47k stars 348 forks source link

No battery voltage for lumi.weather (WSDCGQ11LM) #1338

Closed mpiexec closed 6 months ago

mpiexec commented 7 months ago

On the current addon version v4.0.4 for WSDCGQ11LM (Firmware: 3) there are only such entities:

Sensors:

Previously i've got voltage sensor, how to get it?

AlexxIT commented 7 months ago

Download device diagnostics after 3-5 hours from Hass start

mpiexec commented 7 months ago

Download device diagnostics after 3-5 hours from Hass start

Done

{
  "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2024.4.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.2",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Moscow",
    "os_name": "Linux",
    "os_version": "6.1.0-rpi6-rpi-v8",
    "supervisor": "2024.04.0",
    "host_os": "Debian GNU/Linux 12 (bookworm)",
    "docker_version": "24.0.7",
    "chassis": "",
    "run_as_root": true
  },
  "custom_components": {
    "xiaomi_gateway3": {
      "version": "4.0.4",
      "requirements": [
        "zigpy>=0.52.3"
      ]
    },
    "xiaomi_miot": {
      "version": "0.7.17",
      "requirements": [
        "construct>=2.10.68",
        "python-miio>=0.5.12",
        "micloud>=0.5"
      ]
    },
    "smartthinq_sensors": {
      "version": "0.39.0",
      "requirements": [
        "pycountry>=23.0.0",
        "xmltodict>=0.13.0",
        "charset_normalizer>=3.2.0"
      ]
    },
    "hacs": {
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "localtuya": {
      "version": "5.2.1",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "xiaomi_gateway3",
    "name": "Xiaomi Gateway 3",
    "codeowners": [
      "@AlexxIT"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/AlexxIT/XiaomiGateway3",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/AlexxIT/XiaomiGateway3/issues",
    "requirements": [
      "zigpy>=0.52.3"
    ],
    "version": "4.0.4",
    "is_built_in": false
  },
  "data": {
    "version": "43295bf",
    "options": {
      "host": "192.168.1.116",
      "token": "464f71556a365a6f635175724e314f36",
      "key": "1oQAuUmblbG2k4yr",
      "stats": false,
      "debug": []
    },
    "errors": [],
    "device": {
      "available": true,
      "extra": {
        "did": "lumi.158d0002733e87",
        "type": "zigbee",
        "ieee": "00:15:8d:00:02:73:3e:87",
        "nwk": "0x0427",
        "fw_ver": 3,
        "hw_ver": 0,
        "cloud_name": "Table",
        "cloud_fw": "1.0.0_0003",
        "market_brand": "Aqara",
        "market_name": "TH Sensor",
        "market_model": "WSDCGQ11LM",
        "lqi": 52,
        "rssi": -87,
        "seq": 94
      },
      "last_seen": {
        "54ef443f9acc": "1m32s"
      },
      "listeners": 5,
      "model": "lumi.weather",
      "params": {
        "temperature": 25.17,
        "humidity": 56.08,
        "pressure": 1001.3000000000001,
        "battery_voltage": 2995,
        "battery": 59,
        "battery_original": 96,
        "resets": 872,
        "send_all_cnt": 1,
        "send_fail_cnt": 0,
        "send_retry_cnt": 0,
        "parent": "lumi.158d0003938a83",
        "fw_ver": 3,
        "hw_ver": 0,
        "lqi": 68
      },
      "ttl": "2h50m",
      "uid": "0x00158d0002733e87",
      "last_report": {
        "pressure": 1001.3000000000001
      },
      "last_report_gw": {
        "host": "192.168.1.116",
        "mac": "54:ef:44:3f:9a:cc",
        "name": "GW5",
        "model": "lumi.gateway.mcn001",
        "fw_ver": "1.0.6_0016"
      },
      "last_report_ts": "1m32s"
    }
  }
}
AlexxIT commented 7 months ago

Added to master version

AlexxIT commented 6 months ago

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.5

mpiexec commented 6 months ago

👍🏻