Skip to content

Node-RED nodes that can be used with the TJBot running on a Raspberry Pi.

Notifications You must be signed in to change notification settings

fmanclossi/node-red-contrib-tjbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TJBot Node-RED nodes

Node-RED nodes that can be used with the TJBot running on a Raspberry Pi.

Nodes include:

  • analyze tone - analyzes the tone (emotion, language, and social tones) of the payload using the Watson Tone Analyzer service
  • converse - analyzes natural language using the Watson Conversation service
  • listen - uses the connected microphone to transcribe speech using Watson Speech to Text service
  • see - classifies a photo taken using the camera via Watson Visual Recognition service
  • shine - controls the LED to shine a color
  • speak - uses the connected speaker to play speech from the Watson Text to Speech service
  • take photo - captures a photo taken using the camera
  • translate - translates content via the Watson Language Translator service
  • wave - controls the servo to wave the arm

Installation

cd nodes
git clone https://github.com/jeancarl/node-red-contrib-tjbot
cd node-red-contrib-tjbot
npm install
sudo node-red

The TJBot requires running Node-RED via sudo.

sudo node-red

This may use the Settings file at /root/.node-red/settings.js. Modify the file with the following to point back to the original Node-RED directory (under the user pi):

    // By default, all user data is stored in the Node-RED install directory. To
    // use a different location, the following property can be used
    userDir: '/home/pi/.node-red/',

    // Node-RED scans the `nodes` directory in the install directory to find nodes.
    // The following property can be used to specify an additional directory to scan.
    nodesDir: '/home/pi/.node-red/nodes',

Contributions

Contributions and enhancements are welcomed. Please create a pull request.

About

Node-RED nodes that can be used with the TJBot running on a Raspberry Pi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 69.2%
  • JavaScript 30.8%