You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/sensor.loop_energy.markdown
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The library used to get the data isn't officially supported and the only way to
21
21
22
22
To do this log into [Loop Energy](https://www.your-loop.com/). Once you're logged in you should be able see see your live readings on the webpage.
23
23
24
-
You can then open your browser's console window, how you do this varies by browser but in Chrome you click on `More Tools / Developer Tools' and click on the console window. You then type:-
24
+
You can then open your browser's console window, how you do this varies by browser but in Chrome you click on `More Tools / Developer Tools' and click on the console window. You then type:
25
25
26
26
`Drupal.settings.navetas_realtime.`
27
27
@@ -37,31 +37,32 @@ secret: "ELECTRICAL_SECRET"
37
37
serial: "ELECTRICAL_SERIAL"
38
38
```
39
39
40
-
The serial and secret tokens are the ones you need. If you just have an electricity monitor - then you won't see the gas keys.
40
+
The serial and secret tokens are the ones you need. If you just have an electricity monitor then you won't see the gas keys.
41
41
42
-
Now you have the keys, add the following lines to your `configuration.yaml`, replacing the `SERIAL` and `SECRET` keys with the ones you found in the console:
42
+
Now you have the keys, add the following lines to your `configuration.yaml`, replacing the `*_SERIAL` and `*_SECRET` keys with the ones you found in the console:
43
43
44
44
```yaml
45
45
# Example configuration.yaml entry
46
46
sensor:
47
-
platform: loopenergy
48
-
electricity_serial: ELECTRICAL_SERIAL
49
-
electricity_secret: ELECTRICAL_SECRET
50
-
gas_serial: GAS_SERIAL
51
-
gas_secret: GAS_SECRET
52
-
gas_type: metric
53
-
gas_calorific: 39.11
54
-
```
47
+
- platform: loopenergy
48
+
electricity:
49
+
electricity_serial: 'ELECTRICAL_SERIAL'
50
+
electricity_secret: 'ELECTRICAL_SECRET'
51
+
gas:
52
+
gas_serial: 'GAS_SERIAL'
53
+
gas_secret: 'GAS_SECRET'
54
+
gas_type: imperial
55
+
gas_calorific: 38.2
55
56
56
57
Configuration variables:
57
58
58
59
- **electricity_serial** (*Required*): Serial number of your electricity sensor
59
60
- **electricity_secret** (*Required*): Secret key for your electricity sensor
60
61
- **gas_serial** (*Optional*): Serial number for your gas sensor.
61
62
- **gas_secret** (*Optional*): Secret key for your gas sensor.
62
-
- **gas_type** (*Optional*): Type of meter `imperial` or `metric`, defaults to metric.
63
-
- **gas_calorific** (*Optional*): Calorific value of your gas supply (usually on your gas bill) - defaults to 39.11.
63
+
- **gas_type** (*Optional*): Type of meter `imperial` or `metric`. Defaults to `metric`.
64
+
- **gas_calorific** (*Optional*): Calorific value of your gas supply (usually on your gas bill). Defaults to 39.11.
64
65
65
66
The electricity readings are updated every 10 seconds and the gas readings every 15 minutes.
66
67
67
-
The gas readings are experimental and not all gas meters are properly supported - so if the data you see doesn't agree with the readings you see via loop energy please report an issue.
68
+
The gas readings are experimental and not all gas meters are properly supported. So if the data you see doesn't agree with the readings you see via loop energy please report an issue.
0 commit comments