node-red-nodes/hardware/physical-web
Dave Conway-Jones 81c532fdce update hardware nodes info style 2016-03-02 13:27:52 +00:00
..
icons Pushing Physical-web node to node-red-nodes 2015-11-23 16:31:30 +00:00
.gitignore Pushing Physical-web node to node-red-nodes 2015-11-23 16:31:30 +00:00
README.md update hardware nodes info style 2016-03-02 13:27:52 +00:00
package.json update hardware nodes info style 2016-03-02 13:27:52 +00:00
physical-web.html Add message about URL length 2016-02-22 11:14:41 +00:00
physical-web.js Bump version number and add TLM count to the standard options 2016-02-21 13:56:56 +00:00

README.md

node-red-node-physical-web

Nodes to allow Node-RED to act as an Eddystone BLE beacon.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-physical-web

Then on Linux follow these instructions:

https://github.com/sandeepmistry/bleno#running-on-linux

Usage

Physical-Web Out

A node to allow Node-RED to act as an Eddystone beacon broadcasting URLs

The config window lets you set the initial URL, announcement power and period for the Eddystone.

Any messages received will update the advertised URL from the msg.payload

Physical-Web In

A node to scan for local Eddystones and output information about discovered URLs and TLM data.

Two types of messages will be emitted:

  • URL

    • type - Eddystone type
    • txPower - Received power at 0m in dBm
    • url - The URL the beacon is broadcasting
    • tlm - TLM data, if the device is interleaving broadcasts
    • rssi - RSSI of the beacon
    • distance - Estimated distance to the beacon
  • UID

    • type - Eddystone type
    • txPower - Received power at 0m in dBm
    • namespace - 10-byte ID of namespace
    • instance - 6-byte ID instance
    • tlm - TLM data, if the device is interleaving broadcasts
    • rssi - RSSI of the beacon
    • distance - Estimated distance to the beacon

Where the tlm data will be in the following format

  • tlm
    • version - TLM version
    • vbatt - Battery Voltage
    • temp - Temperature
    • advCnt - Advertising PDU count
    • secCnt - Time since power on or reboot
    • rssi - RSSI of the beacon
    • distance - Estimated distance to the beacon