Go Down

Topic: RF Controlled Power sockets (Read 1 time) previous topic - next topic

Nico_v

Dear all,


I would like to control RF controlled power sockets from my arduino in order to do home automation.
Turn on an electric heater if the temperature is too low. see attachment

I bought Chacon DIO first 2300W remote controlled sockets like in the tutorial below
http://www.homautomation.org/2013/10/09/how-to-control-di-o-devices-with-a-raspberry/

I am trying to use an RF Transmitter + Receiver Module 433Mhz bought on Amazon
https://www.amazon.de/dp/B00VVDFY92/ref=pe_386171_37038021_TE_3p_dp_1

My first idea was to use the RC switch library
This is an Arduino lib to operate Radio controlled 433/315Mhz devices like power outlet sockets (https://github.com/sui77/rc-switch)

The idea is to record the RF signal from the remote with the RF receiver
then decode the signal so teh receiver can send it out
http://randomnerdtutorials.com/esp8266-remote-controlled-sockets/

This is however not working, I don't get any output from the RC switch library when pressing the RF remote.

Does someone has an idea on how to decode the signal from the remote power sockets that then can be used to to send it out from an arduino?


regards,
Nico

nothingClever

Just get yourself a LinkNode R4 or R8 and control it via wifi. You can control it with an Amazon Echo, the Cayenne API, the LinkSprite API or many others. RF control is great in theory, but in many cases for DIY home automation it kind of sucks unless you plan on carrying around a key fob to trigger your outlets.

mauried

You will have to port or adapt the PI code to run on the Arduino, so that you get the correct timings.
The RC switch library will only work for remote controlled switches which use a PT2272 decoder, but not all do.

GustavoMcSavy

This might be a bit late... or really late. But I managed to do it with my remote outlets and 433MHz transmitter. I read the code transmitted from the remote using the Arduino and RF receiver.

You may be having difficulty repeating the signal because it's not transmitted using on/off shift keying. It's uses frequency shift keying to modulate the signal. You need to measure the time between the long spaces and the short spaces. You can do this on an oscilloscope or with the Arduino. Then you can read the signal by looking at how long it stays in that position. From there it's a simple matter to reproduce the signal. I found that they all had 3 parts in the code. One was always the same, another was an ID to tell it which outlet, and the last was the action (on||off).

Go Up