<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Node-RED on PäksTech</title><link>https://www.pakstech.com/categories/node-red/</link><description>Recent content in Node-RED on PäksTech</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>2021 Janne Kemppainen All rights reserved</copyright><lastBuildDate>Thu, 26 Mar 2020 19:02:41 +0200</lastBuildDate><atom:link href="https://www.pakstech.com/categories/node-red/index.xml" rel="self" type="application/rss+xml"/><item><title>Time Manipulation in Node-RED with Moment</title><link>https://www.pakstech.com/blog/node-red-moment/</link><pubDate>Thu, 26 Mar 2020 19:02:41 +0200</pubDate><guid>https://www.pakstech.com/blog/node-red-moment/</guid><description>&lt;p>&lt;a href="https://momentjs.com/">Moment.js&lt;/a> is a popular JavaScript library for parsing, validating, manipulating and displaying dates. The &lt;a href="https://www.npmjs.com/package/node-red-contrib-moment">node-red-contrib-moment&lt;/a> package is an adaptation of the library to Node-RED. In this post I&amp;rsquo;ll share some examples that should jumpstart your journey with Moment.js.&lt;/p></description></item><item><title>Control a Samsung TV with Node-RED</title><link>https://www.pakstech.com/blog/control-tv-node-red/</link><pubDate>Wed, 02 Oct 2019 17:53:17 +0300</pubDate><guid>https://www.pakstech.com/blog/control-tv-node-red/</guid><description>&lt;p>Node-RED is such a versatile thing. Did you know that it can be even used to control a TV! Wouldn&amp;rsquo;t it be nice to be able to restrict viewing time or force the TV to shut down on school nights? In theory you could even create your own remote controller.&lt;/p>
&lt;p>In this post I&amp;rsquo;ll show some examples that could inspire you to create your own flows. Even though the control nodes I am using are specific to Samsung TV&amp;rsquo;s you should be able to adapt these designs to other manufacturer&amp;rsquo;s models too.&lt;/p>
&lt;p>Even if you don&amp;rsquo;t really want to manage your TV programmatically you should still learn how to actually create some (potentially) useful logic with Node-RED.&lt;/p></description></item><item><title>Getting Started With Node-RED On a Raspberry Pi</title><link>https://www.pakstech.com/blog/raspberry-pi-node-red-getting-started/</link><pubDate>Wed, 28 Aug 2019 16:44:31 +0300</pubDate><guid>https://www.pakstech.com/blog/raspberry-pi-node-red-getting-started/</guid><description>&lt;p>Node-RED is a super useful tool that lets you create integrations between hardware devices, APIs and online services. Everything happens inside a web UI where you can add function nodes and connect them graphically to create more complicated logic. This flow based programming approach makes Node-RED more accessible to beginners and faster to prototype with.&lt;/p>
&lt;p>Node-RED runs on top of Node.js and there are many community-made libraries that you can import to your project to create complex flows. And if you know JavaScript you can write custom functions to suit your needs.&lt;/p>
&lt;p>In this blog post we will go through installing Node-RED on a Raspberry Pi and the basics of creating logic flows.&lt;/p></description></item></channel></rss>