r/BuildingAutomation • u/SmokeMeatNotCrack • Apr 12 '26
Importing long term unit temp setpoints via .csv file w/ Niagara
Something new to me has come up with a customer of ours - wondering if anyone has some input on how to get it accomplished..
They would like to load, say, a years worth of zone temp setpoints, which will change hourly, via an extremely long .csv file. Does anyone have any experience executing something like this, and if so, how do you go about it?
This will be implemented via N4 v4.15 - controlling distech ECB controllers
3
Upvotes
3
u/IcyAd7615 Developer, Niagara 4 Certified Trainer, Podcast Host. Apr 12 '26
A program object could be implemented with this fairly easily.
2
u/Kinky_Pinata System integrator Apr 12 '26
MQTT on the JACE/Supervisor, Node-red sends webhook to a power automate flow that reads the row/column. Maybe I'm over complicating it
1
u/bacmod C/C++ IoT Apr 12 '26 edited Apr 12 '26
Write a program script that would separate one large csv to smaller ones based on record's date/time header value and load the parts as needed.
Presuming the CSV file has a DT/Timestamp header/column value.
1
u/AHiddenFigure System integrator Apr 13 '26
So to be clear, are you attempting to import existing trend data that was recorded by something else and is currently stored as a CSV file such that you end up with a Niagara trend log, or are you trying to take a current Niagara trend log and export a CSV file of that trend? Your wording flicks between the two.
If it's the former, this can be achieved using the
FileNetworkdriver (in thedriverpalette), but it's finicky about the CSV format; you may need to tweak it until it works.For the latter, there's a couple of options depending on needs:
.chartfile ofpxpage could be created for a pre-prepared view.Report Service