1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

update SensorTag node to add Pi instructions

This commit is contained in:
Dave Conway-Jones 2016-03-02 21:58:24 +00:00
parent 7da9f46c65
commit ae670f0e69
3 changed files with 43 additions and 32 deletions

View File

@ -62,6 +62,7 @@
<p><strong>NOTE:</strong> Only 1 sensorTag can be read from at a time,
if you add more than one to the canvas then only the first to connect
will work.</p>
<p>Linux users should <a href="https://github.com/sandeepmistry/bleno#running-on-linux" target="_new">READ THIS</a>.</p>
</script>
<script type="text/javascript">

View File

@ -3,6 +3,20 @@ node-red-node-sensortag
This node adds support to Node-RED to read from the Texas Instruments SensorTag.
Pre-requisites
--------------
You will need a suitable Bluetooth Low Energy (BLE) stack and drivers for your hardware
- for example Bluez 5.2.x or better.
#### Raspberry Pi
Install Bluetooth drivers and bluez stack, and set executeable by non-root user
sudo apt-get install libbluetooth-dev libudev-dev pi-bluetooth
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
Install
-------
@ -10,10 +24,6 @@ Run the following command in your Node-RED user directory - typically `~/.node-r
npm i node-red-node-sensortag
You will also need a suitable BLE dongle and an enabled Bluetooth stack - for example Bluez 5.2.x or better.
On a Raspberry Pi this can be installed (as of Feb 2016) by
sudo apt-get install pi-bluetooth
Usage
-----

View File

@ -1,7 +1,7 @@
{
"name": "node-red-node-sensortag",
"description": "A Node-RED node to read data from a TI SensorTag",
"version": "0.0.10",
"version": "0.0.11",
"keywords": [
"node-red",
"sensortag",