Hello!
Thanks to others on this forum, I just got an ESP8266 Node Mcu working with ESPHome and Home Assistant.
I am only able to get one code working.
I’ve tried adding extra lines of code with unique IDs and appropriate hex codes for buttons, but I am getting errors each time I validate.
Does anyone have any experience with getting a bunch of codes loaded into this?
I plan to use these as triggers for automation in home theater and other TV rooms with IR remotes.
Here is my code:
esphome:
name: ir_receiver_test
platform: ESP8266
board: nodemcuv2
wifi:
ssid: "Casa"
password: "XXXXXXXXXX"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Ir Receiver Test"
password: "ozjjE6Gc3J5A"
captive_portal:
# Enable logging
logger:
level: debug
# Enable Home Assistant API
api:
# Enable Over-the_air updates.
ota:
# Example configuration entry
remote_receiver:
pin:
number: GPIO14
inverted: True
dump: all
binary_sensor:
- platform: remote_receiver
id: samsung_tv_power_toggle
name: "Samsung TV Power"
samsung:
data: 0xE0E040BF