Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StrikeSNC opened this issue Nov 17, 2024 · 0 comments
Open

Comments

@StrikeSNC
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant