Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Need help with ESP8266 Node in MQTT Network

Need help with ESP8266 Node in MQTT Network

Scheduled Pinned Locked Moved Development
6 Posts 3 Posters 2.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    siod
    wrote on last edited by
    #1

    Hi guys,

    I would like to add an ESP8266 WIFI Node to my existing NRF24 MQTT Network. I´ve set up a Mosquitto broker on my LAN connected Raspberry pi with openhab2 running on it acting as the controller.
    Unfortunately I have no idea where to start to include the new WIFI node to talk to my controller. Does someone know a tutorial could give me some code examples of where to start?

    Thanks in advance!

    still learning...

    K 1 Reply Last reply
    0
    • S siod

      Hi guys,

      I would like to add an ESP8266 WIFI Node to my existing NRF24 MQTT Network. I´ve set up a Mosquitto broker on my LAN connected Raspberry pi with openhab2 running on it acting as the controller.
      Unfortunately I have no idea where to start to include the new WIFI node to talk to my controller. Does someone know a tutorial could give me some code examples of where to start?

      Thanks in advance!

      K Offline
      K Offline
      kimot
      wrote on last edited by
      #2

      @siod
      https://www.youtube.com/watch?v=Kp4KJVbOWd0

      https://www.youtube.com/watch?v=xQltSHSVleI

      1 Reply Last reply
      0
      • S Offline
        S Offline
        siod
        wrote on last edited by siod
        #3

        well, this looks quiet interesting, but I think I´m quicker if I just use my actual Arduino IDE setup and some lines of code to achieve my goal because I feel more comfortable wit this IDE...

        But I will have a look at ESPEasy anyway, thanks for that!!

        edit: Do I have to upload the ESP8266 Gateway Code to every ESP8266 Node?

        What I actually want to achieve is to build a IR Sender which sends IR commands to my TV or other IR devices that where sent by openhab.

        still learning...

        K T 2 Replies Last reply
        0
        • S siod

          well, this looks quiet interesting, but I think I´m quicker if I just use my actual Arduino IDE setup and some lines of code to achieve my goal because I feel more comfortable wit this IDE...

          But I will have a look at ESPEasy anyway, thanks for that!!

          edit: Do I have to upload the ESP8266 Gateway Code to every ESP8266 Node?

          What I actually want to achieve is to build a IR Sender which sends IR commands to my TV or other IR devices that where sent by openhab.

          K Offline
          K Offline
          kimot
          wrote on last edited by
          #4

          @siod
          Maybe your task is done by somebody:
          IR_MQTT_OPENHAB

          Or with ESPeasy look at this post:
          link text

          And this thread:
          link text

          1 Reply Last reply
          0
          • S siod

            well, this looks quiet interesting, but I think I´m quicker if I just use my actual Arduino IDE setup and some lines of code to achieve my goal because I feel more comfortable wit this IDE...

            But I will have a look at ESPEasy anyway, thanks for that!!

            edit: Do I have to upload the ESP8266 Gateway Code to every ESP8266 Node?

            What I actually want to achieve is to build a IR Sender which sends IR commands to my TV or other IR devices that where sent by openhab.

            T Offline
            T Offline
            TimO
            Hero Member
            wrote on last edited by
            #5

            @siod

            edit: Do I have to upload the ESP8266 Gateway Code to every ESP8266 Node?

            Yes, you do have to. Just use seperate MQTT topics for every node/gateway.

            I suppose you're looking for the MySensors / MQTT integration in general?

            1. Is the ESP8266 flashed and working? Are you able to see the MQTT messages on the broker?
              (https://www.mysensors.org/build/mqtt_gateway)

            2. You may connect the Mosquitto with OpenHAB via the (generic) MQTT binding (search the forum about how this could be achieved) or via the MySensors binding for OpenHAB2.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              siod
              wrote on last edited by
              #6

              Hi guys,

              thanks to both of you! Thanks @TimO for the general information and thanks to @kimot for finding the exact solution for what I was looking for. Awesome!!

              I will give it a try as soon as possible...

              still learning...

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              17

              Online

              12.0k

              Users

              11.2k

              Topics

              113.4k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular