1.0.6 • Published 8 months ago

homebridge-mi-temperature-and-humidity-sensor v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

homebridge-mi-temperature-and-humidity-sensor

npm version npm downloads

Compatibility

The LYWSD03MMC sensor is currently the only supported sensor for this plugin.

Before starting the installation you will have to flash the sensor to remove the encryption.

There are several ways to do this, but I recommend using this flashing tool (This tool is not made by or supported by me).

For the BLE connection look at the noble prerequisites for your OS.

Installation

With Homebridge Config UI X

  1. Search for "homebridge-mi-temperature-and-humidity-sensor" on the plugin screen.
  2. Click Install on homebridge-mi-temperature-and-humidity-sensor
  3. Give the sensor a useful name. (This will appear in the HomeKit app).
  4. Add the MAC address. This can be found by using the above flashing tool, or by running bluetoothctl scan le from the terminal. The address will start with A4:C1:38.
  5. Restart Homebridge to pick up the new accessory.
  6. Repeat with as many sensors as you want.

From Terminal

  1. Run the following to install the plugin:
    sudo npm i -g homebridge-mi-temperature-and-humidity-sensor@latest
  2. The config should look like:
    "accessories": [
        {
            "accessory": "MiSensor",
            "name": "Living Room Mi Sensor",
            "address": "a4:c1:38:b9:3f:72",
            "scanTimeout": 3600
        }
    ]
  3. name should be a useful name for the sensor. (This will appear in the HomeKit app).
  4. address is the device MAC address. This can be found by using the above flashing tool, or by running bluetoothctl scan le from the terminal. The address will start with A4:C1:38.
  5. scanTimeout is the interval in seconds between sensor scans. For example, 3600 (1 hour) can reduce sensor battery drain. The default is 1 minute.
  6. Restart Homebridge to pick up the new accessory.
  7. Repeat with as many sensors as you want.

Troubleshooting

If you are having any problems open an issue in this repo and I will try to help.

1.0.6

8 months ago

1.0.5

12 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago