mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 16:47:57 +01:00
Add some components to the new testing framework (P) (#6213)
This commit is contained in:
parent
8eeb28d797
commit
057f473a4a
22
tests/components/partition/test.esp32-c3-idf.yaml
Normal file
22
tests/components/partition/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: part_leds
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
rmt_channel: 0
|
||||
- platform: partition
|
||||
name: Partition Light
|
||||
segments:
|
||||
- id: part_leds
|
||||
from: 0
|
||||
to: 0
|
||||
- id: part_leds
|
||||
from: 1
|
||||
to: 10
|
||||
- id: part_leds
|
||||
from: 20
|
||||
to: 25
|
||||
- single_light_id: part_leds
|
22
tests/components/partition/test.esp32-c3.yaml
Normal file
22
tests/components/partition/test.esp32-c3.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: part_leds
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
rmt_channel: 0
|
||||
- platform: partition
|
||||
name: Partition Light
|
||||
segments:
|
||||
- id: part_leds
|
||||
from: 0
|
||||
to: 0
|
||||
- id: part_leds
|
||||
from: 1
|
||||
to: 10
|
||||
- id: part_leds
|
||||
from: 20
|
||||
to: 25
|
||||
- single_light_id: part_leds
|
22
tests/components/partition/test.esp32-idf.yaml
Normal file
22
tests/components/partition/test.esp32-idf.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: part_leds
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
rmt_channel: 0
|
||||
- platform: partition
|
||||
name: Partition Light
|
||||
segments:
|
||||
- id: part_leds
|
||||
from: 0
|
||||
to: 0
|
||||
- id: part_leds
|
||||
from: 1
|
||||
to: 10
|
||||
- id: part_leds
|
||||
from: 20
|
||||
to: 25
|
||||
- single_light_id: part_leds
|
22
tests/components/partition/test.esp32.yaml
Normal file
22
tests/components/partition/test.esp32.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
light:
|
||||
- platform: fastled_clockless
|
||||
id: part_leds
|
||||
chipset: WS2812B
|
||||
pin: 2
|
||||
num_leds: 256
|
||||
rgb_order: GRB
|
||||
default_transition_length: 0s
|
||||
color_correct: [50%, 50%, 50%]
|
||||
- platform: partition
|
||||
name: Partition Light
|
||||
segments:
|
||||
- id: part_leds
|
||||
from: 0
|
||||
to: 0
|
||||
- id: part_leds
|
||||
from: 1
|
||||
to: 10
|
||||
- id: part_leds
|
||||
from: 20
|
||||
to: 25
|
||||
- single_light_id: part_leds
|
17
tests/components/pca6416a/test.esp32-c3-idf.yaml
Normal file
17
tests/components/pca6416a/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
17
tests/components/pca6416a/test.esp32-c3.yaml
Normal file
17
tests/components/pca6416a/test.esp32-c3.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
17
tests/components/pca6416a/test.esp32-idf.yaml
Normal file
17
tests/components/pca6416a/test.esp32-idf.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
17
tests/components/pca6416a/test.esp32.yaml
Normal file
17
tests/components/pca6416a/test.esp32.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
17
tests/components/pca6416a/test.esp8266.yaml
Normal file
17
tests/components/pca6416a/test.esp8266.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
17
tests/components/pca6416a/test.rp2040.yaml
Normal file
17
tests/components/pca6416a/test.rp2040.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
i2c:
|
||||
- id: i2c_pca6416a
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca6416a:
|
||||
- id: pca6416a_hub
|
||||
address: 0x21
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: PCA6416A Binary Sensor
|
||||
pin:
|
||||
pca6416a: pca6416a_hub
|
||||
number: 15
|
||||
mode: INPUT
|
||||
inverted: true
|
26
tests/components/pca9554/test.esp32-c3-idf.yaml
Normal file
26
tests/components/pca9554/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_pca9554
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
pin_count: 8
|
||||
address: 0x3F
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pca9554_input
|
||||
name: PCA9554 Binary Sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
id: pca9554_output
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
26
tests/components/pca9554/test.esp32-c3.yaml
Normal file
26
tests/components/pca9554/test.esp32-c3.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_pca9554
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
pin_count: 8
|
||||
address: 0x3F
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pca9554_input
|
||||
name: PCA9554 Binary Sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
id: pca9554_output
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
26
tests/components/pca9554/test.esp32-idf.yaml
Normal file
26
tests/components/pca9554/test.esp32-idf.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_pca9554
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
pin_count: 8
|
||||
address: 0x3F
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pca9554_input
|
||||
name: PCA9554 Binary Sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
id: pca9554_output
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
26
tests/components/pca9554/test.esp32.yaml
Normal file
26
tests/components/pca9554/test.esp32.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_pca9554
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
pin_count: 8
|
||||
address: 0x3F
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pca9554_input
|
||||
name: PCA9554 Binary Sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
id: pca9554_output
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
26
tests/components/pca9554/test.esp8266.yaml
Normal file
26
tests/components/pca9554/test.esp8266.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_pca9554
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
pin_count: 8
|
||||
address: 0x3F
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pca9554_input
|
||||
name: PCA9554 Binary Sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
id: pca9554_output
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
26
tests/components/pca9554/test.rp2040.yaml
Normal file
26
tests/components/pca9554/test.rp2040.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_pca9554
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
pin_count: 8
|
||||
address: 0x3F
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pca9554_input
|
||||
name: PCA9554 Binary Sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
id: pca9554_output
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
34
tests/components/pca9685/test.esp32-c3-idf.yaml
Normal file
34
tests/components/pca9685/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
i2c:
|
||||
- id: i2c_pca9685
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9685:
|
||||
frequency: 500
|
||||
address: 0x0
|
||||
|
||||
output:
|
||||
- platform: pca9685
|
||||
id: pca_0
|
||||
channel: 0
|
||||
- platform: pca9685
|
||||
id: pca_1
|
||||
channel: 1
|
||||
- platform: pca9685
|
||||
id: pca_2
|
||||
channel: 2
|
||||
- platform: pca9685
|
||||
id: pca_3
|
||||
channel: 3
|
||||
- platform: pca9685
|
||||
id: pca_4
|
||||
channel: 4
|
||||
- platform: pca9685
|
||||
id: pca_5
|
||||
channel: 5
|
||||
- platform: pca9685
|
||||
id: pca_6
|
||||
channel: 6
|
||||
- platform: pca9685
|
||||
id: pca_7
|
||||
channel: 7
|
34
tests/components/pca9685/test.esp32-c3.yaml
Normal file
34
tests/components/pca9685/test.esp32-c3.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
i2c:
|
||||
- id: i2c_pca9685
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9685:
|
||||
frequency: 500
|
||||
address: 0x0
|
||||
|
||||
output:
|
||||
- platform: pca9685
|
||||
id: pca_0
|
||||
channel: 0
|
||||
- platform: pca9685
|
||||
id: pca_1
|
||||
channel: 1
|
||||
- platform: pca9685
|
||||
id: pca_2
|
||||
channel: 2
|
||||
- platform: pca9685
|
||||
id: pca_3
|
||||
channel: 3
|
||||
- platform: pca9685
|
||||
id: pca_4
|
||||
channel: 4
|
||||
- platform: pca9685
|
||||
id: pca_5
|
||||
channel: 5
|
||||
- platform: pca9685
|
||||
id: pca_6
|
||||
channel: 6
|
||||
- platform: pca9685
|
||||
id: pca_7
|
||||
channel: 7
|
34
tests/components/pca9685/test.esp32-idf.yaml
Normal file
34
tests/components/pca9685/test.esp32-idf.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
i2c:
|
||||
- id: i2c_pca9685
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pca9685:
|
||||
frequency: 500
|
||||
address: 0x0
|
||||
|
||||
output:
|
||||
- platform: pca9685
|
||||
id: pca_0
|
||||
channel: 0
|
||||
- platform: pca9685
|
||||
id: pca_1
|
||||
channel: 1
|
||||
- platform: pca9685
|
||||
id: pca_2
|
||||
channel: 2
|
||||
- platform: pca9685
|
||||
id: pca_3
|
||||
channel: 3
|
||||
- platform: pca9685
|
||||
id: pca_4
|
||||
channel: 4
|
||||
- platform: pca9685
|
||||
id: pca_5
|
||||
channel: 5
|
||||
- platform: pca9685
|
||||
id: pca_6
|
||||
channel: 6
|
||||
- platform: pca9685
|
||||
id: pca_7
|
||||
channel: 7
|
34
tests/components/pca9685/test.esp32.yaml
Normal file
34
tests/components/pca9685/test.esp32.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
i2c:
|
||||
- id: i2c_pca9685
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pca9685:
|
||||
frequency: 500
|
||||
address: 0x0
|
||||
|
||||
output:
|
||||
- platform: pca9685
|
||||
id: pca_0
|
||||
channel: 0
|
||||
- platform: pca9685
|
||||
id: pca_1
|
||||
channel: 1
|
||||
- platform: pca9685
|
||||
id: pca_2
|
||||
channel: 2
|
||||
- platform: pca9685
|
||||
id: pca_3
|
||||
channel: 3
|
||||
- platform: pca9685
|
||||
id: pca_4
|
||||
channel: 4
|
||||
- platform: pca9685
|
||||
id: pca_5
|
||||
channel: 5
|
||||
- platform: pca9685
|
||||
id: pca_6
|
||||
channel: 6
|
||||
- platform: pca9685
|
||||
id: pca_7
|
||||
channel: 7
|
34
tests/components/pca9685/test.esp8266.yaml
Normal file
34
tests/components/pca9685/test.esp8266.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
i2c:
|
||||
- id: i2c_pca9685
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9685:
|
||||
frequency: 500
|
||||
address: 0x0
|
||||
|
||||
output:
|
||||
- platform: pca9685
|
||||
id: pca_0
|
||||
channel: 0
|
||||
- platform: pca9685
|
||||
id: pca_1
|
||||
channel: 1
|
||||
- platform: pca9685
|
||||
id: pca_2
|
||||
channel: 2
|
||||
- platform: pca9685
|
||||
id: pca_3
|
||||
channel: 3
|
||||
- platform: pca9685
|
||||
id: pca_4
|
||||
channel: 4
|
||||
- platform: pca9685
|
||||
id: pca_5
|
||||
channel: 5
|
||||
- platform: pca9685
|
||||
id: pca_6
|
||||
channel: 6
|
||||
- platform: pca9685
|
||||
id: pca_7
|
||||
channel: 7
|
26
tests/components/pca9685/test.rp2040.yaml
Normal file
26
tests/components/pca9685/test.rp2040.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
i2c:
|
||||
- id: i2c_pca9554
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pca9554:
|
||||
- id: pca9554_hub
|
||||
pin_count: 8
|
||||
address: 0x3F
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pca9554_input
|
||||
name: PCA9554 Binary Sensor
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
- platform: gpio
|
||||
id: pca9554_output
|
||||
pin:
|
||||
pca9554: pca9554_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
14
tests/components/pcd8544/test.esp32-c3-idf.yaml
Normal file
14
tests/components/pcd8544/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
spi:
|
||||
- id: spi_pcd8544
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: pcd8544
|
||||
cs_pin: 2
|
||||
dc_pin: 3
|
||||
reset_pin: 1
|
||||
contrast: 60
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
14
tests/components/pcd8544/test.esp32-c3.yaml
Normal file
14
tests/components/pcd8544/test.esp32-c3.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
spi:
|
||||
- id: spi_pcd8544
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: pcd8544
|
||||
cs_pin: 2
|
||||
dc_pin: 3
|
||||
reset_pin: 1
|
||||
contrast: 60
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
14
tests/components/pcd8544/test.esp32-idf.yaml
Normal file
14
tests/components/pcd8544/test.esp32-idf.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
spi:
|
||||
- id: spi_pcd8544
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: pcd8544
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 14
|
||||
contrast: 60
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
14
tests/components/pcd8544/test.esp32.yaml
Normal file
14
tests/components/pcd8544/test.esp32.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
spi:
|
||||
- id: spi_pcd8544
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: pcd8544
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 14
|
||||
contrast: 60
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
14
tests/components/pcd8544/test.esp8266.yaml
Normal file
14
tests/components/pcd8544/test.esp8266.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
spi:
|
||||
- id: spi_pcd8544
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
display:
|
||||
- platform: pcd8544
|
||||
cs_pin: 15
|
||||
dc_pin: 16
|
||||
reset_pin: 5
|
||||
contrast: 60
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
14
tests/components/pcd8544/test.rp2040.yaml
Normal file
14
tests/components/pcd8544/test.rp2040.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
spi:
|
||||
- id: spi_pcd8544
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
display:
|
||||
- platform: pcd8544
|
||||
cs_pin: 6
|
||||
dc_pin: 5
|
||||
reset_pin: 7
|
||||
contrast: 60
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
12
tests/components/pcf85063/test.esp32-c3-idf.yaml
Normal file
12
tests/components/pcf85063/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf85063.read_time
|
||||
- pcf85063.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf85063
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf85063
|
12
tests/components/pcf85063/test.esp32-c3.yaml
Normal file
12
tests/components/pcf85063/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf85063.read_time
|
||||
- pcf85063.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf85063
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf85063
|
12
tests/components/pcf85063/test.esp32-idf.yaml
Normal file
12
tests/components/pcf85063/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf85063.read_time
|
||||
- pcf85063.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf85063
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
time:
|
||||
- platform: pcf85063
|
12
tests/components/pcf85063/test.esp32.yaml
Normal file
12
tests/components/pcf85063/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf85063.read_time
|
||||
- pcf85063.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf85063
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
time:
|
||||
- platform: pcf85063
|
12
tests/components/pcf85063/test.esp8266.yaml
Normal file
12
tests/components/pcf85063/test.esp8266.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf85063.read_time
|
||||
- pcf85063.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf85063
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf85063
|
12
tests/components/pcf85063/test.rp2040.yaml
Normal file
12
tests/components/pcf85063/test.rp2040.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf85063.read_time
|
||||
- pcf85063.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf85063
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf85063
|
12
tests/components/pcf8563/test.esp32-c3-idf.yaml
Normal file
12
tests/components/pcf8563/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf8563.read_time
|
||||
- pcf8563.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf8563
|
12
tests/components/pcf8563/test.esp32-c3.yaml
Normal file
12
tests/components/pcf8563/test.esp32-c3.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf8563.read_time
|
||||
- pcf8563.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf8563
|
12
tests/components/pcf8563/test.esp32-idf.yaml
Normal file
12
tests/components/pcf8563/test.esp32-idf.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf8563.read_time
|
||||
- pcf8563.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
time:
|
||||
- platform: pcf8563
|
12
tests/components/pcf8563/test.esp32.yaml
Normal file
12
tests/components/pcf8563/test.esp32.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf8563.read_time
|
||||
- pcf8563.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
time:
|
||||
- platform: pcf8563
|
12
tests/components/pcf8563/test.esp8266.yaml
Normal file
12
tests/components/pcf8563/test.esp8266.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf8563.read_time
|
||||
- pcf8563.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf8563
|
12
tests/components/pcf8563/test.rp2040.yaml
Normal file
12
tests/components/pcf8563/test.rp2040.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
- pcf8563.read_time
|
||||
- pcf8563.write_time
|
||||
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
time:
|
||||
- platform: pcf8563
|
28
tests/components/pcf8574/test.esp32-c3-idf.yaml
Normal file
28
tests/components/pcf8574/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pcf8574:
|
||||
- id: pcf8574_hub
|
||||
address: 0x21
|
||||
pcf8575: false
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pcf8574_binary_sensor
|
||||
name: PCF Binary Sensor
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: pcf8574_output
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
28
tests/components/pcf8574/test.esp32-c3.yaml
Normal file
28
tests/components/pcf8574/test.esp32-c3.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pcf8574:
|
||||
- id: pcf8574_hub
|
||||
address: 0x21
|
||||
pcf8575: false
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pcf8574_binary_sensor
|
||||
name: PCF Binary Sensor
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: pcf8574_output
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
28
tests/components/pcf8574/test.esp32-idf.yaml
Normal file
28
tests/components/pcf8574/test.esp32-idf.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pcf8574:
|
||||
- id: pcf8574_hub
|
||||
address: 0x21
|
||||
pcf8575: false
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pcf8574_binary_sensor
|
||||
name: PCF Binary Sensor
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: pcf8574_output
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
28
tests/components/pcf8574/test.esp32.yaml
Normal file
28
tests/components/pcf8574/test.esp32.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pcf8574:
|
||||
- id: pcf8574_hub
|
||||
address: 0x21
|
||||
pcf8575: false
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pcf8574_binary_sensor
|
||||
name: PCF Binary Sensor
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: pcf8574_output
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
28
tests/components/pcf8574/test.esp8266.yaml
Normal file
28
tests/components/pcf8574/test.esp8266.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pcf8574:
|
||||
- id: pcf8574_hub
|
||||
address: 0x21
|
||||
pcf8575: false
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pcf8574_binary_sensor
|
||||
name: PCF Binary Sensor
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: pcf8574_output
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
28
tests/components/pcf8574/test.rp2040.yaml
Normal file
28
tests/components/pcf8574/test.rp2040.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_pcf8563
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pcf8574:
|
||||
- id: pcf8574_hub
|
||||
address: 0x21
|
||||
pcf8575: false
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: pcf8574_binary_sensor
|
||||
name: PCF Binary Sensor
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 1
|
||||
mode: INPUT
|
||||
inverted: true
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: pcf8574_output
|
||||
pin:
|
||||
pcf8574: pcf8574_hub
|
||||
number: 0
|
||||
mode: OUTPUT
|
||||
inverted: false
|
56
tests/components/pid/test.esp32-c3-idf.yaml
Normal file
56
tests/components/pid/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- climate.pid.autotune: pid_climate
|
||||
- climate.pid.autotune:
|
||||
id: pid_climate
|
||||
noiseband: 0.25
|
||||
positive_output: 25%
|
||||
negative_output: -25%
|
||||
- climate.pid.set_control_parameters:
|
||||
id: pid_climate
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
- climate.pid.reset_integral_term: pid_climate
|
||||
|
||||
output:
|
||||
- platform: slow_pwm
|
||||
pin: 4
|
||||
id: pid_slow_pwm
|
||||
period: 15s
|
||||
restart_cycle_on_state_change: false
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: pid
|
||||
id: pid_climate
|
||||
name: PID Climate Controller
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature: 21°C
|
||||
heat_output: pid_slow_pwm
|
||||
control_parameters:
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
max_integral: 0.0
|
||||
output_averaging_samples: 1
|
||||
derivative_averaging_samples: 1
|
||||
deadband_parameters:
|
||||
threshold_high: 0.4
|
||||
threshold_low: -2.0
|
||||
kp_multiplier: 0.0
|
||||
ki_multiplier: 0.0
|
||||
kd_multiplier: 0.0
|
||||
deadband_output_averaging_samples: 1
|
56
tests/components/pid/test.esp32-c3.yaml
Normal file
56
tests/components/pid/test.esp32-c3.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- climate.pid.autotune: pid_climate
|
||||
- climate.pid.autotune:
|
||||
id: pid_climate
|
||||
noiseband: 0.25
|
||||
positive_output: 25%
|
||||
negative_output: -25%
|
||||
- climate.pid.set_control_parameters:
|
||||
id: pid_climate
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
- climate.pid.reset_integral_term: pid_climate
|
||||
|
||||
output:
|
||||
- platform: slow_pwm
|
||||
pin: 4
|
||||
id: pid_slow_pwm
|
||||
period: 15s
|
||||
restart_cycle_on_state_change: false
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: pid
|
||||
id: pid_climate
|
||||
name: PID Climate Controller
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature: 21°C
|
||||
heat_output: pid_slow_pwm
|
||||
control_parameters:
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
max_integral: 0.0
|
||||
output_averaging_samples: 1
|
||||
derivative_averaging_samples: 1
|
||||
deadband_parameters:
|
||||
threshold_high: 0.4
|
||||
threshold_low: -2.0
|
||||
kp_multiplier: 0.0
|
||||
ki_multiplier: 0.0
|
||||
kd_multiplier: 0.0
|
||||
deadband_output_averaging_samples: 1
|
56
tests/components/pid/test.esp32-idf.yaml
Normal file
56
tests/components/pid/test.esp32-idf.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- climate.pid.autotune: pid_climate
|
||||
- climate.pid.autotune:
|
||||
id: pid_climate
|
||||
noiseband: 0.25
|
||||
positive_output: 25%
|
||||
negative_output: -25%
|
||||
- climate.pid.set_control_parameters:
|
||||
id: pid_climate
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
- climate.pid.reset_integral_term: pid_climate
|
||||
|
||||
output:
|
||||
- platform: slow_pwm
|
||||
pin: 4
|
||||
id: pid_slow_pwm
|
||||
period: 15s
|
||||
restart_cycle_on_state_change: false
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: pid
|
||||
id: pid_climate
|
||||
name: PID Climate Controller
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature: 21°C
|
||||
heat_output: pid_slow_pwm
|
||||
control_parameters:
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
max_integral: 0.0
|
||||
output_averaging_samples: 1
|
||||
derivative_averaging_samples: 1
|
||||
deadband_parameters:
|
||||
threshold_high: 0.4
|
||||
threshold_low: -2.0
|
||||
kp_multiplier: 0.0
|
||||
ki_multiplier: 0.0
|
||||
kd_multiplier: 0.0
|
||||
deadband_output_averaging_samples: 1
|
56
tests/components/pid/test.esp32.yaml
Normal file
56
tests/components/pid/test.esp32.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- climate.pid.autotune: pid_climate
|
||||
- climate.pid.autotune:
|
||||
id: pid_climate
|
||||
noiseband: 0.25
|
||||
positive_output: 25%
|
||||
negative_output: -25%
|
||||
- climate.pid.set_control_parameters:
|
||||
id: pid_climate
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
- climate.pid.reset_integral_term: pid_climate
|
||||
|
||||
output:
|
||||
- platform: slow_pwm
|
||||
pin: 4
|
||||
id: pid_slow_pwm
|
||||
period: 15s
|
||||
restart_cycle_on_state_change: false
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: pid
|
||||
id: pid_climate
|
||||
name: PID Climate Controller
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature: 21°C
|
||||
heat_output: pid_slow_pwm
|
||||
control_parameters:
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
max_integral: 0.0
|
||||
output_averaging_samples: 1
|
||||
derivative_averaging_samples: 1
|
||||
deadband_parameters:
|
||||
threshold_high: 0.4
|
||||
threshold_low: -2.0
|
||||
kp_multiplier: 0.0
|
||||
ki_multiplier: 0.0
|
||||
kd_multiplier: 0.0
|
||||
deadband_output_averaging_samples: 1
|
56
tests/components/pid/test.esp8266.yaml
Normal file
56
tests/components/pid/test.esp8266.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- climate.pid.autotune: pid_climate
|
||||
- climate.pid.autotune:
|
||||
id: pid_climate
|
||||
noiseband: 0.25
|
||||
positive_output: 25%
|
||||
negative_output: -25%
|
||||
- climate.pid.set_control_parameters:
|
||||
id: pid_climate
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
- climate.pid.reset_integral_term: pid_climate
|
||||
|
||||
output:
|
||||
- platform: slow_pwm
|
||||
pin: 4
|
||||
id: pid_slow_pwm
|
||||
period: 15s
|
||||
restart_cycle_on_state_change: false
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: pid
|
||||
id: pid_climate
|
||||
name: PID Climate Controller
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature: 21°C
|
||||
heat_output: pid_slow_pwm
|
||||
control_parameters:
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
max_integral: 0.0
|
||||
output_averaging_samples: 1
|
||||
derivative_averaging_samples: 1
|
||||
deadband_parameters:
|
||||
threshold_high: 0.4
|
||||
threshold_low: -2.0
|
||||
kp_multiplier: 0.0
|
||||
ki_multiplier: 0.0
|
||||
kd_multiplier: 0.0
|
||||
deadband_output_averaging_samples: 1
|
56
tests/components/pid/test.rp2040.yaml
Normal file
56
tests/components/pid/test.rp2040.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- climate.pid.autotune: pid_climate
|
||||
- climate.pid.autotune:
|
||||
id: pid_climate
|
||||
noiseband: 0.25
|
||||
positive_output: 25%
|
||||
negative_output: -25%
|
||||
- climate.pid.set_control_parameters:
|
||||
id: pid_climate
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
- climate.pid.reset_integral_term: pid_climate
|
||||
|
||||
output:
|
||||
- platform: slow_pwm
|
||||
pin: 4
|
||||
id: pid_slow_pwm
|
||||
period: 15s
|
||||
restart_cycle_on_state_change: false
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: template_sensor1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return 42.0;
|
||||
} else {
|
||||
return 0.0;
|
||||
}
|
||||
update_interval: 60s
|
||||
|
||||
climate:
|
||||
- platform: pid
|
||||
id: pid_climate
|
||||
name: PID Climate Controller
|
||||
sensor: template_sensor1
|
||||
humidity_sensor: template_sensor1
|
||||
default_target_temperature: 21°C
|
||||
heat_output: pid_slow_pwm
|
||||
control_parameters:
|
||||
kp: 0.0
|
||||
ki: 0.0
|
||||
kd: 0.0
|
||||
max_integral: 0.0
|
||||
output_averaging_samples: 1
|
||||
derivative_averaging_samples: 1
|
||||
deadband_parameters:
|
||||
threshold_high: 0.4
|
||||
threshold_low: -2.0
|
||||
kp_multiplier: 0.0
|
||||
ki_multiplier: 0.0
|
||||
kd_multiplier: 0.0
|
||||
deadband_output_averaging_samples: 1
|
247
tests/components/pipsolar/test.esp32-c3-idf.yaml
Normal file
247
tests/components/pipsolar/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,247 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.pipsolar.set_level:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
value: 48.0
|
||||
|
||||
uart:
|
||||
- id: uart_pipsolar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
pipsolar:
|
||||
id: inverter0
|
||||
|
||||
binary_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
add_sbu_priority_version:
|
||||
id: inverter0_add_sbu_priority_version
|
||||
name: inverter0_add_sbu_priority_version
|
||||
configuration_status:
|
||||
id: inverter0_configuration_status
|
||||
name: inverter0_configuration_status
|
||||
scc_firmware_version:
|
||||
id: inverter0_scc_firmware_version
|
||||
name: inverter0_scc_firmware_version
|
||||
load_status:
|
||||
id: inverter0_load_status
|
||||
name: inverter0_load_status
|
||||
battery_voltage_to_steady_while_charging:
|
||||
id: inverter0_battery_voltage_to_steady_while_charging
|
||||
name: inverter0_battery_voltage_to_steady_while_charging
|
||||
charging_status:
|
||||
id: inverter0_charging_status
|
||||
name: inverter0_charging_status
|
||||
scc_charging_status:
|
||||
id: inverter0_scc_charging_status
|
||||
name: inverter0_scc_charging_status
|
||||
ac_charging_status:
|
||||
id: inverter0_ac_charging_status
|
||||
name: inverter0_ac_charging_status
|
||||
charging_to_floating_mode:
|
||||
id: inverter0_charging_to_floating_mode
|
||||
name: inverter0_charging_to_floating_mode
|
||||
switch_on:
|
||||
id: inverter0_switch_on
|
||||
name: inverter0_switch_on
|
||||
dustproof_installed:
|
||||
id: inverter0_dustproof_installed
|
||||
name: inverter0_dustproof_installed
|
||||
silence_buzzer_open_buzzer:
|
||||
id: inverter0_silence_buzzer_open_buzzer
|
||||
name: inverter0_silence_buzzer_open_buzzer
|
||||
overload_bypass_function:
|
||||
id: inverter0_overload_bypass_function
|
||||
name: inverter0_overload_bypass_function
|
||||
lcd_escape_to_default:
|
||||
id: inverter0_lcd_escape_to_default
|
||||
name: inverter0_lcd_escape_to_default
|
||||
overload_restart_function:
|
||||
id: inverter0_overload_restart_function
|
||||
name: inverter0_overload_restart_function
|
||||
over_temperature_restart_function:
|
||||
id: inverter0_over_temperature_restart_function
|
||||
name: inverter0_over_temperature_restart_function
|
||||
backlight_on:
|
||||
id: inverter0_backlight_on
|
||||
name: inverter0_backlight_on
|
||||
|
||||
output:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
|
||||
sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
grid_rating_voltage:
|
||||
id: inverter0_grid_rating_voltage
|
||||
name: inverter0_grid_rating_voltage
|
||||
grid_rating_current:
|
||||
id: inverter0_grid_rating_current
|
||||
name: inverter0_grid_rating_current
|
||||
ac_output_rating_voltage:
|
||||
id: inverter0_ac_output_rating_voltage
|
||||
name: inverter0_ac_output_rating_voltage
|
||||
ac_output_rating_frequency:
|
||||
id: inverter0_ac_output_rating_frequency
|
||||
name: inverter0_ac_output_rating_frequency
|
||||
ac_output_rating_current:
|
||||
id: inverter0_ac_output_rating_current
|
||||
name: inverter0_ac_output_rating_current
|
||||
ac_output_rating_apparent_power:
|
||||
id: inverter0_ac_output_rating_apparent_power
|
||||
name: inverter0_ac_output_rating_apparent_power
|
||||
ac_output_rating_active_power:
|
||||
id: inverter0_ac_output_rating_active_power
|
||||
name: inverter0_ac_output_rating_active_power
|
||||
battery_rating_voltage:
|
||||
id: inverter0_battery_rating_voltage
|
||||
name: inverter0_battery_rating_voltage
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage
|
||||
name: inverter0_battery_recharge_voltage
|
||||
battery_under_voltage:
|
||||
id: inverter0_battery_under_voltage
|
||||
name: inverter0_battery_under_voltage
|
||||
battery_bulk_voltage:
|
||||
id: inverter0_battery_bulk_voltage
|
||||
name: inverter0_battery_bulk_voltage
|
||||
battery_float_voltage:
|
||||
id: inverter0_battery_float_voltage
|
||||
name: inverter0_battery_float_voltage
|
||||
battery_type:
|
||||
id: inverter0_battery_type
|
||||
name: inverter0_battery_type
|
||||
current_max_ac_charging_current:
|
||||
id: inverter0_current_max_ac_charging_current
|
||||
name: inverter0_current_max_ac_charging_current
|
||||
current_max_charging_current:
|
||||
id: inverter0_current_max_charging_current
|
||||
name: inverter0_current_max_charging_current
|
||||
input_voltage_range:
|
||||
id: inverter0_input_voltage_range
|
||||
name: inverter0_input_voltage_range
|
||||
output_source_priority:
|
||||
id: inverter0_output_source_priority
|
||||
name: inverter0_output_source_priority
|
||||
charger_source_priority:
|
||||
id: inverter0_charger_source_priority
|
||||
name: inverter0_charger_source_priority
|
||||
parallel_max_num:
|
||||
id: inverter0_parallel_max_num
|
||||
name: inverter0_parallel_max_num
|
||||
machine_type:
|
||||
id: inverter0_machine_type
|
||||
name: inverter0_machine_type
|
||||
topology:
|
||||
id: inverter0_topology
|
||||
name: inverter0_topology
|
||||
output_mode:
|
||||
id: inverter0_output_mode
|
||||
name: inverter0_output_mode
|
||||
battery_redischarge_voltage:
|
||||
id: inverter0_battery_redischarge_voltage
|
||||
name: inverter0_battery_redischarge_voltage
|
||||
pv_ok_condition_for_parallel:
|
||||
id: inverter0_pv_ok_condition_for_parallel
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
id: inverter0_pv_power_balance
|
||||
name: inverter0_pv_power_balance
|
||||
grid_voltage:
|
||||
id: inverter0_grid_voltage
|
||||
name: inverter0_grid_voltage
|
||||
grid_frequency:
|
||||
id: inverter0_grid_frequency
|
||||
name: inverter0_grid_frequency
|
||||
ac_output_voltage:
|
||||
id: inverter0_ac_output_voltage
|
||||
name: inverter0_ac_output_voltage
|
||||
ac_output_frequency:
|
||||
id: inverter0_ac_output_frequency
|
||||
name: inverter0_ac_output_frequency
|
||||
ac_output_apparent_power:
|
||||
id: inverter0_ac_output_apparent_power
|
||||
name: inverter0_ac_output_apparent_power
|
||||
ac_output_active_power:
|
||||
id: inverter0_ac_output_active_power
|
||||
name: inverter0_ac_output_active_power
|
||||
output_load_percent:
|
||||
id: inverter0_output_load_percent
|
||||
name: inverter0_output_load_percent
|
||||
bus_voltage:
|
||||
id: inverter0_bus_voltage
|
||||
name: inverter0_bus_voltage
|
||||
battery_voltage:
|
||||
id: inverter0_battery_voltage
|
||||
name: inverter0_battery_voltage
|
||||
battery_charging_current:
|
||||
id: inverter0_battery_charging_current
|
||||
name: inverter0_battery_charging_current
|
||||
battery_capacity_percent:
|
||||
id: inverter0_battery_capacity_percent
|
||||
name: inverter0_battery_capacity_percent
|
||||
inverter_heat_sink_temperature:
|
||||
id: inverter0_inverter_heat_sink_temperature
|
||||
name: inverter0_inverter_heat_sink_temperature
|
||||
pv_input_current_for_battery:
|
||||
id: inverter0_pv_input_current_for_battery
|
||||
name: inverter0_pv_input_current_for_battery
|
||||
pv_input_voltage:
|
||||
id: inverter0_pv_input_voltage
|
||||
name: inverter0_pv_input_voltage
|
||||
battery_voltage_scc:
|
||||
id: inverter0_battery_voltage_scc
|
||||
name: inverter0_battery_voltage_scc
|
||||
battery_discharge_current:
|
||||
id: inverter0_battery_discharge_current
|
||||
name: inverter0_battery_discharge_current
|
||||
battery_voltage_offset_for_fans_on:
|
||||
id: inverter0_battery_voltage_offset_for_fans_on
|
||||
name: inverter0_battery_voltage_offset_for_fans_on
|
||||
eeprom_version:
|
||||
id: inverter0_eeprom_version
|
||||
name: inverter0_eeprom_version
|
||||
pv_charging_power:
|
||||
id: inverter0_pv_charging_power
|
||||
name: inverter0_pv_charging_power
|
||||
|
||||
switch:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
output_source_priority_utility:
|
||||
name: inverter0_output_source_priority_utility
|
||||
output_source_priority_solar:
|
||||
name: inverter0_output_source_priority_solar
|
||||
output_source_priority_battery:
|
||||
name: inverter0_output_source_priority_battery
|
||||
input_voltage_range:
|
||||
name: inverter0_input_voltage_range
|
||||
pv_ok_condition_for_parallel:
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
name: inverter0_pv_power_balance
|
||||
|
||||
text_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
device_mode:
|
||||
id: inverter0_device_mode
|
||||
name: inverter0_device_mode
|
||||
last_qpigs:
|
||||
id: inverter0_last_qpigs
|
||||
name: inverter0_last_qpigs
|
||||
last_qpiri:
|
||||
id: inverter0_last_qpiri
|
||||
name: inverter0_last_qpiri
|
||||
last_qmod:
|
||||
id: inverter0_last_qmod
|
||||
name: inverter0_last_qmod
|
||||
last_qflag:
|
||||
id: inverter0_last_qflag
|
||||
name: inverter0_last_qflag
|
247
tests/components/pipsolar/test.esp32-c3.yaml
Normal file
247
tests/components/pipsolar/test.esp32-c3.yaml
Normal file
@ -0,0 +1,247 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.pipsolar.set_level:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
value: 48.0
|
||||
|
||||
uart:
|
||||
- id: uart_pipsolar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
pipsolar:
|
||||
id: inverter0
|
||||
|
||||
binary_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
add_sbu_priority_version:
|
||||
id: inverter0_add_sbu_priority_version
|
||||
name: inverter0_add_sbu_priority_version
|
||||
configuration_status:
|
||||
id: inverter0_configuration_status
|
||||
name: inverter0_configuration_status
|
||||
scc_firmware_version:
|
||||
id: inverter0_scc_firmware_version
|
||||
name: inverter0_scc_firmware_version
|
||||
load_status:
|
||||
id: inverter0_load_status
|
||||
name: inverter0_load_status
|
||||
battery_voltage_to_steady_while_charging:
|
||||
id: inverter0_battery_voltage_to_steady_while_charging
|
||||
name: inverter0_battery_voltage_to_steady_while_charging
|
||||
charging_status:
|
||||
id: inverter0_charging_status
|
||||
name: inverter0_charging_status
|
||||
scc_charging_status:
|
||||
id: inverter0_scc_charging_status
|
||||
name: inverter0_scc_charging_status
|
||||
ac_charging_status:
|
||||
id: inverter0_ac_charging_status
|
||||
name: inverter0_ac_charging_status
|
||||
charging_to_floating_mode:
|
||||
id: inverter0_charging_to_floating_mode
|
||||
name: inverter0_charging_to_floating_mode
|
||||
switch_on:
|
||||
id: inverter0_switch_on
|
||||
name: inverter0_switch_on
|
||||
dustproof_installed:
|
||||
id: inverter0_dustproof_installed
|
||||
name: inverter0_dustproof_installed
|
||||
silence_buzzer_open_buzzer:
|
||||
id: inverter0_silence_buzzer_open_buzzer
|
||||
name: inverter0_silence_buzzer_open_buzzer
|
||||
overload_bypass_function:
|
||||
id: inverter0_overload_bypass_function
|
||||
name: inverter0_overload_bypass_function
|
||||
lcd_escape_to_default:
|
||||
id: inverter0_lcd_escape_to_default
|
||||
name: inverter0_lcd_escape_to_default
|
||||
overload_restart_function:
|
||||
id: inverter0_overload_restart_function
|
||||
name: inverter0_overload_restart_function
|
||||
over_temperature_restart_function:
|
||||
id: inverter0_over_temperature_restart_function
|
||||
name: inverter0_over_temperature_restart_function
|
||||
backlight_on:
|
||||
id: inverter0_backlight_on
|
||||
name: inverter0_backlight_on
|
||||
|
||||
output:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
|
||||
sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
grid_rating_voltage:
|
||||
id: inverter0_grid_rating_voltage
|
||||
name: inverter0_grid_rating_voltage
|
||||
grid_rating_current:
|
||||
id: inverter0_grid_rating_current
|
||||
name: inverter0_grid_rating_current
|
||||
ac_output_rating_voltage:
|
||||
id: inverter0_ac_output_rating_voltage
|
||||
name: inverter0_ac_output_rating_voltage
|
||||
ac_output_rating_frequency:
|
||||
id: inverter0_ac_output_rating_frequency
|
||||
name: inverter0_ac_output_rating_frequency
|
||||
ac_output_rating_current:
|
||||
id: inverter0_ac_output_rating_current
|
||||
name: inverter0_ac_output_rating_current
|
||||
ac_output_rating_apparent_power:
|
||||
id: inverter0_ac_output_rating_apparent_power
|
||||
name: inverter0_ac_output_rating_apparent_power
|
||||
ac_output_rating_active_power:
|
||||
id: inverter0_ac_output_rating_active_power
|
||||
name: inverter0_ac_output_rating_active_power
|
||||
battery_rating_voltage:
|
||||
id: inverter0_battery_rating_voltage
|
||||
name: inverter0_battery_rating_voltage
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage
|
||||
name: inverter0_battery_recharge_voltage
|
||||
battery_under_voltage:
|
||||
id: inverter0_battery_under_voltage
|
||||
name: inverter0_battery_under_voltage
|
||||
battery_bulk_voltage:
|
||||
id: inverter0_battery_bulk_voltage
|
||||
name: inverter0_battery_bulk_voltage
|
||||
battery_float_voltage:
|
||||
id: inverter0_battery_float_voltage
|
||||
name: inverter0_battery_float_voltage
|
||||
battery_type:
|
||||
id: inverter0_battery_type
|
||||
name: inverter0_battery_type
|
||||
current_max_ac_charging_current:
|
||||
id: inverter0_current_max_ac_charging_current
|
||||
name: inverter0_current_max_ac_charging_current
|
||||
current_max_charging_current:
|
||||
id: inverter0_current_max_charging_current
|
||||
name: inverter0_current_max_charging_current
|
||||
input_voltage_range:
|
||||
id: inverter0_input_voltage_range
|
||||
name: inverter0_input_voltage_range
|
||||
output_source_priority:
|
||||
id: inverter0_output_source_priority
|
||||
name: inverter0_output_source_priority
|
||||
charger_source_priority:
|
||||
id: inverter0_charger_source_priority
|
||||
name: inverter0_charger_source_priority
|
||||
parallel_max_num:
|
||||
id: inverter0_parallel_max_num
|
||||
name: inverter0_parallel_max_num
|
||||
machine_type:
|
||||
id: inverter0_machine_type
|
||||
name: inverter0_machine_type
|
||||
topology:
|
||||
id: inverter0_topology
|
||||
name: inverter0_topology
|
||||
output_mode:
|
||||
id: inverter0_output_mode
|
||||
name: inverter0_output_mode
|
||||
battery_redischarge_voltage:
|
||||
id: inverter0_battery_redischarge_voltage
|
||||
name: inverter0_battery_redischarge_voltage
|
||||
pv_ok_condition_for_parallel:
|
||||
id: inverter0_pv_ok_condition_for_parallel
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
id: inverter0_pv_power_balance
|
||||
name: inverter0_pv_power_balance
|
||||
grid_voltage:
|
||||
id: inverter0_grid_voltage
|
||||
name: inverter0_grid_voltage
|
||||
grid_frequency:
|
||||
id: inverter0_grid_frequency
|
||||
name: inverter0_grid_frequency
|
||||
ac_output_voltage:
|
||||
id: inverter0_ac_output_voltage
|
||||
name: inverter0_ac_output_voltage
|
||||
ac_output_frequency:
|
||||
id: inverter0_ac_output_frequency
|
||||
name: inverter0_ac_output_frequency
|
||||
ac_output_apparent_power:
|
||||
id: inverter0_ac_output_apparent_power
|
||||
name: inverter0_ac_output_apparent_power
|
||||
ac_output_active_power:
|
||||
id: inverter0_ac_output_active_power
|
||||
name: inverter0_ac_output_active_power
|
||||
output_load_percent:
|
||||
id: inverter0_output_load_percent
|
||||
name: inverter0_output_load_percent
|
||||
bus_voltage:
|
||||
id: inverter0_bus_voltage
|
||||
name: inverter0_bus_voltage
|
||||
battery_voltage:
|
||||
id: inverter0_battery_voltage
|
||||
name: inverter0_battery_voltage
|
||||
battery_charging_current:
|
||||
id: inverter0_battery_charging_current
|
||||
name: inverter0_battery_charging_current
|
||||
battery_capacity_percent:
|
||||
id: inverter0_battery_capacity_percent
|
||||
name: inverter0_battery_capacity_percent
|
||||
inverter_heat_sink_temperature:
|
||||
id: inverter0_inverter_heat_sink_temperature
|
||||
name: inverter0_inverter_heat_sink_temperature
|
||||
pv_input_current_for_battery:
|
||||
id: inverter0_pv_input_current_for_battery
|
||||
name: inverter0_pv_input_current_for_battery
|
||||
pv_input_voltage:
|
||||
id: inverter0_pv_input_voltage
|
||||
name: inverter0_pv_input_voltage
|
||||
battery_voltage_scc:
|
||||
id: inverter0_battery_voltage_scc
|
||||
name: inverter0_battery_voltage_scc
|
||||
battery_discharge_current:
|
||||
id: inverter0_battery_discharge_current
|
||||
name: inverter0_battery_discharge_current
|
||||
battery_voltage_offset_for_fans_on:
|
||||
id: inverter0_battery_voltage_offset_for_fans_on
|
||||
name: inverter0_battery_voltage_offset_for_fans_on
|
||||
eeprom_version:
|
||||
id: inverter0_eeprom_version
|
||||
name: inverter0_eeprom_version
|
||||
pv_charging_power:
|
||||
id: inverter0_pv_charging_power
|
||||
name: inverter0_pv_charging_power
|
||||
|
||||
switch:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
output_source_priority_utility:
|
||||
name: inverter0_output_source_priority_utility
|
||||
output_source_priority_solar:
|
||||
name: inverter0_output_source_priority_solar
|
||||
output_source_priority_battery:
|
||||
name: inverter0_output_source_priority_battery
|
||||
input_voltage_range:
|
||||
name: inverter0_input_voltage_range
|
||||
pv_ok_condition_for_parallel:
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
name: inverter0_pv_power_balance
|
||||
|
||||
text_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
device_mode:
|
||||
id: inverter0_device_mode
|
||||
name: inverter0_device_mode
|
||||
last_qpigs:
|
||||
id: inverter0_last_qpigs
|
||||
name: inverter0_last_qpigs
|
||||
last_qpiri:
|
||||
id: inverter0_last_qpiri
|
||||
name: inverter0_last_qpiri
|
||||
last_qmod:
|
||||
id: inverter0_last_qmod
|
||||
name: inverter0_last_qmod
|
||||
last_qflag:
|
||||
id: inverter0_last_qflag
|
||||
name: inverter0_last_qflag
|
247
tests/components/pipsolar/test.esp32-idf.yaml
Normal file
247
tests/components/pipsolar/test.esp32-idf.yaml
Normal file
@ -0,0 +1,247 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.pipsolar.set_level:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
value: 48.0
|
||||
|
||||
uart:
|
||||
- id: uart_pipsolar
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 115200
|
||||
|
||||
pipsolar:
|
||||
id: inverter0
|
||||
|
||||
binary_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
add_sbu_priority_version:
|
||||
id: inverter0_add_sbu_priority_version
|
||||
name: inverter0_add_sbu_priority_version
|
||||
configuration_status:
|
||||
id: inverter0_configuration_status
|
||||
name: inverter0_configuration_status
|
||||
scc_firmware_version:
|
||||
id: inverter0_scc_firmware_version
|
||||
name: inverter0_scc_firmware_version
|
||||
load_status:
|
||||
id: inverter0_load_status
|
||||
name: inverter0_load_status
|
||||
battery_voltage_to_steady_while_charging:
|
||||
id: inverter0_battery_voltage_to_steady_while_charging
|
||||
name: inverter0_battery_voltage_to_steady_while_charging
|
||||
charging_status:
|
||||
id: inverter0_charging_status
|
||||
name: inverter0_charging_status
|
||||
scc_charging_status:
|
||||
id: inverter0_scc_charging_status
|
||||
name: inverter0_scc_charging_status
|
||||
ac_charging_status:
|
||||
id: inverter0_ac_charging_status
|
||||
name: inverter0_ac_charging_status
|
||||
charging_to_floating_mode:
|
||||
id: inverter0_charging_to_floating_mode
|
||||
name: inverter0_charging_to_floating_mode
|
||||
switch_on:
|
||||
id: inverter0_switch_on
|
||||
name: inverter0_switch_on
|
||||
dustproof_installed:
|
||||
id: inverter0_dustproof_installed
|
||||
name: inverter0_dustproof_installed
|
||||
silence_buzzer_open_buzzer:
|
||||
id: inverter0_silence_buzzer_open_buzzer
|
||||
name: inverter0_silence_buzzer_open_buzzer
|
||||
overload_bypass_function:
|
||||
id: inverter0_overload_bypass_function
|
||||
name: inverter0_overload_bypass_function
|
||||
lcd_escape_to_default:
|
||||
id: inverter0_lcd_escape_to_default
|
||||
name: inverter0_lcd_escape_to_default
|
||||
overload_restart_function:
|
||||
id: inverter0_overload_restart_function
|
||||
name: inverter0_overload_restart_function
|
||||
over_temperature_restart_function:
|
||||
id: inverter0_over_temperature_restart_function
|
||||
name: inverter0_over_temperature_restart_function
|
||||
backlight_on:
|
||||
id: inverter0_backlight_on
|
||||
name: inverter0_backlight_on
|
||||
|
||||
output:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
|
||||
sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
grid_rating_voltage:
|
||||
id: inverter0_grid_rating_voltage
|
||||
name: inverter0_grid_rating_voltage
|
||||
grid_rating_current:
|
||||
id: inverter0_grid_rating_current
|
||||
name: inverter0_grid_rating_current
|
||||
ac_output_rating_voltage:
|
||||
id: inverter0_ac_output_rating_voltage
|
||||
name: inverter0_ac_output_rating_voltage
|
||||
ac_output_rating_frequency:
|
||||
id: inverter0_ac_output_rating_frequency
|
||||
name: inverter0_ac_output_rating_frequency
|
||||
ac_output_rating_current:
|
||||
id: inverter0_ac_output_rating_current
|
||||
name: inverter0_ac_output_rating_current
|
||||
ac_output_rating_apparent_power:
|
||||
id: inverter0_ac_output_rating_apparent_power
|
||||
name: inverter0_ac_output_rating_apparent_power
|
||||
ac_output_rating_active_power:
|
||||
id: inverter0_ac_output_rating_active_power
|
||||
name: inverter0_ac_output_rating_active_power
|
||||
battery_rating_voltage:
|
||||
id: inverter0_battery_rating_voltage
|
||||
name: inverter0_battery_rating_voltage
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage
|
||||
name: inverter0_battery_recharge_voltage
|
||||
battery_under_voltage:
|
||||
id: inverter0_battery_under_voltage
|
||||
name: inverter0_battery_under_voltage
|
||||
battery_bulk_voltage:
|
||||
id: inverter0_battery_bulk_voltage
|
||||
name: inverter0_battery_bulk_voltage
|
||||
battery_float_voltage:
|
||||
id: inverter0_battery_float_voltage
|
||||
name: inverter0_battery_float_voltage
|
||||
battery_type:
|
||||
id: inverter0_battery_type
|
||||
name: inverter0_battery_type
|
||||
current_max_ac_charging_current:
|
||||
id: inverter0_current_max_ac_charging_current
|
||||
name: inverter0_current_max_ac_charging_current
|
||||
current_max_charging_current:
|
||||
id: inverter0_current_max_charging_current
|
||||
name: inverter0_current_max_charging_current
|
||||
input_voltage_range:
|
||||
id: inverter0_input_voltage_range
|
||||
name: inverter0_input_voltage_range
|
||||
output_source_priority:
|
||||
id: inverter0_output_source_priority
|
||||
name: inverter0_output_source_priority
|
||||
charger_source_priority:
|
||||
id: inverter0_charger_source_priority
|
||||
name: inverter0_charger_source_priority
|
||||
parallel_max_num:
|
||||
id: inverter0_parallel_max_num
|
||||
name: inverter0_parallel_max_num
|
||||
machine_type:
|
||||
id: inverter0_machine_type
|
||||
name: inverter0_machine_type
|
||||
topology:
|
||||
id: inverter0_topology
|
||||
name: inverter0_topology
|
||||
output_mode:
|
||||
id: inverter0_output_mode
|
||||
name: inverter0_output_mode
|
||||
battery_redischarge_voltage:
|
||||
id: inverter0_battery_redischarge_voltage
|
||||
name: inverter0_battery_redischarge_voltage
|
||||
pv_ok_condition_for_parallel:
|
||||
id: inverter0_pv_ok_condition_for_parallel
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
id: inverter0_pv_power_balance
|
||||
name: inverter0_pv_power_balance
|
||||
grid_voltage:
|
||||
id: inverter0_grid_voltage
|
||||
name: inverter0_grid_voltage
|
||||
grid_frequency:
|
||||
id: inverter0_grid_frequency
|
||||
name: inverter0_grid_frequency
|
||||
ac_output_voltage:
|
||||
id: inverter0_ac_output_voltage
|
||||
name: inverter0_ac_output_voltage
|
||||
ac_output_frequency:
|
||||
id: inverter0_ac_output_frequency
|
||||
name: inverter0_ac_output_frequency
|
||||
ac_output_apparent_power:
|
||||
id: inverter0_ac_output_apparent_power
|
||||
name: inverter0_ac_output_apparent_power
|
||||
ac_output_active_power:
|
||||
id: inverter0_ac_output_active_power
|
||||
name: inverter0_ac_output_active_power
|
||||
output_load_percent:
|
||||
id: inverter0_output_load_percent
|
||||
name: inverter0_output_load_percent
|
||||
bus_voltage:
|
||||
id: inverter0_bus_voltage
|
||||
name: inverter0_bus_voltage
|
||||
battery_voltage:
|
||||
id: inverter0_battery_voltage
|
||||
name: inverter0_battery_voltage
|
||||
battery_charging_current:
|
||||
id: inverter0_battery_charging_current
|
||||
name: inverter0_battery_charging_current
|
||||
battery_capacity_percent:
|
||||
id: inverter0_battery_capacity_percent
|
||||
name: inverter0_battery_capacity_percent
|
||||
inverter_heat_sink_temperature:
|
||||
id: inverter0_inverter_heat_sink_temperature
|
||||
name: inverter0_inverter_heat_sink_temperature
|
||||
pv_input_current_for_battery:
|
||||
id: inverter0_pv_input_current_for_battery
|
||||
name: inverter0_pv_input_current_for_battery
|
||||
pv_input_voltage:
|
||||
id: inverter0_pv_input_voltage
|
||||
name: inverter0_pv_input_voltage
|
||||
battery_voltage_scc:
|
||||
id: inverter0_battery_voltage_scc
|
||||
name: inverter0_battery_voltage_scc
|
||||
battery_discharge_current:
|
||||
id: inverter0_battery_discharge_current
|
||||
name: inverter0_battery_discharge_current
|
||||
battery_voltage_offset_for_fans_on:
|
||||
id: inverter0_battery_voltage_offset_for_fans_on
|
||||
name: inverter0_battery_voltage_offset_for_fans_on
|
||||
eeprom_version:
|
||||
id: inverter0_eeprom_version
|
||||
name: inverter0_eeprom_version
|
||||
pv_charging_power:
|
||||
id: inverter0_pv_charging_power
|
||||
name: inverter0_pv_charging_power
|
||||
|
||||
switch:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
output_source_priority_utility:
|
||||
name: inverter0_output_source_priority_utility
|
||||
output_source_priority_solar:
|
||||
name: inverter0_output_source_priority_solar
|
||||
output_source_priority_battery:
|
||||
name: inverter0_output_source_priority_battery
|
||||
input_voltage_range:
|
||||
name: inverter0_input_voltage_range
|
||||
pv_ok_condition_for_parallel:
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
name: inverter0_pv_power_balance
|
||||
|
||||
text_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
device_mode:
|
||||
id: inverter0_device_mode
|
||||
name: inverter0_device_mode
|
||||
last_qpigs:
|
||||
id: inverter0_last_qpigs
|
||||
name: inverter0_last_qpigs
|
||||
last_qpiri:
|
||||
id: inverter0_last_qpiri
|
||||
name: inverter0_last_qpiri
|
||||
last_qmod:
|
||||
id: inverter0_last_qmod
|
||||
name: inverter0_last_qmod
|
||||
last_qflag:
|
||||
id: inverter0_last_qflag
|
||||
name: inverter0_last_qflag
|
247
tests/components/pipsolar/test.esp32.yaml
Normal file
247
tests/components/pipsolar/test.esp32.yaml
Normal file
@ -0,0 +1,247 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.pipsolar.set_level:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
value: 48.0
|
||||
|
||||
uart:
|
||||
- id: uart_pipsolar
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 115200
|
||||
|
||||
pipsolar:
|
||||
id: inverter0
|
||||
|
||||
binary_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
add_sbu_priority_version:
|
||||
id: inverter0_add_sbu_priority_version
|
||||
name: inverter0_add_sbu_priority_version
|
||||
configuration_status:
|
||||
id: inverter0_configuration_status
|
||||
name: inverter0_configuration_status
|
||||
scc_firmware_version:
|
||||
id: inverter0_scc_firmware_version
|
||||
name: inverter0_scc_firmware_version
|
||||
load_status:
|
||||
id: inverter0_load_status
|
||||
name: inverter0_load_status
|
||||
battery_voltage_to_steady_while_charging:
|
||||
id: inverter0_battery_voltage_to_steady_while_charging
|
||||
name: inverter0_battery_voltage_to_steady_while_charging
|
||||
charging_status:
|
||||
id: inverter0_charging_status
|
||||
name: inverter0_charging_status
|
||||
scc_charging_status:
|
||||
id: inverter0_scc_charging_status
|
||||
name: inverter0_scc_charging_status
|
||||
ac_charging_status:
|
||||
id: inverter0_ac_charging_status
|
||||
name: inverter0_ac_charging_status
|
||||
charging_to_floating_mode:
|
||||
id: inverter0_charging_to_floating_mode
|
||||
name: inverter0_charging_to_floating_mode
|
||||
switch_on:
|
||||
id: inverter0_switch_on
|
||||
name: inverter0_switch_on
|
||||
dustproof_installed:
|
||||
id: inverter0_dustproof_installed
|
||||
name: inverter0_dustproof_installed
|
||||
silence_buzzer_open_buzzer:
|
||||
id: inverter0_silence_buzzer_open_buzzer
|
||||
name: inverter0_silence_buzzer_open_buzzer
|
||||
overload_bypass_function:
|
||||
id: inverter0_overload_bypass_function
|
||||
name: inverter0_overload_bypass_function
|
||||
lcd_escape_to_default:
|
||||
id: inverter0_lcd_escape_to_default
|
||||
name: inverter0_lcd_escape_to_default
|
||||
overload_restart_function:
|
||||
id: inverter0_overload_restart_function
|
||||
name: inverter0_overload_restart_function
|
||||
over_temperature_restart_function:
|
||||
id: inverter0_over_temperature_restart_function
|
||||
name: inverter0_over_temperature_restart_function
|
||||
backlight_on:
|
||||
id: inverter0_backlight_on
|
||||
name: inverter0_backlight_on
|
||||
|
||||
output:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
|
||||
sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
grid_rating_voltage:
|
||||
id: inverter0_grid_rating_voltage
|
||||
name: inverter0_grid_rating_voltage
|
||||
grid_rating_current:
|
||||
id: inverter0_grid_rating_current
|
||||
name: inverter0_grid_rating_current
|
||||
ac_output_rating_voltage:
|
||||
id: inverter0_ac_output_rating_voltage
|
||||
name: inverter0_ac_output_rating_voltage
|
||||
ac_output_rating_frequency:
|
||||
id: inverter0_ac_output_rating_frequency
|
||||
name: inverter0_ac_output_rating_frequency
|
||||
ac_output_rating_current:
|
||||
id: inverter0_ac_output_rating_current
|
||||
name: inverter0_ac_output_rating_current
|
||||
ac_output_rating_apparent_power:
|
||||
id: inverter0_ac_output_rating_apparent_power
|
||||
name: inverter0_ac_output_rating_apparent_power
|
||||
ac_output_rating_active_power:
|
||||
id: inverter0_ac_output_rating_active_power
|
||||
name: inverter0_ac_output_rating_active_power
|
||||
battery_rating_voltage:
|
||||
id: inverter0_battery_rating_voltage
|
||||
name: inverter0_battery_rating_voltage
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage
|
||||
name: inverter0_battery_recharge_voltage
|
||||
battery_under_voltage:
|
||||
id: inverter0_battery_under_voltage
|
||||
name: inverter0_battery_under_voltage
|
||||
battery_bulk_voltage:
|
||||
id: inverter0_battery_bulk_voltage
|
||||
name: inverter0_battery_bulk_voltage
|
||||
battery_float_voltage:
|
||||
id: inverter0_battery_float_voltage
|
||||
name: inverter0_battery_float_voltage
|
||||
battery_type:
|
||||
id: inverter0_battery_type
|
||||
name: inverter0_battery_type
|
||||
current_max_ac_charging_current:
|
||||
id: inverter0_current_max_ac_charging_current
|
||||
name: inverter0_current_max_ac_charging_current
|
||||
current_max_charging_current:
|
||||
id: inverter0_current_max_charging_current
|
||||
name: inverter0_current_max_charging_current
|
||||
input_voltage_range:
|
||||
id: inverter0_input_voltage_range
|
||||
name: inverter0_input_voltage_range
|
||||
output_source_priority:
|
||||
id: inverter0_output_source_priority
|
||||
name: inverter0_output_source_priority
|
||||
charger_source_priority:
|
||||
id: inverter0_charger_source_priority
|
||||
name: inverter0_charger_source_priority
|
||||
parallel_max_num:
|
||||
id: inverter0_parallel_max_num
|
||||
name: inverter0_parallel_max_num
|
||||
machine_type:
|
||||
id: inverter0_machine_type
|
||||
name: inverter0_machine_type
|
||||
topology:
|
||||
id: inverter0_topology
|
||||
name: inverter0_topology
|
||||
output_mode:
|
||||
id: inverter0_output_mode
|
||||
name: inverter0_output_mode
|
||||
battery_redischarge_voltage:
|
||||
id: inverter0_battery_redischarge_voltage
|
||||
name: inverter0_battery_redischarge_voltage
|
||||
pv_ok_condition_for_parallel:
|
||||
id: inverter0_pv_ok_condition_for_parallel
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
id: inverter0_pv_power_balance
|
||||
name: inverter0_pv_power_balance
|
||||
grid_voltage:
|
||||
id: inverter0_grid_voltage
|
||||
name: inverter0_grid_voltage
|
||||
grid_frequency:
|
||||
id: inverter0_grid_frequency
|
||||
name: inverter0_grid_frequency
|
||||
ac_output_voltage:
|
||||
id: inverter0_ac_output_voltage
|
||||
name: inverter0_ac_output_voltage
|
||||
ac_output_frequency:
|
||||
id: inverter0_ac_output_frequency
|
||||
name: inverter0_ac_output_frequency
|
||||
ac_output_apparent_power:
|
||||
id: inverter0_ac_output_apparent_power
|
||||
name: inverter0_ac_output_apparent_power
|
||||
ac_output_active_power:
|
||||
id: inverter0_ac_output_active_power
|
||||
name: inverter0_ac_output_active_power
|
||||
output_load_percent:
|
||||
id: inverter0_output_load_percent
|
||||
name: inverter0_output_load_percent
|
||||
bus_voltage:
|
||||
id: inverter0_bus_voltage
|
||||
name: inverter0_bus_voltage
|
||||
battery_voltage:
|
||||
id: inverter0_battery_voltage
|
||||
name: inverter0_battery_voltage
|
||||
battery_charging_current:
|
||||
id: inverter0_battery_charging_current
|
||||
name: inverter0_battery_charging_current
|
||||
battery_capacity_percent:
|
||||
id: inverter0_battery_capacity_percent
|
||||
name: inverter0_battery_capacity_percent
|
||||
inverter_heat_sink_temperature:
|
||||
id: inverter0_inverter_heat_sink_temperature
|
||||
name: inverter0_inverter_heat_sink_temperature
|
||||
pv_input_current_for_battery:
|
||||
id: inverter0_pv_input_current_for_battery
|
||||
name: inverter0_pv_input_current_for_battery
|
||||
pv_input_voltage:
|
||||
id: inverter0_pv_input_voltage
|
||||
name: inverter0_pv_input_voltage
|
||||
battery_voltage_scc:
|
||||
id: inverter0_battery_voltage_scc
|
||||
name: inverter0_battery_voltage_scc
|
||||
battery_discharge_current:
|
||||
id: inverter0_battery_discharge_current
|
||||
name: inverter0_battery_discharge_current
|
||||
battery_voltage_offset_for_fans_on:
|
||||
id: inverter0_battery_voltage_offset_for_fans_on
|
||||
name: inverter0_battery_voltage_offset_for_fans_on
|
||||
eeprom_version:
|
||||
id: inverter0_eeprom_version
|
||||
name: inverter0_eeprom_version
|
||||
pv_charging_power:
|
||||
id: inverter0_pv_charging_power
|
||||
name: inverter0_pv_charging_power
|
||||
|
||||
switch:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
output_source_priority_utility:
|
||||
name: inverter0_output_source_priority_utility
|
||||
output_source_priority_solar:
|
||||
name: inverter0_output_source_priority_solar
|
||||
output_source_priority_battery:
|
||||
name: inverter0_output_source_priority_battery
|
||||
input_voltage_range:
|
||||
name: inverter0_input_voltage_range
|
||||
pv_ok_condition_for_parallel:
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
name: inverter0_pv_power_balance
|
||||
|
||||
text_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
device_mode:
|
||||
id: inverter0_device_mode
|
||||
name: inverter0_device_mode
|
||||
last_qpigs:
|
||||
id: inverter0_last_qpigs
|
||||
name: inverter0_last_qpigs
|
||||
last_qpiri:
|
||||
id: inverter0_last_qpiri
|
||||
name: inverter0_last_qpiri
|
||||
last_qmod:
|
||||
id: inverter0_last_qmod
|
||||
name: inverter0_last_qmod
|
||||
last_qflag:
|
||||
id: inverter0_last_qflag
|
||||
name: inverter0_last_qflag
|
247
tests/components/pipsolar/test.esp8266.yaml
Normal file
247
tests/components/pipsolar/test.esp8266.yaml
Normal file
@ -0,0 +1,247 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.pipsolar.set_level:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
value: 48.0
|
||||
|
||||
uart:
|
||||
- id: uart_pipsolar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
pipsolar:
|
||||
id: inverter0
|
||||
|
||||
binary_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
add_sbu_priority_version:
|
||||
id: inverter0_add_sbu_priority_version
|
||||
name: inverter0_add_sbu_priority_version
|
||||
configuration_status:
|
||||
id: inverter0_configuration_status
|
||||
name: inverter0_configuration_status
|
||||
scc_firmware_version:
|
||||
id: inverter0_scc_firmware_version
|
||||
name: inverter0_scc_firmware_version
|
||||
load_status:
|
||||
id: inverter0_load_status
|
||||
name: inverter0_load_status
|
||||
battery_voltage_to_steady_while_charging:
|
||||
id: inverter0_battery_voltage_to_steady_while_charging
|
||||
name: inverter0_battery_voltage_to_steady_while_charging
|
||||
charging_status:
|
||||
id: inverter0_charging_status
|
||||
name: inverter0_charging_status
|
||||
scc_charging_status:
|
||||
id: inverter0_scc_charging_status
|
||||
name: inverter0_scc_charging_status
|
||||
ac_charging_status:
|
||||
id: inverter0_ac_charging_status
|
||||
name: inverter0_ac_charging_status
|
||||
charging_to_floating_mode:
|
||||
id: inverter0_charging_to_floating_mode
|
||||
name: inverter0_charging_to_floating_mode
|
||||
switch_on:
|
||||
id: inverter0_switch_on
|
||||
name: inverter0_switch_on
|
||||
dustproof_installed:
|
||||
id: inverter0_dustproof_installed
|
||||
name: inverter0_dustproof_installed
|
||||
silence_buzzer_open_buzzer:
|
||||
id: inverter0_silence_buzzer_open_buzzer
|
||||
name: inverter0_silence_buzzer_open_buzzer
|
||||
overload_bypass_function:
|
||||
id: inverter0_overload_bypass_function
|
||||
name: inverter0_overload_bypass_function
|
||||
lcd_escape_to_default:
|
||||
id: inverter0_lcd_escape_to_default
|
||||
name: inverter0_lcd_escape_to_default
|
||||
overload_restart_function:
|
||||
id: inverter0_overload_restart_function
|
||||
name: inverter0_overload_restart_function
|
||||
over_temperature_restart_function:
|
||||
id: inverter0_over_temperature_restart_function
|
||||
name: inverter0_over_temperature_restart_function
|
||||
backlight_on:
|
||||
id: inverter0_backlight_on
|
||||
name: inverter0_backlight_on
|
||||
|
||||
output:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
|
||||
sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
grid_rating_voltage:
|
||||
id: inverter0_grid_rating_voltage
|
||||
name: inverter0_grid_rating_voltage
|
||||
grid_rating_current:
|
||||
id: inverter0_grid_rating_current
|
||||
name: inverter0_grid_rating_current
|
||||
ac_output_rating_voltage:
|
||||
id: inverter0_ac_output_rating_voltage
|
||||
name: inverter0_ac_output_rating_voltage
|
||||
ac_output_rating_frequency:
|
||||
id: inverter0_ac_output_rating_frequency
|
||||
name: inverter0_ac_output_rating_frequency
|
||||
ac_output_rating_current:
|
||||
id: inverter0_ac_output_rating_current
|
||||
name: inverter0_ac_output_rating_current
|
||||
ac_output_rating_apparent_power:
|
||||
id: inverter0_ac_output_rating_apparent_power
|
||||
name: inverter0_ac_output_rating_apparent_power
|
||||
ac_output_rating_active_power:
|
||||
id: inverter0_ac_output_rating_active_power
|
||||
name: inverter0_ac_output_rating_active_power
|
||||
battery_rating_voltage:
|
||||
id: inverter0_battery_rating_voltage
|
||||
name: inverter0_battery_rating_voltage
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage
|
||||
name: inverter0_battery_recharge_voltage
|
||||
battery_under_voltage:
|
||||
id: inverter0_battery_under_voltage
|
||||
name: inverter0_battery_under_voltage
|
||||
battery_bulk_voltage:
|
||||
id: inverter0_battery_bulk_voltage
|
||||
name: inverter0_battery_bulk_voltage
|
||||
battery_float_voltage:
|
||||
id: inverter0_battery_float_voltage
|
||||
name: inverter0_battery_float_voltage
|
||||
battery_type:
|
||||
id: inverter0_battery_type
|
||||
name: inverter0_battery_type
|
||||
current_max_ac_charging_current:
|
||||
id: inverter0_current_max_ac_charging_current
|
||||
name: inverter0_current_max_ac_charging_current
|
||||
current_max_charging_current:
|
||||
id: inverter0_current_max_charging_current
|
||||
name: inverter0_current_max_charging_current
|
||||
input_voltage_range:
|
||||
id: inverter0_input_voltage_range
|
||||
name: inverter0_input_voltage_range
|
||||
output_source_priority:
|
||||
id: inverter0_output_source_priority
|
||||
name: inverter0_output_source_priority
|
||||
charger_source_priority:
|
||||
id: inverter0_charger_source_priority
|
||||
name: inverter0_charger_source_priority
|
||||
parallel_max_num:
|
||||
id: inverter0_parallel_max_num
|
||||
name: inverter0_parallel_max_num
|
||||
machine_type:
|
||||
id: inverter0_machine_type
|
||||
name: inverter0_machine_type
|
||||
topology:
|
||||
id: inverter0_topology
|
||||
name: inverter0_topology
|
||||
output_mode:
|
||||
id: inverter0_output_mode
|
||||
name: inverter0_output_mode
|
||||
battery_redischarge_voltage:
|
||||
id: inverter0_battery_redischarge_voltage
|
||||
name: inverter0_battery_redischarge_voltage
|
||||
pv_ok_condition_for_parallel:
|
||||
id: inverter0_pv_ok_condition_for_parallel
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
id: inverter0_pv_power_balance
|
||||
name: inverter0_pv_power_balance
|
||||
grid_voltage:
|
||||
id: inverter0_grid_voltage
|
||||
name: inverter0_grid_voltage
|
||||
grid_frequency:
|
||||
id: inverter0_grid_frequency
|
||||
name: inverter0_grid_frequency
|
||||
ac_output_voltage:
|
||||
id: inverter0_ac_output_voltage
|
||||
name: inverter0_ac_output_voltage
|
||||
ac_output_frequency:
|
||||
id: inverter0_ac_output_frequency
|
||||
name: inverter0_ac_output_frequency
|
||||
ac_output_apparent_power:
|
||||
id: inverter0_ac_output_apparent_power
|
||||
name: inverter0_ac_output_apparent_power
|
||||
ac_output_active_power:
|
||||
id: inverter0_ac_output_active_power
|
||||
name: inverter0_ac_output_active_power
|
||||
output_load_percent:
|
||||
id: inverter0_output_load_percent
|
||||
name: inverter0_output_load_percent
|
||||
bus_voltage:
|
||||
id: inverter0_bus_voltage
|
||||
name: inverter0_bus_voltage
|
||||
battery_voltage:
|
||||
id: inverter0_battery_voltage
|
||||
name: inverter0_battery_voltage
|
||||
battery_charging_current:
|
||||
id: inverter0_battery_charging_current
|
||||
name: inverter0_battery_charging_current
|
||||
battery_capacity_percent:
|
||||
id: inverter0_battery_capacity_percent
|
||||
name: inverter0_battery_capacity_percent
|
||||
inverter_heat_sink_temperature:
|
||||
id: inverter0_inverter_heat_sink_temperature
|
||||
name: inverter0_inverter_heat_sink_temperature
|
||||
pv_input_current_for_battery:
|
||||
id: inverter0_pv_input_current_for_battery
|
||||
name: inverter0_pv_input_current_for_battery
|
||||
pv_input_voltage:
|
||||
id: inverter0_pv_input_voltage
|
||||
name: inverter0_pv_input_voltage
|
||||
battery_voltage_scc:
|
||||
id: inverter0_battery_voltage_scc
|
||||
name: inverter0_battery_voltage_scc
|
||||
battery_discharge_current:
|
||||
id: inverter0_battery_discharge_current
|
||||
name: inverter0_battery_discharge_current
|
||||
battery_voltage_offset_for_fans_on:
|
||||
id: inverter0_battery_voltage_offset_for_fans_on
|
||||
name: inverter0_battery_voltage_offset_for_fans_on
|
||||
eeprom_version:
|
||||
id: inverter0_eeprom_version
|
||||
name: inverter0_eeprom_version
|
||||
pv_charging_power:
|
||||
id: inverter0_pv_charging_power
|
||||
name: inverter0_pv_charging_power
|
||||
|
||||
switch:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
output_source_priority_utility:
|
||||
name: inverter0_output_source_priority_utility
|
||||
output_source_priority_solar:
|
||||
name: inverter0_output_source_priority_solar
|
||||
output_source_priority_battery:
|
||||
name: inverter0_output_source_priority_battery
|
||||
input_voltage_range:
|
||||
name: inverter0_input_voltage_range
|
||||
pv_ok_condition_for_parallel:
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
name: inverter0_pv_power_balance
|
||||
|
||||
text_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
device_mode:
|
||||
id: inverter0_device_mode
|
||||
name: inverter0_device_mode
|
||||
last_qpigs:
|
||||
id: inverter0_last_qpigs
|
||||
name: inverter0_last_qpigs
|
||||
last_qpiri:
|
||||
id: inverter0_last_qpiri
|
||||
name: inverter0_last_qpiri
|
||||
last_qmod:
|
||||
id: inverter0_last_qmod
|
||||
name: inverter0_last_qmod
|
||||
last_qflag:
|
||||
id: inverter0_last_qflag
|
||||
name: inverter0_last_qflag
|
247
tests/components/pipsolar/test.rp2040.yaml
Normal file
247
tests/components/pipsolar/test.rp2040.yaml
Normal file
@ -0,0 +1,247 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.pipsolar.set_level:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
value: 48.0
|
||||
|
||||
uart:
|
||||
- id: uart_pipsolar
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 115200
|
||||
|
||||
pipsolar:
|
||||
id: inverter0
|
||||
|
||||
binary_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
add_sbu_priority_version:
|
||||
id: inverter0_add_sbu_priority_version
|
||||
name: inverter0_add_sbu_priority_version
|
||||
configuration_status:
|
||||
id: inverter0_configuration_status
|
||||
name: inverter0_configuration_status
|
||||
scc_firmware_version:
|
||||
id: inverter0_scc_firmware_version
|
||||
name: inverter0_scc_firmware_version
|
||||
load_status:
|
||||
id: inverter0_load_status
|
||||
name: inverter0_load_status
|
||||
battery_voltage_to_steady_while_charging:
|
||||
id: inverter0_battery_voltage_to_steady_while_charging
|
||||
name: inverter0_battery_voltage_to_steady_while_charging
|
||||
charging_status:
|
||||
id: inverter0_charging_status
|
||||
name: inverter0_charging_status
|
||||
scc_charging_status:
|
||||
id: inverter0_scc_charging_status
|
||||
name: inverter0_scc_charging_status
|
||||
ac_charging_status:
|
||||
id: inverter0_ac_charging_status
|
||||
name: inverter0_ac_charging_status
|
||||
charging_to_floating_mode:
|
||||
id: inverter0_charging_to_floating_mode
|
||||
name: inverter0_charging_to_floating_mode
|
||||
switch_on:
|
||||
id: inverter0_switch_on
|
||||
name: inverter0_switch_on
|
||||
dustproof_installed:
|
||||
id: inverter0_dustproof_installed
|
||||
name: inverter0_dustproof_installed
|
||||
silence_buzzer_open_buzzer:
|
||||
id: inverter0_silence_buzzer_open_buzzer
|
||||
name: inverter0_silence_buzzer_open_buzzer
|
||||
overload_bypass_function:
|
||||
id: inverter0_overload_bypass_function
|
||||
name: inverter0_overload_bypass_function
|
||||
lcd_escape_to_default:
|
||||
id: inverter0_lcd_escape_to_default
|
||||
name: inverter0_lcd_escape_to_default
|
||||
overload_restart_function:
|
||||
id: inverter0_overload_restart_function
|
||||
name: inverter0_overload_restart_function
|
||||
over_temperature_restart_function:
|
||||
id: inverter0_over_temperature_restart_function
|
||||
name: inverter0_over_temperature_restart_function
|
||||
backlight_on:
|
||||
id: inverter0_backlight_on
|
||||
name: inverter0_backlight_on
|
||||
|
||||
output:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
|
||||
sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
grid_rating_voltage:
|
||||
id: inverter0_grid_rating_voltage
|
||||
name: inverter0_grid_rating_voltage
|
||||
grid_rating_current:
|
||||
id: inverter0_grid_rating_current
|
||||
name: inverter0_grid_rating_current
|
||||
ac_output_rating_voltage:
|
||||
id: inverter0_ac_output_rating_voltage
|
||||
name: inverter0_ac_output_rating_voltage
|
||||
ac_output_rating_frequency:
|
||||
id: inverter0_ac_output_rating_frequency
|
||||
name: inverter0_ac_output_rating_frequency
|
||||
ac_output_rating_current:
|
||||
id: inverter0_ac_output_rating_current
|
||||
name: inverter0_ac_output_rating_current
|
||||
ac_output_rating_apparent_power:
|
||||
id: inverter0_ac_output_rating_apparent_power
|
||||
name: inverter0_ac_output_rating_apparent_power
|
||||
ac_output_rating_active_power:
|
||||
id: inverter0_ac_output_rating_active_power
|
||||
name: inverter0_ac_output_rating_active_power
|
||||
battery_rating_voltage:
|
||||
id: inverter0_battery_rating_voltage
|
||||
name: inverter0_battery_rating_voltage
|
||||
battery_recharge_voltage:
|
||||
id: inverter0_battery_recharge_voltage
|
||||
name: inverter0_battery_recharge_voltage
|
||||
battery_under_voltage:
|
||||
id: inverter0_battery_under_voltage
|
||||
name: inverter0_battery_under_voltage
|
||||
battery_bulk_voltage:
|
||||
id: inverter0_battery_bulk_voltage
|
||||
name: inverter0_battery_bulk_voltage
|
||||
battery_float_voltage:
|
||||
id: inverter0_battery_float_voltage
|
||||
name: inverter0_battery_float_voltage
|
||||
battery_type:
|
||||
id: inverter0_battery_type
|
||||
name: inverter0_battery_type
|
||||
current_max_ac_charging_current:
|
||||
id: inverter0_current_max_ac_charging_current
|
||||
name: inverter0_current_max_ac_charging_current
|
||||
current_max_charging_current:
|
||||
id: inverter0_current_max_charging_current
|
||||
name: inverter0_current_max_charging_current
|
||||
input_voltage_range:
|
||||
id: inverter0_input_voltage_range
|
||||
name: inverter0_input_voltage_range
|
||||
output_source_priority:
|
||||
id: inverter0_output_source_priority
|
||||
name: inverter0_output_source_priority
|
||||
charger_source_priority:
|
||||
id: inverter0_charger_source_priority
|
||||
name: inverter0_charger_source_priority
|
||||
parallel_max_num:
|
||||
id: inverter0_parallel_max_num
|
||||
name: inverter0_parallel_max_num
|
||||
machine_type:
|
||||
id: inverter0_machine_type
|
||||
name: inverter0_machine_type
|
||||
topology:
|
||||
id: inverter0_topology
|
||||
name: inverter0_topology
|
||||
output_mode:
|
||||
id: inverter0_output_mode
|
||||
name: inverter0_output_mode
|
||||
battery_redischarge_voltage:
|
||||
id: inverter0_battery_redischarge_voltage
|
||||
name: inverter0_battery_redischarge_voltage
|
||||
pv_ok_condition_for_parallel:
|
||||
id: inverter0_pv_ok_condition_for_parallel
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
id: inverter0_pv_power_balance
|
||||
name: inverter0_pv_power_balance
|
||||
grid_voltage:
|
||||
id: inverter0_grid_voltage
|
||||
name: inverter0_grid_voltage
|
||||
grid_frequency:
|
||||
id: inverter0_grid_frequency
|
||||
name: inverter0_grid_frequency
|
||||
ac_output_voltage:
|
||||
id: inverter0_ac_output_voltage
|
||||
name: inverter0_ac_output_voltage
|
||||
ac_output_frequency:
|
||||
id: inverter0_ac_output_frequency
|
||||
name: inverter0_ac_output_frequency
|
||||
ac_output_apparent_power:
|
||||
id: inverter0_ac_output_apparent_power
|
||||
name: inverter0_ac_output_apparent_power
|
||||
ac_output_active_power:
|
||||
id: inverter0_ac_output_active_power
|
||||
name: inverter0_ac_output_active_power
|
||||
output_load_percent:
|
||||
id: inverter0_output_load_percent
|
||||
name: inverter0_output_load_percent
|
||||
bus_voltage:
|
||||
id: inverter0_bus_voltage
|
||||
name: inverter0_bus_voltage
|
||||
battery_voltage:
|
||||
id: inverter0_battery_voltage
|
||||
name: inverter0_battery_voltage
|
||||
battery_charging_current:
|
||||
id: inverter0_battery_charging_current
|
||||
name: inverter0_battery_charging_current
|
||||
battery_capacity_percent:
|
||||
id: inverter0_battery_capacity_percent
|
||||
name: inverter0_battery_capacity_percent
|
||||
inverter_heat_sink_temperature:
|
||||
id: inverter0_inverter_heat_sink_temperature
|
||||
name: inverter0_inverter_heat_sink_temperature
|
||||
pv_input_current_for_battery:
|
||||
id: inverter0_pv_input_current_for_battery
|
||||
name: inverter0_pv_input_current_for_battery
|
||||
pv_input_voltage:
|
||||
id: inverter0_pv_input_voltage
|
||||
name: inverter0_pv_input_voltage
|
||||
battery_voltage_scc:
|
||||
id: inverter0_battery_voltage_scc
|
||||
name: inverter0_battery_voltage_scc
|
||||
battery_discharge_current:
|
||||
id: inverter0_battery_discharge_current
|
||||
name: inverter0_battery_discharge_current
|
||||
battery_voltage_offset_for_fans_on:
|
||||
id: inverter0_battery_voltage_offset_for_fans_on
|
||||
name: inverter0_battery_voltage_offset_for_fans_on
|
||||
eeprom_version:
|
||||
id: inverter0_eeprom_version
|
||||
name: inverter0_eeprom_version
|
||||
pv_charging_power:
|
||||
id: inverter0_pv_charging_power
|
||||
name: inverter0_pv_charging_power
|
||||
|
||||
switch:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
output_source_priority_utility:
|
||||
name: inverter0_output_source_priority_utility
|
||||
output_source_priority_solar:
|
||||
name: inverter0_output_source_priority_solar
|
||||
output_source_priority_battery:
|
||||
name: inverter0_output_source_priority_battery
|
||||
input_voltage_range:
|
||||
name: inverter0_input_voltage_range
|
||||
pv_ok_condition_for_parallel:
|
||||
name: inverter0_pv_ok_condition_for_parallel
|
||||
pv_power_balance:
|
||||
name: inverter0_pv_power_balance
|
||||
|
||||
text_sensor:
|
||||
- platform: pipsolar
|
||||
pipsolar_id: inverter0
|
||||
device_mode:
|
||||
id: inverter0_device_mode
|
||||
name: inverter0_device_mode
|
||||
last_qpigs:
|
||||
id: inverter0_last_qpigs
|
||||
name: inverter0_last_qpigs
|
||||
last_qpiri:
|
||||
id: inverter0_last_qpiri
|
||||
name: inverter0_last_qpiri
|
||||
last_qmod:
|
||||
id: inverter0_last_qmod
|
||||
name: inverter0_last_qmod
|
||||
last_qflag:
|
||||
id: inverter0_last_qflag
|
||||
name: inverter0_last_qflag
|
10
tests/components/pm1006/test.esp32-c3-idf.yaml
Normal file
10
tests/components/pm1006/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_pm1006
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pm1006
|
||||
pm_2_5:
|
||||
name: Particulate Matter 2.5µm Concentration
|
10
tests/components/pm1006/test.esp32-c3.yaml
Normal file
10
tests/components/pm1006/test.esp32-c3.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_pm1006
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pm1006
|
||||
pm_2_5:
|
||||
name: Particulate Matter 2.5µm Concentration
|
10
tests/components/pm1006/test.esp32-idf.yaml
Normal file
10
tests/components/pm1006/test.esp32-idf.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_pm1006
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pm1006
|
||||
pm_2_5:
|
||||
name: Particulate Matter 2.5µm Concentration
|
10
tests/components/pm1006/test.esp32.yaml
Normal file
10
tests/components/pm1006/test.esp32.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_pm1006
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pm1006
|
||||
pm_2_5:
|
||||
name: Particulate Matter 2.5µm Concentration
|
10
tests/components/pm1006/test.esp8266.yaml
Normal file
10
tests/components/pm1006/test.esp8266.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_pm1006
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pm1006
|
||||
pm_2_5:
|
||||
name: Particulate Matter 2.5µm Concentration
|
10
tests/components/pm1006/test.rp2040.yaml
Normal file
10
tests/components/pm1006/test.rp2040.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
uart:
|
||||
- id: uart_pm1006
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pm1006
|
||||
pm_2_5:
|
||||
name: Particulate Matter 2.5µm Concentration
|
27
tests/components/pmsa003i/test.esp32-c3-idf.yaml
Normal file
27
tests/components/pmsa003i/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_pmsa003i
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmsa003i
|
||||
pm_1_0:
|
||||
name: PMSA003i PM1.0
|
||||
pm_2_5:
|
||||
name: PMSA003i PM2.5
|
||||
pm_10_0:
|
||||
name: PMSA003i PM10.0
|
||||
pmc_0_3:
|
||||
name: PMSA003i PMC <0.3µm
|
||||
pmc_0_5:
|
||||
name: PMSA003i PMC <0.5µm
|
||||
pmc_1_0:
|
||||
name: PMSA003i PMC <1µm
|
||||
pmc_2_5:
|
||||
name: PMSA003i PMC <2.5µm
|
||||
pmc_5_0:
|
||||
name: PMSA003i PMC <5µm
|
||||
pmc_10_0:
|
||||
name: PMSA003i PMC <10µm
|
||||
address: 0x12
|
||||
standard_units: true
|
27
tests/components/pmsa003i/test.esp32-c3.yaml
Normal file
27
tests/components/pmsa003i/test.esp32-c3.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_pmsa003i
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmsa003i
|
||||
pm_1_0:
|
||||
name: PMSA003i PM1.0
|
||||
pm_2_5:
|
||||
name: PMSA003i PM2.5
|
||||
pm_10_0:
|
||||
name: PMSA003i PM10.0
|
||||
pmc_0_3:
|
||||
name: PMSA003i PMC <0.3µm
|
||||
pmc_0_5:
|
||||
name: PMSA003i PMC <0.5µm
|
||||
pmc_1_0:
|
||||
name: PMSA003i PMC <1µm
|
||||
pmc_2_5:
|
||||
name: PMSA003i PMC <2.5µm
|
||||
pmc_5_0:
|
||||
name: PMSA003i PMC <5µm
|
||||
pmc_10_0:
|
||||
name: PMSA003i PMC <10µm
|
||||
address: 0x12
|
||||
standard_units: true
|
27
tests/components/pmsa003i/test.esp32-idf.yaml
Normal file
27
tests/components/pmsa003i/test.esp32-idf.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_pmsa003i
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: pmsa003i
|
||||
pm_1_0:
|
||||
name: PMSA003i PM1.0
|
||||
pm_2_5:
|
||||
name: PMSA003i PM2.5
|
||||
pm_10_0:
|
||||
name: PMSA003i PM10.0
|
||||
pmc_0_3:
|
||||
name: PMSA003i PMC <0.3µm
|
||||
pmc_0_5:
|
||||
name: PMSA003i PMC <0.5µm
|
||||
pmc_1_0:
|
||||
name: PMSA003i PMC <1µm
|
||||
pmc_2_5:
|
||||
name: PMSA003i PMC <2.5µm
|
||||
pmc_5_0:
|
||||
name: PMSA003i PMC <5µm
|
||||
pmc_10_0:
|
||||
name: PMSA003i PMC <10µm
|
||||
address: 0x12
|
||||
standard_units: true
|
27
tests/components/pmsa003i/test.esp32.yaml
Normal file
27
tests/components/pmsa003i/test.esp32.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_pmsa003i
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: pmsa003i
|
||||
pm_1_0:
|
||||
name: PMSA003i PM1.0
|
||||
pm_2_5:
|
||||
name: PMSA003i PM2.5
|
||||
pm_10_0:
|
||||
name: PMSA003i PM10.0
|
||||
pmc_0_3:
|
||||
name: PMSA003i PMC <0.3µm
|
||||
pmc_0_5:
|
||||
name: PMSA003i PMC <0.5µm
|
||||
pmc_1_0:
|
||||
name: PMSA003i PMC <1µm
|
||||
pmc_2_5:
|
||||
name: PMSA003i PMC <2.5µm
|
||||
pmc_5_0:
|
||||
name: PMSA003i PMC <5µm
|
||||
pmc_10_0:
|
||||
name: PMSA003i PMC <10µm
|
||||
address: 0x12
|
||||
standard_units: true
|
27
tests/components/pmsa003i/test.esp8266.yaml
Normal file
27
tests/components/pmsa003i/test.esp8266.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_pmsa003i
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmsa003i
|
||||
pm_1_0:
|
||||
name: PMSA003i PM1.0
|
||||
pm_2_5:
|
||||
name: PMSA003i PM2.5
|
||||
pm_10_0:
|
||||
name: PMSA003i PM10.0
|
||||
pmc_0_3:
|
||||
name: PMSA003i PMC <0.3µm
|
||||
pmc_0_5:
|
||||
name: PMSA003i PMC <0.5µm
|
||||
pmc_1_0:
|
||||
name: PMSA003i PMC <1µm
|
||||
pmc_2_5:
|
||||
name: PMSA003i PMC <2.5µm
|
||||
pmc_5_0:
|
||||
name: PMSA003i PMC <5µm
|
||||
pmc_10_0:
|
||||
name: PMSA003i PMC <10µm
|
||||
address: 0x12
|
||||
standard_units: true
|
27
tests/components/pmsa003i/test.rp2040.yaml
Normal file
27
tests/components/pmsa003i/test.rp2040.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
i2c:
|
||||
- id: i2c_pmsa003i
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmsa003i
|
||||
pm_1_0:
|
||||
name: PMSA003i PM1.0
|
||||
pm_2_5:
|
||||
name: PMSA003i PM2.5
|
||||
pm_10_0:
|
||||
name: PMSA003i PM10.0
|
||||
pmc_0_3:
|
||||
name: PMSA003i PMC <0.3µm
|
||||
pmc_0_5:
|
||||
name: PMSA003i PMC <0.5µm
|
||||
pmc_1_0:
|
||||
name: PMSA003i PMC <1µm
|
||||
pmc_2_5:
|
||||
name: PMSA003i PMC <2.5µm
|
||||
pmc_5_0:
|
||||
name: PMSA003i PMC <5µm
|
||||
pmc_10_0:
|
||||
name: PMSA003i PMC <10µm
|
||||
address: 0x12
|
||||
standard_units: true
|
34
tests/components/pmsx003/test.esp32-c3-idf.yaml
Normal file
34
tests/components/pmsx003/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
uart:
|
||||
- id: uart_pmsx003
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pmsx003
|
||||
type: PMSX003
|
||||
pm_1_0:
|
||||
name: PM 1.0 Concentration
|
||||
pm_2_5:
|
||||
name: PM 2.5 Concentration
|
||||
pm_10_0:
|
||||
name: PM 10.0 Concentration
|
||||
pm_1_0_std:
|
||||
name: PM 1.0 Standard Atmospher Concentration
|
||||
pm_2_5_std:
|
||||
name: PM 2.5 Standard Atmospher Concentration
|
||||
pm_10_0_std:
|
||||
name: PM 10.0 Standard Atmospher Concentration
|
||||
pm_0_3um:
|
||||
name: Particulate Count >0.3um
|
||||
pm_0_5um:
|
||||
name: Particulate Count >0.5um
|
||||
pm_1_0um:
|
||||
name: Particulate Count >1.0um
|
||||
pm_2_5um:
|
||||
name: Particulate Count >2.5um
|
||||
pm_5_0um:
|
||||
name: Particulate Count >5.0um
|
||||
pm_10_0um:
|
||||
name: Particulate Count >10.0um
|
||||
update_interval: 30s
|
34
tests/components/pmsx003/test.esp32-c3.yaml
Normal file
34
tests/components/pmsx003/test.esp32-c3.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
uart:
|
||||
- id: uart_pmsx003
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pmsx003
|
||||
type: PMSX003
|
||||
pm_1_0:
|
||||
name: PM 1.0 Concentration
|
||||
pm_2_5:
|
||||
name: PM 2.5 Concentration
|
||||
pm_10_0:
|
||||
name: PM 10.0 Concentration
|
||||
pm_1_0_std:
|
||||
name: PM 1.0 Standard Atmospher Concentration
|
||||
pm_2_5_std:
|
||||
name: PM 2.5 Standard Atmospher Concentration
|
||||
pm_10_0_std:
|
||||
name: PM 10.0 Standard Atmospher Concentration
|
||||
pm_0_3um:
|
||||
name: Particulate Count >0.3um
|
||||
pm_0_5um:
|
||||
name: Particulate Count >0.5um
|
||||
pm_1_0um:
|
||||
name: Particulate Count >1.0um
|
||||
pm_2_5um:
|
||||
name: Particulate Count >2.5um
|
||||
pm_5_0um:
|
||||
name: Particulate Count >5.0um
|
||||
pm_10_0um:
|
||||
name: Particulate Count >10.0um
|
||||
update_interval: 30s
|
34
tests/components/pmsx003/test.esp32-idf.yaml
Normal file
34
tests/components/pmsx003/test.esp32-idf.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
uart:
|
||||
- id: uart_pmsx003
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pmsx003
|
||||
type: PMSX003
|
||||
pm_1_0:
|
||||
name: PM 1.0 Concentration
|
||||
pm_2_5:
|
||||
name: PM 2.5 Concentration
|
||||
pm_10_0:
|
||||
name: PM 10.0 Concentration
|
||||
pm_1_0_std:
|
||||
name: PM 1.0 Standard Atmospher Concentration
|
||||
pm_2_5_std:
|
||||
name: PM 2.5 Standard Atmospher Concentration
|
||||
pm_10_0_std:
|
||||
name: PM 10.0 Standard Atmospher Concentration
|
||||
pm_0_3um:
|
||||
name: Particulate Count >0.3um
|
||||
pm_0_5um:
|
||||
name: Particulate Count >0.5um
|
||||
pm_1_0um:
|
||||
name: Particulate Count >1.0um
|
||||
pm_2_5um:
|
||||
name: Particulate Count >2.5um
|
||||
pm_5_0um:
|
||||
name: Particulate Count >5.0um
|
||||
pm_10_0um:
|
||||
name: Particulate Count >10.0um
|
||||
update_interval: 30s
|
34
tests/components/pmsx003/test.esp32.yaml
Normal file
34
tests/components/pmsx003/test.esp32.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
uart:
|
||||
- id: uart_pmsx003
|
||||
tx_pin: 17
|
||||
rx_pin: 16
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pmsx003
|
||||
type: PMSX003
|
||||
pm_1_0:
|
||||
name: PM 1.0 Concentration
|
||||
pm_2_5:
|
||||
name: PM 2.5 Concentration
|
||||
pm_10_0:
|
||||
name: PM 10.0 Concentration
|
||||
pm_1_0_std:
|
||||
name: PM 1.0 Standard Atmospher Concentration
|
||||
pm_2_5_std:
|
||||
name: PM 2.5 Standard Atmospher Concentration
|
||||
pm_10_0_std:
|
||||
name: PM 10.0 Standard Atmospher Concentration
|
||||
pm_0_3um:
|
||||
name: Particulate Count >0.3um
|
||||
pm_0_5um:
|
||||
name: Particulate Count >0.5um
|
||||
pm_1_0um:
|
||||
name: Particulate Count >1.0um
|
||||
pm_2_5um:
|
||||
name: Particulate Count >2.5um
|
||||
pm_5_0um:
|
||||
name: Particulate Count >5.0um
|
||||
pm_10_0um:
|
||||
name: Particulate Count >10.0um
|
||||
update_interval: 30s
|
34
tests/components/pmsx003/test.esp8266.yaml
Normal file
34
tests/components/pmsx003/test.esp8266.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
uart:
|
||||
- id: uart_pmsx003
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pmsx003
|
||||
type: PMSX003
|
||||
pm_1_0:
|
||||
name: PM 1.0 Concentration
|
||||
pm_2_5:
|
||||
name: PM 2.5 Concentration
|
||||
pm_10_0:
|
||||
name: PM 10.0 Concentration
|
||||
pm_1_0_std:
|
||||
name: PM 1.0 Standard Atmospher Concentration
|
||||
pm_2_5_std:
|
||||
name: PM 2.5 Standard Atmospher Concentration
|
||||
pm_10_0_std:
|
||||
name: PM 10.0 Standard Atmospher Concentration
|
||||
pm_0_3um:
|
||||
name: Particulate Count >0.3um
|
||||
pm_0_5um:
|
||||
name: Particulate Count >0.5um
|
||||
pm_1_0um:
|
||||
name: Particulate Count >1.0um
|
||||
pm_2_5um:
|
||||
name: Particulate Count >2.5um
|
||||
pm_5_0um:
|
||||
name: Particulate Count >5.0um
|
||||
pm_10_0um:
|
||||
name: Particulate Count >10.0um
|
||||
update_interval: 30s
|
34
tests/components/pmsx003/test.rp2040.yaml
Normal file
34
tests/components/pmsx003/test.rp2040.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
uart:
|
||||
- id: uart_pmsx003
|
||||
tx_pin: 4
|
||||
rx_pin: 5
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: pmsx003
|
||||
type: PMSX003
|
||||
pm_1_0:
|
||||
name: PM 1.0 Concentration
|
||||
pm_2_5:
|
||||
name: PM 2.5 Concentration
|
||||
pm_10_0:
|
||||
name: PM 10.0 Concentration
|
||||
pm_1_0_std:
|
||||
name: PM 1.0 Standard Atmospher Concentration
|
||||
pm_2_5_std:
|
||||
name: PM 2.5 Standard Atmospher Concentration
|
||||
pm_10_0_std:
|
||||
name: PM 10.0 Standard Atmospher Concentration
|
||||
pm_0_3um:
|
||||
name: Particulate Count >0.3um
|
||||
pm_0_5um:
|
||||
name: Particulate Count >0.5um
|
||||
pm_1_0um:
|
||||
name: Particulate Count >1.0um
|
||||
pm_2_5um:
|
||||
name: Particulate Count >2.5um
|
||||
pm_5_0um:
|
||||
name: Particulate Count >5.0um
|
||||
pm_10_0um:
|
||||
name: Particulate Count >10.0um
|
||||
update_interval: 30s
|
15
tests/components/pmwcs3/test.esp32-c3-idf.yaml
Normal file
15
tests/components/pmwcs3/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
i2c:
|
||||
- id: i2c_pmwcs3
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmwcs3
|
||||
e25:
|
||||
name: pmwcs3_e25
|
||||
ec:
|
||||
name: pmwcs3_ec
|
||||
temperature:
|
||||
name: pmwcs3_temperature
|
||||
vwc:
|
||||
name: pmwcs3_vwc
|
15
tests/components/pmwcs3/test.esp32-c3.yaml
Normal file
15
tests/components/pmwcs3/test.esp32-c3.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
i2c:
|
||||
- id: i2c_pmwcs3
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmwcs3
|
||||
e25:
|
||||
name: pmwcs3_e25
|
||||
ec:
|
||||
name: pmwcs3_ec
|
||||
temperature:
|
||||
name: pmwcs3_temperature
|
||||
vwc:
|
||||
name: pmwcs3_vwc
|
15
tests/components/pmwcs3/test.esp32-idf.yaml
Normal file
15
tests/components/pmwcs3/test.esp32-idf.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
i2c:
|
||||
- id: i2c_pmwcs3
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: pmwcs3
|
||||
e25:
|
||||
name: pmwcs3_e25
|
||||
ec:
|
||||
name: pmwcs3_ec
|
||||
temperature:
|
||||
name: pmwcs3_temperature
|
||||
vwc:
|
||||
name: pmwcs3_vwc
|
15
tests/components/pmwcs3/test.esp32.yaml
Normal file
15
tests/components/pmwcs3/test.esp32.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
i2c:
|
||||
- id: i2c_pmwcs3
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: pmwcs3
|
||||
e25:
|
||||
name: pmwcs3_e25
|
||||
ec:
|
||||
name: pmwcs3_ec
|
||||
temperature:
|
||||
name: pmwcs3_temperature
|
||||
vwc:
|
||||
name: pmwcs3_vwc
|
15
tests/components/pmwcs3/test.esp8266.yaml
Normal file
15
tests/components/pmwcs3/test.esp8266.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
i2c:
|
||||
- id: i2c_pmwcs3
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmwcs3
|
||||
e25:
|
||||
name: pmwcs3_e25
|
||||
ec:
|
||||
name: pmwcs3_ec
|
||||
temperature:
|
||||
name: pmwcs3_temperature
|
||||
vwc:
|
||||
name: pmwcs3_vwc
|
15
tests/components/pmwcs3/test.rp2040.yaml
Normal file
15
tests/components/pmwcs3/test.rp2040.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
i2c:
|
||||
- id: i2c_pmwcs3
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: pmwcs3
|
||||
e25:
|
||||
name: pmwcs3_e25
|
||||
ec:
|
||||
name: pmwcs3_ec
|
||||
temperature:
|
||||
name: pmwcs3_temperature
|
||||
vwc:
|
||||
name: pmwcs3_vwc
|
13
tests/components/pn532_i2c/test.esp32-c3-idf.yaml
Normal file
13
tests/components/pn532_i2c/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
i2c:
|
||||
- id: i2c_pn532
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn532_i2c:
|
||||
id: pn532_nfcc
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
13
tests/components/pn532_i2c/test.esp32-c3.yaml
Normal file
13
tests/components/pn532_i2c/test.esp32-c3.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
i2c:
|
||||
- id: i2c_pn532
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn532_i2c:
|
||||
id: pn532_nfcc
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
13
tests/components/pn532_i2c/test.esp32-idf.yaml
Normal file
13
tests/components/pn532_i2c/test.esp32-idf.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
i2c:
|
||||
- id: i2c_pn532
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pn532_i2c:
|
||||
id: pn532_nfcc
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
13
tests/components/pn532_i2c/test.esp32.yaml
Normal file
13
tests/components/pn532_i2c/test.esp32.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
i2c:
|
||||
- id: i2c_pn532
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pn532_i2c:
|
||||
id: pn532_nfcc
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
13
tests/components/pn532_i2c/test.esp8266.yaml
Normal file
13
tests/components/pn532_i2c/test.esp8266.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
i2c:
|
||||
- id: i2c_pn532
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn532_i2c:
|
||||
id: pn532_nfcc
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
13
tests/components/pn532_i2c/test.rp2040.yaml
Normal file
13
tests/components/pn532_i2c/test.rp2040.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
i2c:
|
||||
- id: i2c_pn532
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn532_i2c:
|
||||
id: pn532_nfcc
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
15
tests/components/pn532_spi/test.esp32-c3-idf.yaml
Normal file
15
tests/components/pn532_spi/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_pn532
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
pn532_spi:
|
||||
id: pn532_nfcc
|
||||
cs_pin: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
15
tests/components/pn532_spi/test.esp32-c3.yaml
Normal file
15
tests/components/pn532_spi/test.esp32-c3.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_pn532
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
pn532_spi:
|
||||
id: pn532_nfcc
|
||||
cs_pin: 4
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
15
tests/components/pn532_spi/test.esp32-idf.yaml
Normal file
15
tests/components/pn532_spi/test.esp32-idf.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_pn532
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
pn532_spi:
|
||||
id: pn532_nfcc
|
||||
cs_pin: 12
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
15
tests/components/pn532_spi/test.esp32.yaml
Normal file
15
tests/components/pn532_spi/test.esp32.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_pn532
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
pn532_spi:
|
||||
id: pn532_nfcc
|
||||
cs_pin: 12
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
15
tests/components/pn532_spi/test.esp8266.yaml
Normal file
15
tests/components/pn532_spi/test.esp8266.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_pn532
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
pn532_spi:
|
||||
id: pn532_nfcc
|
||||
cs_pin: 15
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
15
tests/components/pn532_spi/test.rp2040.yaml
Normal file
15
tests/components/pn532_spi/test.rp2040.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
spi:
|
||||
- id: spi_pn532
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
pn532_spi:
|
||||
id: pn532_nfcc
|
||||
cs_pin: 6
|
||||
|
||||
binary_sensor:
|
||||
- platform: pn532
|
||||
pn532_id: pn532_nfcc
|
||||
name: PN532 NFC Tag
|
||||
uid: 74-10-37-94
|
35
tests/components/pn7150_i2c/test.esp32-c3-idf.yaml
Normal file
35
tests/components/pn7150_i2c/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tag.set_clean_mode: nfcc_pn7150
|
||||
- tag.set_format_mode: nfcc_pn7150
|
||||
- tag.set_read_mode: nfcc_pn7150
|
||||
- tag.set_write_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.set_write_mode: nfcc_pn7150
|
||||
- tag.set_emulation_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.emulation_off: nfcc_pn7150
|
||||
- tag.emulation_on: nfcc_pn7150
|
||||
- tag.polling_off: nfcc_pn7150
|
||||
- tag.polling_on: nfcc_pn7150
|
||||
|
||||
i2c:
|
||||
- id: i2c_pn7150
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn7150_i2c:
|
||||
id: nfcc_pn7150
|
||||
irq_pin: 2
|
||||
ven_pin: 3
|
||||
emulation_message: https://www.home-assistant.io/tag/pulse_ce
|
||||
tag_ttl: 1000ms
|
||||
on_tag:
|
||||
- logger.log: "Tag"
|
||||
on_tag_removed:
|
||||
- logger.log: "Tag removed"
|
||||
on_emulated_tag_scan:
|
||||
- logger.log: "Tag emulated"
|
35
tests/components/pn7150_i2c/test.esp32-c3.yaml
Normal file
35
tests/components/pn7150_i2c/test.esp32-c3.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tag.set_clean_mode: nfcc_pn7150
|
||||
- tag.set_format_mode: nfcc_pn7150
|
||||
- tag.set_read_mode: nfcc_pn7150
|
||||
- tag.set_write_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.set_write_mode: nfcc_pn7150
|
||||
- tag.set_emulation_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.emulation_off: nfcc_pn7150
|
||||
- tag.emulation_on: nfcc_pn7150
|
||||
- tag.polling_off: nfcc_pn7150
|
||||
- tag.polling_on: nfcc_pn7150
|
||||
|
||||
i2c:
|
||||
- id: i2c_pn7150
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn7150_i2c:
|
||||
id: nfcc_pn7150
|
||||
irq_pin: 2
|
||||
ven_pin: 3
|
||||
emulation_message: https://www.home-assistant.io/tag/pulse_ce
|
||||
tag_ttl: 1000ms
|
||||
on_tag:
|
||||
- logger.log: "Tag"
|
||||
on_tag_removed:
|
||||
- logger.log: "Tag removed"
|
||||
on_emulated_tag_scan:
|
||||
- logger.log: "Tag emulated"
|
35
tests/components/pn7150_i2c/test.esp32-idf.yaml
Normal file
35
tests/components/pn7150_i2c/test.esp32-idf.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tag.set_clean_mode: nfcc_pn7150
|
||||
- tag.set_format_mode: nfcc_pn7150
|
||||
- tag.set_read_mode: nfcc_pn7150
|
||||
- tag.set_write_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.set_write_mode: nfcc_pn7150
|
||||
- tag.set_emulation_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.emulation_off: nfcc_pn7150
|
||||
- tag.emulation_on: nfcc_pn7150
|
||||
- tag.polling_off: nfcc_pn7150
|
||||
- tag.polling_on: nfcc_pn7150
|
||||
|
||||
i2c:
|
||||
- id: i2c_pn7150
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pn7150_i2c:
|
||||
id: nfcc_pn7150
|
||||
irq_pin: 12
|
||||
ven_pin: 13
|
||||
emulation_message: https://www.home-assistant.io/tag/pulse_ce
|
||||
tag_ttl: 1000ms
|
||||
on_tag:
|
||||
- logger.log: "Tag"
|
||||
on_tag_removed:
|
||||
- logger.log: "Tag removed"
|
||||
on_emulated_tag_scan:
|
||||
- logger.log: "Tag emulated"
|
35
tests/components/pn7150_i2c/test.esp32.yaml
Normal file
35
tests/components/pn7150_i2c/test.esp32.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tag.set_clean_mode: nfcc_pn7150
|
||||
- tag.set_format_mode: nfcc_pn7150
|
||||
- tag.set_read_mode: nfcc_pn7150
|
||||
- tag.set_write_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.set_write_mode: nfcc_pn7150
|
||||
- tag.set_emulation_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.emulation_off: nfcc_pn7150
|
||||
- tag.emulation_on: nfcc_pn7150
|
||||
- tag.polling_off: nfcc_pn7150
|
||||
- tag.polling_on: nfcc_pn7150
|
||||
|
||||
i2c:
|
||||
- id: i2c_pn7150
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
pn7150_i2c:
|
||||
id: nfcc_pn7150
|
||||
irq_pin: 12
|
||||
ven_pin: 13
|
||||
emulation_message: https://www.home-assistant.io/tag/pulse_ce
|
||||
tag_ttl: 1000ms
|
||||
on_tag:
|
||||
- logger.log: "Tag"
|
||||
on_tag_removed:
|
||||
- logger.log: "Tag removed"
|
||||
on_emulated_tag_scan:
|
||||
- logger.log: "Tag emulated"
|
35
tests/components/pn7150_i2c/test.esp8266.yaml
Normal file
35
tests/components/pn7150_i2c/test.esp8266.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tag.set_clean_mode: nfcc_pn7150
|
||||
- tag.set_format_mode: nfcc_pn7150
|
||||
- tag.set_read_mode: nfcc_pn7150
|
||||
- tag.set_write_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.set_write_mode: nfcc_pn7150
|
||||
- tag.set_emulation_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.emulation_off: nfcc_pn7150
|
||||
- tag.emulation_on: nfcc_pn7150
|
||||
- tag.polling_off: nfcc_pn7150
|
||||
- tag.polling_on: nfcc_pn7150
|
||||
|
||||
i2c:
|
||||
- id: i2c_pn7150
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn7150_i2c:
|
||||
id: nfcc_pn7150
|
||||
irq_pin: 12
|
||||
ven_pin: 13
|
||||
emulation_message: https://www.home-assistant.io/tag/pulse_ce
|
||||
tag_ttl: 1000ms
|
||||
on_tag:
|
||||
- logger.log: "Tag"
|
||||
on_tag_removed:
|
||||
- logger.log: "Tag removed"
|
||||
on_emulated_tag_scan:
|
||||
- logger.log: "Tag emulated"
|
35
tests/components/pn7150_i2c/test.rp2040.yaml
Normal file
35
tests/components/pn7150_i2c/test.rp2040.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tag.set_clean_mode: nfcc_pn7150
|
||||
- tag.set_format_mode: nfcc_pn7150
|
||||
- tag.set_read_mode: nfcc_pn7150
|
||||
- tag.set_write_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.set_write_mode: nfcc_pn7150
|
||||
- tag.set_emulation_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.emulation_off: nfcc_pn7150
|
||||
- tag.emulation_on: nfcc_pn7150
|
||||
- tag.polling_off: nfcc_pn7150
|
||||
- tag.polling_on: nfcc_pn7150
|
||||
|
||||
i2c:
|
||||
- id: i2c_pn7150
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
pn7150_i2c:
|
||||
id: nfcc_pn7150
|
||||
irq_pin: 2
|
||||
ven_pin: 3
|
||||
emulation_message: https://www.home-assistant.io/tag/pulse_ce
|
||||
tag_ttl: 1000ms
|
||||
on_tag:
|
||||
- logger.log: "Tag"
|
||||
on_tag_removed:
|
||||
- logger.log: "Tag removed"
|
||||
on_emulated_tag_scan:
|
||||
- logger.log: "Tag emulated"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user