Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support For Energy in pyatmo #494

Closed
wants to merge 73 commits into from
Closed
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
69de5b6
Release v8.0.3 (#488)
cgtobi Jan 13, 2024
ca47fe2
Initial commit for support of all schedule types, and fix for histori…
tmenguy Feb 20, 2024
0962f81
Corrected devices to use hstoryMixin to get energy
tmenguy Feb 20, 2024
7faa1ad
Merged historyMixin and Energy has they are effectively doing the sum…
tmenguy Feb 20, 2024
4db8c5c
removed the daily update
tmenguy Feb 24, 2024
9bfe32a
added a reset measures method to be used directly by external libreries
tmenguy Feb 24, 2024
aa841c4
reset now resets timings too
tmenguy Feb 26, 2024
f763785
Try to get a proper historical data in case of peak / off_peak energy…
tmenguy Mar 7, 2024
e8f3065
Fixed correctly the timing end/start of measures
tmenguy Mar 10, 2024
628e610
Fixed correctly the timing end/start of measures
tmenguy Mar 10, 2024
08ac5f6
Fixed correctly the timing end/start of measures
tmenguy Mar 10, 2024
cf198ec
support correct empty measures
tmenguy Mar 10, 2024
3af2cd3
removed specidif energy exception to use th egeneric API error, 0lus …
tmenguy Mar 10, 2024
e413911
removed specidif energy exception to use th egeneric API error, 0lus …
tmenguy Mar 10, 2024
4765304
removed specidif energy exception to use th egeneric API error, 0lus …
tmenguy Mar 10, 2024
9efb0f3
removed specidif energy exception to use th egeneric API error, 0lus …
tmenguy Mar 11, 2024
fdce0cc
async update for all homes
tmenguy Mar 11, 2024
2407b39
async update for all homes
tmenguy Mar 12, 2024
9e82e1a
async update for all homes
tmenguy Mar 13, 2024
938080a
async update for all homes
tmenguy Mar 13, 2024
5ad1fe1
async update for all homes
tmenguy Mar 13, 2024
3ab9ec0
async update for all homes
tmenguy Mar 13, 2024
1cb8d3e
async update for all homes
tmenguy Mar 14, 2024
2c3e4ea
async update for all homes
tmenguy Mar 15, 2024
2fde124
async update for all homes
tmenguy Mar 15, 2024
72508f3
added some tests for historical data
tmenguy Mar 15, 2024
e0d6a1f
added some tests for historical data
tmenguy Mar 17, 2024
024344a
added a way to get the data sum
tmenguy Mar 17, 2024
252280e
added throttling exception
tmenguy Mar 18, 2024
9b4c539
fix for num calls estimation
tmenguy Mar 19, 2024
c88c2f3
fix for num calls estimation
tmenguy Mar 23, 2024
d593bfa
changed type for energy
tmenguy Mar 25, 2024
645b3d7
changed type for energy
tmenguy Mar 25, 2024
9c6e16c
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
936aeb9
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
7f626ed
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
8431020
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
c3b55ef
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
001f92e
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
6170e9f
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
1ca53b7
Merge remote-tracking branch 'upstream/master' into development
tmenguy Mar 26, 2024
8350914
Merge remote-tracking branch 'upstream/development' into development
tmenguy Mar 26, 2024
acc7331
Added historical retrival for other state, begining only for power (t…
tmenguy Mar 26, 2024
59f6cc9
all tests pass
tmenguy Mar 27, 2024
7b9b6dc
added energy sum
tmenguy Mar 27, 2024
89c7309
added energy sum
tmenguy Mar 27, 2024
238ccea
added energy sum
tmenguy Mar 28, 2024
abf5680
added energy sum
tmenguy Mar 28, 2024
666297b
PEP cleaning to prepare PR
tmenguy Mar 29, 2024
25d7bfa
adjusting estimation calculus
tmenguy Apr 4, 2024
0f8731e
adjusting estimation calculus
tmenguy Apr 4, 2024
adca869
adjusting estimation calculus
tmenguy Apr 4, 2024
ce496cf
slight refactor for readability
tmenguy Apr 8, 2024
4a9c9fb
Support error for unreachable home and bridges ....it is an error, no…
tmenguy Apr 9, 2024
3e5c70e
Support error for unreachable home and bridges ....it is an error, no…
tmenguy Apr 9, 2024
ce7ca84
remove global energy sum support, no needed anymore, was adding compl…
tmenguy Apr 18, 2024
c26f66d
remove global energy sum support, no needed anymore, was adding compl…
tmenguy Apr 18, 2024
a756d1b
refactor to use self.homes where it should be
tmenguy Apr 20, 2024
d2dceec
setting schedules list back as the global list of schedules, for retr…
tmenguy Apr 20, 2024
018c04c
Black....
tmenguy May 5, 2024
f161af9
Ruff....
tmenguy May 5, 2024
ca51a00
Ruff....
tmenguy May 5, 2024
78dcd95
Ruff....
tmenguy May 6, 2024
c04947b
Ruff.... then black funny game
tmenguy May 6, 2024
54718f6
black.... then ruff funny game
tmenguy May 6, 2024
52bf849
black and ruff game
tmenguy May 6, 2024
72796c6
black and ruff game
tmenguy May 6, 2024
051005f
YABT .. yet another Black Test
tmenguy May 6, 2024
4fe2987
Cleaned supported homes with a way simpler approach, thx @cgtobi
tmenguy May 31, 2024
8d6a9bc
keep black API
tmenguy May 31, 2024
ec038ba
keep black API
tmenguy May 31, 2024
415fcf7
Added back a list of available homes to be able to select the one nee…
tmenguy Jun 4, 2024
bae3959
white space
tmenguy Jun 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"body":[{"beg_time":1710459891,"step_time":1800,"value":[[0],[0]]},{"beg_time":1710465291,"step_time":1800,"value":[[0],[222],[328],[333],[7],[0],[0],[0],[0],[0],[0],[0],[0],[0]]}],"status":"ok","time_exec":0.08218002319335938,"time_server":1710510905}
Original file line number Diff line number Diff line change
@@ -0,0 +1,286 @@
{
"body": [
{
"beg_time": 1709421900,
"step_time": 1800,
"value": [
[
0
],
[
0
],
[
0
],
[
0
]
]
},
{
"beg_time": 1709459700,
"step_time": 1800,
"value": [
[
526
],
[
1194
],
[
1195
],
[
1176
],
[
1177
],
[
1164
],
[
1524
],
[
416
],
[
659
],
[
743
],
[
1033
],
[
1052
],
[
964
],
[
985
],
[
1031
],
[
924
],
[
73
],
[
156
],
[
320
],
[
268
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
768
],
[
912
],
[
889
],
[
399
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
38
],
[
38
],
[
0
],
[
218
],
[
186
],
[
250
],
[
363
],
[
479
],
[
579
],
[
680
],
[
832
],
[
872
],
[
699
],
[
37
],
[
77
],
[
248
],
[
209
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
418
],
[
690
],
[
714
],
[
327
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
173
],
[
0
],
[
0
],
[
0
],
[
91
],
[
212
],
[
199
],
[
161
],
[
291
],
[
394
],
[
617
],
[
688
],
[
526
],
[
428
],
[
0
]
]
}
],
"status": "ok",
"time_exec": 0.10495901107788086,
"time_server": 1709768260
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"body":[{"beg_time":1710465291,"step_time":1800,"value":[[0],[0],[0],[0],[0],[0],[0],[0],[332],[448]]}],"status":"ok","time_exec":0.02698206901550293,"time_server":1710511044}
Loading