node-red-contrib-mijia-filter

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i node-red-contrib-mijia-filter

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • sjroe