Simplify hdmi_cec tests common*yaml files, run 'no_uart' only on idf

This commit is contained in:
Jos van Eijndhoven
2026-04-29 21:11:20 +02:00
parent dd5d8133e4
commit ab5ec60809
3 changed files with 0 additions and 43 deletions
@@ -1,21 +1,3 @@
esphome:
name: "hdmi-cec-test"
on_boot:
priority: -100
then:
- delay: 50ms
- lambda: !lambda |-
// send 'Give Physical Address' message to myself: that shall give a reply message
id(cec).send(0x1, id(cec).address(), {0x83});
// generated the reply message is a broadcast, created by the component built-in handler
// such broadcast does not expect an active 'acknowledge' bit
id(cec).send(0x1, id(cec).address(), {0x8F}); // send 'Give Device Power Status' to myself
// the generated reply message is probably not acknowledged, so will be repeated 5 times
# Enable logging
logger:
level: DEBUG
hdmi_cec:
id: cec
pin: # to HDMI pin 13 (CEC), with HDMI pin 17 (DDC/CEC ground)
@@ -1,23 +1,3 @@
esphome:
name: "hdmi-cec-test"
on_boot:
priority: -100
then:
- delay: 50ms
- lambda: !lambda |-
// bool is_hw_uart = id(cec_uart)->get_hw_serial() != nullptr; // not avail on esp8266
// ESP_LOGD("UART", "UART is HW_SERIAL=%d", is_hw_uart);
// send 'Give Physical Address' message to myself: that shall give a reply message
id(cec).send(0x1, id(cec).address(), {0x83});
// generated the reply message is a broadcast, created by the component built-in handler
// such broadcast does not expect an active 'acknowledge' bit
id(cec).send(0x1, id(cec).address(), {0x8F}); // send 'Give Device Power Status' to myself
// the generated reply message is probably not acknowledged, so will be repeated 5 times
# Enable logging
logger:
level: DEBUG
wifi:
ssid: MyHomeNetwork
password: VerySafePassword
@@ -1,5 +0,0 @@
# tested with Seeed Studio XIAO ESP32S3
substitutions:
cec_pin: GPIO12
<<: !include common_no_uart.yaml