Intro to Node-RED: Part 2 Best Practices

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024

Комментарии •

  • @RedMageGaming
    @RedMageGaming 4 года назад +9

    I mean, I can tell ypou know what your doing, but this video changed gears so hard from the first I got whiplash. Video one, was a fantastic start. Teaching what node-red is, and giving a small example of how it works. This video jumps into a whole bunch of nuts and bolts that people who are trying to learn what node red is aren't going to be able to completely grasp outside of a "huh that seems handy" kind of thought.
    To put it in simple terms, in this video your teaching how to garnish the plate, before you've taught how to even prepare a meal. Programming is at its heart "The solution to a problem." So when teaching/learning programming there needs to be a problem. A challenge to overcome that can be gone over broken down and explained how node-red can be used to 'solve' the problem.

    • @6s6
      @6s6 4 года назад +2

      Disagreed, this video was very useful for me. Take your negativity away from here. He is providing free content for the world to learn, what are you doing? Leaving comments on RUclips videos saying the video wasn't helpful? Go find another channel to watch.

    • @kasekuchentv7869
      @kasekuchentv7869 3 года назад +4

      ​@@6s6 Some points for you to consider: 1. Just because something is free doesn't mean it can't or shouldn't be criticised. 2. Feedback is really important to produce quality content. As an experienced person in a field, you take the basics of this field for obvious, even though beginners struggle to learn them. Good criticism like provided in this case is necessary.
      I also agree with the criticism. I watched 30 minutes of Node-RED videos now and still don't know what I could use it for.

  • @peekpt
    @peekpt 7 лет назад +19

    Your node-RED tutorials are awesome! Thanks so much! Congratulations!

    • @Opto22
      @Opto22  7 лет назад

      Thanks Short to Ground - you're awesome!

  • @ltcameron1
    @ltcameron1 5 лет назад +7

    Great video- easy to follow and a pleasant narration. very professional. Thank you.

  • @DolphinAerie
    @DolphinAerie 5 лет назад +2

    Excellent tutorial; I'm really enjoying it. I'm a newbie to Node Red and I'm finding your video's very helpful and clear. One note, in case you ever revise this video: in the 'Split String' demonstration, the second example in which you changed the function to split the string at the 's' character, your second text string "Hello world!" doesn't contain any 'S' characters, so the example of how changing one didn't change the other falls (just a little) flat.

  • @WilliamKopans
    @WilliamKopans 6 лет назад +1

    Your videos are extremely helpful, I wish videos like this got more attention. Keep up the great work!

    • @Opto22
      @Opto22  6 лет назад

      Thanks William. We are trying to make more videos as fast as we can. Stay tuned. Any requests for future videos?

  • @OzDeaDMeaT
    @OzDeaDMeaT 8 месяцев назад

    Great video, is there anywhere in your videos where you talk about how to setup the subflow status node?

  • @EdwinFairchild
    @EdwinFairchild 4 года назад +1

    @7:05 when you show the code for the function node.. what languages can you type in there and how do you till it what language you are using and how much of that language is available ... Example standard libraries etc..

    • @Opto22
      @Opto22  4 года назад +1

      The function node runs JavaScript, and is limited by what is installed in your Node-RED folders, and what is compatible with your system's JavaScript runtime (all of Node-RED is really just JavaScript).
      So there are a lot of variables, including your Node-RED version and what libraries you have installed, but it supports a LOT of basic code and many more advanced libraries as well. I think the best way to find out what's available would be to check the Node-RED documentation and forums, or just start experimenting!

  • @foxyt4066
    @foxyt4066 3 года назад

    thank you so much on your videos explaining node red!

    • @Opto22
      @Opto22  3 года назад

      You're very welcome!

  • @banzobeans
    @banzobeans 6 лет назад +2

    thanks. Very well done, clear and helpful!

    • @Opto22
      @Opto22  6 лет назад

      Thanks John! More videos coming soon.

  • @ratbagley
    @ratbagley 2 года назад

    Where can I find out how to integrate microconrollers like the ESP32 to node-red? Great stuff, well done video!

  • @shubhamkulkarni2352
    @shubhamkulkarni2352 5 лет назад +2

    Great Videos.... Thank You!!!!!

    • @Opto22
      @Opto22  5 лет назад

      Thank you for watching!

  • @javiervicen9211
    @javiervicen9211 6 лет назад +1

    Great tutorial. Thanks a lot

    • @Opto22
      @Opto22  6 лет назад

      Thanks Javier!

  • @squalazzo
    @squalazzo 7 лет назад +2

    very well done, neat tricks, thanks :)

    • @Opto22
      @Opto22  7 лет назад +1

      Thanks Squalazzo

  • @maxpuleo8203
    @maxpuleo8203 Год назад

    Do you know if there is a way to group subflows? I would like to group them on left side of the screen. Like the dashboard UI nodes. Thanks

  • @kingsolarman1506
    @kingsolarman1506 4 года назад

    Thanks for the series of the Node-Red tutorials. I have a simple question. When is the best practice to separate flows in a separate 'Flow tab'? Besides the variables scope will be different, what is the reason to use a new Flow tab for flows. Is it for one task in a Flow tab? I mean by the task is like reading from serial port and process it is one task in a Flow tab, control GPIO in a Flow tab, ui in a Flow tab or just for visual organization? Thanks

  • @reigaterobot4965
    @reigaterobot4965 5 лет назад +1

    Awsome! Thanks.

  • @qzorn4440
    @qzorn4440 6 лет назад +1

    What would be the procedure to Node-Red an Automation-Direct Cmore Hmi from a Raspberry Pi? Great videos!

    • @Opto22
      @Opto22  6 лет назад

      I'm not familiar with the cmore hmi, does it support a browser? You could use the Node-RED dashboard to view data and change variables, the package is just `node-red-dashboard` if you want to check it out

  • @jakobmosburger2737
    @jakobmosburger2737 6 лет назад +1

    Great Video
    Thanks

    • @Opto22
      @Opto22  6 лет назад

      Thank-you. Glad you found it helpful.

  • @francescovergentini3244
    @francescovergentini3244 5 лет назад

    I need to configure node red in order to collect hundreds of tags from a PLC to be sent to our cloud via MQTT.
    The point is that if I image to manually make the configuration by the graphical interface it will gonna take a wile.
    We also make different machines and we have to adapt the configuration machine by machine and it involve many of this tags that make the usage of the graphical interface again very difficult.
    Do you think there is any way to use text file to import the configuration (list of tags) in order to make the config process automatic?
    Thanks for any suggestion

    • @Opto22
      @Opto22  5 лет назад

      In the "storage" section on the left-hand side of the Node-RED editor there's a file input node, this node can read text files directly from the storage of your device and you could filter and extract the tags from there. The file node is a core node that you should not need to install, you just need to know the absolute or relative path of the file in question.

  • @ayahamed6595
    @ayahamed6595 5 лет назад +1

    thank you man

  • @tdtrecordsmusic
    @tdtrecordsmusic 4 года назад

    I dunno what the other commenters are griping about. Your style is fine. Maybe the title is a bit off, caz the vid topics are more like >> overview , common things to know b4 starting , getting familiar

  • @ekasusilo
    @ekasusilo 6 лет назад

    I exported a function as a library and it works just fine, but is there a way to delete a library from the menu?

    • @Opto22
      @Opto22  6 лет назад

      Not from the web UI at this time, no. If you are a sudo user, you can delete the file from the .node-red folder but besides that it just stays there in the Node-RED GUI.
      Apparently version .18 of Node-RED includes a library redesign, if I had to guess I'd say we can expect some library management improvements when that comes out. Hopefully.

  • @TheFlyingKiwiNZ
    @TheFlyingKiwiNZ 6 лет назад

    Easier to mouse select around the nodes you want to duplicate, ctrl+c to copy, then ctrl+v on the flow you want to paste them.

  • @mungunkhuyagz5191
    @mungunkhuyagz5191 5 лет назад +2

    👏👏👏

  • @td4yd154
    @td4yd154 4 года назад

    That’s great... so what does it do?

    • @Opto22
      @Opto22  4 года назад

      Essentially it provides an easy way to interconnect devices and services; one great application is moving analog and digital data into the cloud. Check out part 1 of the series for a more general overview!

  • @SriRam-dv6mb
    @SriRam-dv6mb 6 лет назад

    can you tell me what language is used in "function node" java (or) java script

    • @Opto22
      @Opto22  6 лет назад

      The language inside the Function Node is JavaScript.

  • @BigBigSmile
    @BigBigSmile 6 лет назад

    👍👍👍

    • @Opto22
      @Opto22  6 лет назад +1

      Right back at you Suvan!

  • @JottyOL
    @JottyOL 6 лет назад +13

    Thanks for the curse! But I have a problem with Your concept.
    You explain the motor, the clutch, the brakes etc. of a car befor you teach driving. It would be more motivating and easier to learn, if You would chose examples with increasing complexity and introduce all the tools, when they are needed. And the more Your examples have a practical use, the better the students will learn the concept of Node Red.

  • @rolandogonzalez4741
    @rolandogonzalez4741 6 лет назад

    how can i show information from database in the website?

    • @Opto22
      @Opto22  6 лет назад

      A quick Google showed two resources worth a look.
      Here is one; flows.nodered.org/flow/36f2de38ed4bb62cf3a5e8fdc76d779e
      And the other; tech.scargill.net/a-quick-plotly/
      If you want to get the database info into groov, you can use the groov DataStore. Check out the Opto Forums for help on that.

  • @Maydays960games
    @Maydays960games 6 лет назад

    What is the OST used in the intro called?

    • @Opto22
      @Opto22  6 лет назад +1

      The soundtrack is Intertwined by Aulx Studio via PremiumBeat.com www.premiumbeat.com/royalty-free-tracks/intertwined

    • @Maydays960games
      @Maydays960games 6 лет назад

      Thanks :). I watch your whole series on Node-RED and found it really helpful. Looking forward to seeing more quality videos like this in future.

    • @Opto22
      @Opto22  6 лет назад

      Hi BENCH GTX 960 - That's awesome! We are currently working on making more videos. Do you have any suggestions or requests?

  • @MPaulHolmesMPH
    @MPaulHolmesMPH 4 года назад

    What is a flow? I don't get what any of this does.

    • @Opto22
      @Opto22  4 года назад

      A flow is just a series of connected nodes -- so one flow is like a program, or does some programmed function.
      Part 1 of the series for a more general overview, and there are a ton of resources on nodered.org if you want to check them out!

  • @vishalanime
    @vishalanime 6 лет назад

    Make a tutorial on how to use LIRC with node red (or) how to run Python script using exec on node red.

    • @Opto22
      @Opto22  6 лет назад

      Thanks for the suggestion. We appreciate knowing what people are looking to use Node-RED for.
      I see that there is a Node and example flow for IRLC on flows.nodered.org, perhaps you could use them to get started.

  • @pongsawadee9449
    @pongsawadee9449 6 лет назад

    I AM FOLLOW YOU FROM THAILAND I HAVE PROBLM ...
    CAN YOU TELL ME ABOUT UI NODE RED NOT APPEAR ON MY LOCALHOST:1880/UI

  • @tpoxa
    @tpoxa 2 года назад

    Mouse clicking is annoying.

    • @Opto22
      @Opto22  2 года назад

      Yes, mouse clicking is annoying.