node-red-contrib-octopus-intelligent 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +597 -442
- package/README.md +1234 -980
- package/examples/basic-monitoring.json +1 -1
- package/examples/boost-on-cheap-or-surplus.json +171 -0
- package/examples/charging-and-error-alerts.json +95 -0
- package/examples/cheapest-window-planner.json +165 -0
- package/examples/daily-charging-summary.json +165 -0
- package/examples/ha-dashboard.yaml +667 -599
- package/examples/mqtt-integration.json +1 -1
- package/examples/node-red-dashboard-flow.json +1377 -1199
- package/examples/set-preferences.json +1 -1
- package/lib/active-now.js +33 -0
- package/lib/api-metrics.js +31 -31
- package/lib/auth.js +25 -20
- package/lib/boost.js +85 -0
- package/lib/categories/account.js +32 -32
- package/lib/categories/applicable-rates.js +137 -127
- package/lib/categories/completed-dispatches.js +36 -35
- package/lib/categories/electricity.js +156 -146
- package/lib/categories/flex-planned-dispatches.js +36 -36
- package/lib/categories/free-electricity.js +73 -61
- package/lib/categories/gas.js +102 -95
- package/lib/categories/home-mini.js +45 -37
- package/lib/categories/intelligent.js +221 -124
- package/lib/categories/octoplus.js +35 -32
- package/lib/categories/saving-sessions.js +78 -64
- package/lib/categories/smartflex-inverter.js +95 -0
- package/lib/categories/smartflex-vehicle.js +198 -0
- package/lib/categories/wheel-of-fortune.js +50 -49
- package/lib/commands.js +69 -0
- package/lib/discovery-retry.js +16 -0
- package/lib/discovery.js +154 -85
- package/lib/graphql-errors.js +174 -0
- package/lib/graphql.js +141 -44
- package/lib/http-get-json.js +80 -22
- package/lib/payload.js +104 -88
- package/lib/poll-retry.js +71 -0
- package/lib/poll-tick.js +112 -44
- package/lib/preferences.js +34 -0
- package/lib/scheduler.js +85 -47
- package/lib/sensor-definitions.js +269 -0
- package/lib/timezone.js +67 -49
- package/lib/update-check.js +38 -38
- package/lib/values.js +47 -0
- package/octopus-intelligent.html +258 -205
- package/octopus-intelligent.js +2816 -1807
- package/package.json +54 -54
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "node-red-contrib-octopus-intelligent",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Node-RED integration for Octopus Energy Intelligent Octopus Go with Home Assistant MQTT discovery",
|
|
5
|
-
"main": "octopus-intelligent.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "jest",
|
|
8
|
-
"test:watch": "jest --watch",
|
|
9
|
-
"test:coverage": "jest --coverage"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
"node-red",
|
|
13
|
-
"octopus-energy",
|
|
14
|
-
"intelligent-octopus",
|
|
15
|
-
"home-assistant",
|
|
16
|
-
"mqtt",
|
|
17
|
-
"ev-charging",
|
|
18
|
-
"smart-charging"
|
|
19
|
-
],
|
|
20
|
-
"author": "Andrew Somerharju Neale",
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"files": [
|
|
23
|
-
"octopus-intelligent.js",
|
|
24
|
-
"octopus-intelligent.html",
|
|
25
|
-
"lib/",
|
|
26
|
-
"README.md",
|
|
27
|
-
"CHANGELOG.md",
|
|
28
|
-
"LICENSE",
|
|
29
|
-
"examples/"
|
|
30
|
-
],
|
|
31
|
-
"node-red": {
|
|
32
|
-
"version": ">=2.0.0",
|
|
33
|
-
"nodes": {
|
|
34
|
-
"octopus-intelligent": "octopus-intelligent.js"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=14.0.0",
|
|
39
|
-
"node-red": ">=2.0.0"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"jest": "^29.7.0",
|
|
44
|
-
"@types/jest": "^29.5.0"
|
|
45
|
-
},
|
|
46
|
-
"repository": {
|
|
47
|
-
"type": "git",
|
|
48
|
-
"url": "https://github.com/ASomerN/node-red-contrib-octopus-intelligent.git"
|
|
49
|
-
},
|
|
50
|
-
"bugs": {
|
|
51
|
-
"url": "https://github.com/ASomerN/node-red-contrib-octopus-intelligent/issues"
|
|
52
|
-
},
|
|
53
|
-
"homepage": "https://github.com/ASomerN/node-red-contrib-octopus-intelligent/blob/master/README.md"
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "node-red-contrib-octopus-intelligent",
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"description": "Node-RED integration for Octopus Energy Intelligent Octopus Go with Home Assistant MQTT discovery",
|
|
5
|
+
"main": "octopus-intelligent.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "jest",
|
|
8
|
+
"test:watch": "jest --watch",
|
|
9
|
+
"test:coverage": "jest --coverage"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"node-red",
|
|
13
|
+
"octopus-energy",
|
|
14
|
+
"intelligent-octopus",
|
|
15
|
+
"home-assistant",
|
|
16
|
+
"mqtt",
|
|
17
|
+
"ev-charging",
|
|
18
|
+
"smart-charging"
|
|
19
|
+
],
|
|
20
|
+
"author": "Andrew Somerharju Neale",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"files": [
|
|
23
|
+
"octopus-intelligent.js",
|
|
24
|
+
"octopus-intelligent.html",
|
|
25
|
+
"lib/",
|
|
26
|
+
"README.md",
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"LICENSE",
|
|
29
|
+
"examples/"
|
|
30
|
+
],
|
|
31
|
+
"node-red": {
|
|
32
|
+
"version": ">=2.0.0",
|
|
33
|
+
"nodes": {
|
|
34
|
+
"octopus-intelligent": "octopus-intelligent.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=14.0.0",
|
|
39
|
+
"node-red": ">=2.0.0"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"jest": "^29.7.0",
|
|
44
|
+
"@types/jest": "^29.5.0"
|
|
45
|
+
},
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/ASomerN/node-red-contrib-octopus-intelligent.git"
|
|
49
|
+
},
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/ASomerN/node-red-contrib-octopus-intelligent/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/ASomerN/node-red-contrib-octopus-intelligent/blob/master/README.md"
|
|
54
|
+
}
|