johnwalicki / node-red-contrib-bt-presence

Node-RED node to scan for available bluetooth devices using l2ping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-red-contrib-bt-presence

A Node-RED node which uses l2ping to determine the presence of one or more bluetooth devices. This node does provide the collective bluetooth state. Means, only if no bluetooth device at all is reachable, "not-present" will be signalized.

The node uses https://github.com/cmvee/bt-presence

Install

Run the following command in the root directory of your Node-RED install or use the "Manage palette"

npm install node-red-contrib-bt-presence

Currently (2017-12-19) a patch for bt-presence is necessary: cmvee/bt-presence#3 Make sure that this change is used. You will need to patch it manually right now.

Usage

  • Add the bluetooth devices you want to scan. To enter more than one, use a comma to separate them.
  • Set the scan interval.
  • Deploy your flow
  • "present" will be signalized in msg.payload in case of presence. Otherwise "not-present"

Loxone Configuration

node-red-contrib-bt-presence

Thanks

Thanks to "cmvee" for the npm modul "bt-presence" which this node-red node uses.

About

Node-RED node to scan for available bluetooth devices using l2ping

License:Apache License 2.0


Languages

Language:JavaScript 58.1%Language:HTML 41.9%