# Node-Red for Maker

**URL:** <https://forum.inductiveautomation.com/t/node-red-for-maker/36371>\
**Category:** Maker\
**Created:** [July 5, 2020, 2:54pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371 "2020-07-05T14:54:18Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuskah](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@Kuskah](https://forum.inductiveautomation.com/u/Kuskah)\
**Post date:** [July 5, 2020, 2:54pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/1 "2020-07-05T14:54:18Z")

</div>

Has anyone gotten this to work? I see that Travis has forked the node-red Ignition to add Maker support.  
[https://github.com/IgnitionModuleDevelopmentCommunity/IgnitionNode-RED/tree/maker](https://github.com/IgnitionModuleDevelopmentCommunity/IgnitionNode-RED/tree/maker)

I downloaded that module file and installed to the gateway. I installed Node red by following the instructions found [here](https://nodered.org/docs/getting-started/raspberrypi). I created a string tag just to try to read and write to under the default tag provider.

I installed the ignition read/write module to the pallet, setup a very basic flow to try and read the string tag I created. When triggering the flow, I get a JSon error. Any ideas?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/a/2a035102c755e8fb9f92187cfeeaaf3fa553cff3.png)

My config of the server for Ignition is as follows below.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/f/2f60d6c024cad29a033de823606e3bc505a2be47.png)  
I have even tried usiing the specific IP address of the machine running Ignition as well with the same results.

---

<div class="post-metadata">

**Author:** ![tordvd](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tordvd/32/11525_2.png) [@tordvd](https://forum.inductiveautomation.com/u/tordvd)\
**Post date:** [July 5, 2020, 6:22pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/2 "2020-07-05T18:22:50Z")

</div>

Im going to try it soon. But im sure that im going to stick with sparkplug via nodered.  
If you use mqtt sparkplug between ignition and nodered, actually polulate the ignition tag provider through the mqtt engine. Everytime you create a “tag” in nodered.

The node red sparkplug nodes can be found here. [https://flows.nodered.org/node/node-red-contrib-sparkplug](https://flows.nodered.org/node/node-red-contrib-sparkplug)

---

<div class="post-metadata">

**Author:** ![joev](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@joev](https://forum.inductiveautomation.com/u/joev)\
**Post date:** [July 8, 2020, 4:18am UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/3 "2020-07-08T04:18:14Z")

</div>

I got node red running on my jetson nano and I can control the GPIO pins.  
How do I install the node red module for maker?  
I dont see any install instructions in the IgnitionNode-RED github repo

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [July 8, 2020, 3:54pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/4 "2020-07-08T15:54:38Z")

</div>

The module is located in the root of the repo - `Ignition-Node-RED-Module-signed.modl`.

---

<div class="post-metadata">

**Author:** ![bmyers](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@bmyers](https://forum.inductiveautomation.com/u/bmyers)\
**Post date:** [July 17, 2020, 4:30pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/5 "2020-07-17T16:30:56Z")

</div>

I am having the exact same issue: JSON error: SyntaxError: Unexpected end of JSON input

---

<div class="post-metadata">

**Author:** ![a.sliver](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@a.sliver](https://forum.inductiveautomation.com/u/a.sliver)\
**Post date:** [July 21, 2020, 7:28pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/6 "2020-07-21T19:28:39Z")

</div>

I am struggling to find the API token and the secret. I have went through everything on the gateway web server (i know the location is on the GitHub but I have nothing pertaining to Node-Red.

---

<div class="post-metadata">

**Author:** ![WildeKurt](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@WildeKurt](https://forum.inductiveautomation.com/u/WildeKurt)\
**Post date:** [July 27, 2020, 4:01pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/7 "2020-07-27T16:01:05Z")

</div>

Once you install the node-red Ignition module, you’ll set it up on the Configuration area of the gateway web page. It has it’s own section down at the bottom. When you enter the API token it needs to be 16 characters as stated, no more, no less, otherwise it’ll fail without explanation.

Once you have that set up, just go to node-red and set up that end with the API token and secret.

---

<div class="post-metadata">

**Author:** ![a.sliver](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@a.sliver](https://forum.inductiveautomation.com/u/a.sliver)\
**Post date:** [August 10, 2020, 6:38pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/8 "2020-08-10T18:38:15Z")

</div>

Seems like the node-red module kept crashing until i did a full restart of the RPI4. However, One thing I’m struggling with is the tagging. Node-Red can’t find the tag from ignition.

---

<div class="post-metadata">

**Author:** ![mebrunner24](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mebrunner24](https://forum.inductiveautomation.com/u/mebrunner24)\
**Post date:** [September 5, 2020, 12:41am UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/9 "2020-09-05T00:41:19Z")

</div>

I’m trying to install the module but I’m receiving this error.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/6/a69ba2597336d850add37539de32084a1cdf7469.png)

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [September 5, 2020, 12:58am UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/10 "2020-09-05T00:58:55Z")

</div>

Did you switch to the `maker` branch in GitHub before downloading? I’m guessing you installed the version from the `master` branch.

---

<div class="post-metadata">

**Author:** ![mebrunner24](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mebrunner24](https://forum.inductiveautomation.com/u/mebrunner24)\
**Post date:** [September 5, 2020, 1:04am UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/11 "2020-09-05T01:04:18Z")

</div>

I realized that as soon as I sent the message… whoops. Installed the `maker` branch and it works.Thanks

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 23, 2020, 12:13pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/12 "2020-10-23T12:13:46Z")

</div>

Is there any answer to the OP’s actual question? Most of these topic replies are all about everyone else’s issues…

---

<div class="post-metadata">

**Author:** ![arlenjacobs](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@arlenjacobs](https://forum.inductiveautomation.com/u/arlenjacobs)\
**Post date:** [January 10, 2021, 9:59pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/13 "2021-01-10T21:59:08Z")

</div>

If the OP question is “did you get this work?” then yes.

I was able to get NodeRed to both write to a tag and read from a tag. That is with Maker edition 8.0.17, NodeRed module 1.03, and node-red-contrib-ignition-nodes 1.5.7

---

<div class="post-metadata">

**Author:** ![sungkhum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sungkhum/32/10636_2.png) [@sungkhum](https://forum.inductiveautomation.com/u/sungkhum)\
**Post date:** [January 11, 2021, 1:17am UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/14 "2021-01-11T01:17:16Z")

</div>

Yes, works for me. @Kuskah Did you ever get it to work?

---

<div class="post-metadata">

**Author:** ![arlenjacobs](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@arlenjacobs](https://forum.inductiveautomation.com/u/arlenjacobs)\
**Post date:** [January 11, 2021, 7:19pm UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/15 "2021-01-11T19:19:31Z")

</div>

This post has details on how to setup the NodeRed flow

> [@Node Red Tag Write](http://forum.inductiveautomation.com/t/node-red-tag-write/37795/12):
>
> if any one has a titorial for this nods ( write and read )

---

<div class="post-metadata">

**Author:** ![raiola](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@raiola](https://forum.inductiveautomation.com/u/raiola)\
**Post date:** [July 20, 2022, 7:19am UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/16 "2022-07-20T07:19:25Z")

</div>

Hello,  
i have tried this module and it work but...if i use node **"ignition tag read ws"** i have error

> TypeError: Cannot read property 'defaultTagProvider' of undefined  
> ![error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/6/e64b5724e7d190626b073eb5a0d7cf20f7838658.png)  
> however same tag in node read is ok!

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 10, 2022, 2:18am UTC](https://forum.inductiveautomation.com/t/node-red-for-maker/36371/17 "2022-10-10T02:18:31Z")

</div>

Late to the partay, but what is the config on that node? (assuming you're still having the issue)
