Development

🕑
📖 Kb | 📎 Development | 🔖 vscode

VSCode Hints and Tips

Visual Studio Code is an Integrated Development Environment (IDE) or code editor that is open source and actively developed by Microsoft. These articles contain ideas, hints, tips and knowledge about it and how to use it.

🕑
📖 Kb | 📎 Development | 🔖 Node-RED

Node-RED Q & A

Node-RED Questions and Answers. Node-RED is a flow-based (visual) programming tool. These pages have some information that may be currently missing from the documentation or may expand on it.


📖 Kb | 📎 Development | 🔖 node-red

Easily search for contributed nodes on the Node-RED Flows site

Excellent work has been done to make sure that new nodes are discoverable. Here is a quick way to easily search from your browser.


📖 Kb | 📎 Development | 🔖 node-red

How to create a clone of a message object

Node-RED tried to pass messages by reference not copy. Sometimes though, a copy is needed.


📖 Kb | 📎 Development | 🔖 node-red

How node.send() works

Some detail not included in the documentation.

🕑
📖 Kb | 📎 Development | 🔖 Jekyll, Static Site Generators

GitHub Pages, Jekyll and Liquid

Hints and tips on using Jekyll for publishing to GitHub Pages.
Note that these articles have been migrated from a Jekyll site and may not render correctly.

🕑
📖 Kb | 📎 Development | 🔖 node-red

How to extract a table from HTML

While Node-RED has some nodes for extracting data from HTML, the nodes are rather simplistic. Here is a quick way to extract the data from an HTML table element.


📖 Kb | 📎 Development | 🔖 node-red

Installation and running permissions

People seem to get very confused about file permissions when installing Node-RED and associated nodes. This article tries to set things straight.


📖 Kb | 📎 Development | 🔖 node-red

Secure Home Automation Controls via a Telegram Bot

Shows how to create a secure set of home automation controls without exposing Node-RED to the Internet. It uses a Telegram bot with a number of pre-defined commands.


📖 Kb | 📎 Development | 🔖 node-red

Understanding the Node-RED Runtime API

Node-RED exposes an extensive API at runtime. While most of this is not available within your flows, much of it is available to custom nodes. Unfortunately, documentation for the API lags behind development. This page documents some of the key things I’ve learned about the API, what it does and how it works.


📖 Kb | 📎 Development | 🔖 vscode

VSCode - multiple cursors

VSCode supports multi-cursor editing, here are some tips on using it.


📖 Kb | 📎 Development | 🔖 node-red

Node-RED Dashboard Template Examples (AngularJS)

Some examples of using AngularJS with the Node-RED Dashboard. Not all features of Angular are accessible via the Dashboard.


📖 Kb | 📎 Development | 🔖 node-red

Making Node-RED available over the Internet

There are already too many people putting up insecure services over the Internet. Please don’t add to this problem. This article explains a simple way to get some level of connectivity to Node-RED over the Internet without security issues. It also explains some of the wider issues and where to go for more details.


📖 Kb | 📎 Development | 🔖 node-red

How to use the ACE editor in the Function node

The ACE editor is used in the function node to help you create well-formed JavaScript. However, there are now a number of different versions of JavaScript and it is sometimes helpful to use slightly different styles of coding to the defaults.


📖 Kb | 📎 Development | 🔖 node-red

How to extract a substring from the msg object

Node-RED passes a msg object between node instances in a flow. It is common to need to extract a sub-string and there are multiple ways to achieve this. Here are some simeple examples.