1.0.0 • Published 5 years ago

node-red-contrib-mijia-filter v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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