foxesscloud 2.8.3__tar.gz → 2.8.4__tar.gz

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.8.3
3
+ Version: 2.8.4
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
@@ -821,6 +821,9 @@ This setting can be:
821
821
 
822
822
  # Version Info
823
823
 
824
+ 2.8.4<br>
825
+ Fix exception when calling pvoutput with tou=1 but no tariff set.
826
+
824
827
  2.8.3<br>
825
828
  Update to support setting Max Soc in schedules now this is supported by Fox using Open API.
826
829
 
@@ -807,6 +807,9 @@ This setting can be:
807
807
 
808
808
  # Version Info
809
809
 
810
+ 2.8.4<br>
811
+ Fix exception when calling pvoutput with tou=1 but no tariff set.
812
+
810
813
  2.8.3<br>
811
814
  Update to support setting Max Soc in schedules now this is supported by Fox using Open API.
812
815
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "foxesscloud"
7
- version = "2.8.3"
7
+ version = "2.8.4"
8
8
  authors = [
9
9
  {name="Tony Matthews", email="tony@quasair.co.uk"},
10
10
  ]
@@ -1,7 +1,7 @@
1
1
  ##################################################################################################
2
2
  """
3
3
  Module: Fox ESS Cloud
4
- Updated: 16 April 2025
4
+ Updated: 21 May 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.5"
13
+ version = "1.9.6"
14
14
  print(f"FoxESS-Cloud version {version}")
15
15
 
16
16
  debug_setting = 1
@@ -971,6 +971,7 @@ merge_settings = { # keys to add
971
971
  'h115__': 'operation_mode__work_mode',
972
972
  'h116__': 'operation_mode__work_mode',
973
973
  'h117__': 'operation_mode__work_mode',
974
+ 'h118__': 'operation_mode__work_mode',
974
975
  # 'k106__': 'operation_mode__work_mode',
975
976
  # 'k110__': 'operation_mode__work_mode',
976
977
  },
@@ -979,6 +980,7 @@ merge_settings = { # keys to add
979
980
  'h115__': 'basic2__05',
980
981
  'h116__': 'basic2__05',
981
982
  'h117__': 'basic2__05',
983
+ 'h118__': 'basic2__05',
982
984
  # 'k106__': 'basic2__05',
983
985
  # 'k1110__': 'basic2__05',
984
986
  },
@@ -987,6 +989,7 @@ merge_settings = { # keys to add
987
989
  'h115__': ['h115__14', 'h115__15', 'h115__16'],
988
990
  'h116__': ['h116__15', 'h116__16', 'h116__17'],
989
991
  'h117__': ['h117__15', 'h117__16', 'h117__17'],
992
+ 'h118__': ['h118__15', 'h118__16', 'h118__17'],
990
993
  # 'k106__': ['k106__xx', 'k106__xx', 'k106__xx'],
991
994
  # 'k110__': ['k110__xx', 'k110__xx', 'k110__xx'],
992
995
  },
@@ -997,6 +1000,7 @@ merge_settings = { # keys to add
997
1000
  'h115__': 'h115__17',
998
1001
  'h116__': 'h116__18',
999
1002
  'h117__': 'h117__18',
1003
+ 'h118__': 'h118__18',
1000
1004
  # 'k106__': 'k106__xx',
1001
1005
  # 'k110__': 'k110__xx',
1002
1006
  },
@@ -3894,7 +3898,7 @@ def get_pvoutput(d = None, tou = 0):
3894
3898
  if type(d) is list:
3895
3899
  print(f"---------------- get_pvoutput ------------------")
3896
3900
  print(f"Date range {d[0]} to {d[-1]} has {len(d)} days")
3897
- if tou == 1:
3901
+ if tou == 1 and tariff is not None:
3898
3902
  print(f"Time of use: {tariff['name']}")
3899
3903
  elif tou == 2:
3900
3904
  print(f"All values integrated from power")
@@ -1,7 +1,7 @@
1
1
  ##################################################################################################
2
2
  """
3
3
  Module: Fox ESS Cloud using Open API
4
- Updated: 16 April 2025
4
+ Updated: 20 May 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.3"
13
+ version = "2.8.4"
14
14
  print(f"FoxESS-Cloud Open API version {version}")
15
15
 
16
16
  debug_setting = 1
@@ -3550,7 +3550,7 @@ def get_pvoutput(d = None, tou = 0):
3550
3550
  if type(d) is list:
3551
3551
  print(f"---------------- get_pvoutput ------------------")
3552
3552
  print(f"Date range {d[0]} to {d[-1]} has {len(d)} days")
3553
- if tou == 1:
3553
+ if tou == 1 and tariff is not None:
3554
3554
  print(f"Time of use: {tariff['name']}")
3555
3555
  elif tou == 2:
3556
3556
  print(f"All values integrated from power")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foxesscloud
3
- Version: 2.8.3
3
+ Version: 2.8.4
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
@@ -821,6 +821,9 @@ This setting can be:
821
821
 
822
822
  # Version Info
823
823
 
824
+ 2.8.4<br>
825
+ Fix exception when calling pvoutput with tou=1 but no tariff set.
826
+
824
827
  2.8.3<br>
825
828
  Update to support setting Max Soc in schedules now this is supported by Fox using Open API.
826
829
 
File without changes
File without changes