esphome: name: 433mhz esp8266: board: nodemcuv2 # Enable logging logger: # Enable Home Assistant API api: password: !secret api_pw_04 ota: password: !secret ota_pw_04 wifi: ssid: !secret wifi_ssid password: !secret wifi_pw # Manual IP manual_ip: static_ip: meine IP gateway: mein gateway subnet: 255.255.255.0 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: !secret ap_ssid_04 password: !secret ap_pw_04 captive_portal: # Example configuration entry web_server: port: 80 status_led: pin: number: D0 inverted: true # -------------------------------------------------- # 433Mhz Steckdose remote_transmitter: - id: Mhz pin: GPIO10 # RF uses a 100% carrier signal carrier_duty_percent: 100% switch: #Steckdosen - platform: template id: A name: "Steckdose A" turn_on_action: - remote_transmitter.transmit_rc_switch_type_a: group: '10000' device: '10000' state: on protocol: 1 repeat: times: 10 wait_time: 0s - turn_on_aktion: A turn_off_action: - remote_transmitter.transmit_rc_switch_type_a: group: '10000' device: '10000' state: off protocol: 1 repeat: times: 10 wait_time: 0s - turn_off_aktion: A - platform: template id: B turn_on_action: - remote_transmitter.transmit_rc_switch_type_a: group: '10000' device: '01000' state: on protocol: 1 repeat: times: 10 wait_time: 0s turn_off_action: - remote_transmitter.transmit_rc_switch_type_a: group: '10000' device: '01000' state: off protocol: 1 repeat: times: 10 wait_time: 0s - platform: template id: C turn_on_action: - remote_transmitter.transmit_rc_switch_type_a: group: '10000' device: '00100' state: on protocol: 1 repeat: times: 10 wait_time: 0s turn_off_action: - remote_transmitter.transmit_rc_switch_type_a: group: '10000' device: '00100' state: off protocol: 1 repeat: times: 10 wait_time: 0s