Add dev rules to Blinkstick README

This commit is contained in:
Dave Conway-Jones 2016-02-22 22:23:05 +00:00
parent 60e848c48d
commit 5e46a1dfb4
3 changed files with 12 additions and 8 deletions

View File

@ -34,22 +34,22 @@
<div id="delay-details" class="form-row">
<label for="node-input-delay"><i class="fa fa-clock-o"></i> Delay</label>
<input type="text" id="node-input-delay" placeholder="Delay" style="text-align:right; width:50px !important">
<input type="text" id="node-input-delay" placeholder="Delay" style="text-align:end; width:50px !important">
milliseconds
</div>
<div id="repeats-details" class="form-row">
<label for="node-input-repeats"><i class="fa fa-history"></i> Repeats</label>
<input type="text" id="node-input-repeats" placeholder="Times" style="text-align:right; width:50px !important">
<input type="text" id="node-input-repeats" placeholder="Times" style="text-align:end; width:50px !important">
</div>
<div id="duration-details" class="form-row">
<label for="node-input-duration"><i class="fa fa-clock-o"></i> Duration</label>
<input type="text" id="node-input-duration" placeholder="Duration" style="text-align:right; width:50px !important">
<input type="text" id="node-input-duration" placeholder="Duration" style="text-align:end; width:50px !important">
milliseconds
</div>
<div id="steps-details" class="form-row">
<label for="node-input-steps"><i class="fa fa-history"></i> Steps</label>
<input type="text" id="node-input-steps" placeholder="Steps" style="text-align:right; width:50px !important">
<input type="text" id="node-input-steps" placeholder="Steps" style="text-align:end; width:50px !important">
</div>
<div id="repeat-details" class="form-row">
<label>&nbsp;</label>

View File

@ -14,13 +14,17 @@ For more information see <i><a href="http://www.blinkstick.com/help/tutorials" t
sudo apt-get install -y libudev-dev
Currently you **MUST** run Node-RED as root in order to get sufficient permissions to talk to this USB driver.
You also currently need to create a file `/etc/udev/rules.d/80-blinkstick.rules` containing
SUBSYSTEMS=="usb", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="41e5", TAG+="uaccess"
and either reload the udev rules or reboot.
Install
-------
Run the following command in the root directory of your Node-RED install.
Usually the is `~/.node-red`
Run the following command in the user directory of your Node-RED install.
Usually this is `~/.node-red`
npm install node-red-node-blinkstick

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-blinkstick",
"version" : "0.1.10",
"version" : "0.1.11",
"description" : "A Node-RED node to control a Blinkstick",
"dependencies" : {
"blinkstick" : "1.1.3"