Quick Introduction to Node Red ( Create a Basic MQTT Flow)

Поделиться
HTML-код
  • Опубликовано: 13 сен 2017
  • What is node red ? In this video tutorial I'm going to give you a very quick introduction to node red and show you how to create a very basic flow.
    For this demo I use a MQTT subscribe node and debug node to illustrate passing messages between nodes.
    I run node red on a Linux laptop but it could easily be a raspberry pi.
    However I connect to the node red server from my windows 10 desktop to create the demo flow.
    The video covers adding and connecting and configuring basic nodes, the node-red console which is very useful for debugging flows.
    The video is targeted at complete beginners.
    There is a tutorial on the site that covers the install on windows and Linux
    www.steves-internet-guide.com/...
    Related videos
    Creating a Simple Controllable MQTT Sensor With Node-Red
    • Creating a Simple Cont...
    ----------------------------------
    Beginners Guide to Node Red Inject and Debug Nodes
    • Beginners Guide to Nod...
    Node-Red Function Node for Beginners
    • Node-Red Function Node...
    Have a question Use the comments or if you want help then use
    www.steves-internet-guide.com/...
    If you find these videos useful then you might want to consider buying me a coffee
    www.paypal.me/StepenCope
  • ХоббиХобби

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

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

    I'm currently watching the whole playlist on Node-Red and I just wanted to say that it's helping me a lot, all the videos are very good and helpful, thanks a lot for sharing your knowledge

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

      thank you for your feedback

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

    Mr. Cope, I keep a close watch on your articles and videos about new technologies. I appreciate your sharing and your effort.

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

    Your videos are short and to the point. I like that. Thanks

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

    May I ask how to activate arduino sketch only when prompted in node red? Understand it's connected and running once successfully deployed..

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

    Hi Beginner here, using nodered on raspbian stretch i'm able to do some basic stuff.
    though, i need any guide/assistance in order to work with my first MQTT lab environment
    i'm using armtronix ip-based 8ch relay and would like to turn on/off some Lights.
    Any help, would be great :-)

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

    Very nice video Steve, love it. It would be great if you have shown how to create the message "OFF", which is part of the topic named "sensor/#". I manage to send the same message by entering this in the mosquitto broker (a Raspberry PI) mosquitto_pub -d -t sensor/wildcard -m "OFF". You have used sensor/#, whereby "#" can be anything and for which I use "wildcard".

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

      In the video I use a python script to generate the off message with script is availble here www.steves-internet-guide.com/simple-controllable-mqtt-sensor/
      But you could use the mosquitto_pub client as you have done. You can even use node-red to control the sensor as you can see in the other node red video below
      ruclips.net/video/Gu0Vq2kVNzw/видео.html

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

    Thanks for your video!
    how to configure the mqtt node, Server field you configured before? Have a z-wave Movement sensor and a z-wavecontroller mounted on my computer. How do i contact them in node red?

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

      You will need some form of gateway..Take a look at this
      github.com/intel-iot-devkit/intel-iot-gateway/tree/master/Getting%20Started%20With%20Node-Red%20and%20Z-Wave

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

      many thanks for your fast answer!
      do you mean IoT Gateway that uses Intel® IoT Gateway Technology is missing? this might be a really stupid question, but iam confused so sorry... can a Raspberry pi be this Gateway? where i plug the z-wave controller in?
      - have one- Z-Wave controller interface (USB)

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

      You need a gateway that bridges zwave to MQTT. You should be able to do this with the raspberry Pi. Take a look at this article
      raspberrypihq.com/how-to-create-a-z-wave-smart-home-hub-using-a-raspberry-pi/
      There are also commercial hubs that will do the trick like the Samsung smart things.
      You might find this overview from my new site useful as it shows how zwave and zigbee connect to a home network. The site is still in early development.
      stevessmarthomeguide.com/guide-home-automation/
      Also this article may also be of use
      jpmens.net/2014/01/14/a-story-of-home-automation/
      and this
      pypi.python.org/pypi/zwave-mqtt-bridge
      Hope that helps

  • @shikharchandrapant3529
    @shikharchandrapant3529 6 лет назад +3

    you didn't tell us how you configured server settings... my mqtt is disconnected.. and the video is useless for me

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

      The video shows the server settings. Click in the edit link to add your server.All you need to do is add the IP address or domain name of the server if you are using a port other that 1883 then you also need to change that.

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

      @@stevecope Thank you!