(Error)Node Red with sensortag and raspberry pi

#1

I am trying to follow the instruction from https://www.hackster.io/rei-vilo/sensortag-to-blynk-using-node-red-f90c4d
but the raspberry pi cannot detect the sensortag after node-red-start. I guess it is related to the following warning, how can I fix this? Please help! thank you

Welcome to Node-RED

23 Dec 10:41:09 - [info] Node-RED version: v0.19.4
23 Dec 10:41:09 - [info] Node.js version: v8.11.1
23 Dec 10:41:09 - [info] Linux 4.14.90+ arm LE
23 Dec 10:41:20 - [info] Loading palette nodes
23 Dec 10:41:38 - [warn] ------------------------------------------------------
23 Dec 10:41:38 - [warn] [node-red-node-sensortag/sensorTag] Error: Cannot find module '../build/Release/binding.node'
23 Dec 10:41:38 - [warn] ------------------------------------------------------
23 Dec 10:41:38 - [info] Settings file : /home/pi/.node-red/settings.js
23 Dec 10:41:38 - [info] Context store : 'default' [module=memory]
23 Dec 10:41:38 - [info] User directory : /home/pi/.node-red
23 Dec 10:41:38 - [warn] Projects disabled : editorTheme.projects.enabled=false
23 Dec 10:41:38 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
23 Dec 10:41:38 - [info] Creating new flow file
23 Dec 10:41:38 - [warn]

Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

23 Dec 10:41:38 - [info] Starting flows
23 Dec 10:41:38 - [info] Started flows
23 Dec 10:41:38 - [info] Server now running at http://127.0.0.1:1880/

0 Likes

#2

Did you notice this in the instructions:

Install Additional Nodes

There are two releases for the SensorTag , node-red-contrib-sensortag and node-red-node-sensortag . I managed to get the first one to work.

0 Likes