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. Feature Requests
  3. ESP8266 as MySensors nodes instead of Arduino + nRF24L01

ESP8266 as MySensors nodes instead of Arduino + nRF24L01

Scheduled Pinned Locked Moved Feature Requests
7 Posts 5 Posters 8.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.
  • H Offline
    H Offline
    Hareesh M U
    wrote on last edited by
    #1

    I have been using the MySensors Serial Gateway and Arduino+nRF24L01 Sensor nodes. Recently I saw the ESP8266 support as WIFI Gateway.
    I was wondering is there any way we can use ESP82266 as a Sensor Node also instead of Arduino+nRF24L01. So that we can remove the nRF24L01 radio network from both gateway and sensor nodes.

    rejoe2R 1 Reply Last reply
    0
    • H Hareesh M U

      I have been using the MySensors Serial Gateway and Arduino+nRF24L01 Sensor nodes. Recently I saw the ESP8266 support as WIFI Gateway.
      I was wondering is there any way we can use ESP82266 as a Sensor Node also instead of Arduino+nRF24L01. So that we can remove the nRF24L01 radio network from both gateway and sensor nodes.

      rejoe2R Offline
      rejoe2R Offline
      rejoe2
      wrote on last edited by
      #2

      @Hareesh-M-U Imo this isn't the route to go for MySensors.
      If you want to have WiFi as a transport layer you may have a look at the ESPEasy-project, that seems to offer almost comparable options with this type of mc.

      I personally do not like to mesh up Home-automation things with WiFi, that requires additional infrastructure. Therefore I just use a serial nRF-GW and also a seperate serial GW for RS485 to avoid radio transmission at all.

      Beside that, the ESP-chips are not designed for battery-use and have/had some disadvantages wrt. to time-critical applications (as RF- or IR-receiver). (This may be overcome to a large extend now).

      Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

      H AffordableTechA 2 Replies Last reply
      0
      • rejoe2R rejoe2

        @Hareesh-M-U Imo this isn't the route to go for MySensors.
        If you want to have WiFi as a transport layer you may have a look at the ESPEasy-project, that seems to offer almost comparable options with this type of mc.

        I personally do not like to mesh up Home-automation things with WiFi, that requires additional infrastructure. Therefore I just use a serial nRF-GW and also a seperate serial GW for RS485 to avoid radio transmission at all.

        Beside that, the ESP-chips are not designed for battery-use and have/had some disadvantages wrt. to time-critical applications (as RF- or IR-receiver). (This may be overcome to a large extend now).

        H Offline
        H Offline
        Hareesh M U
        wrote on last edited by
        #3

        @rejoe2 Thank you for your quick reply. Since I'm having the range issues with nRF24L01 and board failures, i was thinking about the wifi connectivity. Since wifi router will have the great coverage compared to nRF24L01. I will explore the ESPEasy-project as you suggested and will check if suites my requirements.

        YveauxY 1 Reply Last reply
        0
        • H Hareesh M U

          @rejoe2 Thank you for your quick reply. Since I'm having the range issues with nRF24L01 and board failures, i was thinking about the wifi connectivity. Since wifi router will have the great coverage compared to nRF24L01. I will explore the ESPEasy-project as you suggested and will check if suites my requirements.

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

          @Hareesh-M-U MySensors supports sensors on gateways, so you can always create standalone gateways with sensors directly attached.
          You need a controller supporting multiple WiFi MySensors gateways and you're good to go!

          http://yveaux.blogspot.nl

          H 1 Reply Last reply
          1
          • YveauxY Yveaux

            @Hareesh-M-U MySensors supports sensors on gateways, so you can always create standalone gateways with sensors directly attached.
            You need a controller supporting multiple WiFi MySensors gateways and you're good to go!

            H Offline
            H Offline
            Hareesh M U
            wrote on last edited by
            #5

            @Yveaux Yeah... that's an interesting idea. Thank you for bringing that out. BTW, I'm using Home Assistant as the controller.

            1 Reply Last reply
            0
            • rejoe2R rejoe2

              @Hareesh-M-U Imo this isn't the route to go for MySensors.
              If you want to have WiFi as a transport layer you may have a look at the ESPEasy-project, that seems to offer almost comparable options with this type of mc.

              I personally do not like to mesh up Home-automation things with WiFi, that requires additional infrastructure. Therefore I just use a serial nRF-GW and also a seperate serial GW for RS485 to avoid radio transmission at all.

              Beside that, the ESP-chips are not designed for battery-use and have/had some disadvantages wrt. to time-critical applications (as RF- or IR-receiver). (This may be overcome to a large extend now).

              AffordableTechA Offline
              AffordableTechA Offline
              AffordableTech
              wrote on last edited by
              #6

              @rejoe2 said in ESP8266 as MySensors nodes instead of Arduino + nRF24L01:

              I personally do not like to mesh up Home-automation things with WiFi

              While I understand your personal preference not to mesh Home Automation with WiFi, I've seen so many people seeking to use the ESP8266 as a node, without adding an RF device. I.e. you prefer not to, but many others (including myself) would love to have the option.

              While there are 'work-arounds' to add a sensor to an ESPGateway, it's a very impractical solution if you want to have many WiFi nodes. I believe MySensors is the most complete and functional project of this type, but the lack of this feature is forcing people to use other projects like EspEasy as recommended by @ejoe2.

              I've been delving into the MySensors code and the only issue I find is the need for a 'WiFi Transport' to be added to the existing RF radio choices e.g. MY_RADIO_WIFI. All the low level transport code is already written and used in the gateway transport, it just needs to be re-configured as a node transport as I see it? I have considered trying to implement it myself, but it needs a far greater knowledge of the MySensors core than I have, to implement it without breaking other transports etc.

              Reading through this forum, this is something that has been sought after since the ESP8266 first appeared and I think would greatly enhance the popularity of MySensors as it would make it so easy for the novice to get a MySensors network up an running.

              A typical 'starting' network of one ESP8266 Gateway, plus a few ESP8266 sensor nodes would just require flashing a few NodeMCU's and you are in business, no messing around with proto-boards, wiring radios, adding capacitors etc, which has frustrated and/or put off so many newbies before they even started. The dreaded 'wiring' would then be as simple as plugging in USB cables, opening up this very 'practical hobby' to a lot more people. you might even call it 'Plug and Play' (Jeesh.. I might patent that term ).

              This would be a great way to introduce non technical users to the world of micro-processors, and Arduino boards would then be a far less scary proposition.

              I'd appreciate some form of 'official' feedback as I feel I am currently at crossroads because I have a a pressing need for multiple WiFi nodes and would like to find out if there is no intention of marrying WiFi into the MySensor network.

              Many thanks,

              Paul

              1 Reply Last reply
              1
              • E Offline
                E Offline
                ericvdb
                wrote on last edited by
                #7

                @AffordableTech

                MySensors = node --> gateway --> HA Controller

                If you want to use ESP8266 it is as easy as: ESP8266 node --> MQTT broker --> HA Controller

                The MQTT broker can run on a RPi (mosquitto for example)

                Regarding the ID assignment that will be DHCP if you want

                Just my 2c

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


                13

                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