-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfiguration.yaml
55 lines (53 loc) · 2.15 KB
/
configuration.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
shell_command:
convert_solar_data: python /config/solarhtml2json.py --url http://IP-OF-YOUR-DEVICE/PathToPage --ecu_v4 # See the README.md for more information
sensor:
- platform: rest
name: "Solar Panel 01"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000058737-A"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 02"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060766-A"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 03"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060391-A"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 04"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060520-A"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 05"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060206-A"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 06"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060206-B"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 07"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060520-B"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 08"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060391-B"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 09"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000060766-B"][0] }}'
unit_of_measurement: "W"
- platform: rest
name: "Solar Panel 10"
resource: http://homeassistant.local:8123/local/power_data.json
value_template: '{{ value_json["404000058737-B"][0] }}'
unit_of_measurement: "W"