# How to use the ini node

**URL:** <https://discourse.nodered.org/t/how-to-use-the-ini-node/33272>\
**Category:** General\
**Created:** [24 September 2020 09:25 UTC](https://discourse.nodered.org/t/how-to-use-the-ini-node/33272 "2020-09-24T09:25:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![minhhn0205](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/minhhn0205/32/29062_2.png) [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Post date:** [24 September 2020 09:25 UTC](https://discourse.nodered.org/t/how-to-use-the-ini-node/33272/1 "2020-09-24T09:25:56Z")

</div>

I have installed `ini` node ([node-red-contrib-parser-ini](https://flows.nodered.org/node/node-red-contrib-parser-ini)) to read INI file,  
but do not know how to configure in the red frame below to be able to read the ini file with this node.  
Please tell me!  
Thanks.

 ![ini-node](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/73935c61c00de2e98f93423fd1c8a6c1a1ab29cc.png)

```auto
[{"id":"11f5ebdd.91e704","type":"inject","z":"f52316ad.e53718","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"/Temp/FileIniTest.ini","payloadType":"str","x":1550,"y":1540,"wires":[["41779bf0.5212f4"]]},{"id":"41779bf0.5212f4","type":"parser-ini","z":"f52316ad.e53718","property":"payload","name":"","x":1740,"y":1540,"wires":[["47ac2c14.32e464"]]},{"id":"47ac2c14.32e464","type":"debug","z":"f52316ad.e53718","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1900,"y":1540,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 September 2020 09:41 UTC](https://discourse.nodered.org/t/how-to-use-the-ini-node/33272/2 "2020-09-24T09:41:39Z")

</div>

That field (which has a bug in it) is for the name of the node (so can be ignored)

Glancing at the node code, I think the node needs the contents of an .ini file to be passed to it in msg.payload - not the name of the .ini file

---

<div class="post-metadata">

**Author:** ![minhhn0205](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/minhhn0205/32/29062_2.png) [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Post date:** [24 September 2020 09:47 UTC](https://discourse.nodered.org/t/how-to-use-the-ini-node/33272/3 "2020-09-24T09:47:20Z")

</div>

@cymplecy Thank you very much!

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [24 September 2020 09:51 UTC](https://discourse.nodered.org/t/how-to-use-the-ini-node/33272/4 "2020-09-24T09:51:13Z")

</div>

Seeing that this node doesn't have much documentation, I'd suggest opening an issue on the node's GitHub page

---

<div class="post-metadata">

**Author:** ![minhhn0205](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/minhhn0205/32/29062_2.png) [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Post date:** [24 September 2020 10:01 UTC](https://discourse.nodered.org/t/how-to-use-the-ini-node/33272/5 "2020-09-24T10:01:32Z")

</div>

@zenofmud I raised an issue on the repository.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 October 2020 10:01 UTC](https://discourse.nodered.org/t/how-to-use-the-ini-node/33272/6 "2020-10-08T10:01:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
