Node-Red Dashboard Switch Control with Feedback

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น • 9

  • @DustinWill
    @DustinWill หลายเดือนก่อน

    I love the vintage 4:3 aspect ratio!!! But really, I love your content and teaching style. Thank you.

  • @TheNCGardener
    @TheNCGardener หลายเดือนก่อน

    Steve thank you for this. I have developed a garden irrigation system using MQTT dashboard buttons as control. I also used feedback from the device ( in my case esp32 boards) to indicate the state so to be sure the valves are on or off. Can you provide the code that would receive these commands for an esp32 or similar chip with multiple output pins? I use a 16 output relay board to control the irrigation valves. I am just curious how you would do this on the receiving end.

    • @stevecope
      @stevecope  หลายเดือนก่อน

      Do you mean the code on the esp to receive MQTT Commands?
      Rgds
      Steve

    • @TheNCGardener
      @TheNCGardener หลายเดือนก่อน

      @@stevecope Yes, I have it working but would be interested to see if you had a better way to go about it.

    • @stevecope
      @stevecope  หลายเดือนก่อน +1

      @@TheNCGardener Hi
      Will try and take a look. I don't do much with the esp but have written code for it in the past. when done I will post a video
      rgds
      steve

    • @stevecope
      @stevecope  หลายเดือนก่อน

      Hi
      Just thinking it would be easier for me if you could send me a note explaining your solution and also the code if possible you can use the ask steve page on the site to do it.
      stevesnoderedguide.com/ask-steve
      rgds
      steve

    • @TheNCGardener
      @TheNCGardener หลายเดือนก่อน

      @@stevecope I actually had written a reply yesterday asking if you wanted to see my code for the esp32 and node red flow, but then thought that was over presumptuous that you would want to see it, so I deleted the reply. This project is about 3 or 4 years old and took me a year to develop. I will send it to you as you stated above. One thing that I quickly realized is to search for existing code to use as building blocks for my own projects. For people who may just be starting to experiment with microcontrollers, I hope to get that one point across. You don't have to reinvent the wheel every time you want to construct a project.Use what others have done and incorporate that into your own projects. Your content was always helpful as well as several others. I also want to add that it is extremely inspiring to me when a content creator takes the time to reply, so thank you for that. I truly appreciate your channel and the work that you do.

  • @jyvben1520
    @jyvben1520 หลายเดือนก่อน

    if both switches would also update a variable and check it to show the status, the variable could then also be used for the overview,
    e.g. showing all active lights in the home. No separate ip range for devices ? 192.168.255.255 or 172.16.0.0 to 172.31.255.255

    • @stevecope
      @stevecope  หลายเดือนก่อน

      Yes that is normally the way I use it as the status can be used elsewhere