-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample.mains.yml
81 lines (78 loc) · 1.68 KB
/
config.sample.mains.yml
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
74
75
76
77
78
79
80
81
settings:
pollingInterval: 5000
httpPort: 8080
circuits:
# Define three circuits, one for each main phase. All use the same Shelly Gen 2 EM device as sensor.
- name: Main L1
# Type = "main" indicates that this is a main circuit, meaning it can be shown separately in the web interface and
# differentiated in published data.
type: main
phase: L1
sensor:
type: shelly
shelly:
address: 10.112.4.67
type: gen2-em
meter: 0
phase: a
- name: Main L2
type: main
phase: L2
sensor:
type: shelly
shelly:
address: 10.112.4.67
type: gen2-em
meter: 0
phase: b
- name: Main L3
type: main
phase: L3
sensor:
type: shelly
shelly:
address: 10.112.4.67
type: gen2-em
meter: 0
phase: c
# A "virtual" type circuit that combines the readings from the physical mains sensors
- name: Main total
type: main
sensor:
type: virtual
virtual:
children:
- Main L1
- Main L2
- Main L3
# Get characteristics from the same device as we get power readings from
characteristics:
- name: Main L1
phase: L1
sensor:
type: shelly
shelly:
address: 10.112.4.67
type: gen2-em
meter: 0
phase: a
- name: Main L2
phase: L2
sensor:
type: shelly
shelly:
address: 10.112.4.67
type: gen2-em
meter: 0
phase: b
- name: Main L3
phase: L3
sensor:
type: shelly
shelly:
address: 10.112.4.67
type: gen2-em
meter: 0
phase: c
# No publishers configured
publishers: