Update TX-Ultimate-Easy-ESPHome_core.yaml
This commit is contained in:
@@ -81,11 +81,14 @@ esphome:
|
|||||||
sw_relay_3->set_internal(index.value() < 2);
|
sw_relay_3->set_internal(index.value() < 2);
|
||||||
sw_relay_4->set_internal(index.value() < 3);
|
sw_relay_4->set_internal(index.value() < 3);
|
||||||
}
|
}
|
||||||
|
- priority: -100
|
||||||
|
then:
|
||||||
|
- lambda: tx_fw_version->publish_state("${version}");
|
||||||
|
|
||||||
i2s_audio:
|
i2s_audio:
|
||||||
id: if_i2s_audio
|
id: if_i2s_audio
|
||||||
i2s_lrclk_pin: GPIO4
|
|
||||||
i2s_bclk_pin: GPIO2
|
i2s_bclk_pin: GPIO2
|
||||||
|
i2s_lrclk_pin: GPIO4
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- id: light_led
|
- id: light_led
|
||||||
@@ -98,7 +101,7 @@ light:
|
|||||||
# rmt_channel: 0
|
# rmt_channel: 0
|
||||||
# chipset: ws2812
|
# chipset: ws2812
|
||||||
num_leds: 28
|
num_leds: 28
|
||||||
pin: GPIO33
|
pin: GPIO13
|
||||||
effects:
|
effects:
|
||||||
- addressable_rainbow:
|
- addressable_rainbow:
|
||||||
- addressable_rainbow:
|
- addressable_rainbow:
|
||||||
@@ -153,13 +156,18 @@ light:
|
|||||||
logger:
|
logger:
|
||||||
|
|
||||||
media_player:
|
media_player:
|
||||||
- id: mp_audio
|
- id: mp_speaker
|
||||||
name: Audio player
|
name: Speaker
|
||||||
platform: i2s_audio
|
platform: i2s_audio
|
||||||
i2s_dout_pin: GPIO15
|
i2s_dout_pin: GPIO15
|
||||||
i2s_audio_id: if_i2s_audio
|
i2s_audio_id: if_i2s_audio
|
||||||
i2s_comm_fmt: lsb
|
i2s_comm_fmt: lsb
|
||||||
dac_type: external
|
dac_type: external
|
||||||
|
mode: mono
|
||||||
|
mute_pin:
|
||||||
|
number: GPIO26
|
||||||
|
inverted: true
|
||||||
|
allow_other_uses: true
|
||||||
internal: false
|
internal: false
|
||||||
|
|
||||||
number:
|
number:
|
||||||
@@ -167,16 +175,15 @@ number:
|
|||||||
name: Vibrate duration
|
name: Vibrate duration
|
||||||
icon: mdi:vibrate
|
icon: mdi:vibrate
|
||||||
unit_of_measurement: ms
|
unit_of_measurement: ms
|
||||||
mode: box
|
# mode: box
|
||||||
internal: false
|
internal: false
|
||||||
platform: template
|
platform: template
|
||||||
min_value: 10
|
min_value: 1
|
||||||
max_value: 3000
|
max_value: 500
|
||||||
step: 1
|
step: 1
|
||||||
initial_value: 50
|
initial_value: 15
|
||||||
optimistic: true
|
optimistic: true
|
||||||
restore_value: true
|
restore_value: true
|
||||||
|
|
||||||
ota:
|
ota:
|
||||||
|
|
||||||
psram:
|
psram:
|
||||||
@@ -199,11 +206,14 @@ select:
|
|||||||
icon: mdi:dip-switch
|
icon: mdi:dip-switch
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- id: sw_pa_power
|
- id: sw_speaker_aplifier
|
||||||
name: PA - Power
|
name: Speaker - Aplifier
|
||||||
platform: gpio
|
platform: gpio
|
||||||
pin: GPIO26
|
pin:
|
||||||
restore_mode: ALWAYS_ON
|
number: GPIO26
|
||||||
|
inverted: true
|
||||||
|
allow_other_uses: true
|
||||||
|
restore_mode: RESTORE_DEFAULT_ON
|
||||||
internal: true
|
internal: true
|
||||||
|
|
||||||
- id: sw_relay_1
|
- id: sw_relay_1
|
||||||
@@ -279,7 +289,7 @@ uart:
|
|||||||
timeout: 2s
|
timeout: 2s
|
||||||
bytes: 2048
|
bytes: 2048
|
||||||
sequence:
|
sequence:
|
||||||
#- lambda: UARTDebug::log_string(direction, bytes);
|
# - lambda: UARTDebug::log_string(direction, bytes);
|
||||||
- lambda: UARTDebug::log_hex(direction, bytes, ' ');
|
- lambda: UARTDebug::log_hex(direction, bytes, ' ');
|
||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
|
|||||||
Reference in New Issue
Block a user