Skip to content

A Node-Red node that filters and extracts the sensor data of Mijia BLE devices obtained through node-red-contrib-ble-scan

License

Notifications You must be signed in to change notification settings

sjroe/node-red-contrib-mijia-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Node-Red node that filters and extracts the sensor data of Mijia BLE devices obtained through node-red-contrib-ble-scan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published