Node–RED is a fantastic and powerful yet easy to use programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. For more information on Node-Red, go to the Node-Red site. After all, you probably don’t turn the outside lights ON at 6pm!! You most…
Category: node.js
NR Templates and the Inject Node
When testing Node-Red, the common INJECT node is invaluable. Indeed it is just about the only way to instantly inject information into another node. Here is a typical example. It doesn’t get any simpler than this. Here I have merely dropped an “Inject” node onto the Node-Red working surface along…
LCD Display for Node-Red
As must be obvious by now, I’m on a roll here. Having decided that Node-Red Dashboard is the way forward ( would in the past have used BLYNK or Imperihome) I’ve been getting to grips with the dashboard and as you’ll see if you check recent blogs I’ve had a…
RGraph with Node-Red
Having gone from spending countless hours staring at HTML5 CANVAS, I’m now at the “meh” stage as it starts to dawn on my how it works. And so it was that I stumbled on RGraph – or put another way, Christmas for widget-lovers. If you’ve been following these blog entries…
Node-Red Objects to File and Back
This is a major re-write of a year-old blog. At the time, I simply wanted to store a global object in a file and retrieve it. Things have changed, I realise the way we did this was awful – hence the re-write. One way is to save the object as…
Node Red Sunday
It is Sunday, I’ve done my 4,000 steps down to the village for coffee and back and I’m having a play. I use Node-Red on a Raspberry Pi to control just about everything in two houses – as my confidence in the setup has grown, I’m currently keeping the Pi…
Node-Red on a Phone
I have to hand ALL the credit to Dave at the Node-Red Google Groups for this – and you might want to pop any questions in that direction because I know even less about running Android at the command prompt than I do Debian! Running Node-Red on your Android phone…
Some thoughts on Node Red variables
In learning how to use Node-Red I’ve changed my coding countless times as I’ve found better ways to do things. Please note that in 2017, the way I use global variables here is out of date. It still works but for example context.global.fred=1 is now written as global.set(“fred”,1). Read this…
Drilling into Blynk
Yesterday I referred to using DELAY in Node-Red to slow down one of the Blynk controls. To backtrack a little… We’re talking here about controlling devices such as ESP8266 boards using MQTTT – which I maintain is the best way to have a boatload of devices around the place and…
Raspberry Pi Serial and Node-Red issues
SOLVED: Node-Red serial I/O Looks simple doesn’t it – tie RX and TX together on your Raspberry Pi and press the button – text comes out of the other end – except that it doesn’t. More likely the Pi will CRASH (not something you see every day). Serial out seems…