how to handle 2 buttons? like if I have button submit and cancel, I want to use switch node to handle
@ruwindustries4 күн бұрын
As far as I know, the cancel button just resets the user input and does not output anything. Thus, it is not possible to handle the different actions using a switch because you don't know when the user clicked cancel.
@catorlife6 күн бұрын
when the mysql node returns error, how to get that error text?
@ruwindustries5 күн бұрын
You can use the catch node for that
@empereurmaxime89147 күн бұрын
Very useful, thank you !
@ruwindustries5 күн бұрын
You‘re Welcome
@TomIwan-s3v7 күн бұрын
Hi, how can i get the name of the uploaded file to save it as that
@ruwindustries4 күн бұрын
the filename is stored in msg.file.name
@TomIwan-s3v3 күн бұрын
@@ruwindustries thanks
@LochTalamh7 күн бұрын
one question : can i show the picture in a nodered dashboard ?
@ruwindustries4 күн бұрын
yes you can show the picture in the dashboard using the dashboard template node
@LochTalamh7 күн бұрын
well done , thx so much , thats what i was searching for
@ruwindustries5 күн бұрын
Glad I could help
@SotaMakeАй бұрын
nice. thank you
@catorlifeАй бұрын
what is msg.enabled? so when you send a boolean payload (converted from msg.enabled) to the button will activate and deactivate it?
@ruwindustriesАй бұрын
Thats correct. If you send “msg.enabled = False” then the user won't be able to use the button.
@wihartaIDBM2 ай бұрын
hi sir, how to download some data using pickdate?
@ruwindustries2 ай бұрын
You have to adjust the SQL query to take the date picker into account when selecting data.
@a142662 ай бұрын
thanks for the nice tutorial, For the Delete function , how to make it pop a Confirmation action after user press delete ?
@ruwindustries2 ай бұрын
You can use a dashboard notification with user input and only execute the query when the user pressers yes or something
@wozza29422 ай бұрын
Good video, but please kill the horrible music. It's unnecessary and distracting.
@topfundus10932 ай бұрын
danke, leider furchtbare Musik
@springham38843 ай бұрын
Brother, you have an excellent video, thanks for the content you upload. One question, how could I change the color of the animation, of the circle and the background of this with the Level type? Putting a name in the properties didn't work for me, so I changed the letters to the general class that each gauge has.
@m.rgh.i91993 ай бұрын
what is the password? 1:51
@ruwindustries3 ай бұрын
The password you set when creating the database.
@upendrachaudhari46353 ай бұрын
the best mysql database tutorial 👍
@ruwindustries3 ай бұрын
Thank you 🙂
@upendrachaudhari46353 ай бұрын
thank you, so clear and precise video :)
@ruwindustries3 ай бұрын
Your welcome
@jeffrowe60043 ай бұрын
how do you set the format to MM/DD/YYYY instead of that crazy day first format?
@JorgeDiaz-ej3bn3 ай бұрын
Te amo, gracias
@sebastianbresch42183 ай бұрын
Thank you for your videos. They have been very helpful so far. Is it possible to only receive the value of the cell the user clicked on?
@ruwindustries3 ай бұрын
Hi, thank you for watching them - I really appreciate it. There is probably a solution when using tabulator callbacks. Specifically, the cellClick Callback found here: tabulator.info/examples/4.4 However, I have never used those for my tables, so I don't know how to use them.
@ramayuda65783 ай бұрын
Hello, i am newbie in node-red, how to change color button if i clicked it?
@ruwindustries3 ай бұрын
You can set the Background Property of the Button to {{msg.color}} and then inject "green" in msg.color after you clicked the button. The string has to be a html color name. htmlcolorcodes.com/color-names/. If you need more help, please join the discord sever. There I can also send you some example code.
@mariezdesire60453 ай бұрын
Se volessi leggere lo stato dei contatti delle finestre direttamente dai gpio che accorgimenti dovrei prendere per evitare di danneggiarli? Come comune vorrei usare il pin 1 3.3v, sono 5 contatti no
@ruwindustries3 ай бұрын
You should probably search for Tutorials or Explanations on the internet about using GPIO Pins, as this is not my expertise. There should be enough content about that. Otherwise, you may find someone on the community discord server that can help you out.
@ralphswinhoe13544 ай бұрын
Hi, I want to only show text on the dashboard after an input is executed. Ive joined it after my input is (high), but it just remains on the dashboard regardless of the inputs state.
@ruwindustries4 ай бұрын
Do you want to show an empty text or remove the entire text field? If you want to show no text just inject an empty string „“.
@thorstenfricke32574 ай бұрын
Hi Sir how can i make this button in the dashboard? the buttons are not buttons they are switches! The button shall go back to zero
@ruwindustries4 ай бұрын
In my experience, the normal Dashboard Button works like a button and not like a switch.
@thorstenfricke32574 ай бұрын
@@ruwindustries i managed it! thank u
@ruwindustries4 ай бұрын
You‘re Welcome
@KarlAlfredRoemer4 ай бұрын
Thank you for that video: One Question: How can I set a default value für a slider?
@ruwindustries4 ай бұрын
As far as I know, you can only set a value by sending it in the msg.payload.
@durgakarwa91024 ай бұрын
The videos are very useful, but could they be uploaded with explanations included.
@ruwindustries4 ай бұрын
Probably not - if you have questions, please join the discord server.
@supreethathreyas45775 ай бұрын
Man u are suuuuuuuppppper
@ruwindustries5 ай бұрын
Thank you - I appreciate it
@roiglord_6225 ай бұрын
thats a bullshit tutorial. don't do it if yyou don't enjoy it
@d2c230681gmailcom5 ай бұрын
Hi, can you explain how to use multiple filters? The tabulator documentation use a array of obj but in node red this not work
@ruwindustries5 ай бұрын
Hi, I don't know how that works, unfortunately. However, I would personally rather use a database to do the filtering instead of the table.
@슬로우라이프-n7t5 ай бұрын
In the Arduino web server, I want to control LED with API address: port/led on, API address: port/led off, LED control using NodeRed. The node I tried is in IP:port format, so I don't know how to deliver the following.
@ruwindustries5 ай бұрын
To use the API you probably have to use the http request node.
@슬로우라이프-n7t5 ай бұрын
@@ruwindustries 팔렛트에서 다운받을수 있나요? 방법을 알려주실수있나요?
@ruwindustries5 ай бұрын
The HTTP request is a standard node coming with node-red itself.
@mohammedrezk80725 ай бұрын
Good example , yeah for V2 DB.
@HelloHelloXD5 ай бұрын
Finally a new video... Yes for dashboard v2
@MOBILITECHN5 ай бұрын
Hi, I have ths error "Cannot GET /data/static/files/sensor_values.csv" I don't understand msg.path which does not point to the .nodered folder. An Advice ? Thanks,
@ruwindustries5 ай бұрын
The Path /data only works if you use node-red from a docker container. If you run Node Red locally, the part before /static is different. I just use msg.path, so I can specify the path from a function.
@Dalfaro212 ай бұрын
@@ruwindustries and what should I change to make it work on my local Node Red?
@ahmadkazemi98096 ай бұрын
Hello, why the Date Type input does not work correctly? the date is not match to the local time zone
@ABJRemote6 ай бұрын
hello do you know why i got an error even though i adjusted it to your code?
@ruwindustries6 ай бұрын
What's the error you are getting?
@ABJRemote6 ай бұрын
hallo @RuWindustries do you know how to get the value from the mqtt to the gauge even though it passes through the button?
@ruwindustries6 ай бұрын
You can set the value to a different msg property such as msg.mqttValue using a change. If the button doesn’t know the property it will send it through.
@upper_deck6 ай бұрын
Why is it necessary to play music in the background?
@ruwindustries6 ай бұрын
It is not necessary - I just like the feel of it, especially for parts without voice over
@LaurentTercinet7 ай бұрын
VERRRRY interesting. thanks a lot
@ruwindustries6 ай бұрын
You're welcome
@tarifadib7 ай бұрын
what's the keyboard shortcut to add nodes in the flow like you are doing, just typing it instead of drag and dropping?
@ruwindustries7 ай бұрын
I use the Quick-Add dialog. nodered.org/docs/user-guide/editor/workspace/nodes#quick-add-dialog
@johnhunter41817 ай бұрын
Is there any way to style the chart lines - make them thinner - just one pixel?
@ruwindustries7 ай бұрын
I don't know if that's possible. There is no hint in the docs (github.com/node-red/node-red-dashboard/blob/master/Charts.md). Maybe you can achieve it with custom CSS
@MariaGarcia-ey3fg7 ай бұрын
This was very helpful! Thank you!! If you know how to make the tabs be across the top instead of on the side I would love to learn that too
@ruwindustries7 ай бұрын
I don't know if that's possible - maybe you can achieve it with custom HTML & CSS
@milesg79797 ай бұрын
great video. i still got some trouble because im trying to get flow variables into the database. could u help me on that?
@ruwindustries7 ай бұрын
check out this video: kzbin.info/www/bejne/pZWbcpqdbt1pqdk
@pasb_sz27 ай бұрын
Good tutorial. But so far there's only 1 problem on my side. In my csv contain string like value (like device name), while my MySQL database column was created with varchar (255) type. But every time when I tried to insert, in the debug will give error: "Error: Unknown column 'DDC_1' in 'field list'". *DDC_1 here is for the device name column in MySQL. Is there any way to upload string/varchar value via CSV? Thank you for attention.
@ruwindustries7 ай бұрын
Seems like your insert command is wrong as DDC_1 should be the value and not the column name
@jozimarhenriques68487 ай бұрын
I discovered that if I comment (or remove) the color object in the JSON, the rendering is smooth, without total reloading (perceptible)
@ruwindustries7 ай бұрын
I honestly never tried that
@jozimarhenriques68487 ай бұрын
Great content, the problem with this approach is that with each message sent, the layout is reloaded, generating a loop in the indicator. Ideally, it would update without reloading all the content.
@jozimarhenriques68487 ай бұрын
To better understand what I said, just add an inject with repetition every 1 second and observe the dashboard.
@MarcioTorres8 ай бұрын
Congratulations, the best content on KZbin about Node-red!
@ruwindustries7 ай бұрын
Thank you very much for your nice words - I appreciate it
@TycoelectronicsB0E8 ай бұрын
Weirdly enough, there isn't a path called "\data\static\files" for me. I am using node-red on a raspberry pi and I am unsure if that's the problem...
@ruwindustries7 ай бұрын
You need to create the folders yourself.
@TycoelectronicsB0E8 ай бұрын
Isn't the max_temperature in this case just the temperature? It seems to me like they are always the identical value to eachother.
@ruwindustries8 ай бұрын
It is in this case but that does not have to be true in all occasions. flows.nodered.org/node/node-red-contrib-cpu
@MohammedDem8 ай бұрын
do you have tutorial about Nodes Templating ? exa templating ....
@vasilealexandrudulgheriu8 ай бұрын
Hi, how can i do a double filter? Checking values on two columns using your code as a base?