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. Controllers
  3. OpenHAB
  4. openHAB and NRF24 without gateway attachments

openHAB and NRF24 without gateway attachments

Scheduled Pinned Locked Moved OpenHAB
5 Posts 2 Posters 3.1k Views 2 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.
  • M Offline
    M Offline
    Mārtiņš Prūsis
    wrote on last edited by
    #1

    Hello!
    Im new to all of this stuff but i already like what smart house opportunities can give to everyone. ;)
    And heres my story begins: As ESP8266 is power-hungry i went for NRF24. I successfully added NRF24 to my rasp and done everything to have communication with my NRF24 node following this guide , and node code this guide.

    So my question:
    How can i forward or post NRF24 nodes sensor status to MQTT server? As in used guide - door status.
    As i already read there are ways with Ethernet Shield W5100 but is it possible to forward info without gateway?

    My setup:

    • Raspberry pi 3 with Openhab & MQTT server & NRF24L01 & MySensors branch
    • NRF24L01 node (Arduino Nano)
    • couple senors connected to ESP8266 sending info to MQTT server
    mfalkviddM 1 Reply Last reply
    0
    • M Mārtiņš Prūsis

      Hello!
      Im new to all of this stuff but i already like what smart house opportunities can give to everyone. ;)
      And heres my story begins: As ESP8266 is power-hungry i went for NRF24. I successfully added NRF24 to my rasp and done everything to have communication with my NRF24 node following this guide , and node code this guide.

      So my question:
      How can i forward or post NRF24 nodes sensor status to MQTT server? As in used guide - door status.
      As i already read there are ways with Ethernet Shield W5100 but is it possible to forward info without gateway?

      My setup:

      • Raspberry pi 3 with Openhab & MQTT server & NRF24L01 & MySensors branch
      • NRF24L01 node (Arduino Nano)
      • couple senors connected to ESP8266 sending info to MQTT server
      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Hi @mārtiņš-prūsis, welcome to the MySensors forum. Great to have youhere :)

      From what you are describing, it sounds like you already have both a raspberry pi gateway and esp8266 gateways using MQTT. The nodes send data to a gateway, which forward the messages through MQTT. Could you describe the difference between the mqtt you have and the mqtt you want?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mārtiņš Prūsis
        wrote on last edited by
        #3

        Correct, i have MQTT communication between rapsberry and esp8266 nodes without problems, but recently i added NRF24 module to raspberry and created NRF24 arduino node. There is communication between raspberry and NRF24 arduino node through air (see picture). Last five rows messaging door state sg=0:"1;0" (0=open, 1=closed), so i want to have this door state forwarded to MQTT server. Maybe later on info from PIR or temperature sensors. 0_1542137444741_nrf.JPG
        How can i forward this received state to MQTT?

        mfalkviddM 1 Reply Last reply
        0
        • M Mārtiņš Prūsis

          Correct, i have MQTT communication between rapsberry and esp8266 nodes without problems, but recently i added NRF24 module to raspberry and created NRF24 arduino node. There is communication between raspberry and NRF24 arduino node through air (see picture). Last five rows messaging door state sg=0:"1;0" (0=open, 1=closed), so i want to have this door state forwarded to MQTT server. Maybe later on info from PIR or temperature sensors. 0_1542137444741_nrf.JPG
          How can i forward this received state to MQTT?

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by mfalkvidd
          #4

          @mārtiņš-prūsis thanks for clarifying. Just follow the instructions in the MQTT section on https://www.mysensors.org/build/raspberry

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Mārtiņš Prūsis
            wrote on last edited by
            #5

            I done all steps only i skipped gateway type. I did MQTT gateway type and made a new gateway and vola, its working.
            Thank you!

            1 Reply Last reply
            1

            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


            10

            Online

            12.1k

            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