nliaudat / floor-heating-controller

esphome firmware for esp32_8ch_motor_shield
GNU General Public License v3.0
39 stars 11 forks source link

Documentation: Connect 1-Wire bus with DS18B20 temperature sensors #6

Closed heinemannj closed 9 months ago

heinemannj commented 9 months ago

Other temperature sensor sample: https://github.com/nliaudat/floor-heating-controller/blob/main/sensor_temperature.yaml

# Connect 1-Wire bus with DS18B20 temperature sensors
#

dallas:
  - pin: GPI22
    update_interval: 15s

sensor:
  - platform: dallas
    address: 0x8b031760522cff28
    name: "301_Heizkreis-WC-Vorlauf"
    id: WC_Vorlauf
    resolution: 12
    accuracy_decimals: 2
    filters:
      - offset: 0.0

  - platform: dallas
    address: 0x353c38f649a51b28
    name: "301_Heizkreis-WC-Ruecklauf"
    id: WC_Ruecklauf
    resolution: 12
    accuracy_decimals: 2
    filters:
      - offset: 0.0
nliaudat commented 9 months ago

Added in https://github.com/nliaudat/floor-heating-controller/commit/6f3ff410f1fb04d35af79e0f213c06479e69538d

Feel free to make pull requests.