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. General Discussion
  3. have not mysensors team any plans for add esp8266 ?

have not mysensors team any plans for add esp8266 ?

Scheduled Pinned Locked Moved General Discussion
16 Posts 5 Posters 2.8k Views 4 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.
  • mfalkviddM mfalkvidd

    @Nca78 someone wise told me something about wasting time ;-)

    R Offline
    R Offline
    Reza
    wrote on last edited by
    #7
    This post is deleted!
    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #8

      @Reza

      What you are asking for, is already working with mysensors! A gateway can have local sensors / actuators, and it doesn't need to have an NRF/RFM radio attached for working.

      So basically:

      1. Create a ESP8266 gateway without defining a radio (nrf / rfm)
      2. Add sensor / actuator of some kind, to the sketch, and voila..
      R 1 Reply Last reply
      1
      • tbowmoT tbowmo

        @Reza

        What you are asking for, is already working with mysensors! A gateway can have local sensors / actuators, and it doesn't need to have an NRF/RFM radio attached for working.

        So basically:

        1. Create a ESP8266 gateway without defining a radio (nrf / rfm)
        2. Add sensor / actuator of some kind, to the sketch, and voila..
        R Offline
        R Offline
        Reza
        wrote on last edited by
        #9

        @tbowmo
        really ?! so we can control relay and sensor with a esp8266 gateway ?
        can you a simple example for relay and sensor?
        thank you

        mfalkviddM 1 Reply Last reply
        0
        • R Reza

          @tbowmo
          really ?! so we can control relay and sensor with a esp8266 gateway ?
          can you a simple example for relay and sensor?
          thank you

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

          Using an esp8266 as a sensor node with nrf24 is possible.

          An example sketch for relay is available at https://www.mysensors.org/build/relay
          D1 on the esp8266 is unused by the nrf24 so you can use that for the relay.

          #define RELAY_1  D1
          

          Wiring instructions for the nrf and esp8266 is available at https://www.mysensors.org/build/connect_radio#nrf24l01+-&-esp8266

          R 1 Reply Last reply
          1
          • mfalkviddM mfalkvidd

            Using an esp8266 as a sensor node with nrf24 is possible.

            An example sketch for relay is available at https://www.mysensors.org/build/relay
            D1 on the esp8266 is unused by the nrf24 so you can use that for the relay.

            #define RELAY_1  D1
            

            Wiring instructions for the nrf and esp8266 is available at https://www.mysensors.org/build/connect_radio#nrf24l01+-&-esp8266

            R Offline
            R Offline
            Reza
            wrote on last edited by
            #11

            @mfalkvidd
            please explain more . so i can use Dx for control relay ? with wifi ?
            can you share a complete sketch for a one channel relay?
            i want build a 8 channel relay with key. nodemcu have not 16 pinout that is true ?

            mfalkviddM 1 Reply Last reply
            0
            • R Offline
              R Offline
              Reza
              wrote on last edited by
              #12

              how to send to domoticz, and how receive message from domoticz and action...

              1 Reply Last reply
              0
              • R Reza

                @mfalkvidd
                please explain more . so i can use Dx for control relay ? with wifi ?
                can you share a complete sketch for a one channel relay?
                i want build a 8 channel relay with key. nodemcu have not 16 pinout that is true ?

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

                @Reza yes it is true that nodemcu does not have 16 output pins

                R 1 Reply Last reply
                0
                • mfalkviddM mfalkvidd

                  @Reza yes it is true that nodemcu does not have 16 output pins

                  R Offline
                  R Offline
                  Reza
                  wrote on last edited by
                  #14

                  @mfalkvidd in espeasy added a plugin for support a arduino promini for extender gpio .and can use arduino's gpio for increase device. arduino promini is connect to nodemcu with a I2C, can we build this ? espeasy have some problem for example we can not use arduino's gpio for input switch. just we can use for sensors. every delay time send state of gpio and we can not change code and put a IF for input switch

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Reza
                    wrote on last edited by
                    #15

                    please share a short and simple code for use esp gateway for relay control.until i read this and work and extend this .thank you

                    1 Reply Last reply
                    0
                    • dbemowskD Offline
                      dbemowskD Offline
                      dbemowsk
                      wrote on last edited by
                      #16

                      Has anyone thought of using serial over ethernet? I would think that you could do that similar to having a straight serial connection. I do believe that ESPEasy supports serial over ethernet. I can check when I get home since that is what I am running on all of my Sonoffs. I am using a custom plugin on my Vera to run them, but I do have a couple spare Sonoffs that I could try a serial connection with. The only thing would be what GPIO pins are available on a Sonoff or other ESP8266 device to act as the serial side of the gateway.

                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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


                      31

                      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