mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Merge pull request #110 from hardillb/master
Updating doc to mention only 1 sensorTag can be used at any given time.
This commit is contained in:
commit
1fda2d56ab
@ -78,14 +78,18 @@
|
||||
<!-- The first <p> is used as the pop-up tool tip when hovering over a -->
|
||||
<!-- node in the palette. -->
|
||||
<p>Input node for the Ti SensorTag</p>
|
||||
<p>For this node to work correctly Node-Red needs to be run as root, this
|
||||
due to how Bluetooth 4.0 support is currently implemented in Linux</p>
|
||||
<p>For this node to work correctly Node-Red needs to be run as <i>root</i>
|
||||
, this due to how Bluetooth 4.0 support is currently implemented in
|
||||
Linux</p>
|
||||
<p>The UUID field is the mac address of the sensor tag, this is optional
|
||||
can be used to bind to a specific SensorTag if you have more than one
|
||||
active in range at the same time. (note you can only have one SensorTag
|
||||
per node-red instance at the moment)</p>
|
||||
<p>The topic setting is a prefix that will be pre-pended to name of the
|
||||
sensor that creates the reading. e.g. <i>sensorTag/temperature</i></p>
|
||||
<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>
|
||||
</script>
|
||||
|
||||
<!-- Finally, the node type is registered along with all of its properties -->
|
||||
|
@ -23,4 +23,6 @@ these sensors will be sent as a JSON object payload with the sensor name appende
|
||||
* Gyroscope - { topic: [topic_prefix]/ , payload: { x:0.0, y:0.0, z:0.0 } }
|
||||
* Buttons - { topic: [topic_prefix]/ , payload: { left: "down", right: "up"} }
|
||||
|
||||
The sensorTag library used by this node only supports using 1 SensorTag at once.
|
||||
|
||||
**NOTE:** Node-RED needs to be run as root inorder or access the Linux Bluetooth 4.0 system calls
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "node-red-node-sensortag",
|
||||
"description": "A Node-RED node to read data from a TI SensorTag",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"keywords" : ["node-red","sensortag"],
|
||||
"dependencies": {
|
||||
"sensortag" : "0.1.9"
|
||||
|
Loading…
Reference in New Issue
Block a user