How to make use of generic 433Mhz sensors?

Help is welcome don’t hesitate to submit a pull request!

How did you manage in the end?

You bought sensors and a receiver? If yes which receiver?

yeah. i managed to build the gateway and integrate all these sensors.


I bought 1 hour ago the stuff of this video

Hello, I have RF modules HC-12 that workshop with 433mhz André comunication serial.
I want to work with MQTT.
Can you give me your code?

Hi, which are the advantages/disadvantages of first vs second solution?

ESP8266 embed a wifi directly without adding extra shield, but has less port and library available. Which make it less evolutive in my point of view compared to arduino. It is the cheapest alternative.
Arduino will be more expensive due to the w5100 shield you need to add for ethernet connectivity.

My main system is based on an arduino due to the fact I added a lot of devices to the ports, siren, DHT11, led, voltage measurement and I’m planning to add a led strip and an IR detector on the remaining ones.

Might still be better of using several esp8266, it’s less expensive, has wifi, and if one function stop working you don’t stop all your sensor/services at once.
It also have a much smaller footprint and is powered by the common micro-USB (nodeMCU/wemos d1 mini)

thanks for your answer.

And what are the main advantages of adding arduino+ethernet, over just adding a tranceiver to a pi3 (which runs HASS), and using RF component in HA?

From what I read, the Pi generates a lot of noise which is going to kill your 433 performance.

Ohh I didn’t know that

Do you use any enclosure, or you have open boards running all over the place?

mmhhh less port and library available? I do not understand. In a typical use of … I don’t know, maybe 10-15 sensors is the ESP8266 enough?

I have a Nodemcu with a 433MHz decoder which works well. I have added a motion sensor. This works, but only if the PIR is kept at least 2cm away from the 433MHz receiver. Otherwise, it gives out false motion detection overnight.

So I would be careful about adding too much to one esp8266.

I usually buy some small plastic enclose on Aliexpress:
Waterproof Plastic Cover 82x52x35
They are available in all shape/size.

I then usually use available usb port to power them when I can (on the XBOX, router, modem, tv, home server,…) to avoid having to use additional power supply.

You have to differentiate sensors that are connected directly and needs a pin to the 433mhz sensors that pass through the receiver, the receiver need only one gpio pin.
To sum up 15 rf sensors on esp8266 ok, 15 wired sensors to esp8266 ko (only 11 digital IO and 1 analog IO).

Here is a comparison of the boards:

Regaarding the libraries you can find on the net for arduino IDE, they are first compatible with arduino and sometimes ported to ESP8266.

1 Like

I am using Pilight at the moment, but am trying the transition to ESP easy it has a KaKu module by Martinus which provide a base for 433 Rx/Tx modules cheapo’s from China also work, the only thing is I can see its JSON output I can bind it to HA but I am not keen enough to read the values and transmit the values to the ESP8266 again so I am stuck a bit.
But it seems to me a great option of sending and receiving 433mHz, wireless to esp nodes.

what is your experience with intertference in these 433MHz sensor.

I read horror stories sometimes …

as you know it is the cheapest way to go for an entry level automation, the main drawback is that there is no acknowledgement of receiption/sending. I mean if the sensor send a signal it is a one way communication, it is not expecting an acknowledgement so as to know if the signal was received.
Consequency the sensors are sending several signals each.

In my home I’m satisfied with these sensors (pir, door sensor, temperature), an improvement could be to have more auonomy. Currently the batteries last around 9 months.

Regarding the interference with my neightbour I don’t have even if I live in a city.

Maybe the sensors and associated RF technology we need depend to the use cases we are implementing in our home. For me alarm + some sleep modes for devices they are ok.

Interference: on my pilight sending no problem, receiving use an atiny as prefilter for better receptance.
On the ESP8266 great reception, no problem in detecting the used node, sending works as good as on the pilight.

And yes indeed the biggest drawback is no confirmation of the state of the lamp so sometimes and certainly with, in a wall build in older KaKu/CoCo devices hit and mis, but I have quite a few of these devices in my home and as long as they are not too far away from the send unit no problem.

But slowly replacing them with Sonoff’s and other ESP enabled devices cause they are much more fun, Switching, reading sensors, pirs, motors. All from a single device.