-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
onewire.yaml
73 lines (66 loc) · 2.18 KB
/
onewire.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
one_wire:
- platform: gpio
setup_priority: 1000 #https://github.com/esphome/issues/issues/5983
pin: ${onewire_pin}
id: dallas_bus
button: # clic to find onewire devices address
- platform: template
name: "Test onewire bus"
on_press:
- lambda: |-
id(dallas_bus).search();
id(dallas_bus).dump_config();
id: dallas_bus_test_bt
# web_server:
# sorting_group_id: sorting_group_actions
sensor:
- platform: dallas_temp
setup_priority: -100 #https://github.com/esphome/issues/issues/5983
address: ${dallasaddress_input} #if only one device on bus, address is not needed
name: Heating circuit Input temp
unit_of_measurement: "°C"
icon: "mdi:thermometer-high"
device_class: "temperature"
state_class: "measurement"
accuracy_decimals: 2
update_interval: 60s
# fix since 2024.6 : https://github.com/esphome/issues/issues/5908
# update_interval: never
# filters:
# - filter_out: nan
# - filter_out: 85.0
id: dallas_input_temp
# web_server:
# sorting_group_id: sorting_group_sensors
- platform: dallas_temp
setup_priority: -100 #https://github.com/esphome/issues/issues/5983
address: ${dallasaddress_output}
name: Heating circuit Output temp
unit_of_measurement: "°C"
icon: "mdi:thermometer-low"
device_class: "temperature"
state_class: "measurement"
accuracy_decimals: 2
update_interval: 60s
# fix since 2024.6 : https://github.com/esphome/issues/issues/5908
# update_interval: never
# filters:
# - filter_out: nan
# - filter_out: 85.0
id: dallas_output_temp
# web_server:
# sorting_group_id: sorting_group_sensors
# fix since 2024.6 : https://github.com/esphome/issues/issues/5908
# interval:
# - interval: 60s
# then:
# - component.update: dallas_input_temp
# - delay: 1s
# - component.update: dallas_output_temp
# - delay: 1s
# - platform: dallas_temp
# #address: 0x12345678
# name: Dallas Spare temp
# update_interval: 60s
# accuracy_decimals: 2
# id: dallas_3rd_temp