homebridge-mijia-camera

Xiaomi Mijia camera plugin for Homebridge

Usage no npm install needed!

<script type="module">
  import homebridgeMijiaCamera from 'https://cdn.skypack.dev/homebridge-mijia-camera';
</script>

README

homebridge-mijia-camera

Homebridge plugin for the Xiaomi Mijia 1080P Smart IP Camera, also known as Mi Home Security Camera.

For now the plugin only allows turning on and off the camera.

Installation

  1. Install the package:

    npm install -g homebridge-mijia-camera
    
  2. Get the IP and token of the camera

    See this or this for instructions.

  3. Update the Homebridge configuration:

    Add the camera configuration to the accessories node, with the appropriate values.

    "accessories": [
      {
        "accessory": "MijiaCamera",
        "name": "SOME_NAME_FOR_THE_CAMERA",
        "ip": "IP_ADDRESS_OF_THE_CAMERA",
        "token": "CAMERA_TOKEN"
      }
    ]
    
  4. Restart Homebridge