From cd57346cae0f047f553b8a29a46195097dec8e02 Mon Sep 17 00:00:00 2001 From: dceejay Date: Tue, 14 Apr 2015 17:23:31 +0100 Subject: [PATCH] Update leveldb node to try to force topic to string for key. Add extra "help" for blink1 users. --- hardware/blink1/README.md | 4 ++++ hardware/blink1/package.json | 2 +- storage/leveldb/67-leveldb.html | 2 +- storage/leveldb/67-leveldb.js | 10 ++++++---- storage/leveldb/package.json | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/hardware/blink1/README.md b/hardware/blink1/README.md index b18500bf..0aadb4de 100644 --- a/hardware/blink1/README.md +++ b/hardware/blink1/README.md @@ -10,6 +10,10 @@ As the blink1 is a USB HID device you may need some extra hardware libraries as documented here and here. +Specifically Ubuntu/Debian/Raspbian user may need to + + sudo apt-get install libusb-1.0-0.dev. + Install ------- diff --git a/hardware/blink1/package.json b/hardware/blink1/package.json index bd4bdbbf..1ba39e4c 100644 --- a/hardware/blink1/package.json +++ b/hardware/blink1/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-blink1", - "version" : "0.0.6", + "version" : "0.0.7", "description" : "A Node-RED node to control a Thingm Blink(1)", "dependencies" : { "node-blink1" : "0.1.5" diff --git a/storage/leveldb/67-leveldb.html b/storage/leveldb/67-leveldb.html index e889a15a..1e49327f 100644 --- a/storage/leveldb/67-leveldb.html +++ b/storage/leveldb/67-leveldb.html @@ -48,7 +48,7 @@

Uses LevelDB for a simple key value pair database.

Use this node to get, or retrieve the data already saved in the database.

msg.topic must hold the key for the database, and the result is returned in msg.payload.

-

If nothing is found for the key then null is returned,

+

If nothing is found for the key then msg.payload is set to the null object.