https://github.com/wago-uk/node-red-csv-parser
Simple Node-RED dashboard for uploading CSV files
https://github.com/wago-uk/node-red-csv-parser
csv modbus nodered wago
Last synced: 26 days ago
JSON representation
Simple Node-RED dashboard for uploading CSV files
- Host: GitHub
- URL: https://github.com/wago-uk/node-red-csv-parser
- Owner: WAGO-UK
- License: mit
- Created: 2024-02-28T09:18:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-28T14:12:31.000Z (about 2 years ago)
- Last Synced: 2025-03-03T00:41:28.284Z (about 1 year ago)
- Topics: csv, modbus, nodered, wago
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-csv-parser
Simple Node-RED flow for uploading/deleting CSV files from dashboard and converting it to JSON objects.
# Requirements
Node-RED >= v3.0
Palletes:
- node-red-contrib-dashboard [LINK](https://flows.nodered.org/node/node-red-dashboard)
# Description
Simple flow for reading and saving files into preselected directory.
Files are read and content is displayed in a template node.
Dashboard gives an option to 'activate' detected datapoints, which means to save them into 'datapoints' object -
a global variable.
This parser has been used to read CSV files generated by WAGO EDM software to then read listed MODBUS registers.
# Instructions
- Flow is preset to save files into './files' directory (directory is created if it doesn't exist)
- Flow is preset to accept '.csv' files only
- Template node is preset to display elements of detected objects:
- ID
- Name
- Description
- Unit
- Datatype
- Address
- FC
>
As mentioned, this parser has been used to read a list of MODBUS registers, but if intended use is different, simply just change column titles and element references inside template node.
# Screenshots

# Links
Flow uses 'File upload and delete in Dashboard' example, shared by [@natcl](https://github.com/natcl)
- [Github Link](https://gist.github.com/natcl/5805a1141b1212d2c55c1781b9dbd15b)
- [Node-RED Flows Link](https://flows.nodered.org/flow/5805a1141b1212d2c55c1781b9dbd15b)