433toMQTTto433 Gateway Device List

I just got my gateway setup and running. I’m able to get switches working no problem but bought the following door sensors and am wondering how to set them up. Would one of you be willing to share your configuration.yaml for this or a similar sensor and provide some guidance? Do you use the binary sensor?

Thanks in advance for your help.

https://www.aliexpress.com/snapshot/0.html?orderId=83860293094844&productId=32497549984

I’d control valves and they would be “normally-closed” so that would be safe right? Since like it safer if they close themselves vs. if “irrigation” is not working.

The risk that you have is that the valve doesn’t receive the off signal and continue spreading water but if the gateway is close to the valve it’s not a big risk.
You have to weigh the pros and the cons

i would chose a 4 channel relay board connected to a nodemcu or arduino
you can program those yourselve, and have feedback if the relay is open or closed.

you could still go the MQTT way if you prefer that.

It was already the original idea, that the arduino+rf would do the handling of relays. And the gateway would just translate the mqtt messages to RF?

i think you should check out mysensors.org

i have a mysensors gateway and the advantage is that i Always know if my relay is on or off.
with a nodemcu you can also use it directly as a gateway with sensors and relays.

so instead off:

arduino => 433 mhz => gateway => MQTT => HA

you get

nodemcu => HA

Why not just connecting directly your nodemcu to the relay board and handle the state/action with mqtt = don t use basic 433mhz protocol.
In you have wifi coverage in your use case i would use a sonoff with tasmota in it

Anyone found a 433 PIR sensor that sends 3 states motion detected, no motion and tamper?

Can someone help me out.
how to set up pir motion sensor with openmqtt gateway?
i got the rf code but don’t know how to set up it with homeassistant.
thanks

@gillrishi This is what you need:

  1. Create a binary sensor:

     binary_sensor:
     	- platform: mqtt
     	  name: "Study room Motion Sensor"
     	  qos: 0
     	  state_topic: "home/433toMQTT"
     	  payload_on: "111111"
     	  payload_off: "111111off"
     	  device_class: motion
    
  2. If it sends one code create an automation to create a timer to change the state:

     - alias: 'Study room Motion Sensor Off Timer'
       initial_state: 'on'
       trigger:
         platform: state
         entity_id: binary_sensor.study_room_motion_sensor
         to: 'on'
         for:
           seconds: 10
       action:
         service: mqtt.publish
         data:
           topic: 'home/433toMQTT'
           payload: '111111off'
           retain: 'true'
4 Likes

Thanks a lot for your help.

1 Like

Hi, I have problems with this switch
RF switch from ebay

Its not reliable and not working instantly. I have to hold the capacitive button for couple of seconds to get it to send code, and even then it is not 100% sure that it send a code.
Im using it with wemos d1 mini gateway. Anyone can help?

first you have to find out if it is the remote or the reciever that has the problem.

How can I test it?

2 options:

  1. use another remote to send the same code to your reciever. if that also gives problems you can suspect the reciever.
  2. listen with a different reciever to your remote. (for instance a 433 mhz reciever on a RPI or a nodemcu) every time you push the button, you should recieve the same code on the other reciever. (if the remote is working fine then the reciever is faulty.)

I dont have another remote. Only another reciever. I can try at least that.

you also can use a 433 mhz transmitter connected to a RPI or nodemcu to send the code (but only after you know the code :wink: )

Tried another reciever. Same behavior. When pushed remote nothing happens. Sometime working sometimes not.

probably a bad remote then.
maybe a bad button or another option is a bad battery.

Its not exactly button, but capacitive glass panel from ebay. At morning I will try new battery

1 Like