esphome: name: ir-blaster platform: ESP8266 board: d1_mini wifi: networks: - ssid: "NETZ39" password: "MarvinIsHappy" # Enable logging logger: level: INFO # Enable Web server web_server: port: 80 # Enable Home Assistant API #api: # reboot_timeout: 0s # encryption: # key: "" mqtt: broker: mqtt.n39.eu port: 1883 ota: - platform: esphome password: "radish-lavish-subtly" time: - platform: sntp id: sntp_time servers: - ptbtime1.ptb.de - ptbtime2.ptb.de - ptbtime3.ptb.de switch: - platform: template name: Casio Power Button turn_on_action: - remote_transmitter.transmit_nec: address: 0x84f4 command: 0x0bf4 command_repeats: 3 - platform: template name: "Monitor An/Aus" turn_on_action: - remote_transmitter.transmit_lg: data: 0x02FD48B7 # power on/off nbits: 32 remote_receiver: pin: number: GPIO2 inverted: True dump: all remote_transmitter: pin: GPIO04 # Infrared remotes use a 50% carrier signal carrier_duty_percent: 50% sensor: # Extra sensor to keep track of plug uptime - platform: uptime name: Uptime Sensor - platform: wifi_signal name: "WiFi Signal Sensor" update_interval: 60s