<?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 Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/node-red/</link>
    <description>Recent content in Node-Red on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Sat, 28 Aug 2021 14:40:50 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/node-red/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Enable Version Control for Node-RED Flows</title>
      <link>https://blog.margrop.net/en/post/node-red-enable-version-control/</link>
      <pubDate>Sat, 28 Aug 2021 14:40:50 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/node-red-enable-version-control/</guid>
      <description>&lt;h1 id=&#34;problem-description&#34;&gt;Problem Description&lt;/h1&gt;&#xA;&lt;p&gt;I used to back up Node-RED flows by copying &lt;code&gt;~/.node-red/flows_xxx.json&lt;/code&gt; and keeping multiple versions. That was annoying, and even comparing unformatted JSON with tools like Beyond Compare was a mess.&lt;/p&gt;&#xA;&lt;h1 id=&#34;solution-pretty-print-json&#34;&gt;Solution: Pretty-Print JSON&lt;/h1&gt;&#xA;&lt;p&gt;I found that by changing the setting in &lt;code&gt;~/.node-red/settings.js&lt;/code&gt;, the &lt;code&gt;flows_xxx.json&lt;/code&gt; file can be saved in a pretty-printed format.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Install Node-RED with NPM</title>
      <link>https://blog.margrop.net/en/post/how-to-install-nodered-with-npm/</link>
      <pubDate>Mon, 01 Feb 2021 09:57:07 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/how-to-install-nodered-with-npm/</guid>
      <description>&lt;h1 id=&#34;what-is-node-red&#34;&gt;What Is &lt;code&gt;Node-RED&lt;/code&gt;&lt;/h1&gt;&#xA;&lt;p&gt;&lt;code&gt;Node-RED&lt;/code&gt; is a low-code/no-code programming tool for connecting &lt;code&gt;hardware devices&lt;/code&gt;, &lt;code&gt;APIs&lt;/code&gt;, and &lt;code&gt;online services&lt;/code&gt; in a novel and interesting way. It is especially suitable for &lt;code&gt;smart home&lt;/code&gt; scenarios.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Node-RED&lt;/code&gt; provides a browser-based flow editor, making it easy to connect various nodes in the panel. You can then deploy the flow to runtime with a single click.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
