So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By bradfield
#91490 Hello,

I am trying to use an ESP8266 to send data via 433MHz to my PI, and I have a rather basic problem ...

On the PI I am checking with "sudo rtl_433 -F json" if data is received.

I am using the example from: https://github.com/puuu/ESPiLight/blob/master/examples/Transmit/Transmit.ino
rf.send("elro_800_switch", "{\"systemcode\":17,\"unitcode\":1,\"on\":1}");
rf.send("elro_800_switch", "{\"systemcode\":17,\"unitcode\":1,\"off\":1}");

But on the PI I am only getting data like:
{"time" : "2021-05-27 22:41:32", "model" : "Waveman-Switch", "id" : "O", "channel" : 4, "button" : 1, "state" : "off"}
{"time" : "2021-05-27 22:41:32", "model" : "Waveman-Switch", "id" : "O", "channel" : 4, "button" : 1, "state" : "off"}

so the data I am trying to send is not visible via rtl_433

Any clue what I am doing wrong ?

Thanks,
Ralf
User avatar
By bradfield
#91494 Hi,

yes, I have a 433 sender connected to my ESP, and I see that data is received on my PI:
{"time" : "2021-05-28 09:09:03", "model" : "Waveman-Switch", "id" : "O", "channel" : 4, "button" : 1, "state" : "off"}
{"time" : "2021-05-28 09:09:03", "model" : "Waveman-Switch", "id" : "O", "channel" : 4, "button" : 1, "state" : "off"}
So teh 433MHz sender is connected correctly

But the problem is that that the data received on the PI is always the same. So the data I want to send is not
displayed.

Here is my esp code:

Code: Select all#include <ESPiLight.h>

#define TRANSMITTER_PIN 5

ESPiLight rf(TRANSMITTER_PIN);

void setup() {
}

void loop() {
  rf.send("elro_800_switch", "{\"systemcode\":17,\"unitcode\":1,\"on\":1}");
  delay(2000);
  rf.send("elro_800_switch", "{\"systemcode\":17,\"unitcode\":1,\"off\":1}");
  delay(2000);
}
User avatar
By AcmeUK
#91497 As davydnorris posted
the ESP8266 is a Wifi chip, it's not 433MHz - do you have a separate 433MHz transmitter module attached?

The ESPiLight read.me states:-
Requirements
This library was tested and developed for the ESP8266. It may not run on a ATmega-based boards, because of memory usage.

For transmitting and receiving you need 434MHz-RF modules. .........

So what module are you using?