juham-automation 0.0.4__py3-none-any.whl → 0.0.5__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.
@@ -396,12 +396,12 @@ class HotWaterOptimizer(Juham):
396
396
  # total solar power is 6kW and max pow consumption about twice as much
397
397
  # so when sun is shining with full power nearly half of the energy comes for free
398
398
 
399
- if spot < 0.001:
399
+ if spot < 0.01:
400
400
  return 2.0 # use
401
401
  elif spot > 0.2:
402
402
  return 0.0 # try not to use
403
403
  else:
404
- fom = 2 * (0.101 - spot) / 0.1
404
+ fom = (spot - 0.01) / (0.2 - 0.01)
405
405
  return fom
406
406
 
407
407
  def create_power_plan(self) -> list[dict[Any, Any]]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: juham-automation
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Juha's Ultimate Home Automation Masterpiece
5
5
  Author-email: J Meskanen <juham.api@gmail.com>
6
6
  Maintainer-email: "J. Meskanen" <juham.api@gmail.com>
@@ -3,7 +3,7 @@ juham_automation/japp.py,sha256=zD5ulfIcaSzwbVKjHv2tdXpw79fpw97B7P-v-ncY6e4,1520
3
3
  juham_automation/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
4
4
  juham_automation/automation/__init__.py,sha256=73Mw0jkipeMCoUtpREHJPATfKe368ZyNeqfbjamBx_Q,481
5
5
  juham_automation/automation/energycostcalculator.py,sha256=7GGKLv5JpHAY3XVjbkboXuQBk-whpWkBwNuQ68Tv4Pc,11091
6
- juham_automation/automation/hotwateroptimizer.py,sha256=pLiYf284ggHdLOmQs2K7QaBbvbum5UBby8bzb48ddyY,21032
6
+ juham_automation/automation/hotwateroptimizer.py,sha256=lc6CK_KI8XM0y2d04Bs7uyfIIRjDiGVhpParKoRPr2E,21035
7
7
  juham_automation/automation/powermeter_simulator.py,sha256=0g0gOD9WTqxUj9IbENkea_33JrJ2sZDSQVtmxVUHcD8,4688
8
8
  juham_automation/automation/spothintafi.py,sha256=WcVvglrY3s9vfXl-CoxLJJkhgfZxpRff4I_VDrYKJYo,3863
9
9
  juham_automation/automation/watercirculator.py,sha256=d7PQFNajtVafizS_y2R_6GWhm_GYb8uV4-QScz1Sggo,6569
@@ -15,9 +15,9 @@ juham_automation/ts/log_ts.py,sha256=DPfeJhbSMQChY37mjAxEmE73Ys3dxUvNsN78PSuBm9Y
15
15
  juham_automation/ts/power_ts.py,sha256=esNbtH1xklyUaf0YJQ2wDuxTAV3SnEfx-FtiBGPaSVA,1448
16
16
  juham_automation/ts/powermeter_ts.py,sha256=zSATxZAzz1KJeU1wFK8CP86iySWnHil89mridz7WHos,2421
17
17
  juham_automation/ts/powerplan_ts.py,sha256=-Lhc7v5Cj7USy2MfmyUEusXSox9UbEoDtYGReDEt3cw,1527
18
- juham_automation-0.0.4.dist-info/LICENSE.rst,sha256=D3SSbUrv10lpAZ91lTMCQAke-MXMvrjFDsDyM3vEKJI,1114
19
- juham_automation-0.0.4.dist-info/METADATA,sha256=HzBDsaoPoC2okQFY05knpkvLGv0TSCYVGKM2WTAQKoI,4727
20
- juham_automation-0.0.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
21
- juham_automation-0.0.4.dist-info/entry_points.txt,sha256=7yrw-Tdpm3xqJcxdUI5E5iSfSyd3s5Kj1-hAjB3aoHI,502
22
- juham_automation-0.0.4.dist-info/top_level.txt,sha256=jfohvtocvX_gfT21AhJk7Iay5ZiQsS3HzrDjF7S4Qp0,17
23
- juham_automation-0.0.4.dist-info/RECORD,,
18
+ juham_automation-0.0.5.dist-info/LICENSE.rst,sha256=D3SSbUrv10lpAZ91lTMCQAke-MXMvrjFDsDyM3vEKJI,1114
19
+ juham_automation-0.0.5.dist-info/METADATA,sha256=uv-AjWFDg1IgB1wT4ASc7QxupxDe0whX-pU7OdsA7zs,4727
20
+ juham_automation-0.0.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
21
+ juham_automation-0.0.5.dist-info/entry_points.txt,sha256=7yrw-Tdpm3xqJcxdUI5E5iSfSyd3s5Kj1-hAjB3aoHI,502
22
+ juham_automation-0.0.5.dist-info/top_level.txt,sha256=jfohvtocvX_gfT21AhJk7Iay5ZiQsS3HzrDjF7S4Qp0,17
23
+ juham_automation-0.0.5.dist-info/RECORD,,