Skip to content
  • 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. Mysensors on ESP8266- ESP01?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Mysensors on ESP8266- ESP01?

Scheduled Pinned Locked Moved Hardware
6 Posts 4 Posters 5.4k 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.
  • E Offline
    E Offline
    Elfnoir
    wrote on last edited by Elfnoir
    #1

    Hi,

    I have few ESP8266-ESP01 from a previous project.

    Do you know if it's possible to use it in place of NRF24L01?

    I know that we can configure it in LUA or Arduino language directly; Do you know if we can upload MySensors sketch Child on it, for example the Relay sketch? Ok, there are only 2 GPIO, but for many use it's enough; Also, you can avoid to have Atmega+NRF for each Child, reducing the volume of a Child.

    Thanks for your feedback, and sorry if it's a silly question!

    DwaltD 1 Reply Last reply
    0
    • E Elfnoir

      Hi,

      I have few ESP8266-ESP01 from a previous project.

      Do you know if it's possible to use it in place of NRF24L01?

      I know that we can configure it in LUA or Arduino language directly; Do you know if we can upload MySensors sketch Child on it, for example the Relay sketch? Ok, there are only 2 GPIO, but for many use it's enough; Also, you can avoid to have Atmega+NRF for each Child, reducing the volume of a Child.

      Thanks for your feedback, and sorry if it's a silly question!

      DwaltD Offline
      DwaltD Offline
      Dwalt
      wrote on last edited by Dwalt
      #2

      @Elfnoir

      I don't know about the limitations of the ESP01 as I don't have any, but I use several other ESP8266 models as stand alone sensor or actuator nodes by flashing MySensors sketches on them, and join them to my network like any other Arduino/Nrf24L01 based node. I use Vera and for a single sensor node, Vera creates two devices - one for the node and one for the sensor or actuator. One difference between a regular MySensors device and the ESP is that the node device is esentially its own gateway as it uses WiFi to communicate straight to the controller and does not communicate thru my Ethernet GW like the NRf nodes. It shows up in Vera like the original plugin.

      There are other ways to join ESP8266s to a controller but I prefer MySensors as the protocols and device types are already established through the plugin so there is no extra lua or http coding required.

      Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

      1 Reply Last reply
      1
      • E Offline
        E Offline
        Elfnoir
        wrote on last edited by
        #3

        @Dwalt Thanks for your feedback! Do you have any URL / tutorial to explain how to flash an ESP8266 with MySensors sketches please?
        Also what kind of ESP8266 do you use? Is it ESP8266-012 please?

        DwaltD 1 Reply Last reply
        0
        • E Elfnoir

          @Dwalt Thanks for your feedback! Do you have any URL / tutorial to explain how to flash an ESP8266 with MySensors sketches please?
          Also what kind of ESP8266 do you use? Is it ESP8266-012 please?

          DwaltD Offline
          DwaltD Offline
          Dwalt
          wrote on last edited by
          #4

          @Elfnoir There are a various tutorials for using the Arduino IDE for flashing sketches onto ESP8266 on the internet. I don't remember which I used originally. Firstly, you need to add the ESP8266 to the IDE through the board manager. Secondly, Unlike the Arduino, the ESP needs to be set into bootloader mode to load a sketch. Whereas the Arduino bootloader looks for an incoming upload when the chip is reset (For most boards, the IDE automatically resets the chip when you begin an upload). The ESP needs its GPIO-0 drawn to ground when it is reset to enter bootloader mode so it can be a little trickier to wire up

          I used the development branch of MySensors to create ESP nodes using the GatewayESP8266.ino sketch. I just remove the

          #define MY_RADIO_NRF24
          

          and any bits about inclusion buttons and then add my particular parts to the setup, presentation and loop parts of the sketch depending on my attached sensors. There are more tricky details to the process but it isn't much different than creating a Arduino/nRf sensor node. I agree a tutorial is in order but the process is still evolving that is why it is the "development " branch.

          I use some of the ESP-12, the Huzzah from adafruit and i have several commercial products with imbedded ESP8266 which i reflashed and MySensorized™. I will try this weekend to document a project in detail. Too busy today.

          Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

          DidiD stofakillerS 2 Replies Last reply
          2
          • DwaltD Dwalt

            @Elfnoir There are a various tutorials for using the Arduino IDE for flashing sketches onto ESP8266 on the internet. I don't remember which I used originally. Firstly, you need to add the ESP8266 to the IDE through the board manager. Secondly, Unlike the Arduino, the ESP needs to be set into bootloader mode to load a sketch. Whereas the Arduino bootloader looks for an incoming upload when the chip is reset (For most boards, the IDE automatically resets the chip when you begin an upload). The ESP needs its GPIO-0 drawn to ground when it is reset to enter bootloader mode so it can be a little trickier to wire up

            I used the development branch of MySensors to create ESP nodes using the GatewayESP8266.ino sketch. I just remove the

            #define MY_RADIO_NRF24
            

            and any bits about inclusion buttons and then add my particular parts to the setup, presentation and loop parts of the sketch depending on my attached sensors. There are more tricky details to the process but it isn't much different than creating a Arduino/nRf sensor node. I agree a tutorial is in order but the process is still evolving that is why it is the "development " branch.

            I use some of the ESP-12, the Huzzah from adafruit and i have several commercial products with imbedded ESP8266 which i reflashed and MySensorized™. I will try this weekend to document a project in detail. Too busy today.

            DidiD Offline
            DidiD Offline
            Didi
            wrote on last edited by
            #5

            @Dwalt said:

            I use some of the ESP-12, the Huzzah from adafruit and i have several commercial products with imbedded ESP8266 which i reflashed and MySensorized™. I will try this weekend to document a project in detail. Too busy today.

            Have you done the documentation?

            if (knowledge == 0) { use BRAIN; use GOOGLE;use SEARCH; } else {make POST;}

            1 Reply Last reply
            0
            • DwaltD Dwalt

              @Elfnoir There are a various tutorials for using the Arduino IDE for flashing sketches onto ESP8266 on the internet. I don't remember which I used originally. Firstly, you need to add the ESP8266 to the IDE through the board manager. Secondly, Unlike the Arduino, the ESP needs to be set into bootloader mode to load a sketch. Whereas the Arduino bootloader looks for an incoming upload when the chip is reset (For most boards, the IDE automatically resets the chip when you begin an upload). The ESP needs its GPIO-0 drawn to ground when it is reset to enter bootloader mode so it can be a little trickier to wire up

              I used the development branch of MySensors to create ESP nodes using the GatewayESP8266.ino sketch. I just remove the

              #define MY_RADIO_NRF24
              

              and any bits about inclusion buttons and then add my particular parts to the setup, presentation and loop parts of the sketch depending on my attached sensors. There are more tricky details to the process but it isn't much different than creating a Arduino/nRf sensor node. I agree a tutorial is in order but the process is still evolving that is why it is the "development " branch.

              I use some of the ESP-12, the Huzzah from adafruit and i have several commercial products with imbedded ESP8266 which i reflashed and MySensorized™. I will try this weekend to document a project in detail. Too busy today.

              stofakillerS Offline
              stofakillerS Offline
              stofakiller
              wrote on last edited by
              #6

              @Dwalt

              Hi,

              Im also looking for documentation on this :-)

              Regards,
              Jan

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


              14

              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
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular