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. Announcements
  3. πŸ’¬ Building a WiFi Gateway using ESP8266

πŸ’¬ Building a WiFi Gateway using ESP8266

Scheduled Pinned Locked Moved Announcements
109 Posts 52 Posters 59.8k Views 51 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.
  • K korttoma

    There is no CE pin on the RFM69

    https://www.mysensors.org/build/connect_radio

    F Offline
    F Offline
    FotoFieber
    Hardware Contributor
    wrote on last edited by
    #18

    @korttoma
    :open_mouth:
    Shame on me... I am using a NRF2RFM69 adapter with a CE pin and didn't realize it has no function.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      emc2
      Hardware Contributor
      wrote on last edited by
      #19

      I'm currently adding some wifi gateways at work, I was wondering:

      • is ATSHA204 signing support something planned, or will it stay on soft-sign only mode?
      • is IRQ support something planned too?

      It's mostly to see if I need to plan to add these features on the PCB for later, or not.

      Thanks!

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gmccarthy
        wrote on last edited by
        #20

        @FotoFieber Did you come right with the RFM69? I also struggling to get it working and need to confirm the wiring diagram.

        1 Reply Last reply
        0
        • ramoncarranzaR Offline
          ramoncarranzaR Offline
          ramoncarranza
          wrote on last edited by
          #21
          This post is deleted!
          1 Reply Last reply
          0
          • H hek

            This thread contains comments for the article "Building a WiFi Gateway using ESP8266" posted on MySensors.org.

            ramoncarranzaR Offline
            ramoncarranzaR Offline
            ramoncarranza
            wrote on last edited by
            #22

            @hek Hi, I am new to arduino but not to Vera, have been using Veralite for a few years, I wuould like to know how to add the Serial Gateway to Vera, I find it very confusing, it would be ideal if a video was created or step by step instructions for newbees like me, I will be more than happy to donate via paypal, Thanks so much

            reply

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hek
              Admin
              wrote on last edited by
              #23

              @ramoncarranza

              What part is confusing? Did you follow the steps outlined here:
              https://www.mysensors.org/controller/vera

              ramoncarranzaR 1 Reply Last reply
              0
              • H hek

                @ramoncarranza

                What part is confusing? Did you follow the steps outlined here:
                https://www.mysensors.org/controller/vera

                ramoncarranzaR Offline
                ramoncarranzaR Offline
                ramoncarranza
                wrote on last edited by
                #24

                @hek I got it already, I was confused on the Vera Plugin vs the Arduino Plugin not realizing they were both the same, but now I get the following message on Vera
                "MySensors plugin : Choose the Serial Port"
                "MySensors Plugin[105] : Running Lua Startup"

                I have yet to assemble the Serial Gateway though, so I'm assuming the messages will go away once the Gateway is installed??????

                Thanks

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  hek
                  Admin
                  wrote on last edited by
                  #25

                  Yes, once you insert the usb gateway you just have to follow the instructions here:

                  https://www.mysensors.org/controller/vera#configuring-the-vera-plugin-for-the-serialusb-gateway

                  1 Reply Last reply
                  0
                  • ramoncarranzaR Offline
                    ramoncarranzaR Offline
                    ramoncarranza
                    wrote on last edited by
                    #26

                    Thanks so much!!

                    This thing's Amazing!!!!!!

                    1 Reply Last reply
                    0
                    • sghazaghS Offline
                      sghazaghS Offline
                      sghazagh
                      wrote on last edited by
                      #27

                      Hi all,
                      I try to connect the Radio to Wemos D1 mini Pro and it's not working? I used both ESP8266Gateway and RelayActuator sketches and both Radio Fails...
                      Are the pins here work fine with Wemos D1Mini?here is the pinout: http://escapequotes.net/wp-content/uploads/2016/02/d1-mini-esp8266-board-sh_fixled.jpg

                      And here is the error I get:
                      TSM:INIT
                      !TSM:RADIO:FAIL
                      !TSM:FAILURE
                      TSM:PDT

                      thanks,

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        korttoma
                        Hero Member
                        wrote on last edited by
                        #28

                        If you are using the NRF24L01+ you should wire it according to the instructions here

                        And use the sketch from the same page.

                        So check your wiring of the radio module.

                        • Tomas
                        1 Reply Last reply
                        0
                        • sghazaghS Offline
                          sghazaghS Offline
                          sghazagh
                          wrote on last edited by
                          #29

                          I used the same link (pins and sketches!). Checked it 10 times!
                          I think my Radios are not functional....

                          K 1 Reply Last reply
                          1
                          • sghazaghS sghazagh

                            I used the same link (pins and sketches!). Checked it 10 times!
                            I think my Radios are not functional....

                            K Offline
                            K Offline
                            korttoma
                            Hero Member
                            wrote on last edited by
                            #30

                            @sghazagh maybe you can take a picture of the setup. Maybe someone else can see something that you don't.

                            • Tomas
                            1 Reply Last reply
                            2
                            • sghazaghS Offline
                              sghazaghS Offline
                              sghazagh
                              wrote on last edited by sghazagh
                              #31

                              Good idea,
                              Here is the side by side image from front and back of the PCB.
                              The 'j1' marked on wrong pin ,that's why I think my radio is not working at all as it seems it's very bad replicate.
                              However, I have rotated it by 180 degree and tried that as well. same result!

                              0_1478323600970_radio.png

                              1 Reply Last reply
                              0
                              • sghazaghS Offline
                                sghazaghS Offline
                                sghazagh
                                wrote on last edited by
                                #32

                                Guys, just an update for my issue regarding Radio and my circuit.
                                The Radio was faulty, I received the new one, swapped it and all worked fine.

                                I just posted that here if someone want to use my last post image as a reference for connecting the Radio.
                                The wiring all are correct.

                                Thanks

                                1 Reply Last reply
                                2
                                • jakesJ Offline
                                  jakesJ Offline
                                  jakes
                                  wrote on last edited by
                                  #33

                                  Hi Hek,

                                  Thanks for this guide... I have added an additional 433 RF receiver to my ESP8266 gateway. How can I send the data received from 433 RF to the my Home Assistant controller?

                                  1 Reply Last reply
                                  0
                                  • denisvdbD Offline
                                    denisvdbD Offline
                                    denisvdb
                                    wrote on last edited by
                                    #34

                                    Hello, i have build a wifi gateway and use it in jeedom.
                                    My gateway wifi as connection problem.
                                    In jeedom, in the log of my sensors node I have almost every 2 days the message: diconnected from network gateway.
                                    If I restart the node the communication is re-established.
                                    Is this a problem with nrf24l01?

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      derrij
                                      wrote on last edited by
                                      #35

                                      why esp8266 gateway shows only debug info?
                                      when i comment //#define MY_DEBUG
                                      where is no any serial output.

                                      mfalkviddM 1 Reply Last reply
                                      0
                                      • D derrij

                                        why esp8266 gateway shows only debug info?
                                        when i comment //#define MY_DEBUG
                                        where is no any serial output.

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

                                        @derrij because it is a wifi gateway?

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          AndreD
                                          wrote on last edited by
                                          #37

                                          If put in client mode
                                          #define MY_CONTROLLER_IP_ADDRESS 192, 168, 2, 9
                                          I get an error. How to win.

                                          **
                                          Arduino: 1.8.2 (Windows 7), ΠŸΠ»Π°Ρ‚Π°:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"

                                          "C:\Users\DedHP\AppData\Local\Temp\arduino_build_364162\sketch\GatewayESP8266.ino.cpp.o"
                                          In file included from C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39:0,

                                                       from C:\Users\DedHP\AppData\Local\Temp\arduino_modified_sketch_313960\GatewayESP8266.ino:132:
                                          

                                          C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h: In instantiation of 'size_t WiFiClient::write(T&, size_t) [with T = char*; size_t = unsigned int]':

                                          C:\Documents\Arduino\ams\Arduino\libraries\MySensors/core/MyGatewayTransportEthernet.cpp:207:58: required from here

                                          C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:123:36: error: request for member 'available' in 'source', which is of non-class type 'char*'

                                           size_t left = source.available();
                                          
                                                                          ^
                                          

                                          C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:127:5: error: request for member 'read' in 'source', which is of non-class type 'char*'

                                           source.read(buffer.get(), will_send);
                                          
                                           ^
                                          

                                          Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΡƒ ESP8266WiFi вСрсии 1.0 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi
                                          Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΡƒ MySensors вСрсии 2.1.1 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Documents\Arduino\ams\Arduino\libraries\MySensors
                                          Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΡƒ EEPROM вСрсии 1.0 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\EEPROM
                                          Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅ΠΌ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΡƒ SPI вСрсии 1.0 ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ: C:\Users\DedHP\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SPI
                                          exit status 1
                                          Ошибка компиляции для ΠΏΠ»Π°Ρ‚Ρ‹ Generic ESP8266 Module.*

                                          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