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. ESP8266 WiFi gateway port for MySensors

ESP8266 WiFi gateway port for MySensors

Scheduled Pinned Locked Moved Development
328 Posts 56 Posters 310.8k Views 39 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.
  • Mark SwiftM Offline
    Mark SwiftM Offline
    Mark Swift
    wrote on last edited by
    #314

    Was the blocking code issue ever resolved @Yveaux ?

    YveauxY 1 Reply Last reply
    0
    • Mark SwiftM Mark Swift

      Was the blocking code issue ever resolved @Yveaux ?

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #315

      @Mark-Swift no, still open at Esp side, and I couldn't think of a clean way working around it...

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gloob
        wrote on last edited by
        #316

        I have an ESP using as a gateway and want to send some sensor information each 5 minutes to the controller.

        Is it possible to use the wait command in the "loop"?

        void loop() 
        {
          wait(unsigned long ms);
          statusCounter += 1;
          send(msg.set(statusCounter));
        }
        
        mfalkviddM 1 Reply Last reply
        0
        • G gloob

          I have an ESP using as a gateway and want to send some sensor information each 5 minutes to the controller.

          Is it possible to use the wait command in the "loop"?

          void loop() 
          {
            wait(unsigned long ms);
            statusCounter += 1;
            send(msg.set(statusCounter));
          }
          
          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #317

          @gloob yes

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gloob
            wrote on last edited by gloob
            #318

            Thanks for the answer. So all incoming or outgoing messages of the gateway will be processed in the background, while the "wait" command is active?

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #319

              @gloob Yes

              1 Reply Last reply
              0
              • E Offline
                E Offline
                Eawo
                wrote on last edited by
                #320

                Hey

                Im not really getting it is this a gateway for mysensors nodes or for mtqq Nodes with esp stuff? I dont really getting it. Do you need a esp8266 wifi gateway to get a wireless gateway for mysensors stuff or is like. Mysensors gateway ---> Esp8266 gateway --- Esp8266 node.

                Sorry i dont really understand but im intressted in buying 8-10 sonoff for my window lamps, and i want them to work with domoticz :D

                alexsh1A 1 Reply Last reply
                0
                • E Eawo

                  Hey

                  Im not really getting it is this a gateway for mysensors nodes or for mtqq Nodes with esp stuff? I dont really getting it. Do you need a esp8266 wifi gateway to get a wireless gateway for mysensors stuff or is like. Mysensors gateway ---> Esp8266 gateway --- Esp8266 node.

                  Sorry i dont really understand but im intressted in buying 8-10 sonoff for my window lamps, and i want them to work with domoticz :D

                  alexsh1A Offline
                  alexsh1A Offline
                  alexsh1
                  wrote on last edited by
                  #321

                  @Eawo the sonoff does not require any GW to work with Domoticz.

                  1 Reply Last reply
                  0
                  • hekH Offline
                    hekH Offline
                    hek
                    Admin
                    wrote on last edited by
                    #322

                    Yes, @alexsh1 is right. You would normally setup ESP nodes (like the sonoff) to act as a gateway, communicating directly with the controller themselves.

                    But if you're persistent (or have short wifi range), you can get two ESP nodes to communicate with each other using NRF24/RF69 like @mfalkvidd did recently.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Matthew Ohlson de Fine
                      wrote on last edited by
                      #323

                      Hi. I have loaded the Sonoff as an Ethernet gateway using the modified sketch in Vera and it recognizes it perfectly. The problem I have is that I dont know how to control the relay with the Vera now. Please help.

                      1 Reply Last reply
                      0
                      • Mark SwiftM Offline
                        Mark SwiftM Offline
                        Mark Swift
                        wrote on last edited by
                        #324

                        @hek @Yveaux I see the blocking issue on the ESP side has been closed... Does this mean we can now use the ESP in high traffic environments? How can we test it, I assume we also need to activate IRQ for the NRF in the ESP gateway code?

                        YveauxY 1 Reply Last reply
                        0
                        • Mark SwiftM Mark Swift

                          @hek @Yveaux I see the blocking issue on the ESP side has been closed... Does this mean we can now use the ESP in high traffic environments? How can we test it, I assume we also need to activate IRQ for the NRF in the ESP gateway code?

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by
                          #325

                          @Mark-Swift that issue apparently addressed an issue in the vs1053 library, which surfaced because the esp8266 doesn't support interrupts on spi transfers.
                          The issue was closed because the vs1053 library was modified to support esp8266, unfortunately not because esp interrupt support for spi was implemented...

                          http://yveaux.blogspot.nl

                          Mark SwiftM 1 Reply Last reply
                          1
                          • YveauxY Yveaux

                            @Mark-Swift that issue apparently addressed an issue in the vs1053 library, which surfaced because the esp8266 doesn't support interrupts on spi transfers.
                            The issue was closed because the vs1053 library was modified to support esp8266, unfortunately not because esp interrupt support for spi was implemented...

                            Mark SwiftM Offline
                            Mark SwiftM Offline
                            Mark Swift
                            wrote on last edited by
                            #326

                            @Yveaux said in ESP8266 WiFi gateway port for MySensors:

                            @Mark-Swift that issue apparently addressed an issue in the vs1053 library, which surfaced because the esp8266 doesn't support interrupts on spi transfers.
                            The issue was closed because the vs1053 library was modified to support esp8266, unfortunately not because esp interrupt support for spi was implemented...

                            @Yveaux You're right, should have read more before jumping to conclusions :(

                            Damn, I thought I could finally dump my serial gateway!

                            1 Reply Last reply
                            0
                            • ahmedadelhosniA Offline
                              ahmedadelhosniA Offline
                              ahmedadelhosni
                              wrote on last edited by
                              #327

                              Is it normal to use GPIO15 ? Isn't it used for booting mode ?

                              mfalkviddM 1 Reply Last reply
                              0
                              • ahmedadelhosniA ahmedadelhosni

                                Is it normal to use GPIO15 ? Isn't it used for booting mode ?

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

                                @ahmedadelhosni where is gpio15 used? (This is a very long thread so finding it without your help isn't easy)

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


                                16

                                Online

                                11.7k

                                Users

                                11.2k

                                Topics

                                113.1k

                                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