Creating a Chart from A CSV File and JSON File In Node-Red

  Рет қаралды 24,430

Steve Cope

Steve Cope

Күн бұрын

Пікірлер: 46
@kissingfrogs
@kissingfrogs 3 жыл бұрын
well that was taking me forever and getting no where until I found your excellent tutorial. I would have never worked it out on my own. Thanks Steve
@stevecope
@stevecope 3 жыл бұрын
No problem. Glad to have helped . Rgds Steve
@asiw
@asiw 3 жыл бұрын
Been struggling with creating charts from CSV for some time. Your help with this is most welcome. Many thanks. Arthur
@matheuspimentel6281
@matheuspimentel6281 3 жыл бұрын
same to me! thanks god that i found this gay
@stevecope
@stevecope 11 ай бұрын
Hi The flows are here stevesnoderedguide.com/download/chart-log-csv-flow www.steves-internet-guide.com/download/chart-log-video/ rgds steve
@chadhuber5593
@chadhuber5593 10 ай бұрын
Steve, thank you for the tutorial. I always enjoy your work.
@Passco666
@Passco666 2 жыл бұрын
Thank you Steve.. I own you huge hug for your tutorial.. I spend many hours to figure it out how to work with chart and python is my baseland so was difficult to me understand the principal and correct coding.
@ferlandomkiva1047
@ferlandomkiva1047 Жыл бұрын
very helpful. Thank you sir
@matheuspimentel6281
@matheuspimentel6281 3 жыл бұрын
Helped me a lot. Thank you!!!!
@lionexiot7778
@lionexiot7778 4 жыл бұрын
thanks for share !!! :) i love nodered
@Spectre68CT
@Spectre68CT Жыл бұрын
HI! is it also possible to use a bar graph instead of lines?
@EPC2036
@EPC2036 11 ай бұрын
Hello Steve, excelent tutorial, thank you. Can you share the flow for the last UI you showed in this video? That will be very helpful, thank you
@stevecope
@stevecope 11 ай бұрын
You should find the flows on this page stevesnoderedguide.com/using-the-node-red-chart-node have you tried it or is one missing from there? Rgds Steve
@EPC2036
@EPC2036 11 ай бұрын
@@stevecope Hello, yes, it is missing. The flows from that website has only 4-5 nodes, whereas the last flow you showed in this video seems complex and has more nodes. Is it possible to have the flow of that? Thank you
@stevecope
@stevecope 11 ай бұрын
'@@EPC2036 I'll see if I can find it. Where in the video does it appear? Rgds Steve
@EPC2036
@EPC2036 11 ай бұрын
@@stevecope Hello Steve, around the 10:40 mark
@stevecope
@stevecope 11 ай бұрын
I did that flow for someone a long time ago I will just check that there is nothing confidential in it and put a link to it. Rgds Steve
@achrefnajjar457
@achrefnajjar457 3 жыл бұрын
thanks a lot sir but i'm confused about something is the timestamp you're making the same as the X-axis of the chart ? thanks a lot .
@FreyaAndAsher
@FreyaAndAsher Жыл бұрын
The date function is wrong. Don't divide datum by 1000.
@BoyPenTa-o8b
@BoyPenTa-o8b Жыл бұрын
do you need to convert to UTC in order to show the data to graph?
@stevecope
@stevecope Жыл бұрын
No but you need the time in milliseconds not Unix time
@BoyPenTa-o8b
@BoyPenTa-o8b Жыл бұрын
@@stevecope thank you Steve, now working!
@jvazcarvalho
@jvazcarvalho 11 ай бұрын
Hello, has anyone solved the issue with the "split"? Thanks.
@stevecope
@stevecope 11 ай бұрын
Not aware of the issue can you remind me. Rgds Steve
@preflex3502
@preflex3502 2 жыл бұрын
Thanks!
@bibekkabi4986
@bibekkabi4986 3 жыл бұрын
Really nice video! Thanks Steve! I have a question, how do we create a chart from an excel file in node red?
@stevecope
@stevecope 3 жыл бұрын
Export it as a csv file and use that as in the example.
@bibekkabi4986
@bibekkabi4986 3 жыл бұрын
@@stevecope Thanks! I was trying to use "alafile in" to read an excel file and then use the ui-chart to create a chart but it gives an error "Bad data inject"
@bibekkabi4986
@bibekkabi4986 3 жыл бұрын
@Steve Cope can you please share the csv file that you have used in this video?
@stevecope
@stevecope 3 жыл бұрын
@@bibekkabi4986 Here it is stevesnoderedguide.com/download/example-csv-for-video
@bibekkabi4986
@bibekkabi4986 3 жыл бұрын
@@stevecope Thanks a lot!
@rand5844
@rand5844 4 жыл бұрын
Hi, as I am using your flow as reference, I notice the time is not showing accurately. It is not even updating for me. What could be the issue?
@FreyaAndAsher
@FreyaAndAsher Жыл бұрын
The date function is wrong. Don't divide datum by 1000.
@samiratalebi7803
@samiratalebi7803 3 жыл бұрын
Hello, first thnak u for ur useful viedo. i have a question. I want to convert csv.file to chart and i used ur codes. now i have Error: Cannot read property "split" of undefined. I tested some another Codes but dont resolve. Can u please say me , what can i do? Tnx alot
@stevecope
@stevecope 3 жыл бұрын
Hi If you go to stevesnoderedguide.com/ask-steve and get in touch you can then send me the flow and data via email and I will take a look. Rgds Steve
@sujitjana2155
@sujitjana2155 3 жыл бұрын
@@stevecope sir exactly i have same problem. Now what to do?
@stevecope
@stevecope 3 жыл бұрын
@@sujitjana2155 Go to the site and use the ask steve page and then you can send me the flow and I will take a look. www.steves-internet-guide.com/ask-steve/
@BoyPenTa-o8b
@BoyPenTa-o8b Жыл бұрын
their is error at split , please help to fix
@stevecope
@stevecope Жыл бұрын
I'll take a look Rgds Steve
@stevecope
@stevecope Жыл бұрын
Hi Sorry but I don't have the data files any more if you use the ask steve page on the site and send me your data files I will take a look. stevesnoderedguide.com/ask-steve Rgds Steve
@nickatredbox
@nickatredbox 3 ай бұрын
Simple version var row = { "series": ["Living", "Outside", "Office" ], "data": [], //"data": [ {x,y}] ] "labels":[]//["Living Temp", "Outside Temp", "Office Temp" ] }; var msg1 = {}; var pll = msg.payload.length; //pll = 5; var array = []; row.series.forEach(function(item){ array = []; var data = []; //EACH DB ROW for(let i = 0; i < pll; i++) { var DBrow = msg.payload[i]; data.push({x:DBrow['dt'].getTime(), y:parseFloat(DBrow[item])}); //node.warn(data); } row.data.push(data); array.push(row); }); msg1.payload = array; return msg1;
Node-Red Using the Status Node for Flow Control
6:16
Steve Cope
Рет қаралды 9 М.
Working With JSON Data in Node Red
20:49
Steve Cope
Рет қаралды 75 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
How to create a data table in Node RED Dashboard
20:02
Opto Video
Рет қаралды 68 М.
Browsing files in dashboard
14:13
Csongor Varga
Рет қаралды 15 М.
#255 Node-Red, InfluxDB, and Grafana Tutorial on a Raspberry Pi
16:31
Andreas Spiess
Рет қаралды 257 М.
Weidmüller AC: Storing data in files
33:29
Csongor Varga
Рет қаралды 8 М.
Read and Write Data To a File In Node-Red
11:19
Steve Cope
Рет қаралды 92 М.
How to Store Data In Node Red Variables
12:23
Steve Cope
Рет қаралды 84 М.
Auto Logger - Store Node-Red data in daily CSV files
11:45
Csongor Varga
Рет қаралды 57 М.
Node-red and Data Scraping
27:29
40th coder o
Рет қаралды 20 М.
Reading LAS files with python
10:55
Hugo Norberto
Рет қаралды 278
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН