Skip to content

WAGO-UK/node-red-csv-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

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

csv-parser screenshot

Links

Flow uses 'File upload and delete in Dashboard' example, shared by @natcl

About

Simple Node-RED dashboard for uploading CSV files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published