Extend tests with 'esp32-s3-idf' and extra 'send'

This commit is contained in:
Jos van Eijndhoven
2026-04-29 21:11:21 +02:00
parent a4ec7218c8
commit a6dd5fb287
5 changed files with 16 additions and 9 deletions
@@ -17,12 +17,15 @@ hdmi_cec:
promiscuous_mode: true
monitor_mode: false
on_message:
# Give Device Power Status
- opcode: 0x8F
- opcode: 0x8F # Give Device Power Status
then:
- lambda: !lambda |-
id(cec).send(source, {0x90, 0x01});
# Volume Up from TV remote
- data: [0x44, 0x41]
hdmi_cec.send:
destination: 0 # answer to TV
data: [0x90, 0x01] # power is 'standby'
- opcode: 0x8C # Give Device VendorID
then:
- lambda: |-
id(cec).send(0xf, {0x87, 0x00, 0x09, 0xb0}); // broadcast myself as Onkyo
- data: [0x44, 0x41] # Volume Up from TV remote
then:
- logger.log: "HDMI-CEC Volume Up"
@@ -1,5 +1,5 @@
# tested with Seeed Studio XIAO ESP32S3
substitutions:
cec_pin: GPIO12
cec_pin: GPIO9
<<: !include common_no_uart.yaml
@@ -0,0 +1,5 @@
# tested with Seeed Studio XIAO ESP32S3
substitutions:
cec_pin: GPIO9
<<: !include common_no_uart.yaml
@@ -1,6 +1,6 @@
# tested with Seeed Studio XIAO ESP32C3
substitutions:
uart_pin: GPIO2
uart_pin: GPIO21
cec_pin: GPIO10
<<: !include common_with_uart.yaml
@@ -1,4 +1,3 @@
# Note: this target relies on the missing '#define ESPHOME_THREAD_MULTI_ATOMICS'
# tested with LOLIN D1 mini which has an esp8266ex
substitutions:
uart_pin: GPIO2