2024-07-15 00:52:34 +02:00
|
|
|
esphome:
|
|
|
|
name: ir-blaster
|
|
|
|
platform: ESP8266
|
|
|
|
board: d1_mini
|
|
|
|
|
|
|
|
wifi:
|
|
|
|
networks:
|
|
|
|
- ssid: "NETZ39"
|
|
|
|
password: !secret WifiPassword
|
|
|
|
|
|
|
|
# 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: !secret OtaPassword
|
|
|
|
|
|
|
|
time:
|
|
|
|
- platform: sntp
|
|
|
|
id: sntp_time
|
|
|
|
servers:
|
|
|
|
- ptbtime1.ptb.de
|
|
|
|
- ptbtime2.ptb.de
|
|
|
|
- ptbtime3.ptb.de
|
|
|
|
|
|
|
|
button:
|
|
|
|
- platform: template
|
|
|
|
name: Casio Power Button
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_nec:
|
|
|
|
address: 0xF484
|
|
|
|
command: 0xF40B
|
|
|
|
command_repeats: 3
|
|
|
|
- platform: template
|
|
|
|
name: "Monitor An/Aus"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_lg:
|
|
|
|
data: 0x02FD48B7 # power on/off
|
|
|
|
nbits: 32
|
|
|
|
- platform: template
|
|
|
|
name: "Ventilator An/Aus"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0018 0000 002E 0013 002E 0013 000E 0034 002D 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0117 002E 0013 002E 0013 000E 0034 002E 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0181 06C3"
|
2024-07-25 19:33:49 +02:00
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 0"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0010 0016 0011 0016 0011 003C 0010 0016 0010 003C 0010 003C 0010 003C 0010 003C 0011 009C 0010 0016 0011 003C 0010 0016 0010 0016 0010 003C 0010 0016 0011 0016 0010 0016 0011 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 1"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 0130 009B 0011 0016 0011 0015 0011 003B 0011 0014 0011 003C 0011 003B 0011 003B 0011 003B 0012 009B 0011 0015 0011 0016 0012 0015 0010 003C 0010 0016 0012 0015 0011 0016 0011 0015 0010 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 2"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0011 0016 0010 0016 0011 003C 0011 0016 0010 003C 0010 003C 0010 003C 0010 003C 0011 009C 0010 003C 0010 0016 0010 0016 0010 003C 0011 0016 0011 0016 0011 0016 0011 0016 0011 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 3"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0011 0016 0011 0016 0010 003C 0010 0016 0010 003C 0011 003C 0011 003C 0011 003C 0011 009C 0010 0016 0010 003C 0011 0016 0011 003C 0010 0016 0010 0016 0011 0016 0010 0016 0011 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 4"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0011 0015 0011 0016 0011 003C 0011 0016 0011 003C 0011 003C 0010 003C 0010 003C 0011 009C 0011 003C 0010 003C 0011 0016 0011 003C 0010 0016 0011 0016 0010 0016 0010 0016 0011 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 5"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0010 0016 0011 0016 0010 003C 0010 0016 0011 003C 0011 003C 0010 003C 0011 003B 0011 009B 0012 0016 0010 0016 0011 003C 0010 003C 0010 0016 0010 0016 0010 0016 0011 0016 0010 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 6"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0011 0015 0010 0016 0011 003B 0011 0016 0011 003C 0010 003C 0010 003C 0010 003B 0011 009C 0010 003C 0010 0016 0010 003C 0011 003C 0010 0016 0010 0016 0010 0016 0011 0016 0011 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 7"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0011 0016 0011 0016 0010 003C 0011 0016 0010 003C 0010 003C 0011 003C 0011 003C 0011 009B 0011 0015 0011 003B 0012 003B 0010 003C 0012 0015 0012 0014 0011 0016 0011 0016 0010 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 8"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0011 0016 0010 0016 0010 003C 0010 0016 0010 003C 0011 003C 0012 003A 0010 003C 0010 009B 0011 003C 0010 003C 0011 003C 0011 003C 0011 0016 0011 0016 0011 0015 0010 0016 0011 0181 06C3"
|
|
|
|
- platform: template
|
|
|
|
name: "MultisyncX401S Taste 9"
|
|
|
|
on_press:
|
|
|
|
- remote_transmitter.transmit_pronto:
|
|
|
|
data: "0000 006D 0013 0000 012F 009C 0011 0016 0010 0016 0010 003C 0011 0016 0010 003C 0011 003C 0010 003C 0010 003C 0010 009C 0010 0016 0011 0016 0010 0016 0010 0016 0010 003C 0011 0016 0010 0016 0010 0016 0011 0181 06C3"
|
|
|
|
|
|
|
|
|
2024-07-15 00:52:34 +02:00
|
|
|
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
|