Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

quibusus/node-xiaomi-smart-home

Repository files navigation

node-xiaomi-smart-home

!! Please note - this module is no longer maintained !!

I recommend Home Assistant as the platform for integration. Works really well.


Node.js module for Xiaomi smart home (also branded as Aquara)

Use this module to get data from Xiaomi sensors - temperature/humidity, magnet switch, button (switch), motion sensor

Note that you need to switch on the developer mode - HOWTO. The link is in Chinese, but good enough with google translate and screenshots.

xiaomi smart home hub

Credit

This code is based on works of Jonathan Schemoul, HackSpark.fr

Install

    npm install --save node-xiaomi-smart-home

Examples

see examples in JavaScript and TypeScript in examples