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. My Project
  3. Converting a wifi outlet to an nRF24 MySensors device

Converting a wifi outlet to an nRF24 MySensors device

Scheduled Pinned Locked Moved My Project
11 Posts 4 Posters 3.3k Views 5 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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #2

    Did you try to running MySensors on the ESP controlling the relay?

    dbemowskD 1 Reply Last reply
    0
    • hekH hek

      Did you try to running MySensors on the ESP controlling the relay?

      dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by dbemowsk
      #3

      @hek I did not. Correct me if I'm wrong though, but my understanding of the ESP version of MySensors code is that a device on the ESP network cannot communicate node to node with a device on the nRF24 network. I have never done node to node communication, so one of the things that I want to try in the next week (partly to learn how) is to set up my wall switch that I built to talk directly to these 3 nodes. The idea is to eliminate the need for Vera to be in the mix for these devices. The way I have them set up now, I have scenes set up that basically say, when this switch is turned on or off, turn this light on or off. If the Vera were to go down I would loose control of these lights for the period that it is down.

      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
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #4

        Yes, you are correct. You would have to handle the logic on vera if you want to route/trigger messages between gateway instances.

        1 Reply Last reply
        0
        • mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #5

          Not sure if it helps, but shouldn't it be possible to use the esp instead of the pro mini? Not as gateway, just as regular mcu with nrf node (with wifi turned off).

          dbemowskD 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            Not sure if it helps, but shouldn't it be possible to use the esp instead of the pro mini? Not as gateway, just as regular mcu with nrf node (with wifi turned off).

            dbemowskD Offline
            dbemowskD Offline
            dbemowsk
            wrote on last edited by
            #6

            @mfalkvidd I would be open for that if there is an example of how to set it up. Currently I have the 3 that I recently bought converted with pro minis, but I had thought of purchasing a few more of these to use in places around the house. If all I had to add was an nRF24 radio, it would make setup easier and cheaper.

            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/

            mfalkviddM 1 Reply Last reply
            0
            • dbemowskD dbemowsk

              @mfalkvidd I would be open for that if there is an example of how to set it up. Currently I have the 3 that I recently bought converted with pro minis, but I had thought of purchasing a few more of these to use in places around the house. If all I had to add was an nRF24 radio, it would make setup easier and cheaper.

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

              @dbemowsk I think you would just upload the same sketch you use for the pro minis today (compiled for the esp board of course).

              dbemowskD 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @dbemowsk I think you would just upload the same sketch you use for the pro minis today (compiled for the esp board of course).

                dbemowskD Offline
                dbemowskD Offline
                dbemowsk
                wrote on last edited by dbemowsk
                #8

                @mfalkvidd I kind of figured that, but I was more talking about the connections to the ESP module. How do I wire in the nRF24 and to what GPIO pins. Depending on what pins are needed to connect the nRF24, I would need to check whether those pins are broken out on the ESP module used in this thing. I looked at this module and compared it to a number of commercially available ones and could not find one that matched. Luckily someone on Hack-A-Day had done all of the leg work to diagram this module.

                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
                0
                • micahM Offline
                  micahM Offline
                  micah
                  wrote on last edited by
                  #9

                  I have the same plugs (Eco Plug I think)

                  I use domoticz on a raspberry pi for my mysensors and other stuff.

                  I didn't hack mine, I just forked a homebridge plugin (it was either python or node based, I can't remember) and got it working on my domoticz

                  micahM 1 Reply Last reply
                  0
                  • micahM micah

                    I have the same plugs (Eco Plug I think)

                    I use domoticz on a raspberry pi for my mysensors and other stuff.

                    I didn't hack mine, I just forked a homebridge plugin (it was either python or node based, I can't remember) and got it working on my domoticz

                    micahM Offline
                    micahM Offline
                    micah
                    wrote on last edited by
                    #10

                    It may have been this project I forked, I can't remember https://github.com/Danimal4326/homebridge-ecoplug

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

                      If I get any more of these I won't hack them like I did the other ones. I just recently got some Sonoffs that I put the ESPEasy firmware on and am using a modified wifi switch plugin on my VeraPlus that seems to be working good now I did try the ESPEasy firmware on the Eco Plugs, but had some issues with it in the beginning which is why I switched. I still have the ESP8266 controllers that I pulled out of those Eco Plugs, All I have to do to use them on a different relay board is connect 3 wires, Ground, +5 volts and the control signal for the relay, so the boards won't go to waste.

                      I am just finishing up one of my newly printed 4 button wall switch controllers (https://forum.mysensors.org/topic/4317/us-decora-style-wall-switch/34), and I will be doing a 2 button controller immediately after that one. Both of these will be used like scene controllers for my Vera Plus and I will use them to control the Sonoffs connected to my ceiling fans and lights. I may get a couple more of the Eco Plugs to use with the 4 button switch controller.

                      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
                      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