05-26-2024, 04:22 PM
I was able to get multiple DS18B20 temperature sensors working in esphome. At first I thought it should be GPIO13 but that did not work, 14 did though. Also note that the 4.7kohm resistor is built into the board.
dallas:
- pin: GPIO14
update_interval: 2s
sensor:
- platform: dallas
address: 0x254697d446e4b828
name: "Temperature"
- platform: dallas
address: 0x6a570fd4466e1628
name: "Temperature2"
dallas:
- pin: GPIO14
update_interval: 2s
sensor:
- platform: dallas
address: 0x254697d446e4b828
name: "Temperature"
- platform: dallas
address: 0x6a570fd4466e1628
name: "Temperature2"