09-13-2024, 11:10 AM
The KC868-AM is reading from only port 13, port 33 is not reading. Ports 5 and 14 connected to one_wire are not displaying anything. Here is the yaml file and screenshoot
esphome:
name: kc868-am-11
friendly_name: kc868-am-11
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "Uc1km2Q/93pAMK9LlN/QZd7Vb+4XcINM1o2Bc/xBfmo="
ota:
- platform: esphome
password: "05443423e09db8d6273f7832083d394d"
# Example configuration entry for ESP32
# Example configuration entry
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
sensor:
- platform: dht
pin: 13
temperature:
name: "Master Toilet Temperature"
humidity:
name: "Master Toilet Humidity"
update_interval: 10s
- platform: dht
pin: 33
temperature:
name: "Madam Toilet Temperature"
humidity:
name: "Madam Toilet Humidity"
update_interval: 10s
one_wire:
- platform: gpio
pin: GPIO5
id: MasterRoomTemperature
- platform: gpio
pin: GPIO14
id: MadamRoomTemperature
esphome:
name: kc868-am-11
friendly_name: kc868-am-11
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "Uc1km2Q/93pAMK9LlN/QZd7Vb+4XcINM1o2Bc/xBfmo="
ota:
- platform: esphome
password: "05443423e09db8d6273f7832083d394d"
# Example configuration entry for ESP32
# Example configuration entry
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
sensor:
- platform: dht
pin: 13
temperature:
name: "Master Toilet Temperature"
humidity:
name: "Master Toilet Humidity"
update_interval: 10s
- platform: dht
pin: 33
temperature:
name: "Madam Toilet Temperature"
humidity:
name: "Madam Toilet Humidity"
update_interval: 10s
one_wire:
- platform: gpio
pin: GPIO5
id: MasterRoomTemperature
- platform: gpio
pin: GPIO14
id: MadamRoomTemperature