-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
187 lines (181 loc) · 4.33 KB
/
config.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
---
endpoints:
# Home Assistant endpoint configuration
#
#- platform: homeassistant
# name: homeassistant
# url: http://homeassistant.local:8123
# api_key: "<YOUR_API_KEY>"
# MQTT endpoint configuration
#
#- platform: mqtt
# name: mosquitto
# host: 10.0.15.10
# port: 1883
# raw: true
# keepalive: 15
# username: testuser
# password: testpass
# ca: /tmp/ca.crt
# client_crt: /tmp/client.crt
# client_key: /tmp/client.key
watchers:
- platform: sysinfo
name: rpi3
scan_interval: 1200000
- platform: lmsensors
name: rpi3
temperature_unit: "°C"
scan_interval: 5000
# icmp require special capabilities:
# setcap cap_net_raw+ep /usr/bin/rszurro
#- platform: icmp
# name: localhost
# host: "127.0.0.1"
# scan_interval: 5000
# Example configuration of a rain sensor using raspberry's gpio
#
#- platform: gpio
# name: rpi3
# chip: gpiochip0
# sensors:
# - name: rain_sensor
# friendly_name: Sensore Pioggia
# address: 11
# Example configuration for modbus_rtu on a pv inverter
#
#- platform: modbus_rtu
# name: HYD6000ZSSHP
# path: /dev/ttyUSB0 # serial port device path
# baud_rate: 9600 # serial port baud rate
# scan_interval: 800 # sleep between readings
# slaves:
# - address: 1
# sensors:
# - name: energy_generation_today
# friendly_name: Produzione solare (oggi)
# address: 1669
# accuracy: 0.01
# unit: kWh
# state_class: total_increasing
# device_class: energy
#
# - name: energy_generation_total
# friendly_name: Produzione Solare Totale
# address: 1671
# accuracy: 0.1
# unit: kWh
# state_class: total
# device_class: energy
#
# - name: energy_purchase_today
# friendly_name: Energia Comprata Oggi
# address: 1677
# accuracy: 0.01
# unit: kWh
# state_class: total_increasing
# device_class: energy
#
# - name: energy_purchase_total
# address: 1679
# accuracy: 0.1
# unit: kWh
# state_class: total
# friendly_name: Energia Comprata Totale
# device_class: energy
#
# - name: energy_sell_today
# friendly_name: Energia Venduta Oggi
# address: 1681
# accuracy: 0.01
# unit: kWh
# state_class: total_increasing
# device_class: energy
#
# - name: energy_sell_total
# friendly_name: Energia Vendura Totale
# address: 1683
# accuracy: 0.1
# unit: kWh
# state_class: total
# device_class: energy
#
# - name: pv_power_pv1
# friendly_name: Potenza array 1
# address: 1414
# accuracy: 0.01
# unit: kW
# state_class: measurement
# device_class: power
#
# - name: pv_power_pv2
# friendly_name: Potenza array 2
# address: 1417
# accuracy: 0.01
# unit: kW
# state_class: measurement
# device_class: power
#
# - name: battery_energy_in_today
# address: 1685
# accuracy: 0.01
# unit: kWh
# state_class: total_increasing
# friendly_name: Batteria Import Oggi
# device_class: energy
#
# - name: battery_energy_out_today
# address: 1689
# accuracy: 0.01
# unit: kWh
# state_class: total_increasing
# friendly_name: Batteria Export Oggi
# device_class: energy
#
# - name: battery_current_charge
# friendly_name: Carica Batteria Accumulo
# address: 1544
# accuracy: 1
# unit: "%"
# state_class: ''
# device_class: battery
#
# - name: battery_temperature
# friendly_name: Temperatura Batteria Accumulo
# address: 1543
# accuracy: 1
# unit: "°C"
# state_class: measurement
# device_class: temperature
#
# - name: inverter_ext_temperature
# friendly_name: Temperatura esterna inverter
# address: 1050
# accuracy: 1
# unit: "°C"
# state_class: measurement
# device_class: temperature
#
# - name: inverter_int_temperature
# friendly_name: Temperatura interna inverter
# address: 1048
# accuracy: 1
# unit: "°C"
# state_class: measurement
# device_class: temperature
#
# - name: inverter_sys_state
# friendly_name: Stato inverter
# address: 1028
# accuracy: 1
# unit: ''
# state_class: ''
# device_class: state
#
# - name: inverter_home_power_meter
# friendly_name: Consumo attuale
# address: 1199
# accuracy: 10
# unit: W
# state_class: measurement
# device_class: power