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. Hardware
  3. WiFi Gateway on raspberry

WiFi Gateway on raspberry

Scheduled Pinned Locked Moved Hardware
9 Posts 2 Posters 1.0k 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.
  • B Offline
    B Offline
    badisensors
    wrote on last edited by
    #1

    Hi,
    I saw the ESP8266 wifi gateway and i was wondering if i can use the on board wifi of raspberry as a wifi gateway. I have a new Sonoff wifi switch and i would like to control it through home assistant in raspberry if it is possible.
    Thank you.

    mfalkviddM 1 Reply Last reply
    0
    • B badisensors

      Hi,
      I saw the ESP8266 wifi gateway and i was wondering if i can use the on board wifi of raspberry as a wifi gateway. I have a new Sonoff wifi switch and i would like to control it through home assistant in raspberry if it is possible.
      Thank you.

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

      @badisensors yes. See https://www.mysensors.org/build/raspberry

      1 Reply Last reply
      0
      • B Offline
        B Offline
        badisensors
        wrote on last edited by
        #3

        Yes, but i already have made a serial gateway on raspberry with these instructions. Can i have serial and ethernet gateway at the same time?

        mfalkviddM 1 Reply Last reply
        0
        • B badisensors

          Yes, but i already have made a serial gateway on raspberry with these instructions. Can i have serial and ethernet gateway at the same time?

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

          @badisensors yes some people have connected two radios to their raspberry pi.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            badisensors
            wrote on last edited by
            #5

            I think i am little confused. I just want to control my wifi Sonoff switch with my homeassistant. I saw these instructions https://www.mysensors.org/build/sonoff
            where i can reprogramm the Sonoff ESP but i dont understand how it will communicate with homeassistant. Do i need also a separate wifi gateway or the Sonoff switch will be able to communicate with my controller through my LAN?
            Thank you for your time to answer me.

            mfalkviddM 1 Reply Last reply
            0
            • B badisensors

              I think i am little confused. I just want to control my wifi Sonoff switch with my homeassistant. I saw these instructions https://www.mysensors.org/build/sonoff
              where i can reprogramm the Sonoff ESP but i dont understand how it will communicate with homeassistant. Do i need also a separate wifi gateway or the Sonoff switch will be able to communicate with my controller through my LAN?
              Thank you for your time to answer me.

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

              @badisensors thanks for explaining. I am not familiar with Sonoff but according to the build page the sonoff will be its own gateway and communicate with Home Assistant using mqtt. There is no beed for a separate gateway.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                badisensors
                wrote on last edited by
                #7

                Ok i will give it a try and i will tell you. Thanks

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  badisensors
                  wrote on last edited by
                  #8

                  I have problem to verify the sketch of Sonoff and i tried also ESP8266 gateway and also i cant verify. Arduino IDE returns the error:

                  Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Higher Bandwidth, Disabled, None, Only Sketch, 115200" In file included from \Arduino\libraries\MySensors/MySensors.h:405:0, from \Arduino\libraries\MySensors\examples\GatewayESP8266\GatewayESP8266.ino:132: \Arduino\libraries\MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:57:53: error: declaration of C function 'void ets_update_cpu_frequency(int)' conflicts with extern "C" void ets_update_cpu_frequency(int freqmhz); ^ In file included from \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/pgmspace.h:10:0, from \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:256, from sketch\GatewayESP8266.ino.cpp:1: \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/include/ets_sys.h:218:6: error: previous declaration 'void ets_update_cpu_frequency(uint32_t)' here void ets_update_cpu_frequency(uint32_t ticks_per_us);

                  What its wrong?

                  mfalkviddM 1 Reply Last reply
                  0
                  • B badisensors

                    I have problem to verify the sketch of Sonoff and i tried also ESP8266 gateway and also i cant verify. Arduino IDE returns the error:

                    Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Higher Bandwidth, Disabled, None, Only Sketch, 115200" In file included from \Arduino\libraries\MySensors/MySensors.h:405:0, from \Arduino\libraries\MySensors\examples\GatewayESP8266\GatewayESP8266.ino:132: \Arduino\libraries\MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:57:53: error: declaration of C function 'void ets_update_cpu_frequency(int)' conflicts with extern "C" void ets_update_cpu_frequency(int freqmhz); ^ In file included from \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/pgmspace.h:10:0, from \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:256, from sketch\GatewayESP8266.ino.cpp:1: \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/include/ets_sys.h:218:6: error: previous declaration 'void ets_update_cpu_frequency(uint32_t)' here void ets_update_cpu_frequency(uint32_t ticks_per_us);

                    What its wrong?

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

                    @badisensors see the earlier answers here.

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


                    19

                    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