node-red-contrib-mijia-filter
v1.0.0
Published
Xiomia Mijia BLE sensors broadcast service data filter. To be used in conjunction with node-red-contrib-ble-scan
Downloads
23
Maintainers
Readme
node-red-contrib-mijia-filter
This Node-Red module contains the "Mijia BLE Filter" node that filters and extracts the sensor data of Mijia BLE devices obtained via node-red-contrib-ble-scan.
Acknowledgements
The methodolgy and parser has been obtained from the homebridge-mi-hygrothermograph project on GitHub.
Installation
To install this module use Node-Red GUI installer or console command:
npm install node-red-contrib-mijia-filter
Usage
Input message: msg.payload must be the output message from node-red-contrib-ble-scan.
Output message: msg.payload object that contains the following:
- address - MAC address of Mijia sensor
- data - object of the sensor data that may contain the following dependant on sensor type and data broadcast:
- temperature_ - temperature from sensor
- battery - battery level in percents
- humidity - Mijia Temperature Humidity device only
- light, moisture, conductivity - MiFlora device only
Tested With
This module has been tested with:
- MJ_HT_V1
- LYWSD02