mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 14:53:49 +01:00
all i2c at once
This commit is contained in:
@@ -11,6 +11,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: axs15231
|
- platform: axs15231
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: axs15231_touchscreen
|
id: axs15231_touchscreen
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
interrupt_pin: 20
|
interrupt_pin: 20
|
||||||
|
@@ -11,6 +11,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: ektf2232
|
- platform: ektf2232
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: ektf2232_touchscreen
|
id: ektf2232_touchscreen
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
reset_pin: ${touch_reset_pin}
|
reset_pin: ${touch_reset_pin}
|
||||||
|
@@ -11,6 +11,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: ft5x06
|
- platform: ft5x06
|
||||||
|
i2c_id: i2c_bus
|
||||||
display: ft5x06_display
|
display: ft5x06_display
|
||||||
id: ft5x06_touchscreen
|
id: ft5x06_touchscreen
|
||||||
on_touch:
|
on_touch:
|
||||||
|
@@ -11,6 +11,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: ft63x6
|
- platform: ft63x6
|
||||||
|
i2c_id: i2c_bus
|
||||||
display: ft63x6_display
|
display: ft63x6_display
|
||||||
id: ft63x6_touchscreen
|
id: ft63x6_touchscreen
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
|
@@ -11,6 +11,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: gt911
|
- platform: gt911
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: gt911_touchscreen
|
id: gt911_touchscreen
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
|
@@ -11,6 +11,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: lilygo_t5_47
|
- platform: lilygo_t5_47
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: lilygo_touchscreen
|
id: lilygo_touchscreen
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
|
@@ -15,6 +15,7 @@ sensor:
|
|||||||
address: 0x53
|
address: 0x53
|
||||||
update_interval: 60s
|
update_interval: 60s
|
||||||
- platform: ltr390
|
- platform: ltr390
|
||||||
|
i2c_id: i2c_bus
|
||||||
uv:
|
uv:
|
||||||
name: LTR390 UV 2
|
name: LTR390 UV 2
|
||||||
uv_index:
|
uv_index:
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
msa3xx:
|
msa3xx:
|
||||||
|
i2c_id: i2c_bus
|
||||||
type: msa301
|
type: msa301
|
||||||
range: 4G
|
range: 4G
|
||||||
resolution: 14
|
resolution: 14
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_msa3xx
|
i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml
|
||||||
scl: GPIO5
|
|
||||||
sda: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_msa3xx
|
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||||
scl: GPIO16
|
|
||||||
sda: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_msa3xx
|
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
|
||||||
scl: GPIO5
|
|
||||||
sda: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_msa3xx
|
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
|
||||||
scl: GPIO5
|
|
||||||
sda: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
sensor:
|
sensor:
|
||||||
- platform: nau7802
|
- platform: nau7802
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: test_id
|
id: test_id
|
||||||
name: weight
|
name: weight
|
||||||
gain: 32
|
gain: 32
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_nau7802
|
i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml
|
||||||
scl: 5
|
|
||||||
sda: 4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_nau7802
|
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||||
scl: 16
|
|
||||||
sda: 17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_nau7802
|
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
|
||||||
scl: 5
|
|
||||||
sda: 4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
i2c:
|
packages:
|
||||||
- id: i2c_nau7802
|
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
|
||||||
scl: 5
|
|
||||||
sda: 4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
@@ -11,6 +11,7 @@ display:
|
|||||||
|
|
||||||
touchscreen:
|
touchscreen:
|
||||||
- platform: tt21100
|
- platform: tt21100
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: tt21100_touchscreen
|
id: tt21100_touchscreen
|
||||||
display: ssd1306_display
|
display: ssd1306_display
|
||||||
interrupt_pin: ${interrupt_pin}
|
interrupt_pin: ${interrupt_pin}
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
ttp229_lsf:
|
ttp229_lsf:
|
||||||
|
i2c_id: i2c_bus
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: ttp229_lsf
|
- platform: ttp229_lsf
|
||||||
|
@@ -12,6 +12,7 @@ sensor:
|
|||||||
id: test_sensor
|
id: test_sensor
|
||||||
lambda: "return 21;"
|
lambda: "return 21;"
|
||||||
- platform: ufire_ec
|
- platform: ufire_ec
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: ufire_ec_board
|
id: ufire_ec_board
|
||||||
ec:
|
ec:
|
||||||
name: Ufire EC
|
name: Ufire EC
|
||||||
|
@@ -14,6 +14,7 @@ sensor:
|
|||||||
id: test_sensor
|
id: test_sensor
|
||||||
lambda: "return 21;"
|
lambda: "return 21;"
|
||||||
- platform: ufire_ise
|
- platform: ufire_ise
|
||||||
|
i2c_id: i2c_bus
|
||||||
id: ufire_ise_sensor
|
id: ufire_ise_sensor
|
||||||
temperature_sensor: test_sensor
|
temperature_sensor: test_sensor
|
||||||
ph:
|
ph:
|
||||||
|
Reference in New Issue
Block a user