# HA+node-red: read csvdata?

**URL:** https://discourse.nodered.org/t/ha-node-red-read-csvdata/35917
**Category:** General
**Created:** [14 November 2020 14:25 UTC](https://discourse.nodered.org/t/ha-node-red-read-csvdata/35917 "2020-11-14T14:25:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rg24git](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rg24git/32/31961_2.png) [@rg24git](https://discourse.nodered.org/u/rg24git)
#### Post date: [14 November 2020 14:25 UTC](https://discourse.nodered.org/t/ha-node-red-read-csvdata/35917/1 "2020-11-14T14:25:24Z")

</div>

I use a csv node.

I set Filename to csvdata.csv \*\* no absolute path specified \*\*  
no success trying multiple directories

question: What is the default directory?

With Filename to /my/path/csvdata.csv  
no success

example (machine Synology + Home Assistant + Node-red)  
[{"id":"73e4e16.4d9742","type":"inject","z":"8ff6ebb0.503a28","name":"Inject","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":290,"y":380,"wires":[["2bef78fd.ae70f8"]]},{"id":"90ed51dc.dcc71","type":"csv","z":"8ff6ebb0.503a28","name":"","sep":",","hdrin":true,"hdrout":"none","multi":"one","ret":"\r\n","temp":"","skip":"1","strings":true,"include\_empty\_strings":true,"include\_null\_values":true,"x":590,"y":380,"wires":[["813cb5fe.d4b2e8"]]},{"id":"9aace6e7.adc538","type":"debug","z":"8ff6ebb0.503a28","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":930,"y":380,"wires":},{"id":"2bef78fd.ae70f8","type":"template","z":"8ff6ebb0.503a28","name":"CSV data","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"# This is some random data\na,b,c\n80,18,2\n52,36,10\n91,18,61\n32,47,65","output":"str","x":440,"y":380,"wires":[["90ed51dc.dcc71"]]},{"id":"813cb5fe.d4b2e8","type":"file in","z":"8ff6ebb0.503a28","name":"","filename":"/sv.txt","format":"utf8","chunk":false,"sendError":false,"encoding":"none","x":750,"y":380,"wires":[["9aace6e7.adc538"]]}]

Hints?

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [14 November 2020 14:58 UTC](https://discourse.nodered.org/t/ha-node-red-read-csvdata/35917/2 "2020-11-14T14:58:34Z")

</div>

are you running NR in a docker container ?

---

<div class="post-metadata">

### Author: ![rg24git](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rg24git/32/31961_2.png) [@rg24git](https://discourse.nodered.org/u/rg24git)
#### Post date: [14 November 2020 15:15 UTC](https://discourse.nodered.org/t/ha-node-red-read-csvdata/35917/3 "2020-11-14T15:15:34Z")

</div>

Sincerely, I do not know.

I have a Synology station with Home Assistant installed.

I have access to node-red, influxdb, grafana, smartthings etc.

At first glance everything seems to work.

---

<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: [13 January 2021 15:15 UTC](https://discourse.nodered.org/t/ha-node-red-read-csvdata/35917/4 "2021-01-13T15:15:51Z")

</div>

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