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 23.2k 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.
  • Bogus ExceptionB Bogus Exception

    Is there a complete wiring table, diagram, or schematic? I have a working MyController/MySensors network on nRF24s, but I am adding WiFi with a ESP-201 module (white one with pins broken out for 2.54 pitch; see: http://smarpl.com/sites/default/files/images/ESP8266-ESP-201-pin-reference-v01.png)... TIA!

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

    @Bogus-Exception did you see the instructions linked in the first post in this thread? You probably want the part that says "connect the radio".

    1 Reply Last reply
    0
    • pihomeP Offline
      pihomeP Offline
      pihome
      wrote on last edited by
      #46

      if i reboot my wifi router mysensors wifi gateway wouldn't try to connect again, is this only with me or its common issue with wifi gateway?

      PiHome - Smart Heating Control

      mfalkviddM 1 Reply Last reply
      0
      • pihomeP pihome

        if i reboot my wifi router mysensors wifi gateway wouldn't try to connect again, is this only with me or its common issue with wifi gateway?

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

        @pihome said in 💬 Building a WiFi Gateway using ESP8266:

        if i reboot my wifi router mysensors wifi gateway wouldn't try to connect again, is this only with me or its common issue with wifi gateway?

        This question was transferred to a new thread by @pihome. Please don't answer here, to avoid double work and confusion.

        1 Reply Last reply
        0
        • folkestorpF Offline
          folkestorpF Offline
          folkestorp
          wrote on last edited by
          #48

          Reporting batterypercent to Domoticz not working.
          I have built a ESP8266 Gateway and I connecting a BME280 sensor. It report everything right with a serial gateway but with the new wifi gateway it not reciving the battery percent. I look in the serial monitor at the gateway and where is no battery data.

          1 Reply Last reply
          0
          • O Offline
            O Offline
            Oleg Greengo
            wrote on last edited by
            #49

            Colleagues, tell me.
            can I make it so that hosts register on the gateway only if I press a button on the gateway?

            Perhaps there is an example?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              toozinger
              wrote on last edited by
              #50

              Hello,
              I'm receiving the following errors:
              warning: espcomm_sync failed
              error: espcomm_open failed
              error: espcomm_upload_mem failed
              error: espcomm_upload_mem failed

              I have attempted to fix this problem through:
              *Making sure I"m using the "NodeMCU" as my board in the Arduino IDE
              *Trying different upload rates
              *Pressing and holding the flash button while and/or right before upload

              Hardware:
              PC, windows 10
              NodeMCU from eBay link above.

              Any help? It appears others have had this problem as well, but I haven't (yet) been able to fix my issues through their threads.

              Thanks!

              Toozinger

              1 Reply Last reply
              0
              • blackYB Offline
                blackYB Offline
                blackY
                wrote on last edited by
                #51

                ...and how to connect Arduino & MySensors & ESP8266-01 (like this one: https://www.aliexpress.com/item/2015-New-version-1PCS-ESP8266-serial-WIFI-model-ESP-01-Authenticity-Guaranteed-Internet-of-things/32574207918.html?spm=a2g0s.9042311.0.0.ytiQMF ) with ESP 01 Serial Adapter - like this one (https://www.aliexpress.com/item/ESP8266-Serial-WiFi-Wireless-ESP-01-Adapter-Module-3-3V-5V-Compatible-For-Arduino/32740695540.html?spm=a2g0s.9042311.0.0.lSVdmZ), when i should use Tx and Rx signals only?

                mfalkviddM 1 Reply Last reply
                0
                • blackYB blackY

                  ...and how to connect Arduino & MySensors & ESP8266-01 (like this one: https://www.aliexpress.com/item/2015-New-version-1PCS-ESP8266-serial-WIFI-model-ESP-01-Authenticity-Guaranteed-Internet-of-things/32574207918.html?spm=a2g0s.9042311.0.0.ytiQMF ) with ESP 01 Serial Adapter - like this one (https://www.aliexpress.com/item/ESP8266-Serial-WiFi-Wireless-ESP-01-Adapter-Module-3-3V-5V-Compatible-For-Arduino/32740695540.html?spm=a2g0s.9042311.0.0.lSVdmZ), when i should use Tx and Rx signals only?

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

                  Welcome to the Mensors community @blackY !

                  If you're new to building MySensor nodes, I recommend that you stick with the recommended build examples.

                  It is probably possible to use the modules you link to, but it will require knowledge far beyond building the existing examples.

                  1 Reply Last reply
                  0
                  • blackYB Offline
                    blackYB Offline
                    blackY
                    wrote on last edited by
                    #53

                    yes, I know...but if you are still staying by given examples, you don't develop yourself ;)

                    zboblamontZ 1 Reply Last reply
                    0
                    • blackYB blackY

                      yes, I know...but if you are still staying by given examples, you don't develop yourself ;)

                      zboblamontZ Offline
                      zboblamontZ Offline
                      zboblamont
                      wrote on last edited by
                      #54

                      @blackY I'll just leave this here for a relative reference to that... link text

                      blackYB 1 Reply Last reply
                      0
                      • zboblamontZ zboblamont

                        @blackY I'll just leave this here for a relative reference to that... link text

                        blackYB Offline
                        blackYB Offline
                        blackY
                        wrote on last edited by
                        #55

                        @zboblamont ROTFL...
                        I'm kidding. This does not solve the problem. Isn't nice or exploring too.

                        1 Reply Last reply
                        1
                        • RajendraR Offline
                          RajendraR Offline
                          Rajendra
                          wrote on last edited by
                          #56

                          I just want to bypass inbuilt wifi connection method in GatewayESP8266 and use my own code of SmartConfig to create WiFi connection. I'm not able to achieve this. is there any way to do this?
                          Ive tried changing library (MyGatewayTransportEthernet) code, but it throws TSM exception. I've tested SmartConfig separately and it works fine with my Android App.

                          Rajendra

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            RWoerz
                            wrote on last edited by
                            #57

                            Sorry but can someone explain the differance between "Server" and "Client" modes. I got my ESP8266 working with my Vera but then I install a RPi 3 I'm using for MQTT. Do I need 2 gateways, one for the Vera and another for MQTT? Even though I'm moving away from the Vera it's still usfull. Thanks for the help.

                            1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              RWoerz
                              wrote on last edited by
                              #58

                              One for thing will this work with a ESP32?

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                RWoerz
                                wrote on last edited by
                                #59

                                Sorry about the typing. I also have a question about radio pins. The ESP8266 sketch shows different pins for the radio then "Connecting the Radio". I don't see the pins defined in the sketch so where do I go to change them?

                                mfalkviddM 1 Reply Last reply
                                0
                                • R RWoerz

                                  Sorry about the typing. I also have a question about radio pins. The ESP8266 sketch shows different pins for the radio then "Connecting the Radio". I don't see the pins defined in the sketch so where do I go to change them?

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

                                  @rwoerz thanks for reporting the difference between the wiring instructions. I have created https://github.com/mysensors/MySensors/issues/1096 to update the sketches.

                                  As long as you use the default pins, there is no need to change them. If you want to change them, see https://www.mysensors.org/apidocs/group__RadioSettingGrpPub.html

                                  1 Reply Last reply
                                  0
                                  • Richard van der PlasR Offline
                                    Richard van der PlasR Offline
                                    Richard van der Plas
                                    wrote on last edited by
                                    #61

                                    HI there, i have been using this code a while, but had to made some changes in my wifi connection info (because it seems that my Domotica controller couldnt command the gateway), but after a failed flash, i have managed to flash it again correctly, but it doesnt seem to connect to the gateway anymore, how can i check this? it wouldnt respond on a ping and i see no wifi connection in de serial log?

                                    1 Reply Last reply
                                    0
                                    • gohanG Offline
                                      gohanG Offline
                                      gohan
                                      Mod
                                      wrote on last edited by
                                      #62

                                      Have you tried other sketches if they work? You may also try to flash a blank .bin file to erase everything on the esp8266

                                      1 Reply Last reply
                                      0
                                      • Richard van der PlasR Offline
                                        Richard van der PlasR Offline
                                        Richard van der Plas
                                        wrote on last edited by
                                        #63

                                        seems to work again indeed, had to flash something empty first.

                                        1 Reply Last reply
                                        1
                                        • R Offline
                                          R Offline
                                          ricorico94
                                          wrote on last edited by
                                          #64

                                          Hi,
                                          I built a ESP8266 gateway using a wemos D1 mini and RFM95. I'd like to debug some communications with sensors with being attached to serial port of a computer, so I tried to connect via telnet.
                                          I can connect as telnet, but I don't see many details.. First, text in telnet is not aligned on the left, and second, it only lists some raw values instead of displaying same kind of verbose debug info like in the serial monitor.
                                          Is there a way to display same verbose text than in serial monitor ?

                                          Thanks,
                                          ricorico94

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          10

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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