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
This code is based on works of Jonathan Schemoul, HackSpark.fr
npm install --save node-xiaomi-smart-home
see examples in JavaScript and TypeScript in examples