foxesscloud 2.5.1__py3-none-any.whl → 2.5.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foxesscloud
3
- Version: 2.5.1
3
+ Version: 2.5.3
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
@@ -71,6 +71,9 @@ If a value is set for f.plot_file, any charts created will also be saved to an i
71
71
 
72
72
  If you set f.pushover_user_key to your user_key for pushover.net, a summary from set_tariff(), charge_needed(), set_pvoutput() and battery_info() will be sent to your pushover app.
73
73
 
74
+ You can set 'f.storage' to a path to save files to a different location such as cloud storage. The default is to use the current working directory.
75
+
76
+
74
77
  ## User info
75
78
  Return information about the current user:
76
79
 
@@ -239,7 +242,7 @@ The summary includes the following attributes:
239
242
 
240
243
  For power values (unit = kW), the summary performs a Riemann sum of the data, integrating kW over the day to estimate energy in kWh. In this case, the following attributes are also added:
241
244
  + kwh: the total energy generated or consumed
242
- + kwh_off: the total energy consumed or generated during the off-peak time of use (off_peak1, off_peak2, off_peak3)
245
+ + kwh_off: the total energy consumed or generated during the off-peak time of use (off_peak1, off_peak2, off_peak3, off_peak4)
243
246
  + kwh_peak: the total energy consumed or generated during the peak time of use (peak1, peak2)
244
247
  + kwh_neg: the total energy from -ve power flow (all other totals are based on +ve power flow)
245
248
 
@@ -565,7 +568,7 @@ The best charging period is determined based on the weighted average of the 30 m
565
568
 
566
569
  set_tariff() can configure multiple off-peak and peak periods for any tariff using the 'times' parameter. Times is a list of tuples:
567
570
  + containing values for key, 'start', 'end' and optional 'force'.
568
- + recongnised keys are: 'off_peak1', 'off_peak2', 'off_peak3', 'peak1', 'peak2'
571
+ + recongnised keys are: 'off_peak1', 'off_peak2', 'off_peak3', 'off_peak4', 'peak1', 'peak2'
569
572
  + a tuple containing a key with no values will remove the time period from the tariff.
570
573
 
571
574
  For example, this parameter configures an AM charging period between 11pm and 8am and a PM charging period between 12 noon and 4pm and removes the time period 'peak2':
@@ -742,7 +745,7 @@ f.get_suntimes(date, utc)
742
745
  + date: 'YYYY-MM-DD'
743
746
  + utc: 1 = return time in UTC. 0 = return local time (default)
744
747
 
745
- 'shading' adjusts the forecast and sets delays and losses caused as the sun rise and set for Solcast and Solar. The forecast is multiplied by 'adjust'. The (AM/PM) delay is the time after sunrise or before sunset that is applied and 'loss' is the amount that the solar forecast is reduced. The default structure above is used by Solcast and Solar when called from charge_needed() or they can be passed directly as parameters when forecasts are being created using 'f.Solcast()' and 'f.Solar()'.
748
+ 'shading' adjusts the forecast and sets delays and losses caused as the sun rise and set for Solcast and Solar. The forecast is multiplied by 'adjust'. The (AM/PM) delay is the time after sunrise or before sunset that is applied and 'loss' is the amount that the solar forecast is reduced. The default structure above is used by Solcast and Solar when called from charge_needed() or they can be passed directly as parameters when forecasts are being created using 'f.Solcast()' and 'f.Solar()'. If the delays are presented as a list, they are values for winter, spring, summer and autumn.
746
749
 
747
750
 
748
751
  # Pushover
@@ -782,6 +785,19 @@ This setting can be:
782
785
 
783
786
  # Version Info
784
787
 
788
+ 2.5.3<br>
789
+ Reverted change to allow updates during a charge period to avoid removing charge in progress.
790
+ Update contingency and show how this relates to battery SoC.
791
+ Add PV cover, the ratio of PV generation to consumption.
792
+ Add f.storage path so files can be saved to different locations if needed.
793
+ Allow delays in 'shading' to be a seaonal list of 4 values (winter, spring, summer, autumn).
794
+
795
+ 2.5.2<br>
796
+ Updates to allow charge_needed() to run during a charge period.
797
+ Add suport for 'off_peak4' charge period.
798
+ Change Solcast forecast in charge_needed() so it does not get todays estimate to save API calls.
799
+ Include contingency and reserve when checking minimum battery level.
800
+
785
801
  2.5.1<br>
786
802
  Fix anomaly in scheduler support when get_device and get_flag return different results.
787
803
  Add 'show_data' to charge_compare() and display run time and starting SoC.
@@ -0,0 +1,7 @@
1
+ foxesscloud/foxesscloud.py,sha256=LkRglTcW4sAVPRgXxkhqyt7fcDcDk00ui_nnsdSU51Y,210817
2
+ foxesscloud/openapi.py,sha256=2hyHrGpYNUQybmKCLRZmujW8CfnyS0bjKdxZwPpkjCU,204531
3
+ foxesscloud-2.5.3.dist-info/LICENCE,sha256=-3xv8CElCJV8Bc8PbAsg3iyxMpAK8MoJneM3rXigxqI,1074
4
+ foxesscloud-2.5.3.dist-info/METADATA,sha256=iXU6pABWNwPSUXW4-NrJWCiy3ZecYsiJPIKNAamHR-g,54937
5
+ foxesscloud-2.5.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
6
+ foxesscloud-2.5.3.dist-info/top_level.txt,sha256=IWOrKSNZCLU6IDXSX_b4_bqCfbZoWAT4CC0w0Lg7PuU,12
7
+ foxesscloud-2.5.3.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- foxesscloud/foxesscloud.py,sha256=UYcUEZnOS2vVLGNYGSC4Cyiyb6yrZeyG-SN1ZDAT9YA,210145
2
- foxesscloud/openapi.py,sha256=PPkVlnwl3bZsY0TmoTsebLu-fM_SUAwIKKsrg9og3LQ,203465
3
- foxesscloud-2.5.1.dist-info/LICENCE,sha256=-3xv8CElCJV8Bc8PbAsg3iyxMpAK8MoJneM3rXigxqI,1074
4
- foxesscloud-2.5.1.dist-info/METADATA,sha256=4Egwh0nhUqi3DtJ5xQumMJwd-ncFPoDpHHBz6O2jLu8,53979
5
- foxesscloud-2.5.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
6
- foxesscloud-2.5.1.dist-info/top_level.txt,sha256=IWOrKSNZCLU6IDXSX_b4_bqCfbZoWAT4CC0w0Lg7PuU,12
7
- foxesscloud-2.5.1.dist-info/RECORD,,