Witajcie, posiadam listwę Kincony KC868-A16 która działa prawidłowo jeśli chodzi o komplet wejść i wyjść stycznikowych. Postanowiłem dodać do systemu czujnik SCD41. Wpięcie czujnika powoduje freez listwy. w HA widać, że losowo styczniki zostają załączone ale sama listwa nie reaguje, kilka sekund po odłączeniu I2C zapalają się najczęściej wszystkie cewki, pozostają włączone do ręcznego ich wyłączenia.
Połączenie bezpośrednie dołączonym do listwy przewodem z odpowiednio ułożonymi pinami do wyjścia I2C. Jest to moja pierwsza próba dodania tego czujnika także proszę o wyrozumiałość.
Prace prowadzone na platformie testowej.
esphome:
name: test-104
platform: ESP32
board: esp32dev
# Example configuration entry for ESP32
i2c:
sda: GPIO4
scl:
number: GPIO5
ignore_strapping_warning: true
# Example configuration entry
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
# Optional manual IP
manual_ip:
static_ip: 192.168.8.104
gateway: 192.168.8.1
subnet: 255.255.255.0
# Example configuration entry
pcf8574:
- id: 'pcf8574_hub_out_1' # for output channel 1-8
address: 0x24
- id: 'pcf8574_hub_out_2' # for output channel 9-16
address: 0x25
- id: 'pcf8574_hub_in_1' # for input channel 1-8
address: 0x21
- id: 'pcf8574_hub_in_2' # for input channel 9-16
address: 0x22
# Individual outputs
switch:
- platform: gpio
name: "ESP_Switch_401"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 0
number: 0
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_402"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 1
number: 1
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_403"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 2
number: 2
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_404"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 3
number: 3
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_405"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 4
number: 4
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_406"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 5
number: 5
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_407"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 6
number: 6
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_408"
pin:
pcf8574: pcf8574_hub_out_1
# Use pin number 7
number: 7
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_409"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 0
number: 0
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_410"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 1
number: 1
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_411"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 2
number: 2
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_412"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 3
number: 3
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_413"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 4
number: 4
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_414"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 5
number: 5
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_415"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 6
number: 6
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
- platform: gpio
name: "ESP_Switch_416"
pin:
pcf8574: pcf8574_hub_out_2
# Use pin number 7
number: 7
# One of INPUT or OUTPUT
mode: OUTPUT
inverted: true
binary_sensor:
- platform: gpio
name: "ESP_Sensor_401"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 0
number: 0
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_402"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 1
number: 1
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_403"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 2
number: 2
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_404"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 3
number: 3
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_405"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 4
number: 4
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_406"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 5
number: 5
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_407"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 6
number: 6
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_408"
pin:
pcf8574: pcf8574_hub_in_2
# Use pin number 7
number: 7
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_409"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 0
number: 0
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_410"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 1
number: 1
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_411"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 2
number: 2
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_412"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 3
number: 3
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_413"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 4
number: 4
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_414"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 5
number: 5
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_415"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 6
number: 6
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
- platform: gpio
name: "ESP_Sensor_416"
pin:
pcf8574: pcf8574_hub_in_1
# Use pin number 7
number: 7
# One of INPUT or OUTPUT
mode: INPUT
inverted: true
one_wire:
- platform: gpio
pin: GPIO14
sensor:
- platform: dallas_temp
address: 0x803c8504578d3328
name: "Temp_4X1"
update_interval: 5s
- platform: scd4x
co2:
name: "Office CO2"
temperature:
name: "Office Temperature"
humidity:
name: "office Humidity"
address: 0x62
update_interval: 60s
# Enable logging
logger:
# Enable Home Assistant API
api: