I am trying to connect DS18b20 temperature sensor to KC868-AIO and get sensor ID from ESPHome logs
My configuration:
one_wire:
- pin: GPIO01
platform: gpio
This is what I am getting:
[10:58:55][C][gpio.one_wire:020]: GPIO 1-wire bus:
[10:58:55][C][gpio.one_wire:021]: Pin: GPIO1
[10:58:55][W][gpio.one_wire:078]: Found no devices!
[attachment=6462]
Thanks. It works now with GPIO14.
I did the same for DHT11 but not showing anything. I connected to same pins with DSS18b20 (only the DHT without the DS).
This is what I used: (Anything wrong?)
# Example configuration entry
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
i2c:
- id: bus_a
sda: 4
scl: 16
scan: true
one_wire:
- pin: GPIO014
platform: gpio
# Example configuration entry
pcf8574:
- id: 'pcf8574_hub_out_1' # for output channel 1-16
i2c_id: bus_a
address: 0x24
pcf8575: true
now you just defined one_wire code in yaml. you have not added DHT11 code.
Code:
# Example configuration entry
sensor:
- platform: dht
pin: 14
temperature:
name: "Living Room Temperature"
humidity:
name: "Living Room Humidity"
update_interval: 10s
My code now is like this and
is FINALLY working:
Code:
one_wire:
- pin: GPIO14
platform: gpio
sensor:
- platform: dallas_temp
name: "AIO DS18B20 #1"
update_interval: 10s
So how difficult was for you to just give THESE lines of yaml for the DS18b20 in the first place??
Maybe yaml is easy for you but new users like me struggle to understand what is happening. That means either to drop out your product due to "support issues" and find other product, or struggle for a long time with trial and error.
sorry, we can't take all sample demo code. such as you are usuing DS18B20, someone use DHT11, someone use SHT30. The methods of learning and problem-solving are the most important.
As you can see, this thread is for DS18B20 on AIO.
Pretty specific I would say.