Ok. So in the last blog post we looked at Node.js and BlueMix from a point of view of starting out. Now, lets add some more tools to the toolbox
One of Nick O’Leary and Dave Conway Jones (technical) babies is the awesome NodeRed which I heartily recommend you check out here.
More recently however, these stalwarts of messaging and integration have been contributing to a GitHub repository – geared toward Node.js and are applicable to Cloud tech’ – in order to make life even simpler for the developer and to amplify the power of their awesome applications.
Want to know how to get your hands on the goodies….read on:
First of all – check out this awesome tutorial to get started with Node.js and BlueMix
Then check out some of the awesome collections of new goodies in the GitHub repository that Nick and Dave have been contributing to : https://github.com/node-red/node-red-nodes
But here is a quick run down of the latest goodies you can lay your hands on:
72-wordpos – Analyses the payload and classifies the part-of-speech of each word. The resulting message has msg.pos added with the results. A word may appear in multiple categories (eg, ‘great’ is both a noun and an adjective).
74-swearfilter – Analyses the payload and tries to filter out any messages containing bad swear words. This only operates on payloads of type string. Everything else is blocked.
37-rpi-piface – Adds support for the PiFace interface module for Raspberry Pi.
78-ledborg – A simple driver for the LEDborg plug on module for Raspberry Pi.
60-wemo – Basic node to drive a WeMo socket and switch. Does not use discovery.
76-blinkstick – Provides support for the BlinkStick USB LED device.
77-blink1 – Provides support for the Blink1 USB LED from ThingM.
78-digiRGB – Provides support for the DigiSpark RGB USB LED.
79-sensorTag – Reads data from the Ti BLE SensorTag device.
100-heatmiser-in – Writes settings for temperature and frost protection to Heatmiser thermostats.
101-heatmiser-out – Reads settings from Heatmiser thermostats at a polling interval.
101-scanBLE – Scans for a particular Bluetooth Low Energy (BLE) device.
145-BBB-hardware – A collection of analogue & digital input & output nodes for the Beaglebone Black
26-rawserial – Only really needed for Windows boxes without serialport npm module installed. Uses a simple read of the serial port as a file to input data. You must set the baud rate etc externally before starting Node-RED. This node does not implement pooling of connections so only one instance of each port may be used – so in orout but not both.
39-wol – Sends a Wake-On-LAN magic packet to the mac address specified. You may instead set msg.mac to dynamically set the target device mac to wake up.
88-ping – Pings a machine and returns the trip time in mS. Returns false if no response received within 3 seconds, or if the host is unresolveable. Default ping is every 20 seconds but can be configured.
69-mpd – MPD music control nodes. Output node expects payload to be a valid mpc command. Currently only simple commands that expect no reply are supported. Input node creates a payload object with Artist, Album, Title, Genre and Date.
57-notify – Uses Growl to provide a desktop popup containing the payload. Only useful on the local machine.
57-prowl – Uses Prowl to push the payload to an Apple device that has the Prowl app installed.
57-pushbullet – Uses PushBullet to push the payload to an Android device that has the PushBullet app installed.
92-xmpp – Connects to an XMPP server to send and receive messages.
67-leveldb – Uses LevelDB for a simple key value pair database.
68-mysql – Allows basic access to a MySQL database. This node uses the query operation against the configured database. This does allow both INSERTS and DELETES. By it’s very nature it allows SQL injection…so be careful out there…
69-ddbout – Support output to Amazon DynamoDB.
79-suncalc – Uses the suncalc module to generate an output at sunrise and sunset based on a specified location. Several choices of definition of sunrise and sunset are available,
99-sample – A sample node with more comments than most to try to help you get started without any other docs…