Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-AM work with DS18B20 DHT11 sensor ESPHome yaml
#4
I git it working. This is the code I am using and currently have only 1 sensor per input so no address.

Code:
switch:
  - platform: gpio
    name: "OVER-TEMP"
    pin: 15
    inverted: False

sensor:
  - platform: dallas_temp
    one_wire_id: hub_1
    name: "Barn Loop"
    update_interval: 10s
  - platform: dallas_temp
    one_wire_id: hub_2
    name: "Studio Loop"
    update_interval: 10s
  - platform: dallas_temp
    one_wire_id: hub_3
    name: "Return Loops"
    update_interval: 10s
  - platform: dallas_temp
    one_wire_id: hub_4
    name: "Main Boiler Temp"
    update_interval: 10s

one_wire:
  - platform: gpio
    pin: GPIO05
    id: hub_1
  - platform: gpio
    pin: GPIO13
    id: hub_2
  - platform: gpio
    pin: GPIO14
    id: hub_3
  - platform: gpio
    pin: GPIO33
    id: hub_4
Reply


Messages In This Thread
RE: KC868-AM work with DS18B20 DHT11 sensor ESPHome yaml - by jrtaylor - 11-21-2024, 06:36 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)