mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
fireplace, heater: switch to native ds248x component + cleanup
This commit is contained in:
1 parent
1a83052d90
commit
b1b57818df
2 files changed
+17
-86
No files matched your search
+8
-48
@@ -37,56 +37,26 @@ esp32:
|
|||||||
flash_chip: gd
|
flash_chip: gd
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
external_components:
|
|
||||||
# - source: github://pr#12717
|
|
||||||
# components: [ds248x]
|
|
||||||
# refresh: 1h
|
|
||||||
- source: github://pr#13534
|
|
||||||
components: [ds2482, ds2484, ds248x_base]
|
|
||||||
refresh: 1h
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
ipv6_only: !include common/ipv6_only.yaml
|
ipv6_only: !include common/ipv6_only.yaml
|
||||||
status_led: !include common/status_led_atom.yaml
|
status_led: !include common/status_led_atom.yaml
|
||||||
|
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
# - id: i2c0
|
|
||||||
# sda: 26
|
|
||||||
# scl: 32
|
|
||||||
# scan: true #false
|
|
||||||
# - id: i2c1
|
|
||||||
sda: 25
|
sda: 25
|
||||||
scl: 21
|
scl: 21
|
||||||
scan: true #false
|
scan: true #false
|
||||||
|
|
||||||
# ds248x:
|
ds248x:
|
||||||
# # i2c_id: i2c_main
|
id: ds2484_module
|
||||||
# address: 0x18 # should be the default
|
type: ds2482-100
|
||||||
# # sleep_pin: 32 # remove if not needed, if set the ds248x sleeps when no transaction is in progress
|
address: 0x18
|
||||||
# active_pullup: true # adds a active pullup which should improve signal integrity
|
active_pullup: true
|
||||||
# strong_pullup: false # enables a strong pullup used to provide the needed current for temperature reading without vcc connected
|
|
||||||
# bus_sleep: true # power down the bus when no transaction is in progres
|
|
||||||
|
|
||||||
# one_wire:
|
|
||||||
# id: one_wire_bus
|
|
||||||
# platform: ds2484
|
|
||||||
# active_pullup: true
|
|
||||||
|
|
||||||
# ds248x:
|
|
||||||
# id: ds2484_module
|
|
||||||
# address: 0x18
|
|
||||||
|
|
||||||
# one_wire:
|
|
||||||
# - platform: ds248x
|
|
||||||
# ds248x_id: ds2484_module
|
|
||||||
# id: one_wire_bus
|
|
||||||
|
|
||||||
one_wire:
|
one_wire:
|
||||||
id: one_wire_bus
|
- platform: ds248x
|
||||||
platform: ds2482
|
ds248x_id: ds2484_module
|
||||||
active_pullup: true
|
id: one_wire_bus
|
||||||
|
|
||||||
pca9554:
|
pca9554:
|
||||||
- id: pca9554_module
|
- id: pca9554_module
|
||||||
@@ -133,16 +103,6 @@ sensor:
|
|||||||
# index: 0
|
# index: 0
|
||||||
name: Temperature
|
name: Temperature
|
||||||
id: 'heating_fireplace_temperature'
|
id: 'heating_fireplace_temperature'
|
||||||
# - platform: dht
|
|
||||||
# pin: 14
|
|
||||||
# temperature:
|
|
||||||
# name: "Kitchen Temperature"
|
|
||||||
# id: 'kitchen_temperature'
|
|
||||||
# humidity:
|
|
||||||
# name: "Kitchen Humidity"
|
|
||||||
# id: 'kitchen_humidity'
|
|
||||||
# update_interval: 60s
|
|
||||||
# model: si7021
|
|
||||||
|
|
||||||
bluetooth_proxy:
|
bluetooth_proxy:
|
||||||
active: true
|
active: true
|
||||||
+9
-38
@@ -47,26 +47,11 @@ esp32:
|
|||||||
flash_chip: gd
|
flash_chip: gd
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
external_components:
|
|
||||||
# - source: github://pr#12717
|
|
||||||
# components: [ds248x]
|
|
||||||
# refresh: 1h
|
|
||||||
- source: github://pr#13534
|
|
||||||
components: [ds2482, ds2484, ds248x_base]
|
|
||||||
refresh: 1h
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
ipv6_only: !include common/ipv6_only.yaml
|
ipv6_only: !include common/ipv6_only.yaml
|
||||||
status_led: !include common/status_led_atom.yaml
|
status_led: !include common/status_led_atom.yaml
|
||||||
|
|
||||||
#logger:
|
|
||||||
# level: VERBOSE
|
|
||||||
# logs:
|
|
||||||
# dallas.component: ERROR
|
|
||||||
# uart.component: ERROR
|
|
||||||
# i2c.component: VERBOSE
|
|
||||||
|
|
||||||
# Heating / Hot water Controller
|
# Heating / Hot water Controller
|
||||||
# temp_1: Solar Collector
|
# temp_1: Solar Collector
|
||||||
# temp_2: Cylinder Bottom (solar)
|
# temp_2: Cylinder Bottom (solar)
|
||||||
@@ -170,36 +155,22 @@ climate:
|
|||||||
default_target_temperature_high: 40 °C
|
default_target_temperature_high: 40 °C
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
# - id: i2c0
|
|
||||||
# sda: 26
|
|
||||||
# scl: 32
|
|
||||||
# scan: true #false
|
|
||||||
# - id: i2c1
|
|
||||||
sda: 25
|
sda: 25
|
||||||
scl: 21
|
scl: 21
|
||||||
scan: true #false
|
scan: true #false
|
||||||
|
|
||||||
# one_wire:
|
|
||||||
# id: one_wire_bus
|
|
||||||
# # i2c_id: i2c_main
|
|
||||||
# platform: ds2484
|
|
||||||
# active_pullup: true
|
|
||||||
|
|
||||||
# ds248x:
|
ds248x:
|
||||||
# id: ds2484_module
|
id: ds2482_module
|
||||||
# address: 0x18
|
type: ds2482-100
|
||||||
# active_pullup: true
|
address: 0x18
|
||||||
|
active_pullup: true
|
||||||
# one_wire:
|
|
||||||
# - platform: ds248x
|
|
||||||
# ds248x_id: ds2484_module
|
|
||||||
# id: one_wire_bus
|
|
||||||
|
|
||||||
one_wire:
|
one_wire:
|
||||||
id: one_wire_bus
|
- platform: ds248x
|
||||||
# i2c_id: i2c_main
|
ds248x_id: ds2482_module
|
||||||
platform: ds2482
|
id: one_wire_bus
|
||||||
active_pullup: true
|
|
||||||
|
|
||||||
modbus:
|
modbus:
|
||||||
uart_id: uart_modbus
|
uart_id: uart_modbus
|
||||||
|
|||||||
Reference in new issue
Block a user