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. $8 Lamp (Outlet) "Smart Plug" Module

$8 Lamp (Outlet) "Smart Plug" Module

Scheduled Pinned Locked Moved My Project
109 Posts 34 Posters 97.5k Views 13 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.
  • Z Offline
    Z Offline
    Zeph
    Hero Member
    wrote on last edited by Zeph
    #78

    @petewill just to be clear - I appreciate your posting that adding the loose wire to the on-PCB antenna helped, and I'm not discouraging that. If it works, it works! Mostly I wanted people to understand that it's going to be trial and error, rather than something where they can count on calculating the best length (because it's added to another antenna at an unanticipated point, rather than being a standalone wire antenna). It would not surprise me if somebody found that a 6.5 cm wire worked better than 8.33cm, for their particular case (picking an example length at random). Wiggle those rabbit ears!

    I love the examples you post and your excellent videos. I have modestly good knowledge here and there, with gaps in other places, and your working examples give me confidence/inspiration to build something I haven't before - along with practical (not just theoretical) advice. You even turn your minor mistakes into lessons - how it should have been done, and how you managed to work around it anyway. Keep them coming!

    petewillP 1 Reply Last reply
    0
    • Z Zeph

      @petewill just to be clear - I appreciate your posting that adding the loose wire to the on-PCB antenna helped, and I'm not discouraging that. If it works, it works! Mostly I wanted people to understand that it's going to be trial and error, rather than something where they can count on calculating the best length (because it's added to another antenna at an unanticipated point, rather than being a standalone wire antenna). It would not surprise me if somebody found that a 6.5 cm wire worked better than 8.33cm, for their particular case (picking an example length at random). Wiggle those rabbit ears!

      I love the examples you post and your excellent videos. I have modestly good knowledge here and there, with gaps in other places, and your working examples give me confidence/inspiration to build something I haven't before - along with practical (not just theoretical) advice. You even turn your minor mistakes into lessons - how it should have been done, and how you managed to work around it anyway. Keep them coming!

      petewillP Offline
      petewillP Offline
      petewill
      Admin
      wrote on last edited by
      #79

      @Zeph said:

      Mostly I wanted people to understand that it's going to be trial and error, rather than something where they can count on calculating the best length (because it's added to another antenna at an unanticipated point, rather than being a standalone wire antenna). It would not surprise me if somebody found that a 6.5 cm wire worked better than 8.33cm, for their particular case (picking an example length at random). Wiggle those rabbit ears!

      I agree. The more knowledge provided to people the better hopefully it will result in better communicating nodes. Thanks for the posts!

      My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

      1 Reply Last reply
      0
      • petewillP petewill

        @Zeph I agree. This is complicated stuff that I don't even begin to grasp. That said it is a cheap and easy hack to try. In my case it has helped every time. Maybe I just got lucky but it helped enough of my nodes that I thought I'd at least tell people about it. If it doesn't work, then just remove the wire and no harm done. Thanks for all your contributions to the site. Your knowledge is helping a lot of people.

        @TheoL Thanks for the kind words! Although, credit really goes to @hek and the team. They are the geniuses that make this all work! Good luck with "mysensoring" the old power plug. But, be careful, it's addicting. :)

        TheoLT Offline
        TheoLT Offline
        TheoL
        Contest Winner
        wrote on last edited by
        #80

        @petewill Off course I'm very gratefull for what @hek and the team created. I've been playing with mySensors for a week now. And I'm still amazed by it. It's so easy to use. And I haven't had a failure yet. I'm currently promoting MySensors to everyone I know ;-).

        @hek Do you happen to have some small stickers with the MySensors logo? Ik would love to put them on the sensors I create. Something like "Powered by MySensors"?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #81

          @TheoL said:

          Do you happen to have some small stickers with the MySensors logo? Ik would love to put them on the sensors I create. Something like "Powered by MySensors"?

          Good idea. But currently not something we have.

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zeph
            Hero Member
            wrote on last edited by
            #82

            I like the idea of logo stickers. Better in some ways than typical swag like t-shirts and coffee cups, because if it goes on the devices we build that provides useful information, not just advertising. Maybe leave a blank section where a node number could optionally be written in with a sharpie, or a version.

            Maybe "Networked by MySensors.org" rather than powered? ("Telepathy by MySensors"?)

            TheoLT 1 Reply Last reply
            0
            • Z Zeph

              I like the idea of logo stickers. Better in some ways than typical swag like t-shirts and coffee cups, because if it goes on the devices we build that provides useful information, not just advertising. Maybe leave a blank section where a node number could optionally be written in with a sharpie, or a version.

              Maybe "Networked by MySensors.org" rather than powered? ("Telepathy by MySensors"?)

              TheoLT Offline
              TheoLT Offline
              TheoL
              Contest Winner
              wrote on last edited by
              #83

              @Zeph How about Wired by MySensors ;) Because my experience is that it seems like all sensors and the gateway are wired together because of MySensors.

              1 Reply Last reply
              0
              • hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by
                #84

                Dome Stickers would be nice ;)
                http://www.aliexpress.com/item/Custom-Made-with-Your-design-Clear-Dome-Resin-Sticker-Epoxy-Stickers-Label-1000pcs-free-shipping/1875126113.html?spm=2114.031010208.3.1.zlyb2B

                Just wonder how we should make them cost-effective to buy for the community...

                TheoLT 1 Reply Last reply
                0
                • hekH hek

                  Dome Stickers would be nice ;)
                  http://www.aliexpress.com/item/Custom-Made-with-Your-design-Clear-Dome-Resin-Sticker-Epoxy-Stickers-Label-1000pcs-free-shipping/1875126113.html?spm=2114.031010208.3.1.zlyb2B

                  Just wonder how we should make them cost-effective to buy for the community...

                  TheoLT Offline
                  TheoLT Offline
                  TheoL
                  Contest Winner
                  wrote on last edited by
                  #85

                  @hek they look good to me! Maybe you can start a poll on this forum. Ask the members who would like to buy the stickers. If the majority wants them, we can order them.

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    Zeph
                    Hero Member
                    wrote on last edited by
                    #86

                    The domes are kind of cool for some things, but I think for this purpose I'd actually prefer flat stickers that fit smoothly on any side of a project box, even curved, without protruding and looking like something that should be pressed, or that should light up.

                    (OTOH domes atop an illuminated button (assuming translucent backing) would be awesome in some cases)

                    And with flat, (re) distribution in small batches is easier - one could get a lot of them in a minimum-postage conventional letter.

                    1 Reply Last reply
                    0
                    • Kenney RK Offline
                      Kenney RK Offline
                      Kenney R
                      wrote on last edited by
                      #87

                      Hi Pete,

                      I'm thinking of using the AMS1117 3.3v regulator. Can I still use the 0.1uF and 10uF capacitors or do I need to use others. Because I run into sites saying I need to use 100uF and 1000uF and I think the difference is pretty big.

                      Regards,

                      Kenney

                      btw: Great video! It helped me a lot!!

                      petewillP 1 Reply Last reply
                      0
                      • Kenney RK Kenney R

                        Hi Pete,

                        I'm thinking of using the AMS1117 3.3v regulator. Can I still use the 0.1uF and 10uF capacitors or do I need to use others. Because I run into sites saying I need to use 100uF and 1000uF and I think the difference is pretty big.

                        Regards,

                        Kenney

                        btw: Great video! It helped me a lot!!

                        petewillP Offline
                        petewillP Offline
                        petewill
                        Admin
                        wrote on last edited by
                        #88

                        @Kenney-R said:

                        I'm thinking of using the AMS1117 3.3v regulator. Can I still use the 0.1uF and 10uF capacitors or do I need to use others.

                        Yes, that should be fine. The capacitors are there to help filter the power to the radio (which can be sensitive).

                        My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                        1 Reply Last reply
                        0
                        • Z Offline
                          Z Offline
                          Zeph
                          Hero Member
                          wrote on last edited by
                          #89

                          Regarding adding wires to the on-PCB antenna of a nRF24L01+ module, here's someone who used two wires (andcut some traces) to create a dipole. He knew that it was hard to really calculate the appropriate values, so he did empirical testing to find the best lengths, using a test program.

                          http://www.instructables.com/id/Enhanced-NRF24L01/

                          And is this from the same Pete or another one?
                          https://www.youtube.com/watch?v=NpMnauHeR7Y

                          1 Reply Last reply
                          0
                          • Z Offline
                            Z Offline
                            Zeph
                            Hero Member
                            wrote on last edited by
                            #90

                            Another interesting (albeit long) video testing range of various modules and antennae.

                            https://www.youtube.com/watch?v=gtM832Z0ujE

                            The interoperability of different types is somewhat surprising. Some had only a 2/3 packet success ratio even at close range, but retained that for a long distance, for example. He did try cap vs no cap, and with "whip" (really more of a stubby or rubber ducky style) antenna parallel or with one pointing at the other. The unit with PA+LNA and shield was overall pretty good for range.

                            petewillP 1 Reply Last reply
                            0
                            • Z Zeph

                              Another interesting (albeit long) video testing range of various modules and antennae.

                              https://www.youtube.com/watch?v=gtM832Z0ujE

                              The interoperability of different types is somewhat surprising. Some had only a 2/3 packet success ratio even at close range, but retained that for a long distance, for example. He did try cap vs no cap, and with "whip" (really more of a stubby or rubber ducky style) antenna parallel or with one pointing at the other. The unit with PA+LNA and shield was overall pretty good for range.

                              petewillP Offline
                              petewillP Offline
                              petewill
                              Admin
                              wrote on last edited by
                              #91

                              @Zeph thanks for sharing. Always better to have more info and hopefully better range!

                              My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                              1 Reply Last reply
                              0
                              • sundberg84S sundberg84

                                @petewill
                                Now i got three working relays thanks to you, so again, great video!
                                Wanted to thank you and also show my sollution.
                                I hade some 433mhz cheap (not good working) relays with perfect case i could re-use:
                                The case had a status-led and a switch i use as well.

                                Relay.jpg

                                D Offline
                                D Offline
                                dayve218
                                wrote on last edited by
                                #92

                                @sundberg84 how are you powering the arduino?

                                1 Reply Last reply
                                0
                                • sundberg84S Offline
                                  sundberg84S Offline
                                  sundberg84
                                  Hardware Contributor
                                  wrote on last edited by
                                  #93

                                  @dayve218
                                  Im using a USB charger as pete does in the video but mine is a iphone charger instead of a samsung.

                                  Controller: Proxmox VM - Home Assistant
                                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                  1 Reply Last reply
                                  0
                                  • D Offline
                                    D Offline
                                    dakipro
                                    wrote on last edited by
                                    #94

                                    Nice project, both Petewill and sundberg84.
                                    I was just wandering if you @sundberg84 know more about what is the device type/model/manufacturer you were moding?

                                    I've used quite some time and effort to find localy some good case that I can modify, I did manage to hack some of them but they are just not quite reliable (something with power just kills caps too often).

                                    Thanks in advance, sorry for bringing up old topic (but it is a very good one :) )

                                    C: OpenHAB2 with node-red on linux laptop
                                    GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                                    GW: Arduino Mega, RFLink 433Mhz

                                    1 Reply Last reply
                                    0
                                    • sundberg84S Offline
                                      sundberg84S Offline
                                      sundberg84
                                      Hardware Contributor
                                      wrote on last edited by
                                      #95

                                      @dakipro - Its a low brand 433mhz wall plugs i bought in Sweden called Everflourish emw100r. I dont think they are sold anymore. Its probably some china brand so maybe they are sold in another name.

                                      Controller: Proxmox VM - Home Assistant
                                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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

                                        So I have been thinking of building some relay controlled power strip nodes similar to these, but there have been some issues that I have been thinking about. The first is that if I am going to use a relay to turn on an outlet, the relay would need to be powered the entire time that I would want that device on. This would mean that not only am I powering the device that is plugged in, but the power to keep the relay on also. Wouldn't it be smarter to use latching relays? At least with those you don't need to keep power to the relay while your outlet is on. Has anyone ever done a MySensors node with latching relays? If so, how do you manage monitoring the state of the device?

                                        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
                                        • D Offline
                                          D Offline
                                          dakipro
                                          wrote on last edited by
                                          #97

                                          out of the curiosity, what is downside of powering the relay entire time?
                                          that is how (all) wall switches work out of the box, you press the button and they turn on/off by powering the relay (all the time).
                                          I think that they work quite reliably when it comes to keeping power to the reley

                                          C: OpenHAB2 with node-red on linux laptop
                                          GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                                          GW: Arduino Mega, RFLink 433Mhz

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


                                          18

                                          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