foxesscloud 2.8.8__py3-none-any.whl → 2.8.9__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 -4
- foxesscloud/openapi.py +4 -4
- {foxesscloud-2.8.8.dist-info → foxesscloud-2.8.9.dist-info}/METADATA +5 -3
- foxesscloud-2.8.9.dist-info/RECORD +7 -0
- foxesscloud-2.8.8.dist-info/RECORD +0 -7
- {foxesscloud-2.8.8.dist-info → foxesscloud-2.8.9.dist-info}/LICENCE +0 -0
- {foxesscloud-2.8.8.dist-info → foxesscloud-2.8.9.dist-info}/WHEEL +0 -0
- {foxesscloud-2.8.8.dist-info → foxesscloud-2.8.9.dist-info}/top_level.txt +0 -0
foxesscloud/foxesscloud.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################################
|
2
2
|
"""
|
3
3
|
Module: Fox ESS Cloud
|
4
|
-
Updated:
|
4
|
+
Updated: 12 October 2025
|
5
5
|
By: Tony Matthews
|
6
6
|
"""
|
7
7
|
##################################################################################################
|
@@ -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.9"
|
14
14
|
print(f"FoxESS-Cloud version {version}")
|
15
15
|
|
16
16
|
debug_setting = 1
|
@@ -2945,7 +2945,7 @@ base_time = None
|
|
2945
2945
|
|
2946
2946
|
# charge_needed settings
|
2947
2947
|
charge_config = {
|
2948
|
-
'contingency': [15,10,
|
2948
|
+
'contingency': [25,15,10,20], # % of consumption. Single value or [winter, spring, summer, autumn]
|
2949
2949
|
'capacity': None, # Battery capacity (over-ride)
|
2950
2950
|
'min_soc': None, # Minimum Soc. Default 10%
|
2951
2951
|
'max_soc': None, # Maximum Soc. Default 100%
|
@@ -2974,7 +2974,7 @@ charge_config = {
|
|
2974
2974
|
'forecast_selection': 1, # 0 = use available forecast / generation, 1 only update settings with forecast
|
2975
2975
|
'annual_consumption': None, # optional annual consumption in kWh
|
2976
2976
|
'timed_mode': 0, # 0 = None, 1 = timed mode, 2 = strategy mode
|
2977
|
-
'special_contingency':
|
2977
|
+
'special_contingency': 35, # contingency for special days when consumption might be higher
|
2978
2978
|
'special_days': ['12-25', '12-26', '01-01'],
|
2979
2979
|
'full_charge': None, # day of month (1-28) to do full charge, or 'daily' or 'Mon', 'Tue' etc
|
2980
2980
|
'data_wrap': 6, # data items to show per line
|
foxesscloud/openapi.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##################################################################################################
|
2
2
|
"""
|
3
3
|
Module: Fox ESS Cloud using Open API
|
4
|
-
Updated:
|
4
|
+
Updated: 12 October 2025
|
5
5
|
By: Tony Matthews
|
6
6
|
"""
|
7
7
|
##################################################################################################
|
@@ -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.9"
|
14
14
|
print(f"FoxESS-Cloud Open API version {version}")
|
15
15
|
|
16
16
|
debug_setting = 1
|
@@ -2642,7 +2642,7 @@ base_time = None
|
|
2642
2642
|
|
2643
2643
|
# charge_needed settings
|
2644
2644
|
charge_config = {
|
2645
|
-
'contingency': [15,10,
|
2645
|
+
'contingency': [25,15,10,20], # % of consumption. Single value or [winter, spring, summer, autumn]
|
2646
2646
|
'capacity': None, # Battery capacity (over-ride)
|
2647
2647
|
'min_soc': None, # Minimum Soc. Default 10%
|
2648
2648
|
'max_soc': None, # Maximum Soc. Default 100%
|
@@ -2671,7 +2671,7 @@ charge_config = {
|
|
2671
2671
|
'forecast_selection': 1, # 0 = use available forecast / generation, 1 only update settings with forecast
|
2672
2672
|
'annual_consumption': None, # optional annual consumption in kWh
|
2673
2673
|
'timed_mode': 0, # 0 = None, 1 = timed mode, 2 = strategy mode
|
2674
|
-
'special_contingency':
|
2674
|
+
'special_contingency': 35, # contingency for special days when consumption might be higher
|
2675
2675
|
'special_days': ['12-25', '12-26', '01-01'],
|
2676
2676
|
'full_charge': None, # day of month (1-28) to do full charge, or 'daily' or 'Mon', 'Tue' etc
|
2677
2677
|
'data_wrap': 6, # data items to show per line
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: foxesscloud
|
3
|
-
Version: 2.8.
|
3
|
+
Version: 2.8.9
|
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
|
@@ -390,7 +390,7 @@ Given the data available, the modelling works as follows:
|
|
390
390
|
|
391
391
|
The following parameters and default values are used to configure charge_needed and may be updated if required using name=value:
|
392
392
|
```
|
393
|
-
contingency: [
|
393
|
+
contingency: [25,15,10,20] # % of consumption. Single or [winter, spring, summer, autumn] values
|
394
394
|
capacity: None # Battery capacity in kWh (over-rides generated value if set)
|
395
395
|
charge_current: None # max battery charge current setting in A. None uses a value derrived from the inverter model
|
396
396
|
discharge_current: None # max battery discharge current setting in A. None uses a value derrived from the inverter model
|
@@ -419,7 +419,7 @@ solar_adjust: 100 # % adjustment to make to Solar forecast
|
|
419
419
|
forecast_selection: 1 # 1 = only update charge times if forecast is available, 0 = use best available data. Default is 1.
|
420
420
|
annual_consumption: None # optional annual consumption in kWh. If set, this replaces consumption history
|
421
421
|
timed_mode: 0 # 0 = None, 1 = use timed work mode, 2 = strategy mode
|
422
|
-
special_contingency:
|
422
|
+
special_contingency: 35 # contingency for special days when consumption might be higher
|
423
423
|
special_days: ['12-25', '12-26', '01-01']
|
424
424
|
full_charge: None # day of month (1-28) to do full charge or 'daily' or day of week: 'Mon', 'Tue' etc
|
425
425
|
force: 1 # 1 = disable strategy periods when setting charge. 0 = fail if strategy period has been set.
|
@@ -820,6 +820,8 @@ This setting can be:
|
|
820
820
|
|
821
821
|
|
822
822
|
# Version Info
|
823
|
+
2.8.9 - 2025/10/12<br>
|
824
|
+
Change default contingency for charge_needed() to [25,15,10,20] and special contingency to 35.
|
823
825
|
|
824
826
|
2.8.8<br>
|
825
827
|
Fix problem where Open API returns conflicting variable names when reporting stats by year.
|
@@ -0,0 +1,7 @@
|
|
1
|
+
foxesscloud/foxesscloud.py,sha256=O31bhb4DubVGdK5FA48DrVyDq_YJoNvOcgnucc3oSDk,225904
|
2
|
+
foxesscloud/openapi.py,sha256=FYijuE6zvvwoeDzZTXO66OJigmekQTJdfKoUc72NjHY,211085
|
3
|
+
foxesscloud-2.8.9.dist-info/LICENCE,sha256=8JF-24QkE8UfdII-g6RaIEvM-PZ9zwaEcxlwYUDMt-4,1079
|
4
|
+
foxesscloud-2.8.9.dist-info/METADATA,sha256=ANCdboZ7B0-pOvSPC05_ss5RZXBe3PC9OsLnGoN3P74,66253
|
5
|
+
foxesscloud-2.8.9.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
+
foxesscloud-2.8.9.dist-info/top_level.txt,sha256=IWOrKSNZCLU6IDXSX_b4_bqCfbZoWAT4CC0w0Lg7PuU,12
|
7
|
+
foxesscloud-2.8.9.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
foxesscloud/foxesscloud.py,sha256=vd3nBwhrqxkRmKMRa6iOXOiFq8Eg4czmv9_NNghiSq0,225903
|
2
|
-
foxesscloud/openapi.py,sha256=pgn4e_bVjTr_IWjHoeNFWM1GI3vlpD9dOOCkmpy4Yqg,211084
|
3
|
-
foxesscloud-2.8.8.dist-info/LICENCE,sha256=8JF-24QkE8UfdII-g6RaIEvM-PZ9zwaEcxlwYUDMt-4,1079
|
4
|
-
foxesscloud-2.8.8.dist-info/METADATA,sha256=zPZSZtAiAyBJPfe93ZsOVTWSFVrIYOYlvkw4Icxil4Y,66133
|
5
|
-
foxesscloud-2.8.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
-
foxesscloud-2.8.8.dist-info/top_level.txt,sha256=IWOrKSNZCLU6IDXSX_b4_bqCfbZoWAT4CC0w0Lg7PuU,12
|
7
|
-
foxesscloud-2.8.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|