Skip to content
Node.js module for Xiaomi smart home hub
Branch: master
Clone or download
Latest commit e1ad819 Mar 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples lint Sep 16, 2018
src lint Sep 16, 2018
.gitignore Add light and inactivity values to Aqara Motion Sensor Jun 3, 2018
.npmignore npm Jan 11, 2017
LICENSE Initial commit Jan 10, 2017 Update Mar 19, 2019
_config.yml Set theme jekyll-theme-merlot Jan 12, 2017
package.json version bump Sep 16, 2018
pm2.config.js initial working prototype Jan 11, 2017
tsconfig.json fixed TS errors Jan 23, 2017
tslint.json linting introduced Jun 27, 2018
xiaomi.jpg npm Jan 11, 2017
yarn.lock linting introduced Jun 27, 2018


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


This code is based on works of Jonathan Schemoul,


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


see examples in JavaScript and TypeScript in examples

You can’t perform that action at this time.