node-red-contrib-power-saver 2.0.3 → 3.0.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 +1 -25
- package/README.md +3 -157
- package/docs/.vuepress/config.js +67 -0
- package/docs/.vuepress/dist/404.html +15 -0
- package/docs/.vuepress/dist/assets/css/styles.e835bef6.css +8 -0
- package/docs/.vuepress/dist/assets/img/back-to-top.8b37f773.svg +1 -0
- package/docs/.vuepress/dist/assets/img/elvia-config-no-config.b4bb972c.png +0 -0
- package/docs/.vuepress/dist/assets/img/elvia-config-no-tariff.3f89aba8.png +0 -0
- package/docs/.vuepress/dist/assets/img/elvia-config-select-tariff.0f73fd56.png +0 -0
- package/docs/.vuepress/dist/assets/img/elvia-config-subscription-key.8be8ab8a.png +0 -0
- package/docs/.vuepress/dist/assets/img/elvia-flow.bae2a4d5.png +0 -0
- package/docs/.vuepress/dist/assets/img/example-flow-1.3ff3e23f.png +0 -0
- package/docs/.vuepress/dist/assets/img/example-flow-2.b653b58d.png +0 -0
- package/docs/.vuepress/dist/assets/img/migrate-best-save.f73420f6.png +0 -0
- package/docs/.vuepress/dist/assets/img/migrate-power-saver.aae13f9d.png +0 -0
- package/docs/.vuepress/dist/assets/img/node-power-saver.51ff2e5d.png +0 -0
- package/docs/.vuepress/dist/assets/img/node-ps-elvia-add-tariff.94ea2b09.png +0 -0
- package/docs/.vuepress/dist/assets/img/node-ps-receive-price.76eaa418.png +0 -0
- package/docs/.vuepress/dist/assets/img/node-ps-strategy-best-save.392292d5.png +0 -0
- package/docs/.vuepress/dist/assets/img/node-ps-strategy-lowest-price.3a4ad347.png +0 -0
- package/docs/.vuepress/dist/assets/img/power-saver-nordpool-current-state.bf14afde.png +0 -0
- package/docs/.vuepress/dist/assets/img/power-saver-nordpool-events-state.8c392507.png +0 -0
- package/docs/.vuepress/dist/assets/img/power-saver-tibber-mqtt.16891dd2.png +0 -0
- package/docs/.vuepress/dist/assets/js/293.5e967839.js +1 -0
- package/docs/.vuepress/dist/assets/js/491.c183eba3.js +1 -0
- package/docs/.vuepress/dist/assets/js/812.79dad458.js +2 -0
- package/docs/.vuepress/dist/assets/js/812.79dad458.js.LICENSE.txt +8 -0
- package/docs/.vuepress/dist/assets/js/app.80d4373d.js +1 -0
- package/docs/.vuepress/dist/assets/js/runtime~app.665b411c.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-08683c60.9edcaa60.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-0aca7ba6.5eca5160.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-0b5e3c8c.c02472fb.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-1ad821fa.a628e907.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-30acb564.80b4190d.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-3706649a.d7f73384.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-4637f9e4.df94c6ea.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-510ed0d4.a78d8542.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-5954bcb2.4f4712f3.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-5db8da3a.2e49b81a.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-61f728ca.7b545524.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-677dfaed.756e0fb5.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-7c87f26e.57507077.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-8daa1a0e.1ea39527.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-b4a42144.a812c440.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-e8c55052.30f30acd.js +1 -0
- package/docs/.vuepress/dist/assets/js/v-fffb8e28.850019c1.js +1 -0
- package/docs/.vuepress/dist/changelog/index.html +15 -0
- package/docs/.vuepress/dist/contribute/index.html +15 -0
- package/docs/.vuepress/dist/euro.png +0 -0
- package/docs/.vuepress/dist/examples/example-nordpool-current-state.html +169 -0
- package/docs/.vuepress/dist/examples/example-nordpool-events-state.html +173 -0
- package/docs/.vuepress/dist/examples/example-tibber-mqtt.html +182 -0
- package/docs/.vuepress/dist/examples/index.html +15 -0
- package/docs/.vuepress/dist/guide/index.html +52 -0
- package/docs/.vuepress/dist/index.html +15 -0
- package/docs/.vuepress/dist/logo.png +0 -0
- package/docs/.vuepress/dist/nodes/index.html +15 -0
- package/docs/.vuepress/dist/nodes/old-power-saver-doc.html +97 -0
- package/docs/.vuepress/dist/nodes/power-saver.html +15 -0
- package/docs/.vuepress/dist/nodes/ps-elvia-add-tariff.html +15 -0
- package/docs/.vuepress/dist/nodes/ps-receive-price.html +80 -0
- package/docs/.vuepress/dist/nodes/ps-strategy-best-save.html +65 -0
- package/docs/.vuepress/dist/nodes/ps-strategy-lowest-price.html +89 -0
- package/docs/.vuepress/dist/nodes/strategy-input.html +40 -0
- package/docs/.vuepress/public/euro.png +0 -0
- package/docs/.vuepress/public/logo.png +0 -0
- package/docs/README.md +32 -0
- package/docs/changelog/README.md +55 -0
- package/docs/contribute/README.md +39 -0
- package/docs/examples/README.md +5 -0
- package/docs/examples/example-nordpool-current-state.md +166 -0
- package/docs/examples/example-nordpool-events-state.md +170 -0
- package/docs/examples/example-tibber-mqtt.md +179 -0
- package/docs/guide/README.md +193 -0
- package/docs/images/all-nodes.png +0 -0
- package/docs/images/best-save-config.png +0 -0
- package/docs/images/elvia-add-tariff-node-used.png +0 -0
- package/docs/images/elvia-config-no-config.png +0 -0
- package/docs/images/elvia-config-no-tariff.png +0 -0
- package/docs/images/elvia-config-select-tariff.png +0 -0
- package/docs/images/elvia-config-subscription-key.png +0 -0
- package/docs/images/elvia-flow.png +0 -0
- package/docs/images/elvia-tariff-config.png +0 -0
- package/docs/images/euro.png +0 -0
- package/docs/images/example-flow-1.png +0 -0
- package/docs/images/example-flow-2.png +0 -0
- package/docs/images/logo.png +0 -0
- package/docs/images/lowest-price-config.png +0 -0
- package/docs/images/migrate-best-save.png +0 -0
- package/docs/images/migrate-power-saver.png +0 -0
- package/docs/images/node-power-saver.png +0 -0
- package/docs/images/node-ps-elvia-add-tariff.png +0 -0
- package/docs/images/node-ps-elvia-tariff-types.png +0 -0
- package/docs/images/node-ps-elvia-tariff.png +0 -0
- package/docs/images/node-ps-receive-price.png +0 -0
- package/docs/images/node-ps-strategy-best-save.png +0 -0
- package/docs/images/node-ps-strategy-lowest-price.png +0 -0
- package/{doc → docs/images}/node-red-contrib-power-saver-flow.png +0 -0
- package/docs/images/power-saver-nordpool-current-state.png +0 -0
- package/docs/images/power-saver-nordpool-events-state.png +0 -0
- package/docs/images/power-saver-tibber-mqtt.png +0 -0
- package/docs/nodes/README.md +53 -0
- package/docs/nodes/old-power-saver-doc.md +231 -0
- package/docs/nodes/power-saver.md +23 -0
- package/docs/nodes/ps-elvia-add-tariff.md +52 -0
- package/docs/nodes/ps-receive-price.md +153 -0
- package/docs/nodes/ps-strategy-best-save.md +142 -0
- package/docs/nodes/ps-strategy-lowest-price.md +165 -0
- package/docs/nodes/strategy-input.md +39 -0
- package/package.json +19 -4
- package/src/elvia/elvia-add-tariff.html +70 -0
- package/src/elvia/elvia-add-tariff.js +47 -0
- package/src/elvia/elvia-api.js +61 -0
- package/src/elvia/elvia-config.html +44 -0
- package/src/elvia/elvia-config.js +25 -0
- package/src/elvia/elvia-tariff-types.html +34 -0
- package/src/elvia/elvia-tariff-types.js +23 -0
- package/src/elvia/elvia-tariff.html +89 -0
- package/src/elvia/elvia-tariff.js +26 -0
- package/src/elvia/icons/elvia_hvite.svg +4 -0
- package/src/elvia/icons/elvia_positive_4 copy.svg +4 -0
- package/src/handle-input.js +159 -0
- package/src/power-saver.html +116 -0
- package/{power-saver.js → src/power-saver.js} +90 -72
- package/src/receive-price-functions.js +99 -0
- package/src/receive-price.html +30 -0
- package/src/receive-price.js +21 -0
- package/src/strategy-best-save-functions.js +110 -0
- package/src/strategy-best-save.html +116 -0
- package/src/strategy-best-save.js +95 -0
- package/src/strategy-lowest-price-functions.js +35 -0
- package/src/strategy-lowest-price.html +168 -0
- package/src/strategy-lowest-price.js +125 -0
- package/{utils.js → src/utils.js} +59 -104
- package/test/data/adjustedResult.js +302 -0
- package/test/data/adjustedResult_old.js +154 -0
- package/test/data/best-save-result.json +357 -0
- package/test/data/converted-prices.json +196 -0
- package/test/data/elvia-input-grid-tariff.json +760 -0
- package/test/data/elvia-input-power-prices.json +194 -0
- package/test/data/elvia-output-add-tariff.json +290 -0
- package/test/data/lowest-price-result-cont.json +18 -0
- package/test/data/lowest-price-result-split-allday.json +21 -0
- package/test/data/lowest-price-result-split-allday10.json +20 -0
- package/test/data/lowest-price-result-split.json +20 -0
- package/test/data/nordpool-current-state-prices.json +283 -0
- package/test/data/nordpool-event-prices.json +574 -0
- package/test/data/reconfigResult.js +315 -0
- package/test/data/reconfigResult_old.js +141 -0
- package/test/data/result.js +1 -0
- package/test/data/tibber-prices-single-home.json +64 -0
- package/test/data/tibber-prices.json +124 -0
- package/test/data/{tibber_result.json → tibber-result.json} +2 -1
- package/test/elvia.test.js +26 -0
- package/test/mostSavedStrategy.test.js +22 -55
- package/test/power-saver.test.js +4 -38
- package/test/receive-price-functions.test.js +153 -0
- package/test/receive-price.test.js +122 -0
- package/test/send-config-input.test.js +121 -0
- package/test/strategy-best-save-test-utils.js +32 -0
- package/test/strategy-best-save.test.js +103 -0
- package/test/strategy-lowest-price-functions.test.js +40 -0
- package/test/strategy-lowest-price.test.js +338 -0
- package/test/test-utils.js +106 -0
- package/test/utils.test.js +53 -163
- package/mostSavedStrategy.js +0 -84
- package/mostSavedStrategy_v2.js +0 -68
- package/power-saver.html +0 -259
- package/test/data/tibber_data.json +0 -412
- package/test/data/tibber_prices.json +0 -412
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schedule": [
|
|
3
|
+
{
|
|
4
|
+
"time": "2021-06-20T01:50:00.000+02:00",
|
|
5
|
+
"value": false
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"time": "2021-06-20T01:50:00.020+02:00",
|
|
9
|
+
"value": true
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"time": "2021-06-20T01:50:00.080+02:00",
|
|
13
|
+
"value": false
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"time": "2021-06-20T01:50:00.110+02:00",
|
|
17
|
+
"value": true
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"time": "2021-06-20T01:50:00.180+02:00",
|
|
21
|
+
"value": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"time": "2021-06-20T01:50:00.200+02:00",
|
|
25
|
+
"value": true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"time": "2021-06-20T01:50:00.220+02:00",
|
|
29
|
+
"value": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"time": "2021-06-20T01:50:00.250+02:00",
|
|
33
|
+
"value": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"time": "2021-06-20T01:50:00.330+02:00",
|
|
37
|
+
"value": false
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"time": "2021-06-20T01:50:00.360+02:00",
|
|
41
|
+
"value": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"time": "2021-06-20T01:50:00.400+02:00",
|
|
45
|
+
"value": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"time": "2021-06-20T01:50:00.430+02:00",
|
|
49
|
+
"value": true
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"time": "2021-06-20T01:50:00.460+02:00",
|
|
53
|
+
"value": false
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"time": "2021-06-20T01:50:00.470+02:00",
|
|
57
|
+
"value": true
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"hours": [
|
|
61
|
+
{
|
|
62
|
+
"price": 0.2494,
|
|
63
|
+
"onOff": false,
|
|
64
|
+
"start": "2021-06-20T01:50:00.000+02:00",
|
|
65
|
+
"saving": 0.0395
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"price": 0.2209,
|
|
69
|
+
"onOff": false,
|
|
70
|
+
"start": "2021-06-20T01:50:00.010+02:00",
|
|
71
|
+
"saving": 0.011
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"price": 0.2099,
|
|
75
|
+
"onOff": true,
|
|
76
|
+
"start": "2021-06-20T01:50:00.020+02:00",
|
|
77
|
+
"saving": null
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"price": 0.219,
|
|
81
|
+
"onOff": true,
|
|
82
|
+
"start": "2021-06-20T01:50:00.030+02:00",
|
|
83
|
+
"saving": null
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"price": 0.2614,
|
|
87
|
+
"onOff": true,
|
|
88
|
+
"start": "2021-06-20T01:50:00.040+02:00",
|
|
89
|
+
"saving": null
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"price": 0.4426,
|
|
93
|
+
"onOff": true,
|
|
94
|
+
"start": "2021-06-20T01:50:00.050+02:00",
|
|
95
|
+
"saving": null
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"price": 0.5433,
|
|
99
|
+
"onOff": true,
|
|
100
|
+
"start": "2021-06-20T01:50:00.060+02:00",
|
|
101
|
+
"saving": null
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"price": 0.5667,
|
|
105
|
+
"onOff": true,
|
|
106
|
+
"start": "2021-06-20T01:50:00.070+02:00",
|
|
107
|
+
"saving": null
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"price": 0.5847,
|
|
111
|
+
"onOff": false,
|
|
112
|
+
"start": "2021-06-20T01:50:00.080+02:00",
|
|
113
|
+
"saving": 0.0723
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"price": 0.5762,
|
|
117
|
+
"onOff": false,
|
|
118
|
+
"start": "2021-06-20T01:50:00.090+02:00",
|
|
119
|
+
"saving": 0.0638
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"price": 0.5391,
|
|
123
|
+
"onOff": false,
|
|
124
|
+
"start": "2021-06-20T01:50:00.100+02:00",
|
|
125
|
+
"saving": 0.0267
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"price": 0.5124,
|
|
129
|
+
"onOff": true,
|
|
130
|
+
"start": "2021-06-20T01:50:00.110+02:00",
|
|
131
|
+
"saving": null
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"price": 0.504,
|
|
135
|
+
"onOff": true,
|
|
136
|
+
"start": "2021-06-20T01:50:00.120+02:00",
|
|
137
|
+
"saving": null
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"price": 0.5057,
|
|
141
|
+
"onOff": true,
|
|
142
|
+
"start": "2021-06-20T01:50:00.130+02:00",
|
|
143
|
+
"saving": null
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"price": 0.5066,
|
|
147
|
+
"onOff": true,
|
|
148
|
+
"start": "2021-06-20T01:50:00.140+02:00",
|
|
149
|
+
"saving": null
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"price": 0.5136,
|
|
153
|
+
"onOff": true,
|
|
154
|
+
"start": "2021-06-20T01:50:00.150+02:00",
|
|
155
|
+
"saving": null
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"price": 0.5143,
|
|
159
|
+
"onOff": true,
|
|
160
|
+
"start": "2021-06-20T01:50:00.160+02:00",
|
|
161
|
+
"saving": null
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"price": 0.5306,
|
|
165
|
+
"onOff": true,
|
|
166
|
+
"start": "2021-06-20T01:50:00.170+02:00",
|
|
167
|
+
"saving": null
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"price": 0.5534,
|
|
171
|
+
"onOff": false,
|
|
172
|
+
"start": "2021-06-20T01:50:00.180+02:00",
|
|
173
|
+
"saving": 0.0043
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"price": 0.5511,
|
|
177
|
+
"onOff": false,
|
|
178
|
+
"start": "2021-06-20T01:50:00.190+02:00",
|
|
179
|
+
"saving": 0.002
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"price": 0.5491,
|
|
183
|
+
"onOff": true,
|
|
184
|
+
"start": "2021-06-20T01:50:00.200+02:00",
|
|
185
|
+
"saving": null
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"price": 0.5485,
|
|
189
|
+
"onOff": true,
|
|
190
|
+
"start": "2021-06-20T01:50:00.210+02:00",
|
|
191
|
+
"saving": null
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"price": 0.5481,
|
|
195
|
+
"onOff": false,
|
|
196
|
+
"start": "2021-06-20T01:50:00.220+02:00",
|
|
197
|
+
"saving": 0.1285
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"price": 0.5218,
|
|
201
|
+
"onOff": false,
|
|
202
|
+
"start": "2021-06-20T01:50:00.230+02:00",
|
|
203
|
+
"saving": 0.1022
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"price": 0.4533,
|
|
207
|
+
"onOff": false,
|
|
208
|
+
"start": "2021-06-20T01:50:00.240+02:00",
|
|
209
|
+
"saving": 0.0337
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"price": 0.4196,
|
|
213
|
+
"onOff": true,
|
|
214
|
+
"start": "2021-06-20T01:50:00.250+02:00",
|
|
215
|
+
"saving": null
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"price": 0.4037,
|
|
219
|
+
"onOff": true,
|
|
220
|
+
"start": "2021-06-20T01:50:00.260+02:00",
|
|
221
|
+
"saving": null
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"price": 0.3829,
|
|
225
|
+
"onOff": true,
|
|
226
|
+
"start": "2021-06-20T01:50:00.270+02:00",
|
|
227
|
+
"saving": null
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"price": 0.4555,
|
|
231
|
+
"onOff": true,
|
|
232
|
+
"start": "2021-06-20T01:50:00.280+02:00",
|
|
233
|
+
"saving": null
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"price": 0.4721,
|
|
237
|
+
"onOff": true,
|
|
238
|
+
"start": "2021-06-20T01:50:00.290+02:00",
|
|
239
|
+
"saving": null
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"price": 0.4903,
|
|
243
|
+
"onOff": true,
|
|
244
|
+
"start": "2021-06-20T01:50:00.300+02:00",
|
|
245
|
+
"saving": null
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"price": 0.5028,
|
|
249
|
+
"onOff": true,
|
|
250
|
+
"start": "2021-06-20T01:50:00.310+02:00",
|
|
251
|
+
"saving": null
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"price": 0.5163,
|
|
255
|
+
"onOff": true,
|
|
256
|
+
"start": "2021-06-20T01:50:00.320+02:00",
|
|
257
|
+
"saving": null
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"price": 0.5264,
|
|
261
|
+
"onOff": false,
|
|
262
|
+
"start": "2021-06-20T01:50:00.330+02:00",
|
|
263
|
+
"saving": 0.0193
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"price": 0.5346,
|
|
267
|
+
"onOff": false,
|
|
268
|
+
"start": "2021-06-20T01:50:00.340+02:00",
|
|
269
|
+
"saving": 0.0275
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"price": 0.5224,
|
|
273
|
+
"onOff": false,
|
|
274
|
+
"start": "2021-06-20T01:50:00.350+02:00",
|
|
275
|
+
"saving": 0.0153
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"price": 0.5071,
|
|
279
|
+
"onOff": true,
|
|
280
|
+
"start": "2021-06-20T01:50:00.360+02:00",
|
|
281
|
+
"saving": null
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"price": 0.5045,
|
|
285
|
+
"onOff": true,
|
|
286
|
+
"start": "2021-06-20T01:50:00.370+02:00",
|
|
287
|
+
"saving": null
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"price": 0.5024,
|
|
291
|
+
"onOff": true,
|
|
292
|
+
"start": "2021-06-20T01:50:00.380+02:00",
|
|
293
|
+
"saving": null
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"price": 0.5038,
|
|
297
|
+
"onOff": true,
|
|
298
|
+
"start": "2021-06-20T01:50:00.390+02:00",
|
|
299
|
+
"saving": null
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"price": 0.5118,
|
|
303
|
+
"onOff": false,
|
|
304
|
+
"start": "2021-06-20T01:50:00.400+02:00",
|
|
305
|
+
"saving": 0.0063
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"price": 0.5111,
|
|
309
|
+
"onOff": false,
|
|
310
|
+
"start": "2021-06-20T01:50:00.410+02:00",
|
|
311
|
+
"saving": 0.0056
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"price": 0.5108,
|
|
315
|
+
"onOff": false,
|
|
316
|
+
"start": "2021-06-20T01:50:00.420+02:00",
|
|
317
|
+
"saving": 0.0053
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"price": 0.5055,
|
|
321
|
+
"onOff": true,
|
|
322
|
+
"start": "2021-06-20T01:50:00.430+02:00",
|
|
323
|
+
"saving": null
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"price": 0.5042,
|
|
327
|
+
"onOff": true,
|
|
328
|
+
"start": "2021-06-20T01:50:00.440+02:00",
|
|
329
|
+
"saving": null
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"price": 0.5259,
|
|
333
|
+
"onOff": true,
|
|
334
|
+
"start": "2021-06-20T01:50:00.450+02:00",
|
|
335
|
+
"saving": null
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"price": 0.5282,
|
|
339
|
+
"onOff": false,
|
|
340
|
+
"start": "2021-06-20T01:50:00.460+02:00",
|
|
341
|
+
"saving": 0.003
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"price": 0.5252,
|
|
345
|
+
"onOff": true,
|
|
346
|
+
"start": "2021-06-20T01:50:00.470+02:00",
|
|
347
|
+
"saving": null
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"config": {
|
|
351
|
+
"maxHoursToSaveInSequence": 3,
|
|
352
|
+
"minHoursOnAfterMaxSequenceSaved": 2,
|
|
353
|
+
"minSaving": 0.001,
|
|
354
|
+
"outputIfNoSchedule": false,
|
|
355
|
+
"scheduleOnlyFromCurrentTime": false
|
|
356
|
+
}
|
|
357
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
{
|
|
2
|
+
"priceData": [
|
|
3
|
+
{
|
|
4
|
+
"value": 0.2494,
|
|
5
|
+
"start": "2021-10-11T00:00:00.000+02:00"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"value": 0.2209,
|
|
9
|
+
"start": "2021-10-11T01:00:00.000+02:00"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"value": 0.2099,
|
|
13
|
+
"start": "2021-10-11T02:00:00.000+02:00"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"value": 0.219,
|
|
17
|
+
"start": "2021-10-11T03:00:00.000+02:00"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"value": 0.2614,
|
|
21
|
+
"start": "2021-10-11T04:00:00.000+02:00"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": 0.4426,
|
|
25
|
+
"start": "2021-10-11T05:00:00.000+02:00"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"value": 0.5433,
|
|
29
|
+
"start": "2021-10-11T06:00:00.000+02:00"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"value": 0.5667,
|
|
33
|
+
"start": "2021-10-11T07:00:00.000+02:00"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": 0.5847,
|
|
37
|
+
"start": "2021-10-11T08:00:00.000+02:00"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"value": 0.5762,
|
|
41
|
+
"start": "2021-10-11T09:00:00.000+02:00"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"value": 0.5391,
|
|
45
|
+
"start": "2021-10-11T10:00:00.000+02:00"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"value": 0.5124,
|
|
49
|
+
"start": "2021-10-11T11:00:00.000+02:00"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"value": 0.504,
|
|
53
|
+
"start": "2021-10-11T12:00:00.000+02:00"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"value": 0.5057,
|
|
57
|
+
"start": "2021-10-11T13:00:00.000+02:00"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"value": 0.5066,
|
|
61
|
+
"start": "2021-10-11T14:00:00.000+02:00"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"value": 0.5136,
|
|
65
|
+
"start": "2021-10-11T15:00:00.000+02:00"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"value": 0.5143,
|
|
69
|
+
"start": "2021-10-11T16:00:00.000+02:00"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"value": 0.5306,
|
|
73
|
+
"start": "2021-10-11T17:00:00.000+02:00"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"value": 0.5534,
|
|
77
|
+
"start": "2021-10-11T18:00:00.000+02:00"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"value": 0.5511,
|
|
81
|
+
"start": "2021-10-11T19:00:00.000+02:00"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": 0.5491,
|
|
85
|
+
"start": "2021-10-11T20:00:00.000+02:00"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"value": 0.5485,
|
|
89
|
+
"start": "2021-10-11T21:00:00.000+02:00"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"value": 0.5481,
|
|
93
|
+
"start": "2021-10-11T22:00:00.000+02:00"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"value": 0.5218,
|
|
97
|
+
"start": "2021-10-11T23:00:00.000+02:00"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"value": 0.4533,
|
|
101
|
+
"start": "2021-10-12T00:00:00.000+02:00"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"value": 0.4196,
|
|
105
|
+
"start": "2021-10-12T01:00:00.000+02:00"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"value": 0.4037,
|
|
109
|
+
"start": "2021-10-12T02:00:00.000+02:00"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"value": 0.3829,
|
|
113
|
+
"start": "2021-10-12T03:00:00.000+02:00"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"value": 0.4555,
|
|
117
|
+
"start": "2021-10-12T04:00:00.000+02:00"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"value": 0.4721,
|
|
121
|
+
"start": "2021-10-12T05:00:00.000+02:00"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"value": 0.4903,
|
|
125
|
+
"start": "2021-10-12T06:00:00.000+02:00"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"value": 0.5028,
|
|
129
|
+
"start": "2021-10-12T07:00:00.000+02:00"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"value": 0.5163,
|
|
133
|
+
"start": "2021-10-12T08:00:00.000+02:00"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"value": 0.5264,
|
|
137
|
+
"start": "2021-10-12T09:00:00.000+02:00"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"value": 0.5346,
|
|
141
|
+
"start": "2021-10-12T10:00:00.000+02:00"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"value": 0.5224,
|
|
145
|
+
"start": "2021-10-12T11:00:00.000+02:00"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"value": 0.5071,
|
|
149
|
+
"start": "2021-10-12T12:00:00.000+02:00"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"value": 0.5045,
|
|
153
|
+
"start": "2021-10-12T13:00:00.000+02:00"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"value": 0.5024,
|
|
157
|
+
"start": "2021-10-12T14:00:00.000+02:00"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"value": 0.5038,
|
|
161
|
+
"start": "2021-10-12T15:00:00.000+02:00"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"value": 0.5118,
|
|
165
|
+
"start": "2021-10-12T16:00:00.000+02:00"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"value": 0.5111,
|
|
169
|
+
"start": "2021-10-12T17:00:00.000+02:00"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"value": 0.5108,
|
|
173
|
+
"start": "2021-10-12T18:00:00.000+02:00"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"value": 0.5055,
|
|
177
|
+
"start": "2021-10-12T19:00:00.000+02:00"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"value": 0.5042,
|
|
181
|
+
"start": "2021-10-12T20:00:00.000+02:00"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"value": 0.5259,
|
|
185
|
+
"start": "2021-10-12T21:00:00.000+02:00"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"value": 0.5282,
|
|
189
|
+
"start": "2021-10-12T22:00:00.000+02:00"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"value": 0.5252,
|
|
193
|
+
"start": "2021-10-12T23:00:00.000+02:00"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
}
|