foxesscloud 2.8.0__py3-none-any.whl → 2.8.1__py3-none-any.whl
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.
- foxesscloud/foxesscloud.py +4 -1
- foxesscloud/openapi.py +1 -1
- {foxesscloud-2.8.0.dist-info → foxesscloud-2.8.1.dist-info}/METADATA +2 -2
- foxesscloud-2.8.1.dist-info/RECORD +7 -0
- foxesscloud-2.8.0.dist-info/RECORD +0 -7
- {foxesscloud-2.8.0.dist-info → foxesscloud-2.8.1.dist-info}/LICENCE +0 -0
- {foxesscloud-2.8.0.dist-info → foxesscloud-2.8.1.dist-info}/WHEEL +0 -0
- {foxesscloud-2.8.0.dist-info → foxesscloud-2.8.1.dist-info}/top_level.txt +0 -0
foxesscloud/foxesscloud.py
CHANGED
@@ -10,7 +10,7 @@ By: Tony Matthews
|
|
10
10
|
# ALL RIGHTS ARE RESERVED © Tony Matthews 2023
|
11
11
|
##################################################################################################
|
12
12
|
|
13
|
-
version = "1.9.
|
13
|
+
version = "1.9.3"
|
14
14
|
print(f"FoxESS-Cloud version {version}")
|
15
15
|
|
16
16
|
debug_setting = 1
|
@@ -656,9 +656,12 @@ def get_battery(info=1, rated=None, count=None):
|
|
656
656
|
battery['residual_handling'] = residual_handling
|
657
657
|
battery['soh'] = None
|
658
658
|
battery['soh_supported'] = False
|
659
|
+
if battery.get('status') is None:
|
660
|
+
battery['status'] = 0 if battery.get('volt') is None or battery['volt'] <= 0 else 1
|
659
661
|
if battery.get('status') is None or battery['status'] != 1:
|
660
662
|
output(f"** get_battery(): battery status not available")
|
661
663
|
return None
|
664
|
+
battery['status'] = 1
|
662
665
|
if battery.get('residual') is not None:
|
663
666
|
battery['residual'] *= residual_scale / 10
|
664
667
|
if battery['residual_handling'] == 2:
|
foxesscloud/openapi.py
CHANGED
@@ -10,7 +10,7 @@ By: Tony Matthews
|
|
10
10
|
# ALL RIGHTS ARE RESERVED © Tony Matthews 2024
|
11
11
|
##################################################################################################
|
12
12
|
|
13
|
-
version = "2.8.
|
13
|
+
version = "2.8.1"
|
14
14
|
print(f"FoxESS-Cloud Open API version {version}")
|
15
15
|
|
16
16
|
debug_setting = 1
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: foxesscloud
|
3
|
-
Version: 2.8.
|
3
|
+
Version: 2.8.1
|
4
4
|
Summary: library for accessing Fox ESS cloud data using Open API
|
5
5
|
Author-email: Tony Matthews <tony@quasair.co.uk>
|
6
6
|
Project-URL: Homepage, https://github.com/TonyM1958/FoxESS-Cloud
|
@@ -809,7 +809,7 @@ This setting can be:
|
|
809
809
|
|
810
810
|
# Version Info
|
811
811
|
|
812
|
-
2.8.
|
812
|
+
2.8.1<br>
|
813
813
|
Update from v0 to v1 for scheduler API.
|
814
814
|
PVEnergyTotal added to report variables.
|
815
815
|
Fix residual if capacity is specified for charge_needed().
|
@@ -0,0 +1,7 @@
|
|
1
|
+
foxesscloud/foxesscloud.py,sha256=keJUa9j7OhAJF1lnbNAbTaFTnJm3T-XyiyuWOwF8KdM,224235
|
2
|
+
foxesscloud/openapi.py,sha256=HTYc-ueI_gZRelOduaABzWBzaGsJTZlpo_1fWqkEhSc,208461
|
3
|
+
foxesscloud-2.8.1.dist-info/LICENCE,sha256=8JF-24QkE8UfdII-g6RaIEvM-PZ9zwaEcxlwYUDMt-4,1079
|
4
|
+
foxesscloud-2.8.1.dist-info/METADATA,sha256=ptLAC2vtyV5pYu-HE8p8Ot_JoMPgnTCYNChXA0dCmv0,63522
|
5
|
+
foxesscloud-2.8.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
+
foxesscloud-2.8.1.dist-info/top_level.txt,sha256=IWOrKSNZCLU6IDXSX_b4_bqCfbZoWAT4CC0w0Lg7PuU,12
|
7
|
+
foxesscloud-2.8.1.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
foxesscloud/foxesscloud.py,sha256=_lR2MAYUx-7A6h8JuYwiYp8Ley7p_NUCdEYe2CsHaBE,224079
|
2
|
-
foxesscloud/openapi.py,sha256=xrR5fxenKnDbJmU7HGq3j-JBtB9yu-P0EcsTlE1ZhQw,208461
|
3
|
-
foxesscloud-2.8.0.dist-info/LICENCE,sha256=8JF-24QkE8UfdII-g6RaIEvM-PZ9zwaEcxlwYUDMt-4,1079
|
4
|
-
foxesscloud-2.8.0.dist-info/METADATA,sha256=cn1q40MOrSrZJhbDCZgjZ0-Pi3u1mRmBHV3XDCKC7jE,63522
|
5
|
-
foxesscloud-2.8.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
-
foxesscloud-2.8.0.dist-info/top_level.txt,sha256=IWOrKSNZCLU6IDXSX_b4_bqCfbZoWAT4CC0w0Lg7PuU,12
|
7
|
-
foxesscloud-2.8.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|