<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Flow-Based Programming on Much Ado About IT</title><link>https://it.knightnet.org.uk/tags/flow-based-programming/</link><description>
Recent content about Flow-Based Programming from Much Ado About IT |
Ramblings and rantings from IT Architect &amp; Designer, Julian Knight</description><generator>Hugo | gohugo.io | Theme twenty-sixteen</generator><language>en-gb</language><copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright><lastBuildDate>Mon, 24 Apr 2023 21:27:28 +0000</lastBuildDate><atom:link href="https://it.knightnet.org.uk/tags/flow-based-programming/feed.xml" rel="self" type="application/rss+xml"/><item><title>Home Automation Hub using Node-Red</title><link>https://it.knightnet.org.uk/2015/01/home-automation-hub-using-node-red.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2015/01/home-automation-hub-using-node-red.html</guid><pubDate>Fri, 30 Jan 2015 15:32:18 +0000</pubDate><guid>https://it.knightnet.org.uk/2015/01/home-automation-hub-using-node-red.html</guid><description><div>The Internet of Things (IoT) comes alive with the help of Node-Red, a Flow-Based Programming (FBP) tool designed to help link together sensors, switches, logic and displays. With hardware magic from Arduino's, Raspberry Pi's, low cost sensors and wireless switches. We can easily build a bespoke home automation and monitoring hub.</div><div>&lt;p>Having got into some electronics with my son over the last couple of years, I’ve found a new enthusiasm for doing some home automation and monitoring. In the process joining a much overhyped band of people creating the so-called “&lt;!-- raw HTML omitted -->Internet of Things&lt;!-- raw HTML omitted -->” (IoT)
Between &lt;!-- raw HTML omitted -->Arduino’s&lt;!-- raw HTML omitted --> and &lt;!-- raw HTML omitted -->Raspbery Pi’s&lt;!-- raw HTML omitted -->, some &lt;!-- raw HTML omitted -->simple low cost sensors&lt;!-- raw HTML omitted --> and a fair bit of patience, it is amazing what can be achieved.&lt;/p>
&lt;p>One of the big tasks though is trying to link everything together. Generally, this involves either using a big pre-build tool such as the popular &lt;!-- raw HTML omitted -->Domoticz&lt;!-- raw HTML omitted --> or programming your own monitoring and control hub from the bottom up. Personally, I find the former approach too restrictive with the packages rarely doing what I need so that I am always fighting with them. But I find the latter approach too time consuming to ever get very far.&lt;/p>
&lt;p>Thankfully, some great folks at IBM have come to the rescue by creating a tool called “&lt;a href="http://nodered.org/" title="Node Red homepage">Node-Red&lt;/a>“. This uses an approach called “&lt;!-- raw HTML omitted -->Flow-Based Programming&lt;!-- raw HTML omitted -->” (FBP). Indeed, FBP was invented at IBM in the 1970’s so it seems only logical that the &lt;!-- raw HTML omitted -->IBM Emerging Technology&lt;!-- raw HTML omitted --> team should carry on the good work.&lt;/p>
&lt;p>Flow-based programming uses diagrams to connect together small functions, in this case referred to as “nodes”. Rather like putting together a flowchart. Node-Red is aimed at people creating connections between IoT things such as sensors and switches so it is ideal for what I wanted. Even better is that it is based on my chosen programming and automation tool, Node.JS which runs everywhere, is lightweight, fast, flexible and powerful. Node.JS uses Javascript as its programming language and so I only need to learn 1 language to programme for both the server (the back-end) and the client (browser, the front-end or user interface).&lt;/p>
&lt;p>Why not give &lt;!-- raw HTML omitted -->Node-Red&lt;!-- raw HTML omitted --> a try? It is getting more and more attention with lots of new node types being contributed by the community. There is a site for reviewing new nodes and examples at &lt;!-- raw HTML omitted -->flows.nodered.org&lt;!-- raw HTML omitted -->. There is a &lt;!-- raw HTML omitted -->Slack site&lt;!-- raw HTML omitted --> and a lively &lt;!-- raw HTML omitted -->Google news group&lt;!-- raw HTML omitted -->. There is also some good documentation at the &lt;!-- raw HTML omitted -->docs site&lt;!-- raw HTML omitted -->.&lt;/p>
&lt;p>You may also find Node-Red useful for a lot more than just IoT as it makes it easy to work through computing tasks, reducing coding to a minimum.&lt;/p></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/home-automation-ha">Home Automation (HA)</category><category domain="https://it.knightnet.org.uk/categories/internet-of-things-iot">Internet of Things (IoT)</category><category domain="https://it.knightnet.org.uk/categories/software">Software</category><category domain="https://it.knightnet.org.uk/tags/electronics">Electronics</category><category domain="https://it.knightnet.org.uk/tags/fbp">FBP</category><category domain="https://it.knightnet.org.uk/tags/flow-based-programming">Flow-Based Programming</category><category domain="https://it.knightnet.org.uk/tags/ha">HA</category><category domain="https://it.knightnet.org.uk/tags/home-automation">Home Automation</category><category domain="https://it.knightnet.org.uk/tags/internet-of-things">Internet of Things</category><category domain="https://it.knightnet.org.uk/tags/iot">IoT</category><category domain="https://it.knightnet.org.uk/tags/monitoring">Monitoring</category><category domain="https://it.knightnet.org.uk/tags/node-red">Node-RED</category><category domain="https://it.knightnet.org.uk/tags/sensors">Sensors</category></item></channel></rss>