Page 1 of 1

433mhz cheap power plugs

Posted: Mon Nov 11, 2013 5:52 pm
by vectraboyv6
hi,

i have a pi with a cheap 433mhz transmitter and im trying to get these 433mhz power plugs to remotely switch.

https://github.com/dmcg/raspberry-strogonanoff

i'm following this but just cant get it to run the last command just comes back with no wiringpi module installed even tho there is

is there another way I've been using webiopi with some success for temperature measuring.

thanks stuart

Re: 433mhz cheap power plugs

Posted: Mon Nov 11, 2013 8:24 pm
by vectraboyv6
now trying to use rcswitch-pi which is installed but dont know how to use it any idears?

Re: 433mhz cheap power plugs

Posted: Tue Nov 12, 2013 7:08 am
by Hugh Jarse

Re: 433mhz cheap power plugs

Posted: Tue Nov 12, 2013 11:07 am
by kenmc
vectraboyv6 wrote:now trying to use rcswitch-pi which is installed but dont know how to use it any idears?
I'm using RCSwitch successfully on arduino if that helps. Using Energenie power plugs. Have also got a set of Silvercrest ones from Lidl, but have not tried to capture or tx the code yet.

Re: 433mhz cheap power plugs

Posted: Tue Nov 12, 2013 10:57 pm
by Ant232
I did a similar thing but I used GPIOs to switch the remote that came with the plugs. Not as efficient as using the transmitter though as you need more GPIO pins to get in working. All working using Webiopi. I have attached a pic of the board I built for it. It has 8 opto inputs and outputs so I'm using it to control the heating in the house too.

Image

Re: 433mhz cheap power plugs

Posted: Tue Nov 19, 2013 8:52 am
by texy
vectraboyv6 wrote:hi,

i have a pi with a cheap 433mhz transmitter and im trying to get these 433mhz power plugs to remotely switch.

https://github.com/dmcg/raspberry-strogonanoff

i'm following this but just cant get it to run the last command just comes back with no wiringpi module installed even tho there is

is there another way I've been using webiopi with some success for temperature measuring.

thanks stuart
For installing wiringpi for python, I use PIP. Note that those instructions are a bit dated now as wiringpi is now a version two. To install try this :

Code: Select all

sudo apt-get install -y python-pip git-core python-dev
sudo pip install wiringpi2
but you'll need to alter the code to use wiringpi2 instead of wiringpi - maybe alter the WiringPin.py program to

Code: Select all

import wiringpi2 as wiringpi
You could also try

Code: Select all

sudo apt-get install -y python-pip git-core python-dev
sudo pip install wiringpi
and it may just work.

Texy

Re: 433mhz cheap power plugs

Posted: Thu Nov 21, 2013 1:28 pm
by txt3rob
try my project pre made with links to devices
http://www.guthub.com/txt3rob/RPI-Control/

Re: 433mhz cheap power plugs

Posted: Fri Nov 22, 2013 11:08 pm
by thienson30

Re: 433mhz cheap power plugs

Posted: Sun Jan 05, 2014 7:25 pm
by pyrotuc
the problem may be with wiring up your transmitter. the 433mhz modules that are all over ebay pinout as such: :

/
/
/
/
/
/
/
_____________/ ____________________________________
| ___ O | | _ =------= |
| (_~_) cccc | | { } o /-\ =|____|= |
| | | {_} \-/ ___ |
|___*_*_*___: : :| | O_________________*__*__*__*_______|
| | | / | | | |
| | | / | | | |
1 2 3 / 1 2--3 4
D 5 G / 5 D G
A V R / V A R
T O O / O T O
A L U / L A U
T N / T N
S D S D

transmitter receiver

that should clear things up. on the receiver, the two middle pins are data, and they are joined. use both or use one, shouldnt matter. its too bad they dont have matching or mating pinouts, i guess that would just be too easy

antennas should be quarter wave (E/Hz=M)*(1/4) yields ~0.173
so this gives us about 17.3 cm or about 6.8 inches

antenna material is not super stringent. piece of magnet wire, piece of wirewrap wire, thin is better than thick, to a point.for whatever reason (poor groundplane? cheap chip?) using shorter or longer can yield much better results instead of what should be formulaically perfect.

Re: 433mhz cheap power plugs

Posted: Sun Jan 05, 2014 7:26 pm
by pyrotuc
AAAARRRGGGHHHH i spent freaking forever on that ascii art and its RUINED. *pout*

user your imagination

Re: 433mhz cheap power plugs

Posted: Sun Jan 05, 2014 8:48 pm
by DougieLawson
pyrotuc wrote:AAAARRRGGGHHHH i spent freaking forever on that ascii art and its RUINED. *pout*

user your imagination
Try putting it in [code][/code] tags.

Code: Select all



                                        /
                                      /
                                    /
                                  /
                                /
                              /
                            /
_____________/                                                                  ____________________________________
|     ___           O |                                                                  |          _                                       =------=    |
|    (_~_)   cccc |                                                                  |         {  }      o /-\                         =|____|=   |
|                          |                                                                  |         {_}         \-/                  ___                   |
|___*_*_*___: : :|                                                                   | O_________________*__*__*__*_______|
       |   |   |                                                                              /                                      |     |     |     |
       |   |   |                                                                            /                                        |     |     |     |
      1  2  3                                                                         /                                          1    2--3    4
   D    5       G                                                                  /                                         5          D          G
   A    V       R                                                                /                                            V         A           R
   T    O       O                                                             /                                              O          T          O
   A     L       U                                                          /                                                 L          A          U
          T        N                                                       /                                                   T                       N
          S        D                                                                                                           S                       D                   

   transmitter                                                                                                                   receiver
less scrambled that way, but this forum isn't the place for ASCIIart.

Re: 433mhz cheap power plugs

Posted: Sun Jan 05, 2014 9:43 pm
by pyrotuc
Screen shot 2014-01-05 at 3.42.13 PM.png
Screen shot 2014-01-05 at 3.42.13 PM.png (28.12 KiB) Viewed 7589 times

Re: 433mhz cheap power plugs

Posted: Sun Jan 05, 2014 9:48 pm
by pyrotuc
it would be nice if the font that is used for the text in this compose box was the same as the font that the posted message would use. in fact, why in the world is it different? makes no sense

looks like yall dont have a font bbcode enabled, is that correct? im rarely on forums, not nearly enough to have noticed these gestalts

Re: 433mhz cheap power plugs

Posted: Mon Jan 06, 2014 9:11 am
by txt3rob
i have a project that might be suitable
http://www.github.com/txt3rob/RPI-Control/

it uses the cheapo status remotes

Re: 433mhz cheap power plugs

Posted: Sun Feb 07, 2016 6:43 pm
by FallChallenge
I'd like to advice also my open source project ;)

Take a look: https://github.com/roccomuso/iot-433mhz