Skip to content

Support MJWSD05MMC (Xiaomi Smart Temperature and Humidity monitor 3) #202

@StrikeSNC

Description

@StrikeSNC

Expected Behavior

After adding corresponding config, the MJWSD05MMC should report temperature and humidity as the good old LYWSD03MMC does

Current Behavior

No data is reported, sensor value is 0 in Homebridge, accessory is unavailable on Home app

Steps to Reproduce (for bugs)

  1. Add name, MAC address, BLE key to plugin config
  2. Apply and restart Homebridge
  3. (Did not) Profit

Versions

  • homebridge: 1.8.5
  • homebridge-mi-hygrothermograph: v3.4.2
  • node: v20.18.0
  • OS: Raspbian GNU/Linux 12 (bookworm) armv6l

Configuration

        {
            "name": "Xiaomi Smart Temperature and Humidity monitor 3",
            "type": "Hygrotermograph",
            "address": "......",
            "temperatureName": "Temperature",
            "humidityName": "Humidity",
            "moistureName": "Moisture",
            "fertilityName": "Fertility",
            "illuminanceName": "Illuminance",
            "fakeGatoEnabled": false,
            "timeout": 15,
            "forceDiscovering": true,
            "forceDiscoveringDelay": 2500,
            "disableBatteryLevel": false,
            "lowBattery": 10,
            "temperatureOffset": 0,
            "humidityOffset": 0,
            "moistureOffset": 0,
            "fertilityOffset": 0,
            "illuminanceOffset": 0,
            "bindKey": "......",
            "accessory": "Hygrotermograph"
        }

Homebridge Log / Command Output

[Xiaomi Smart Temperature and Humidity monitor 3] Error: Unknown event type: 18434. 5859474c106162f038c1a402480148
    at Parser.parseEventData (/var/lib/homebridge/node_modules/homebridge-mi-hygrothermograph/lib/parser.js:224:15)
    at Parser.parse (/var/lib/homebridge/node_modules/homebridge-mi-hygrothermograph/lib/parser.js:64:23)
    at Scanner.parseServiceData (/var/lib/homebridge/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:174:52)
    at Scanner.onDiscover (/var/lib/homebridge/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:95:25)
    at Noble.emit (node:events:531:35)
    at Noble.onDiscover (/var/lib/homebridge/node_modules/homebridge-mi-hygrothermograph/node_modules/@abandonware/noble/lib/noble.js:218:10)
    at NobleBindings.emit (node:events:519:28)
    at NobleBindings.onDiscover (/var/lib/homebridge/node_modules/homebridge-mi-hygrothermograph/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:213:10)
    at Gap.emit (node:events:519:28)
    at Gap.onHciLeAdvertisingReport (/var/lib/homebridge/node_modules/homebridge-mi-hygrothermograph/node_modules/@abandonware/noble/lib/hci-socket/gap.js:175:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions