I will try to build a 433 mhz to mqtt gateway (ESP8266 433mhzToMQTT) just like you @masterkenobi. I’m looking for components to buy and saw that you used this compontents:
Did you need anything else or was those parts all you needed? How is the range of the receiver and the transmitter?
@1technophile, you wrote that you used a antenna (Antenna 3dbi) for the receiver, but I can’t find any mention of it in your guide. Was it needed to get a good range?
Thank you for your advice @masterkenobi, @1technophile. I have now ordered some components. In one month from now we will see if I can get it to work =)
Hi well done for finding these, I’ve been searching for ages for a cheap sensor that sends out more than just 1 code.
I’m using Openhab with an RFXtrx433e I’ve set them up as lighting4 in Rfxmanager and I’m getting data back but I can’t make sense of the codes. For example in RFXmanager I get:
Has anyone found a 433 relay or switch which has a physical button and also transmits the status of the relay. I’d like to put this on a bedside light which my son always leaves on.
if he is happy with that i would leave it.
if you think about power saving then make a LED in it.
if thats already there, then remember that it costs around 2 euro a year on power, so investing 10 bucks for it wouldnt be wise
I agree the power saving is minimal but is is also useful to see what is switched on sometimes. I found another thread and it looks like there is nothing cheap available…
After using the gateway for few months, there is one issue that annoys me the most.
Sometimes, the signal from some of my 433Mhz sensors are not captured by the gateway.
It causes some of the automation failed to trigger.
I suspect these are the possible reasons…
Too many sensors trigger at the same time.
The range of the sensors deteriorate perhaps due to diminishing battery strength.
Gateway too far.
To overcome this, I plan to spread out multiple gateways across the house.
My question is, is it possible for the gateway to publish selective payloads to the MQTT topic?
For example, if I put a gateway on each floor, and each gateways only publish the code from sensors at respective floor to the MQTT topic.
That means, before I upload the sketch to the NodeMCU, I must obtain all the codes for each sensors. Maybe using another gateway. Then I hardcoded the codes that I want the gateway to process into the skectch so that the gateway only publish the code that is listed and ignore the rest.
This is to prevent multiple gateways publishing the same payload to the same topic.
I think a better way would be for home-assistant to handle the double code, or?
Is it for door/movement sensor?
Your solution would also be possible I guess, you’ll just have to check the received code against the wished code list and decide if he should be sent.