I am trying to make a 433 gateway with ESPhome, but without home assistant control.
This is the first time i am working with ESPhome. Step by step i got i build up. But now i got stuck with the if/then code part
What i am looking for, it it receives code 011001110100110100001110
then send 110011010000010110101000
I hope somebody can set me to the right direction.
I tried to search for an example. Thoughed i found something with the esphome 433 gateway. Tried to copy it and modify it to my wish. But running from one to another error.
My code i have now
esphome: name: rfscanne platform: ESP8266 board: d1_mini # Enable logging logger: # Enable Home Assistant API api: password: "Secret" ota: password: "Secret" wifi: networks: - ssid: "Secret" password: "Secret" - ssid: "Secret" password: "Secret" captive_portal: #build webserver web_server: port: 80 #Enable remote transmitter remote_transmitter: pin: GPIO14 carrier_duty_percent: 50% #Enable remote receiver remote_receiver: pin: number: GPIO4 inverted: True mode: INPUT_PULLUP # dump: all dump: rc_switch tolerance: 60% filter: 4us idle: 4ms on_rc_switch: binary_sensor: - platform: remote_receiver name: Doorbell_Push rc_switch_raw: code: '011001110100110100001110' protocol: 6 filters: - delayed_off: 1000ms switch: - platform: template name: Doorbell_Push Switch icon: "mdi:remote" id: Doorbell_Push_switch turn_on_action: - remote_transmitter.transmit_rc_switch_raw: code: '110011010000010110101000' protocol: pulse_length: 300 repeat: times: 5 wait_time: 9ms