[CI] Consolidate some tests (E) (#8191)

This commit is contained in:
Keith Burzinski 2025-02-04 17:05:24 -06:00 committed by GitHub
parent 693d813c4b
commit 06f9764f51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
62 changed files with 473 additions and 1160 deletions

View File

@ -0,0 +1,14 @@
<<: !include common.yaml
light:
- platform: ${light_platform}
id: led_matrix_32x8
default_transition_length: 500ms
chipset: ws2812
rgb_order: GRB
num_leds: 256
pin: ${pin}
rmt_channel: 0
effects:
- e131:
universe: 1

View File

@ -0,0 +1,13 @@
<<: !include common.yaml
light:
- platform: ${light_platform}
id: led_matrix_32x8
default_transition_length: 500ms
chipset: ws2812
rgb_order: GRB
num_leds: 256
pin: ${pin}
effects:
- e131:
universe: 1

View File

@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
e131:

View File

@ -1,18 +1,5 @@
wifi:
ssid: MySSID
password: password1
substitutions:
light_platform: esp32_rmt_led_strip
pin: GPIO2
e131:
light:
- platform: esp32_rmt_led_strip
id: led_matrix_32x8
default_transition_length: 500ms
chipset: ws2812
rgb_order: GRB
num_leds: 256
pin: 2
rmt_channel: 0
effects:
- e131:
universe: 1
<<: !include common-ard.yaml

View File

@ -1,18 +1,5 @@
wifi:
ssid: MySSID
password: password1
substitutions:
light_platform: esp32_rmt_led_strip
pin: GPIO2
e131:
light:
- platform: esp32_rmt_led_strip
id: led_matrix_32x8
default_transition_length: 500ms
chipset: ws2812
rgb_order: GRB
num_leds: 256
pin: 2
rmt_channel: 0
effects:
- e131:
universe: 1
<<: !include common-ard.yaml

View File

@ -1,17 +1,5 @@
wifi:
ssid: MySSID
password: password1
substitutions:
light_platform: esp32_rmt_led_strip
pin: GPIO2
e131:
light:
- platform: esp32_rmt_led_strip
id: led_matrix_32x8
default_transition_length: 500ms
chipset: ws2812
rgb_order: GRB
num_leds: 256
pin: 2
effects:
- e131:
universe: 1
<<: !include common-idf.yaml

View File

@ -1,17 +1,5 @@
wifi:
ssid: MySSID
password: password1
substitutions:
light_platform: esp32_rmt_led_strip
pin: GPIO2
e131:
light:
- platform: esp32_rmt_led_strip
id: led_matrix_32x8
default_transition_length: 500ms
chipset: ws2812
rgb_order: GRB
num_leds: 256
pin: 2
effects:
- e131:
universe: 1
<<: !include common-idf.yaml

View File

@ -1,8 +1,4 @@
wifi:
ssid: MySSID
password: password1
e131:
<<: !include common.yaml
light:
- platform: neopixelbus

View File

@ -1,8 +1,4 @@
wifi:
ssid: MySSID
password: password1
e131:
<<: !include common.yaml
light:
- platform: rp2040_pio_led_strip

View File

@ -0,0 +1,14 @@
i2c:
- id: i2c_ee895
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: ee895
address: 0x5F
co2:
name: EE895 CO2
temperature:
name: EE895 Temperature
pressure:
name: EE895 Pressure

View File

@ -1,14 +1,5 @@
i2c:
- id: i2c_ee895
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: ee895
address: 0x5F
co2:
name: EE895 CO2
temperature:
name: EE895 Temperature
pressure:
name: EE895 Pressure
<<: !include common.yaml

View File

@ -1,14 +1,5 @@
i2c:
- id: i2c_ee895
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ee895
address: 0x5F
co2:
name: EE895 CO2
temperature:
name: EE895 Temperature
pressure:
name: EE895 Pressure
<<: !include common.yaml

View File

@ -1,14 +1,5 @@
i2c:
- id: i2c_ee895
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ee895
address: 0x5F
co2:
name: EE895 CO2
temperature:
name: EE895 Temperature
pressure:
name: EE895 Pressure
<<: !include common.yaml

View File

@ -1,14 +1,5 @@
i2c:
- id: i2c_ee895
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: ee895
address: 0x5F
co2:
name: EE895 CO2
temperature:
name: EE895 Temperature
pressure:
name: EE895 Pressure
<<: !include common.yaml

View File

@ -1,14 +1,5 @@
i2c:
- id: i2c_ee895
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ee895
address: 0x5F
co2:
name: EE895 CO2
temperature:
name: EE895 Temperature
pressure:
name: EE895 Pressure
<<: !include common.yaml

View File

@ -1,14 +1,5 @@
i2c:
- id: i2c_ee895
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ee895
address: 0x5F
co2:
name: EE895 CO2
temperature:
name: EE895 Temperature
pressure:
name: EE895 Pressure
<<: !include common.yaml

View File

@ -0,0 +1,24 @@
i2c:
- id: i2c_ektf2232
scl: ${scl_pin}
sda: ${sda_pin}
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: ${reset_pin}
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ektf2232
interrupt_pin: ${interrupt_pin}
rts_pin: ${rts_pin}
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]

View File

@ -1,24 +1,8 @@
i2c:
- id: i2c_ektf2232
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
reset_pin: GPIO13
interrupt_pin: GPIO14
rts_pin: GPIO15
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 13
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ektf2232
interrupt_pin: 14
rts_pin: 15
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@ -1,24 +1,8 @@
i2c:
- id: i2c_ektf2232
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
reset_pin: GPIO3
interrupt_pin: GPIO6
rts_pin: GPIO7
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ektf2232
interrupt_pin: 6
rts_pin: 7
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@ -1,24 +1,8 @@
i2c:
- id: i2c_ektf2232
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
reset_pin: GPIO3
interrupt_pin: GPIO6
rts_pin: GPIO7
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ektf2232
interrupt_pin: 6
rts_pin: 7
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@ -1,24 +1,8 @@
i2c:
- id: i2c_ektf2232
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
reset_pin: GPIO13
interrupt_pin: GPIO14
rts_pin: GPIO15
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 13
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ektf2232
interrupt_pin: 14
rts_pin: 15
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@ -1,24 +1,8 @@
i2c:
- id: i2c_ektf2232
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
reset_pin: GPIO3
interrupt_pin: GPIO12
rts_pin: GPIO13
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ektf2232
interrupt_pin: 12
rts_pin: 13
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@ -1,24 +1,8 @@
i2c:
- id: i2c_ektf2232
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
reset_pin: GPIO3
interrupt_pin: GPIO6
rts_pin: GPIO7
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ektf2232
interrupt_pin: 6
rts_pin: 7
display: ssd1306_display
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@ -0,0 +1,25 @@
i2c:
- id: i2c_emc2101
scl: ${scl_pin}
sda: ${sda_pin}
emc2101:
pwm:
resolution: 8
output:
- platform: emc2101
id: fan_duty_cycle
sensor:
- platform: emc2101
internal_temperature:
id: internal_temperature_sensor
name: Internal Temperature Sensor
speed:
id: speed_sensor
name: Speed Sensor
duty_cycle:
id: duty_cycle_sensor
name: Duty Cycle Sensor
update_interval: 5s

View File

@ -1,25 +1,5 @@
i2c:
- id: i2c_emc2101
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
emc2101:
pwm:
resolution: 8
output:
- platform: emc2101
id: fan_duty_cycle
sensor:
- platform: emc2101
internal_temperature:
id: internal_temperature_sensor
name: Internal Temperature Sensor
speed:
id: speed_sensor
name: Speed Sensor
duty_cycle:
id: duty_cycle_sensor
name: Duty Cycle Sensor
update_interval: 5s
<<: !include common.yaml

View File

@ -1,25 +1,5 @@
i2c:
- id: i2c_emc2101
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
emc2101:
pwm:
resolution: 8
output:
- platform: emc2101
id: fan_duty_cycle
sensor:
- platform: emc2101
internal_temperature:
id: internal_temperature_sensor
name: Internal Temperature Sensor
speed:
id: speed_sensor
name: Speed Sensor
duty_cycle:
id: duty_cycle_sensor
name: Duty Cycle Sensor
update_interval: 5s
<<: !include common.yaml

View File

@ -1,25 +1,5 @@
i2c:
- id: i2c_emc2101
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
emc2101:
pwm:
resolution: 8
output:
- platform: emc2101
id: fan_duty_cycle
sensor:
- platform: emc2101
internal_temperature:
id: internal_temperature_sensor
name: Internal Temperature Sensor
speed:
id: speed_sensor
name: Speed Sensor
duty_cycle:
id: duty_cycle_sensor
name: Duty Cycle Sensor
update_interval: 5s
<<: !include common.yaml

View File

@ -1,25 +1,5 @@
i2c:
- id: i2c_emc2101
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
emc2101:
pwm:
resolution: 8
output:
- platform: emc2101
id: fan_duty_cycle
sensor:
- platform: emc2101
internal_temperature:
id: internal_temperature_sensor
name: Internal Temperature Sensor
speed:
id: speed_sensor
name: Speed Sensor
duty_cycle:
id: duty_cycle_sensor
name: Duty Cycle Sensor
update_interval: 5s
<<: !include common.yaml

View File

@ -1,25 +1,5 @@
i2c:
- id: i2c_emc2101
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
emc2101:
pwm:
resolution: 8
output:
- platform: emc2101
id: fan_duty_cycle
sensor:
- platform: emc2101
internal_temperature:
id: internal_temperature_sensor
name: Internal Temperature Sensor
speed:
id: speed_sensor
name: Speed Sensor
duty_cycle:
id: duty_cycle_sensor
name: Duty Cycle Sensor
update_interval: 5s
<<: !include common.yaml

View File

@ -1,25 +1,5 @@
i2c:
- id: i2c_emc2101
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
emc2101:
pwm:
resolution: 8
output:
- platform: emc2101
id: fan_duty_cycle
sensor:
- platform: emc2101
internal_temperature:
id: internal_temperature_sensor
name: Internal Temperature Sensor
speed:
id: speed_sensor
name: Speed Sensor
duty_cycle:
id: duty_cycle_sensor
name: Duty Cycle Sensor
update_interval: 5s
<<: !include common.yaml

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_ens210
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: ens210
temperature:
name: ENS210 Temperature
humidity:
name: ENS210 Humidity
update_interval: 15s

View File

@ -1,12 +1,5 @@
i2c:
- id: i2c_ens210
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: ens210
temperature:
name: ENS210 Temperature
humidity:
name: ENS210 Humidity
update_interval: 15s
<<: !include common.yaml

View File

@ -1,12 +1,5 @@
i2c:
- id: i2c_ens210
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ens210
temperature:
name: ENS210 Temperature
humidity:
name: ENS210 Humidity
update_interval: 15s
<<: !include common.yaml

View File

@ -1,12 +1,5 @@
i2c:
- id: i2c_ens210
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ens210
temperature:
name: ENS210 Temperature
humidity:
name: ENS210 Humidity
update_interval: 15s
<<: !include common.yaml

View File

@ -1,12 +1,5 @@
i2c:
- id: i2c_ens210
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: ens210
temperature:
name: ENS210 Temperature
humidity:
name: ENS210 Humidity
update_interval: 15s
<<: !include common.yaml

View File

@ -1,12 +1,5 @@
i2c:
- id: i2c_ens210
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ens210
temperature:
name: ENS210 Temperature
humidity:
name: ENS210 Humidity
update_interval: 15s
<<: !include common.yaml

View File

@ -1,12 +1,5 @@
i2c:
- id: i2c_ens210
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ens210
temperature:
name: ENS210 Temperature
humidity:
name: ENS210 Humidity
update_interval: 15s
<<: !include common.yaml

View File

@ -0,0 +1,45 @@
esphome:
on_boot:
then:
- canbus.send:
# Extended ID explicit
use_extended_id: true
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
- canbus.send:
# Standard ID by default
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
canbus:
- platform: esp32_can
id: esp32_internal_can
rx_pin: ${rx_pin}
tx_pin: ${tx_pin}
can_id: 4
bit_rate: 50kbps
on_frame:
- can_id: 500
then:
- lambda: |-
std::string b(x.begin(), x.end());
ESP_LOGD("canid 500", "%s", b.c_str() );
- can_id: 0b00000000000000000000001000000
can_id_mask: 0b11111000000000011111111000000
use_extended_id: true
then:
- lambda: |-
auto pdo_id = can_id >> 14;
switch (pdo_id)
{
case 117:
ESP_LOGD("canbus", "exhaust_fan_duty");
break;
case 118:
ESP_LOGD("canbus", "supply_fan_duty");
break;
case 119:
ESP_LOGD("canbus", "supply_fan_flow");
break;
// to be continued...
}

View File

@ -1,45 +1,5 @@
esphome:
on_boot:
then:
- canbus.send:
# Extended ID explicit
use_extended_id: true
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
- canbus.send:
# Standard ID by default
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
substitutions:
tx_pin: GPIO12
rx_pin: GPIO14
canbus:
- platform: esp32_can
id: esp32_internal_can
rx_pin: 13
tx_pin: 14
can_id: 4
bit_rate: 50kbps
on_frame:
- can_id: 500
then:
- lambda: |-
std::string b(x.begin(), x.end());
ESP_LOGD("canid 500", "%s", b.c_str() );
- can_id: 0b00000000000000000000001000000
can_id_mask: 0b11111000000000011111111000000
use_extended_id: true
then:
- lambda: |-
auto pdo_id = can_id >> 14;
switch (pdo_id)
{
case 117:
ESP_LOGD("canbus", "exhaust_fan_duty");
break;
case 118:
ESP_LOGD("canbus", "supply_fan_duty");
break;
case 119:
ESP_LOGD("canbus", "supply_fan_flow");
break;
// to be continued...
}
<<: !include common.yaml

View File

@ -1,45 +1,5 @@
esphome:
on_boot:
then:
- canbus.send:
# Extended ID explicit
use_extended_id: true
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
- canbus.send:
# Standard ID by default
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
substitutions:
tx_pin: GPIO7
rx_pin: GPIO8
canbus:
- platform: esp32_can
id: esp32_internal_can
rx_pin: 4
tx_pin: 5
can_id: 4
bit_rate: 50kbps
on_frame:
- can_id: 500
then:
- lambda: |-
std::string b(x.begin(), x.end());
ESP_LOGD("canid 500", "%s", b.c_str() );
- can_id: 0b00000000000000000000001000000
can_id_mask: 0b11111000000000011111111000000
use_extended_id: true
then:
- lambda: |-
auto pdo_id = can_id >> 14;
switch (pdo_id)
{
case 117:
ESP_LOGD("canbus", "exhaust_fan_duty");
break;
case 118:
ESP_LOGD("canbus", "supply_fan_duty");
break;
case 119:
ESP_LOGD("canbus", "supply_fan_flow");
break;
// to be continued...
}
<<: !include common.yaml

View File

@ -1,45 +1,5 @@
esphome:
on_boot:
then:
- canbus.send:
# Extended ID explicit
use_extended_id: true
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
- canbus.send:
# Standard ID by default
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
substitutions:
tx_pin: GPIO7
rx_pin: GPIO8
canbus:
- platform: esp32_can
id: esp32_internal_can
rx_pin: 4
tx_pin: 5
can_id: 4
bit_rate: 50kbps
on_frame:
- can_id: 500
then:
- lambda: |-
std::string b(x.begin(), x.end());
ESP_LOGD("canid 500", "%s", b.c_str() );
- can_id: 0b00000000000000000000001000000
can_id_mask: 0b11111000000000011111111000000
use_extended_id: true
then:
- lambda: |-
auto pdo_id = can_id >> 14;
switch (pdo_id)
{
case 117:
ESP_LOGD("canbus", "exhaust_fan_duty");
break;
case 118:
ESP_LOGD("canbus", "supply_fan_duty");
break;
case 119:
ESP_LOGD("canbus", "supply_fan_flow");
break;
// to be continued...
}
<<: !include common.yaml

View File

@ -1,45 +1,5 @@
esphome:
on_boot:
then:
- canbus.send:
# Extended ID explicit
use_extended_id: true
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
- canbus.send:
# Standard ID by default
can_id: 0x100
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
substitutions:
tx_pin: GPIO12
rx_pin: GPIO14
canbus:
- platform: esp32_can
id: esp32_internal_can
rx_pin: 13
tx_pin: 14
can_id: 4
bit_rate: 50kbps
on_frame:
- can_id: 500
then:
- lambda: |-
std::string b(x.begin(), x.end());
ESP_LOGD("canid 500", "%s", b.c_str() );
- can_id: 0b00000000000000000000001000000
can_id_mask: 0b11111000000000011111111000000
use_extended_id: true
then:
- lambda: |-
auto pdo_id = can_id >> 14;
switch (pdo_id)
{
case 117:
ESP_LOGD("canbus", "exhaust_fan_duty");
break;
case 118:
ESP_LOGD("canbus", "supply_fan_duty");
break;
case 119:
ESP_LOGD("canbus", "supply_fan_flow");
break;
// to be continued...
}
<<: !include common.yaml

View File

@ -0,0 +1,18 @@
light:
- platform: esp32_rmt_led_strip
id: led_strip1
pin: ${pin1}
num_leds: 60
rmt_channel: 0
rgb_order: GRB
chipset: ws2812
- platform: esp32_rmt_led_strip
id: led_strip2
pin: ${pin2}
num_leds: 60
rmt_channel: 1
rgb_order: RGB
bit0_high: 100us
bit0_low: 100us
bit1_high: 100us
bit1_low: 100us

View File

@ -0,0 +1,16 @@
light:
- platform: esp32_rmt_led_strip
id: led_strip1
pin: ${pin1}
num_leds: 60
rgb_order: GRB
chipset: ws2812
- platform: esp32_rmt_led_strip
id: led_strip2
pin: ${pin2}
num_leds: 60
rgb_order: RGB
bit0_high: 100us
bit0_low: 100us
bit1_high: 100us
bit1_low: 100us

View File

@ -1,18 +1,5 @@
light:
- platform: esp32_rmt_led_strip
id: led_strip
pin: 13
num_leds: 60
rmt_channel: 6
rgb_order: GRB
chipset: ws2812
- platform: esp32_rmt_led_strip
id: led_strip2
pin: 14
num_leds: 60
rmt_channel: 2
rgb_order: RGB
bit0_high: 100us
bit0_low: 100us
bit1_high: 100us
bit1_low: 100us
substitutions:
pin1: GPIO13
pin2: GPIO14
<<: !include common-ard.yaml

View File

@ -1,18 +1,5 @@
light:
- platform: esp32_rmt_led_strip
id: led_strip
pin: 4
num_leds: 60
rmt_channel: 0
rgb_order: GRB
chipset: ws2812
- platform: esp32_rmt_led_strip
id: led_strip2
pin: 5
num_leds: 60
rmt_channel: 1
rgb_order: RGB
bit0_high: 100us
bit0_low: 100us
bit1_high: 100us
bit1_low: 100us
substitutions:
pin1: GPIO3
pin2: GPIO4
<<: !include common-ard.yaml

View File

@ -1,16 +1,5 @@
light:
- platform: esp32_rmt_led_strip
id: led_strip
pin: 4
num_leds: 60
rgb_order: GRB
chipset: ws2812
- platform: esp32_rmt_led_strip
id: led_strip2
pin: 5
num_leds: 60
rgb_order: RGB
bit0_high: 100µs
bit0_low: 100µs
bit1_high: 100µs
bit1_low: 100µs
substitutions:
pin1: GPIO3
pin2: GPIO4
<<: !include common-idf.yaml

View File

@ -1,16 +1,5 @@
light:
- platform: esp32_rmt_led_strip
id: led_strip
pin: 13
num_leds: 60
rgb_order: GRB
chipset: ws2812
- platform: esp32_rmt_led_strip
id: led_strip2
pin: 14
num_leds: 60
rgb_order: RGB
bit0_high: 100µs
bit0_low: 100µs
bit1_high: 100µs
bit1_low: 100µs
substitutions:
pin1: GPIO13
pin2: GPIO14
<<: !include common-idf.yaml

View File

@ -0,0 +1,10 @@
i2c:
- id: i2c_ezo
scl: ${scl_pin}
sda: ${sda_pin}
sensor:
- platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: pH

View File

@ -1,10 +1,5 @@
i2c:
- id: i2c_ezo
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: pH
<<: !include common.yaml

View File

@ -1,10 +1,5 @@
i2c:
- id: i2c_ezo
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: pH
<<: !include common.yaml

View File

@ -1,10 +1,5 @@
i2c:
- id: i2c_ezo
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: pH
<<: !include common.yaml

View File

@ -1,10 +1,5 @@
i2c:
- id: i2c_ezo
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
sensor:
- platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: pH
<<: !include common.yaml

View File

@ -1,10 +1,5 @@
i2c:
- id: i2c_ezo
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: pH
<<: !include common.yaml

View File

@ -1,10 +1,5 @@
i2c:
- id: i2c_ezo
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
sensor:
- platform: ezo
id: ph_ezo
address: 99
unit_of_measurement: pH
<<: !include common.yaml

View File

@ -0,0 +1,61 @@
i2c:
- id: i2c_ezo_pmp
scl: ${scl_pin}
sda: ${sda_pin}
ezo_pmp:
id: hcl_pump
update_interval: 1s
binary_sensor:
- platform: ezo_pmp
pump_state:
name: Pump State
is_paused:
name: Is Paused
sensor:
- platform: ezo_pmp
current_volume_dosed:
name: Current Volume Dosed
total_volume_dosed:
name: Total Volume Dosed
absolute_total_volume_dosed:
name: Absolute Total Volume Dosed
pump_voltage:
name: Pump Voltage
last_volume_requested:
name: Last Volume Requested
max_flow_rate:
name: Max Flow Rate
text_sensor:
- platform: ezo_pmp
dosing_mode:
name: Dosing Mode
calibration_status:
name: Calibration Status
on_value:
- ezo_pmp.dose_volume:
id: hcl_pump
volume: 10
- ezo_pmp.dose_volume_over_time:
id: hcl_pump
volume: 10
duration: 2
- ezo_pmp.dose_with_constant_flow_rate:
id: hcl_pump
volume_per_minute: 10
duration: 2
- ezo_pmp.set_calibration_volume:
id: hcl_pump
volume: 10
- ezo_pmp.find: hcl_pump
- ezo_pmp.dose_continuously: hcl_pump
- ezo_pmp.clear_total_volume_dosed: hcl_pump
- ezo_pmp.clear_calibration: hcl_pump
- ezo_pmp.pause_dosing: hcl_pump
- ezo_pmp.stop_dosing: hcl_pump
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?

View File

@ -1,61 +1,5 @@
i2c:
- id: i2c_ezo_pmp
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
ezo_pmp:
id: hcl_pump
update_interval: 1s
binary_sensor:
- platform: ezo_pmp
pump_state:
name: Pump State
is_paused:
name: Is Paused
sensor:
- platform: ezo_pmp
current_volume_dosed:
name: Current Volume Dosed
total_volume_dosed:
name: Total Volume Dosed
absolute_total_volume_dosed:
name: Absolute Total Volume Dosed
pump_voltage:
name: Pump Voltage
last_volume_requested:
name: Last Volume Requested
max_flow_rate:
name: Max Flow Rate
text_sensor:
- platform: ezo_pmp
dosing_mode:
name: Dosing Mode
calibration_status:
name: Calibration Status
on_value:
- ezo_pmp.dose_volume:
id: hcl_pump
volume: 10
- ezo_pmp.dose_volume_over_time:
id: hcl_pump
volume: 10
duration: 2
- ezo_pmp.dose_with_constant_flow_rate:
id: hcl_pump
volume_per_minute: 10
duration: 2
- ezo_pmp.set_calibration_volume:
id: hcl_pump
volume: 10
- ezo_pmp.find: hcl_pump
- ezo_pmp.dose_continuously: hcl_pump
- ezo_pmp.clear_total_volume_dosed: hcl_pump
- ezo_pmp.clear_calibration: hcl_pump
- ezo_pmp.pause_dosing: hcl_pump
- ezo_pmp.stop_dosing: hcl_pump
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?
<<: !include common.yaml

View File

@ -1,61 +1,5 @@
i2c:
- id: i2c_ezo_pmp
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
ezo_pmp:
id: hcl_pump
update_interval: 1s
binary_sensor:
- platform: ezo_pmp
pump_state:
name: Pump State
is_paused:
name: Is Paused
sensor:
- platform: ezo_pmp
current_volume_dosed:
name: Current Volume Dosed
total_volume_dosed:
name: Total Volume Dosed
absolute_total_volume_dosed:
name: Absolute Total Volume Dosed
pump_voltage:
name: Pump Voltage
last_volume_requested:
name: Last Volume Requested
max_flow_rate:
name: Max Flow Rate
text_sensor:
- platform: ezo_pmp
dosing_mode:
name: Dosing Mode
calibration_status:
name: Calibration Status
on_value:
- ezo_pmp.dose_volume:
id: hcl_pump
volume: 10
- ezo_pmp.dose_volume_over_time:
id: hcl_pump
volume: 10
duration: 2
- ezo_pmp.dose_with_constant_flow_rate:
id: hcl_pump
volume_per_minute: 10
duration: 2
- ezo_pmp.set_calibration_volume:
id: hcl_pump
volume: 10
- ezo_pmp.find: hcl_pump
- ezo_pmp.dose_continuously: hcl_pump
- ezo_pmp.clear_total_volume_dosed: hcl_pump
- ezo_pmp.clear_calibration: hcl_pump
- ezo_pmp.pause_dosing: hcl_pump
- ezo_pmp.stop_dosing: hcl_pump
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?
<<: !include common.yaml

View File

@ -1,61 +1,5 @@
i2c:
- id: i2c_ezo_pmp
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
ezo_pmp:
id: hcl_pump
update_interval: 1s
binary_sensor:
- platform: ezo_pmp
pump_state:
name: Pump State
is_paused:
name: Is Paused
sensor:
- platform: ezo_pmp
current_volume_dosed:
name: Current Volume Dosed
total_volume_dosed:
name: Total Volume Dosed
absolute_total_volume_dosed:
name: Absolute Total Volume Dosed
pump_voltage:
name: Pump Voltage
last_volume_requested:
name: Last Volume Requested
max_flow_rate:
name: Max Flow Rate
text_sensor:
- platform: ezo_pmp
dosing_mode:
name: Dosing Mode
calibration_status:
name: Calibration Status
on_value:
- ezo_pmp.dose_volume:
id: hcl_pump
volume: 10
- ezo_pmp.dose_volume_over_time:
id: hcl_pump
volume: 10
duration: 2
- ezo_pmp.dose_with_constant_flow_rate:
id: hcl_pump
volume_per_minute: 10
duration: 2
- ezo_pmp.set_calibration_volume:
id: hcl_pump
volume: 10
- ezo_pmp.find: hcl_pump
- ezo_pmp.dose_continuously: hcl_pump
- ezo_pmp.clear_total_volume_dosed: hcl_pump
- ezo_pmp.clear_calibration: hcl_pump
- ezo_pmp.pause_dosing: hcl_pump
- ezo_pmp.stop_dosing: hcl_pump
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?
<<: !include common.yaml

View File

@ -1,61 +1,5 @@
i2c:
- id: i2c_ezo_pmp
scl: 16
sda: 17
substitutions:
scl_pin: GPIO16
sda_pin: GPIO17
ezo_pmp:
id: hcl_pump
update_interval: 1s
binary_sensor:
- platform: ezo_pmp
pump_state:
name: Pump State
is_paused:
name: Is Paused
sensor:
- platform: ezo_pmp
current_volume_dosed:
name: Current Volume Dosed
total_volume_dosed:
name: Total Volume Dosed
absolute_total_volume_dosed:
name: Absolute Total Volume Dosed
pump_voltage:
name: Pump Voltage
last_volume_requested:
name: Last Volume Requested
max_flow_rate:
name: Max Flow Rate
text_sensor:
- platform: ezo_pmp
dosing_mode:
name: Dosing Mode
calibration_status:
name: Calibration Status
on_value:
- ezo_pmp.dose_volume:
id: hcl_pump
volume: 10
- ezo_pmp.dose_volume_over_time:
id: hcl_pump
volume: 10
duration: 2
- ezo_pmp.dose_with_constant_flow_rate:
id: hcl_pump
volume_per_minute: 10
duration: 2
- ezo_pmp.set_calibration_volume:
id: hcl_pump
volume: 10
- ezo_pmp.find: hcl_pump
- ezo_pmp.dose_continuously: hcl_pump
- ezo_pmp.clear_total_volume_dosed: hcl_pump
- ezo_pmp.clear_calibration: hcl_pump
- ezo_pmp.pause_dosing: hcl_pump
- ezo_pmp.stop_dosing: hcl_pump
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?
<<: !include common.yaml

View File

@ -1,61 +1,5 @@
i2c:
- id: i2c_ezo_pmp
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
ezo_pmp:
id: hcl_pump
update_interval: 1s
binary_sensor:
- platform: ezo_pmp
pump_state:
name: Pump State
is_paused:
name: Is Paused
sensor:
- platform: ezo_pmp
current_volume_dosed:
name: Current Volume Dosed
total_volume_dosed:
name: Total Volume Dosed
absolute_total_volume_dosed:
name: Absolute Total Volume Dosed
pump_voltage:
name: Pump Voltage
last_volume_requested:
name: Last Volume Requested
max_flow_rate:
name: Max Flow Rate
text_sensor:
- platform: ezo_pmp
dosing_mode:
name: Dosing Mode
calibration_status:
name: Calibration Status
on_value:
- ezo_pmp.dose_volume:
id: hcl_pump
volume: 10
- ezo_pmp.dose_volume_over_time:
id: hcl_pump
volume: 10
duration: 2
- ezo_pmp.dose_with_constant_flow_rate:
id: hcl_pump
volume_per_minute: 10
duration: 2
- ezo_pmp.set_calibration_volume:
id: hcl_pump
volume: 10
- ezo_pmp.find: hcl_pump
- ezo_pmp.dose_continuously: hcl_pump
- ezo_pmp.clear_total_volume_dosed: hcl_pump
- ezo_pmp.clear_calibration: hcl_pump
- ezo_pmp.pause_dosing: hcl_pump
- ezo_pmp.stop_dosing: hcl_pump
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?
<<: !include common.yaml

View File

@ -1,61 +1,5 @@
i2c:
- id: i2c_ezo_pmp
scl: 5
sda: 4
substitutions:
scl_pin: GPIO5
sda_pin: GPIO4
ezo_pmp:
id: hcl_pump
update_interval: 1s
binary_sensor:
- platform: ezo_pmp
pump_state:
name: Pump State
is_paused:
name: Is Paused
sensor:
- platform: ezo_pmp
current_volume_dosed:
name: Current Volume Dosed
total_volume_dosed:
name: Total Volume Dosed
absolute_total_volume_dosed:
name: Absolute Total Volume Dosed
pump_voltage:
name: Pump Voltage
last_volume_requested:
name: Last Volume Requested
max_flow_rate:
name: Max Flow Rate
text_sensor:
- platform: ezo_pmp
dosing_mode:
name: Dosing Mode
calibration_status:
name: Calibration Status
on_value:
- ezo_pmp.dose_volume:
id: hcl_pump
volume: 10
- ezo_pmp.dose_volume_over_time:
id: hcl_pump
volume: 10
duration: 2
- ezo_pmp.dose_with_constant_flow_rate:
id: hcl_pump
volume_per_minute: 10
duration: 2
- ezo_pmp.set_calibration_volume:
id: hcl_pump
volume: 10
- ezo_pmp.find: hcl_pump
- ezo_pmp.dose_continuously: hcl_pump
- ezo_pmp.clear_total_volume_dosed: hcl_pump
- ezo_pmp.clear_calibration: hcl_pump
- ezo_pmp.pause_dosing: hcl_pump
- ezo_pmp.stop_dosing: hcl_pump
- ezo_pmp.arbitrary_command:
id: hcl_pump
command: D,?
<<: !include common.yaml