-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
onewire.yaml
37 lines (31 loc) · 948 Bytes
/
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
one_wire:
- platform: gpio
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
# sensor:
# - platform: dallas_temp
# address: 0xb300000084aa6128 #if only one device on bus, address is not needed
# name: Dallas Input temp
# update_interval: 60s
# accuracy_decimals: 2
# id: dallas_input_temp
# - platform: dallas_temp
# address: 0xeb0000008492ad28
# name: Dallas Output temp
# update_interval: 60s
# accuracy_decimals: 2
# id: dallas_output_temp
# - platform: dallas_temp
# #address: 0x12345678
# name: Dallas Spare temp
# update_interval: 60s
# accuracy_decimals: 2
# id: dallas_3rd_temp