Skip to content

Instantly share code, notes, and snippets.

@mehstg
Created November 18, 2023 21:48
Show Gist options
  • Save mehstg/30880a27bcc24ad0437f0aea79127388 to your computer and use it in GitHub Desktop.
Save mehstg/30880a27bcc24ad0437f0aea79127388 to your computer and use it in GitHub Desktop.
Dimplex Optymist ESP8266 ESPHome
esphome:
name: cabin-fireplace
platform: ESP8266
board: d1_mini_lite
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: ""
wifi:
ssid: ""
password: ""
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test-Ir-Receiver"
password: "oD12CacTbbEw"
captive_portal:
remote_transmitter:
pin: D3
# Infrared remotes use a 50% carrier signal
carrier_duty_percent: 50%
switch:
- platform: template
name: Power Toggle
id: fireplacetoggle
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xE51A
- platform: template
name: Heat Off
id: heatoff
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xFE01
- platform: template
name: Heat Toggle Hi/Lo
id: heattoggle
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xFC03
- platform: template
name: Temperature Down
id: tempdown
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xFB04
- platform: template
name: Temperature Up
id: tempup
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xF906
- platform: template
name: Temperature Display
id: tempdisplay
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xFA05
- platform: template
name: Mist Level Down
id: mistdown
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xF807
- platform: template
name: Mist Level Up
id: mistup
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x7F80
command: 0xF609
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment