juham-automation 0.0.2__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.
Files changed (152) hide show
  1. juham_automation-0.0.2/LICENSE.rst +25 -0
  2. juham_automation-0.0.2/MANIFEST.in +12 -0
  3. juham_automation-0.0.2/PKG-INFO +103 -0
  4. juham_automation-0.0.2/README.rst +46 -0
  5. juham_automation-0.0.2/docs/build/html/.buildinfo +4 -0
  6. juham_automation-0.0.2/docs/build/html/.nojekyll +0 -0
  7. juham_automation-0.0.2/docs/build/html/_images/inheritance-0c6ef089a7a7f411f3d0290bc4290f5c273d8ef6.svg +269 -0
  8. juham_automation-0.0.2/docs/build/html/_images/juham.png +0 -0
  9. juham_automation-0.0.2/docs/build/html/_modules/index.html +148 -0
  10. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/automation/energycostcalculator.html +434 -0
  11. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/automation/hotwateroptimizer.html +709 -0
  12. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/automation/powermeter_simulator.html +292 -0
  13. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/automation/spothintafi.html +279 -0
  14. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/automation/watercirculator.html +312 -0
  15. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/japp.html +199 -0
  16. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/ts/electricityprice_ts.html +194 -0
  17. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/ts/energycostcalculator_ts.html +190 -0
  18. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/ts/forecast_ts.html +244 -0
  19. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/ts/log_ts.html +201 -0
  20. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/ts/power_ts.html +193 -0
  21. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/ts/powermeter_ts.html +223 -0
  22. juham_automation-0.0.2/docs/build/html/_modules/juham_automation/ts/powerplan_ts.html +189 -0
  23. juham_automation-0.0.2/docs/build/html/_modules/juham_core/juham.html +478 -0
  24. juham_automation-0.0.2/docs/build/html/_modules/juham_core/juham_thread.html +248 -0
  25. juham_automation-0.0.2/docs/build/html/_modules/juham_core/juham_ts.html +272 -0
  26. juham_automation-0.0.2/docs/build/html/_modules/masterpiece/application.html +474 -0
  27. juham_automation-0.0.2/docs/build/html/_modules/masterpiece/composite.html +334 -0
  28. juham_automation-0.0.2/docs/build/html/_modules/masterpiece/masterpiece.html +643 -0
  29. juham_automation-0.0.2/docs/build/html/_sources/index.rst.txt +57 -0
  30. juham_automation-0.0.2/docs/build/html/_sources/juham_automation/index.rst.txt +9 -0
  31. juham_automation-0.0.2/docs/build/html/_static/basic.css +925 -0
  32. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +1109 -0
  33. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +9 -0
  34. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/css/bootstrap.css +6167 -0
  35. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +9 -0
  36. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings-white.png +0 -0
  37. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings.png +0 -0
  38. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/js/bootstrap.js +2287 -0
  39. juham_automation-0.0.2/docs/build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +6 -0
  40. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap-theme.css +587 -0
  41. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap-theme.css.map +1 -0
  42. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap-theme.min.css +6 -0
  43. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap-theme.min.css.map +1 -0
  44. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap.css +6834 -0
  45. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap.css.map +1 -0
  46. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap.min.css +6 -0
  47. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/css/bootstrap.min.css.map +1 -0
  48. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/fonts/glyphicons-halflings-regular.eot +0 -0
  49. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/fonts/glyphicons-halflings-regular.svg +288 -0
  50. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/fonts/glyphicons-halflings-regular.ttf +0 -0
  51. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/fonts/glyphicons-halflings-regular.woff +0 -0
  52. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/fonts/glyphicons-halflings-regular.woff2 +0 -0
  53. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/js/bootstrap.js +2580 -0
  54. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/js/bootstrap.min.js +6 -0
  55. juham_automation-0.0.2/docs/build/html/_static/bootstrap-3.4.1/js/npm.js +13 -0
  56. juham_automation-0.0.2/docs/build/html/_static/bootstrap-sphinx.css +221 -0
  57. juham_automation-0.0.2/docs/build/html/_static/bootstrap-sphinx.js +175 -0
  58. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +9 -0
  59. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +9 -0
  60. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +9 -0
  61. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +9 -0
  62. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +9 -0
  63. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings-white.png +0 -0
  64. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings.png +0 -0
  65. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/journal/bootstrap.min.css +9 -0
  66. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +9 -0
  67. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +9 -0
  68. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +9 -0
  69. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +9 -0
  70. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +9 -0
  71. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +9 -0
  72. juham_automation-0.0.2/docs/build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +9 -0
  73. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/cerulean/bootstrap.min.css +11 -0
  74. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/cosmo/bootstrap.min.css +11 -0
  75. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/cyborg/bootstrap.min.css +11 -0
  76. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/darkly/bootstrap.min.css +11 -0
  77. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/flatly/bootstrap.min.css +11 -0
  78. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/fonts/glyphicons-halflings-regular.eot +0 -0
  79. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/fonts/glyphicons-halflings-regular.svg +288 -0
  80. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/fonts/glyphicons-halflings-regular.ttf +0 -0
  81. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/fonts/glyphicons-halflings-regular.woff +0 -0
  82. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/fonts/glyphicons-halflings-regular.woff2 +0 -0
  83. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/journal/bootstrap.min.css +11 -0
  84. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/lumen/bootstrap.min.css +11 -0
  85. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/paper/bootstrap.min.css +11 -0
  86. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/readable/bootstrap.min.css +11 -0
  87. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/sandstone/bootstrap.min.css +11 -0
  88. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/simplex/bootstrap.min.css +11 -0
  89. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/slate/bootstrap.min.css +11 -0
  90. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/spacelab/bootstrap.min.css +11 -0
  91. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/superhero/bootstrap.min.css +11 -0
  92. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/united/bootstrap.min.css +11 -0
  93. juham_automation-0.0.2/docs/build/html/_static/bootswatch-3.4.1/yeti/bootstrap.min.css +11 -0
  94. juham_automation-0.0.2/docs/build/html/_static/doctools.js +156 -0
  95. juham_automation-0.0.2/docs/build/html/_static/documentation_options.js +13 -0
  96. juham_automation-0.0.2/docs/build/html/_static/file.png +0 -0
  97. juham_automation-0.0.2/docs/build/html/_static/graphviz.css +19 -0
  98. juham_automation-0.0.2/docs/build/html/_static/js/jquery-1.12.4.min.js +5 -0
  99. juham_automation-0.0.2/docs/build/html/_static/js/jquery-fix.js +2 -0
  100. juham_automation-0.0.2/docs/build/html/_static/juham.css +64 -0
  101. juham_automation-0.0.2/docs/build/html/_static/juham.png +0 -0
  102. juham_automation-0.0.2/docs/build/html/_static/language_data.js +199 -0
  103. juham_automation-0.0.2/docs/build/html/_static/minus.png +0 -0
  104. juham_automation-0.0.2/docs/build/html/_static/plus.png +0 -0
  105. juham_automation-0.0.2/docs/build/html/_static/pygments.css +75 -0
  106. juham_automation-0.0.2/docs/build/html/_static/searchtools.js +619 -0
  107. juham_automation-0.0.2/docs/build/html/_static/sphinx_highlight.js +154 -0
  108. juham_automation-0.0.2/docs/build/html/genindex.html +1907 -0
  109. juham_automation-0.0.2/docs/build/html/index.html +406 -0
  110. juham_automation-0.0.2/docs/build/html/juham_automation/index.html +12309 -0
  111. juham_automation-0.0.2/docs/build/html/objects.inv +0 -0
  112. juham_automation-0.0.2/docs/build/html/py-modindex.html +158 -0
  113. juham_automation-0.0.2/docs/build/html/search.html +155 -0
  114. juham_automation-0.0.2/docs/build/html/searchindex.js +1 -0
  115. juham_automation-0.0.2/examples/myhome.py +47 -0
  116. juham_automation-0.0.2/juham_automation/__init__.py +37 -0
  117. juham_automation-0.0.2/juham_automation/japp.py +55 -0
  118. juham_automation-0.0.2/juham_automation/py.typed +1 -0
  119. juham_automation-0.0.2/juham_automation.egg-info/PKG-INFO +103 -0
  120. juham_automation-0.0.2/juham_automation.egg-info/SOURCES.txt +150 -0
  121. juham_automation-0.0.2/juham_automation.egg-info/dependency_links.txt +1 -0
  122. juham_automation-0.0.2/juham_automation.egg-info/entry_points.txt +10 -0
  123. juham_automation-0.0.2/juham_automation.egg-info/requires.txt +11 -0
  124. juham_automation-0.0.2/juham_automation.egg-info/top_level.txt +1 -0
  125. juham_automation-0.0.2/pyproject.toml +77 -0
  126. juham_automation-0.0.2/setup.cfg +4 -0
  127. juham_automation-0.0.2/tests/__init__.py +1 -0
  128. juham_automation-0.0.2/tests/__pycache__/test_japp.cpython-312.pyc +0 -0
  129. juham_automation-0.0.2/tests/automation/__init__.py +1 -0
  130. juham_automation-0.0.2/tests/automation/__pycache__/__init__.cpython-312.pyc +0 -0
  131. juham_automation-0.0.2/tests/automation/__pycache__/test_energycostcalculator.cpython-312.pyc +0 -0
  132. juham_automation-0.0.2/tests/automation/__pycache__/test_hotwateroptimizer.cpython-312.pyc +0 -0
  133. juham_automation-0.0.2/tests/automation/__pycache__/test_juham.cpython-312.pyc +0 -0
  134. juham_automation-0.0.2/tests/automation/__pycache__/test_powermeter_simulator.cpython-312.pyc +0 -0
  135. juham_automation-0.0.2/tests/automation/test_energycostcalculator.py +118 -0
  136. juham_automation-0.0.2/tests/automation/test_hotwateroptimizer.py +20 -0
  137. juham_automation-0.0.2/tests/automation/test_juham.py +65 -0
  138. juham_automation-0.0.2/tests/test_japp.py +18 -0
  139. juham_automation-0.0.2/tests/ts/__init__.py +1 -0
  140. juham_automation-0.0.2/tests/ts/__pycache__/__init__.cpython-312.pyc +0 -0
  141. juham_automation-0.0.2/tests/ts/__pycache__/test_energycostcalculator_ts.cpython-312.pyc +0 -0
  142. juham_automation-0.0.2/tests/ts/__pycache__/test_forecast_ts.cpython-312.pyc +0 -0
  143. juham_automation-0.0.2/tests/ts/__pycache__/test_log_ts.cpython-312.pyc +0 -0
  144. juham_automation-0.0.2/tests/ts/__pycache__/test_power_ts.cpython-312.pyc +0 -0
  145. juham_automation-0.0.2/tests/ts/__pycache__/test_powermeter_ts.cpython-312.pyc +0 -0
  146. juham_automation-0.0.2/tests/ts/__pycache__/test_powerplan_ts.cpython-312.pyc +0 -0
  147. juham_automation-0.0.2/tests/ts/test_energycostcalculator_ts.py +14 -0
  148. juham_automation-0.0.2/tests/ts/test_forecast_ts.py +14 -0
  149. juham_automation-0.0.2/tests/ts/test_log_ts.py +14 -0
  150. juham_automation-0.0.2/tests/ts/test_power_ts.py +14 -0
  151. juham_automation-0.0.2/tests/ts/test_powermeter_ts.py +14 -0
  152. juham_automation-0.0.2/tests/ts/test_powerplan_ts.py +14 -0
@@ -0,0 +1,25 @@
1
+ LICENSE
2
+ =======
3
+
4
+ Copyright (c) 2024, Juha Meskanen
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ "Software"), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ **The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.**
16
+
17
+
18
+ ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. **
25
+
@@ -0,0 +1,12 @@
1
+ include docs/source/README.rst
2
+ include docs/source/CHANGELOG.rst
3
+ include docs/source/LICENSE.rst
4
+ include docs/source/CONTRIBUTING.rst
5
+
6
+ recursive-include examples *
7
+ recursive-include tests *
8
+ recursive-include docs/build/html *
9
+
10
+ # files to be excluded
11
+ global-exclude *~ \#*
12
+ config/*
@@ -0,0 +1,103 @@
1
+ Metadata-Version: 2.2
2
+ Name: juham-automation
3
+ Version: 0.0.2
4
+ Summary: Juha's Ultimate Home Automation Masterpiece
5
+ Author-email: J Meskanen <juham.api@gmail.com>
6
+ Maintainer-email: "J. Meskanen" <juham.api@gmail.com>
7
+ License: LICENSE
8
+ =======
9
+
10
+ Copyright (c) 2024, Juha Meskanen
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining
13
+ a copy of this software and associated documentation files (the
14
+ "Software"), to deal in the Software without restriction, including
15
+ without limitation the rights to use, copy, modify, merge, publish,
16
+ distribute, sublicense, and/or sell copies of the Software, and to
17
+ permit persons to whom the Software is furnished to do so, subject to
18
+ the following conditions:
19
+
20
+ **The above copyright notice and this permission notice shall be included in all
21
+ copies or substantial portions of the Software.**
22
+
23
+
24
+ ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
27
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
28
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
29
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
30
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. **
31
+
32
+
33
+ Project-URL: Homepage, https://gitlab.com/juham/juham/juham-automation.git
34
+ Project-URL: Bug Reports, https://gitlab.com/juham/juham/juham-automation.git
35
+ Project-URL: Funding, https://meskanen.com
36
+ Project-URL: Say Thanks!, http://meskanen.com
37
+ Project-URL: Source, https://gitlab.com/juham/juham/juham-automation.git
38
+ Keywords: home,automation,juham
39
+ Classifier: Development Status :: 2 - Pre-Alpha
40
+ Classifier: Intended Audience :: Developers
41
+ Classifier: Topic :: Software Development
42
+ Classifier: License :: Public Domain
43
+ Classifier: Programming Language :: Python :: 3.8
44
+ Requires-Python: >=3.8
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE.rst
47
+ Requires-Dist: masterpiece>=0.1.19
48
+ Requires-Dist: masterpiece_influx>=0.0.2
49
+ Requires-Dist: masterpiece_pahomqtt>=0.0.3
50
+ Requires-Dist: juham_core>=0.0.4
51
+ Requires-Dist: requests>=2.31
52
+ Requires-Dist: pytz>=2024.1
53
+ Requires-Dist: importlib-metadata
54
+ Provides-Extra: dev
55
+ Requires-Dist: check-manifest; extra == "dev"
56
+ Requires-Dist: types-pyz; extra == "dev"
57
+
58
+ Welcome to Juham™ - Juha's Ultimate Home Automation Masterpiece
59
+ ================================================================
60
+
61
+ Project Description
62
+ -------------------
63
+
64
+ This package extends the ``juham_core`` package, providing home automation building blocks that cover most common needs.
65
+ It consists of two main sub-modules:
66
+
67
+ - ``automation``
68
+ * **spothintafi**: Acquires electricity prices in Finland.
69
+ * **watercirculator**: Automates a water circulator pump based on hot water temperature and motion detection.
70
+ * **hotwateroptimizer**: Controls hot water radiators based on temperature sensors and electricity price data.
71
+ * **energycostcalculator**: Monitors power consumption and electricity prices, and computes the energy balance in euros.
72
+
73
+
74
+ - ``ts``
75
+ * This folder contains time series recorders that listen for Juham™ topics and store the data in a time series database
76
+ for later inspection.
77
+
78
+
79
+ Project Status
80
+ --------------
81
+
82
+ **Current State**: **Pre-Alpha (Status 2)**
83
+
84
+ All classes have been tested to some extent, and no known bugs have been reported. However, the code still requires work in
85
+ terms of design and robustness. For instance, electricity prices are currently hard-coded to use euros, but this should be
86
+ configurable to support multiple currencies.
87
+
88
+
89
+ Special Thanks
90
+ --------------
91
+
92
+ This project would not have been possible without the generous support of two exceptional individuals: Teppo K. and Mahi.
93
+
94
+ Teppo K. provided the initial spark for this project by donating a Raspberry Pi, a temperature sensor, and giving an inspiring
95
+ demonstration of his own home automation system—effectively dragging me down the rabbit hole of endless tinkering.
96
+
97
+ Mahi has been instrumental in translating my half-baked ideas into Python code, offering invaluable support and
98
+ encouragement—while also ensuring that every time I thought I was done, I wasn’t.
99
+
100
+ Because of these two gentlemen, my already minimal spare time dropped into the negatives as I desperately tried to push the
101
+ system to some semblance of professionalism.
102
+
103
+ I’m truly grateful to both—really. 😅
@@ -0,0 +1,46 @@
1
+ Welcome to Juham™ - Juha's Ultimate Home Automation Masterpiece
2
+ ================================================================
3
+
4
+ Project Description
5
+ -------------------
6
+
7
+ This package extends the ``juham_core`` package, providing home automation building blocks that cover most common needs.
8
+ It consists of two main sub-modules:
9
+
10
+ - ``automation``
11
+ * **spothintafi**: Acquires electricity prices in Finland.
12
+ * **watercirculator**: Automates a water circulator pump based on hot water temperature and motion detection.
13
+ * **hotwateroptimizer**: Controls hot water radiators based on temperature sensors and electricity price data.
14
+ * **energycostcalculator**: Monitors power consumption and electricity prices, and computes the energy balance in euros.
15
+
16
+
17
+ - ``ts``
18
+ * This folder contains time series recorders that listen for Juham™ topics and store the data in a time series database
19
+ for later inspection.
20
+
21
+
22
+ Project Status
23
+ --------------
24
+
25
+ **Current State**: **Pre-Alpha (Status 2)**
26
+
27
+ All classes have been tested to some extent, and no known bugs have been reported. However, the code still requires work in
28
+ terms of design and robustness. For instance, electricity prices are currently hard-coded to use euros, but this should be
29
+ configurable to support multiple currencies.
30
+
31
+
32
+ Special Thanks
33
+ --------------
34
+
35
+ This project would not have been possible without the generous support of two exceptional individuals: Teppo K. and Mahi.
36
+
37
+ Teppo K. provided the initial spark for this project by donating a Raspberry Pi, a temperature sensor, and giving an inspiring
38
+ demonstration of his own home automation system—effectively dragging me down the rabbit hole of endless tinkering.
39
+
40
+ Mahi has been instrumental in translating my half-baked ideas into Python code, offering invaluable support and
41
+ encouragement—while also ensuring that every time I thought I was done, I wasn’t.
42
+
43
+ Because of these two gentlemen, my already minimal spare time dropped into the negatives as I desperately tried to push the
44
+ system to some semblance of professionalism.
45
+
46
+ I’m truly grateful to both—really. 😅
@@ -0,0 +1,4 @@
1
+ # Sphinx build info version 1
2
+ # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3
+ config: 64f67e183e88374ef9504a7d68e8136b
4
+ tags: 645f666f9bcd5a90fca523b33c5a78b7
File without changes
@@ -0,0 +1,269 @@
1
+ <ns0:svg xmlns:ns0="http://www.w3.org/2000/svg" xmlns:ns1="http://www.w3.org/1999/xlink" width="576pt" height="271pt" viewBox="0.00 0.00 576.00 270.63">
2
+ <ns0:g id="graph0" class="graph" transform="scale(0.920495 0.920495) rotate(0) translate(4 290)">
3
+ <ns0:title>inheritanced5cfee0125</ns0:title>
4
+
5
+ <ns0:g id="node1" class="node">
6
+ <ns0:title>Application</ns0:title>
7
+ <ns0:g id="a_node1"><ns0:a ns1:title="Masterpiece application class. Implements startup argument parsing,">
8
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="292.5,-257 228.5,-257 228.5,-237 292.5,-237 292.5,-257" />
9
+ <ns0:text text-anchor="middle" x="260.5" y="-243.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">Application</ns0:text>
10
+ </ns0:a>
11
+ </ns0:g>
12
+ </ns0:g>
13
+
14
+ <ns0:g id="node10" class="node">
15
+ <ns0:title>JApp</ns0:title>
16
+ <ns0:g id="a_node10"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.JApp" ns1:title="Juham home automation application base class. Registers new plugin" target="_top">
17
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="439.25,-286 385.25,-286 385.25,-266 439.25,-266 439.25,-286" />
18
+ <ns0:text text-anchor="middle" x="412.25" y="-272.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">JApp</ns0:text>
19
+ </ns0:a>
20
+ </ns0:g>
21
+ </ns0:g>
22
+
23
+ <ns0:g id="edge7" class="edge">
24
+ <ns0:title>Application-&gt;JApp</ns0:title>
25
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M292.89,-253.08C318.03,-257.95 353.19,-264.76 378.64,-269.69" />
26
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="378.91,-271.52 384.15,-270.75 379.58,-268.08 378.91,-271.52" />
27
+ </ns0:g>
28
+
29
+ <ns0:g id="node2" class="node">
30
+ <ns0:title>Composite</ns0:title>
31
+ <ns0:g id="a_node2"><ns0:a ns1:title="Class implementing hierarchy. Objects of this class can consist of children.">
32
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="169.25,-210 106.75,-210 106.75,-190 169.25,-190 169.25,-210" />
33
+ <ns0:text text-anchor="middle" x="138" y="-196.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">Composite</ns0:text>
34
+ </ns0:a>
35
+ </ns0:g>
36
+ </ns0:g>
37
+
38
+ <ns0:g id="edge1" class="edge">
39
+ <ns0:title>Composite-&gt;Application</ns0:title>
40
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M165.74,-210.43C183.84,-217.49 207.85,-226.85 227.04,-234.34" />
41
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="226.83,-236.14 232.13,-236.32 228.1,-232.88 226.83,-236.14" />
42
+ </ns0:g>
43
+
44
+ <ns0:g id="node3" class="node">
45
+ <ns0:title>MasterPiece</ns0:title>
46
+ <ns0:g id="a_node3"><ns0:a ns1:title="An object with a name. Base class of everything. Serves as the">
47
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="70.75,-172 0,-172 0,-152 70.75,-152 70.75,-172" />
48
+ <ns0:text text-anchor="middle" x="35.38" y="-158.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">MasterPiece</ns0:text>
49
+ </ns0:a>
50
+ </ns0:g>
51
+ </ns0:g>
52
+
53
+ <ns0:g id="edge2" class="edge">
54
+ <ns0:title>MasterPiece-&gt;Composite</ns0:title>
55
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M64.14,-172.48C76.35,-177.09 90.79,-182.55 103.58,-187.38" />
56
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="103.32,-189.15 108.62,-189.28 104.56,-185.88 103.32,-189.15" />
57
+ </ns0:g>
58
+
59
+ <ns0:g id="node5" class="node">
60
+ <ns0:title>Juham</ns0:title>
61
+ <ns0:g id="a_node5"><ns0:a ns1:title="Base class for automation objects with MQTT networking.">
62
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="165,-153 111,-153 111,-133 165,-133 165,-153" />
63
+ <ns0:text text-anchor="middle" x="138" y="-139.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">Juham</ns0:text>
64
+ </ns0:a>
65
+ </ns0:g>
66
+ </ns0:g>
67
+
68
+ <ns0:g id="edge8" class="edge">
69
+ <ns0:title>MasterPiece-&gt;Juham</ns0:title>
70
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M71,-155.46C81.84,-153.42 93.75,-151.17 104.44,-149.15" />
71
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="105.24,-150.78 109.83,-148.13 104.59,-147.34 105.24,-150.78" />
72
+ </ns0:g>
73
+
74
+ <ns0:g id="node4" class="node">
75
+ <ns0:title>EnergyCostCalculator</ns0:title>
76
+ <ns0:g id="a_node4"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.EnergyCostCalculator" ns1:title="The EnergyCostCalculator class calculates the net energy balance between produced" target="_top">
77
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="315.75,-191 205.25,-191 205.25,-171 315.75,-171 315.75,-191" />
78
+ <ns0:text text-anchor="middle" x="260.5" y="-177.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">EnergyCostCalculator</ns0:text>
79
+ </ns0:a>
80
+ </ns0:g>
81
+ </ns0:g>
82
+
83
+ <ns0:g id="edge3" class="edge">
84
+ <ns0:title>Juham-&gt;EnergyCostCalculator</ns0:title>
85
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M165.44,-151.34C181.5,-156.4 202.3,-162.96 220.25,-168.62" />
86
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="220.2,-170.44 225.5,-170.28 221.26,-167.1 220.2,-170.44" />
87
+ </ns0:g>
88
+
89
+ <ns0:g id="node7" class="node">
90
+ <ns0:title>JuhamTs</ns0:title>
91
+ <ns0:g id="a_node7"><ns0:a ns1:title="Base class for automation objects with timeseries database">
92
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="288,-153 233,-153 233,-133 288,-133 288,-153" />
93
+ <ns0:text text-anchor="middle" x="260.5" y="-139.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">JuhamTs</ns0:text>
94
+ </ns0:a>
95
+ </ns0:g>
96
+ </ns0:g>
97
+
98
+ <ns0:g id="edge10" class="edge">
99
+ <ns0:title>Juham-&gt;JuhamTs</ns0:title>
100
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M165.44,-143C183.37,-143 207.2,-143 226.39,-143" />
101
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="226.94,-144.75 231.94,-143 226.94,-141.25 226.94,-144.75" />
102
+ </ns0:g>
103
+
104
+ <ns0:g id="node9" class="node">
105
+ <ns0:title>HotWaterOptimizer</ns0:title>
106
+ <ns0:g id="a_node9"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.HotWaterOptimizer" ns1:title="Automation class for optimized control of temperature driven home energy consumers e.g hot" target="_top">
107
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="310.12,-115 210.88,-115 210.88,-95 310.12,-95 310.12,-115" />
108
+ <ns0:text text-anchor="middle" x="260.5" y="-101.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">HotWaterOptimizer</ns0:text>
109
+ </ns0:a>
110
+ </ns0:g>
111
+ </ns0:g>
112
+
113
+ <ns0:g id="edge6" class="edge">
114
+ <ns0:title>Juham-&gt;HotWaterOptimizer</ns0:title>
115
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M165.44,-134.66C181.5,-129.6 202.3,-123.04 220.25,-117.38" />
116
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="221.26,-118.9 225.5,-115.72 220.2,-115.56 221.26,-118.9" />
117
+ </ns0:g>
118
+
119
+ <ns0:g id="node18" class="node">
120
+ <ns0:title>WaterCirculator</ns0:title>
121
+ <ns0:g id="a_node18"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.WaterCirculator" ns1:title="Hot Water Circulation Automation" target="_top">
122
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="302.25,-77 218.75,-77 218.75,-57 302.25,-57 302.25,-77" />
123
+ <ns0:text text-anchor="middle" x="260.5" y="-63.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">WaterCirculator</ns0:text>
124
+ </ns0:a>
125
+ </ns0:g>
126
+ </ns0:g>
127
+
128
+ <ns0:g id="edge17" class="edge">
129
+ <ns0:title>Juham-&gt;WaterCirculator</ns0:title>
130
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M148.42,-132.83C160.51,-120.3 182.65,-99.05 205.25,-86 209.17,-83.74 213.41,-81.68 217.72,-79.82" />
131
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="218.96,-81.21 222.93,-77.7 217.64,-77.97 218.96,-81.21" />
132
+ </ns0:g>
133
+
134
+ <ns0:g id="node6" class="node">
135
+ <ns0:title>EnergyCostCalculatorTs</ns0:title>
136
+ <ns0:g id="a_node6"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.EnergyCostCalculatorTs" ns1:title="The EnergyCostCalculator recorder." target="_top">
137
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="472.75,-248 351.75,-248 351.75,-228 472.75,-228 472.75,-248" />
138
+ <ns0:text text-anchor="middle" x="412.25" y="-234.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">EnergyCostCalculatorTs</ns0:text>
139
+ </ns0:a>
140
+ </ns0:g>
141
+ </ns0:g>
142
+
143
+ <ns0:g id="edge4" class="edge">
144
+ <ns0:title>JuhamTs-&gt;EnergyCostCalculatorTs</ns0:title>
145
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M288.41,-148.56C297.76,-151.44 307.86,-155.72 315.75,-162 339.19,-180.66 328.05,-200.67 351.75,-219 354.54,-221.16 357.58,-223.07 360.76,-224.77" />
146
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="360.67,-226.67 365.93,-227.28 362.2,-223.52 360.67,-226.67" />
147
+ </ns0:g>
148
+
149
+ <ns0:g id="node8" class="node">
150
+ <ns0:title>ForecastTs</ns0:title>
151
+ <ns0:g id="a_node8"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.ForecastTs" ns1:title="Forecast database record." target="_top">
152
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="444.62,-210 379.88,-210 379.88,-190 444.62,-190 444.62,-210" />
153
+ <ns0:text text-anchor="middle" x="412.25" y="-196.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">ForecastTs</ns0:text>
154
+ </ns0:a>
155
+ </ns0:g>
156
+ </ns0:g>
157
+
158
+ <ns0:g id="edge5" class="edge">
159
+ <ns0:title>JuhamTs-&gt;ForecastTs</ns0:title>
160
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M288.29,-151.5C297.14,-154.54 306.97,-158.17 315.75,-162 332.33,-169.23 335.07,-174 351.75,-181 358.62,-183.88 366.1,-186.59 373.35,-189.01" />
161
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="373.36,-190.85 378.66,-190.73 374.44,-187.52 373.36,-190.85" />
162
+ </ns0:g>
163
+
164
+ <ns0:g id="node11" class="node">
165
+ <ns0:title>JuhamThread</ns0:title>
166
+ <ns0:g id="a_node11"><ns0:a ns1:title="Base class of automation classes that need to run automation tasks using asynchronously running thread.">
167
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="449.12,-172 375.38,-172 375.38,-152 449.12,-152 449.12,-172" />
168
+ <ns0:text text-anchor="middle" x="412.25" y="-158.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">JuhamThread</ns0:text>
169
+ </ns0:a>
170
+ </ns0:g>
171
+ </ns0:g>
172
+
173
+ <ns0:g id="edge9" class="edge">
174
+ <ns0:title>JuhamTs-&gt;JuhamThread</ns0:title>
175
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M288.27,-146.4C310.61,-149.23 342.85,-153.32 368.71,-156.6" />
176
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="369.21,-158.43 374.39,-157.32 369.65,-154.96 369.21,-158.43" />
177
+ </ns0:g>
178
+
179
+ <ns0:g id="node12" class="node">
180
+ <ns0:title>LogTs</ns0:title>
181
+ <ns0:g id="a_node12"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.LogTs" ns1:title="Class recording application events, such as warnings and errors," target="_top">
182
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="439.25,-134 385.25,-134 385.25,-114 439.25,-114 439.25,-134" />
183
+ <ns0:text text-anchor="middle" x="412.25" y="-120.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">LogTs</ns0:text>
184
+ </ns0:a>
185
+ </ns0:g>
186
+ </ns0:g>
187
+
188
+ <ns0:g id="edge11" class="edge">
189
+ <ns0:title>JuhamTs-&gt;LogTs</ns0:title>
190
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M288.27,-139.6C313.58,-136.39 351.62,-131.57 378.68,-128.13" />
191
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="379.47,-129.8 384.21,-127.43 379.03,-126.32 379.47,-129.8" />
192
+ </ns0:g>
193
+
194
+ <ns0:g id="node14" class="node">
195
+ <ns0:title>PowerMeterTs</ns0:title>
196
+ <ns0:g id="a_node14"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.PowerMeterTs" ns1:title="Power meter recorder." target="_top">
197
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="451.38,-96 373.12,-96 373.12,-76 451.38,-76 451.38,-96" />
198
+ <ns0:text text-anchor="middle" x="412.25" y="-82.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">PowerMeterTs</ns0:text>
199
+ </ns0:a>
200
+ </ns0:g>
201
+ </ns0:g>
202
+
203
+ <ns0:g id="edge13" class="edge">
204
+ <ns0:title>JuhamTs-&gt;PowerMeterTs</ns0:title>
205
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M288.29,-134.5C297.14,-131.46 306.97,-127.83 315.75,-124 332.33,-116.77 335.07,-112 351.75,-105 357.3,-102.67 363.24,-100.46 369.14,-98.42" />
206
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="370.11,-99.94 374.29,-96.69 369,-96.62 370.11,-99.94" />
207
+ </ns0:g>
208
+
209
+ <ns0:g id="node15" class="node">
210
+ <ns0:title>PowerPlanTs</ns0:title>
211
+ <ns0:g id="a_node15"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.PowerPlanTs" ns1:title="Power plan time series record." target="_top">
212
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="448.75,-58 375.75,-58 375.75,-38 448.75,-38 448.75,-58" />
213
+ <ns0:text text-anchor="middle" x="412.25" y="-44.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">PowerPlanTs</ns0:text>
214
+ </ns0:a>
215
+ </ns0:g>
216
+ </ns0:g>
217
+
218
+ <ns0:g id="edge14" class="edge">
219
+ <ns0:title>JuhamTs-&gt;PowerPlanTs</ns0:title>
220
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M288.41,-137.44C297.76,-134.56 307.86,-130.28 315.75,-124 339.19,-105.34 328.05,-85.33 351.75,-67 357,-62.94 363.15,-59.73 369.46,-57.2" />
221
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="370.48,-58.69 374.57,-55.33 369.27,-55.41 370.48,-58.69" />
222
+ </ns0:g>
223
+
224
+ <ns0:g id="node16" class="node">
225
+ <ns0:title>PowerTs</ns0:title>
226
+ <ns0:g id="a_node16"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.PowerTs" ns1:title="Power utilization record." target="_top">
227
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="439.25,-20 385.25,-20 385.25,0 439.25,0 439.25,-20" />
228
+ <ns0:text text-anchor="middle" x="412.25" y="-6.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">PowerTs</ns0:text>
229
+ </ns0:a>
230
+ </ns0:g>
231
+ </ns0:g>
232
+
233
+ <ns0:g id="edge15" class="edge">
234
+ <ns0:title>JuhamTs-&gt;PowerTs</ns0:title>
235
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M288.31,-138.52C297.97,-135.74 308.32,-131.25 315.75,-124 348.08,-92.48 318.99,-60.07 351.75,-29 359.11,-22.02 369.03,-17.61 378.66,-14.81" />
236
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="379.78,-16.33 384.19,-13.39 378.91,-12.94 379.78,-16.33" />
237
+ </ns0:g>
238
+
239
+ <ns0:g id="node13" class="node">
240
+ <ns0:title>PowerMeterSimulator</ns0:title>
241
+ <ns0:g id="a_node13"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.PowerMeterSimulator" ns1:title="Simulator energy meter sensor. Spawns a thread" target="_top">
242
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="617.75,-191 508.75,-191 508.75,-171 617.75,-171 617.75,-191" />
243
+ <ns0:text text-anchor="middle" x="563.25" y="-177.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">PowerMeterSimulator</ns0:text>
244
+ </ns0:a>
245
+ </ns0:g>
246
+ </ns0:g>
247
+
248
+ <ns0:g id="edge12" class="edge">
249
+ <ns0:title>JuhamThread-&gt;PowerMeterSimulator</ns0:title>
250
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M449.32,-166.6C465.26,-168.63 484.43,-171.08 502.42,-173.37" />
251
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="502.53,-175.15 507.71,-174.05 502.98,-171.68 502.53,-175.15" />
252
+ </ns0:g>
253
+
254
+ <ns0:g id="node17" class="node">
255
+ <ns0:title>SpotHintaFi</ns0:title>
256
+ <ns0:g id="a_node17"><ns0:a ns1:href="..\juham_automation\index.html#juham_automation.SpotHintaFi" ns1:title="Spot electricity price for reading hourly electricity prices from" target="_top">
257
+ <ns0:polygon fill="white" stroke="black" stroke-width="0.5" points="596.75,-153 529.75,-153 529.75,-133 596.75,-133 596.75,-153" />
258
+ <ns0:text text-anchor="middle" x="563.25" y="-139.5" font-family="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" font-size="10.00">SpotHintaFi</ns0:text>
259
+ </ns0:a>
260
+ </ns0:g>
261
+ </ns0:g>
262
+
263
+ <ns0:g id="edge16" class="edge">
264
+ <ns0:title>JuhamThread-&gt;SpotHintaFi</ns0:title>
265
+ <ns0:path fill="none" stroke="black" stroke-width="0.5" d="M449.32,-157.4C471.6,-154.56 500.19,-150.91 523.03,-148" />
266
+ <ns0:polygon fill="black" stroke="black" stroke-width="0.5" points="523.82,-149.66 528.56,-147.3 523.38,-146.19 523.82,-149.66" />
267
+ </ns0:g>
268
+ </ns0:g>
269
+ </ns0:svg>
@@ -0,0 +1,148 @@
1
+
2
+ <!DOCTYPE html>
3
+
4
+ <html lang="en" data-content_root="../">
5
+ <head>
6
+ <meta charset="utf-8" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
+ <title>Overview: module code &#8212; juham documentation</title>
9
+ <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
10
+ <link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css?v=4468db6d" />
11
+ <link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=fd3f3429" />
12
+ <link rel="stylesheet" type="text/css" href="../_static/juham.css?v=7a3aeb84" />
13
+ <script src="../_static/documentation_options.js?v=5929fcd5"></script>
14
+ <script src="../_static/doctools.js?v=9a2dae69"></script>
15
+ <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
16
+ <link rel="index" title="Index" href="../genindex.html" />
17
+ <link rel="search" title="Search" href="../search.html" />
18
+ <meta charset='utf-8'>
19
+ <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
20
+ <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
21
+ <meta name="apple-mobile-web-app-capable" content="yes">
22
+ <script type="text/javascript" src="../_static/js/jquery-1.12.4.min.js"></script>
23
+ <script type="text/javascript" src="../_static/js/jquery-fix.js"></script>
24
+ <script type="text/javascript" src="../_static/bootstrap-3.4.1/js/bootstrap.min.js"></script>
25
+ <script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script>
26
+
27
+ </head><body>
28
+
29
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top">
30
+ <div class="container">
31
+ <div class="navbar-header">
32
+ <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
33
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
34
+ <span class="icon-bar"></span>
35
+ <span class="icon-bar"></span>
36
+ <span class="icon-bar"></span>
37
+ </button>
38
+ <a class="navbar-brand" href="../index.html">
39
+ juham</a>
40
+ <span class="navbar-text navbar-version pull-left"><b></b></span>
41
+ </div>
42
+
43
+ <div class="collapse navbar-collapse nav-collapse">
44
+ <ul class="nav navbar-nav">
45
+
46
+
47
+ <li class="dropdown globaltoc-container">
48
+ <a role="button"
49
+ id="dLabelGlobalToc"
50
+ data-toggle="dropdown"
51
+ data-target="#"
52
+ href="../index.html">Site <b class="caret"></b></a>
53
+ <ul class="dropdown-menu globaltoc"
54
+ role="menu"
55
+ aria-labelledby="dLabelGlobalToc"><p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
56
+ <ul>
57
+ <li class="toctree-l1"><a class="reference internal" href="../juham_automation/index.html">juham_automation</a></li>
58
+ </ul>
59
+ </ul>
60
+ </li>
61
+
62
+ <li class="dropdown">
63
+ <a role="button"
64
+ id="dLabelLocalToc"
65
+ data-toggle="dropdown"
66
+ data-target="#"
67
+ href="#">Page <b class="caret"></b></a>
68
+ <ul class="dropdown-menu localtoc"
69
+ role="menu"
70
+ aria-labelledby="dLabelLocalToc"></ul>
71
+ </li>
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+ <li class="hidden-sm"></li>
83
+
84
+ </ul>
85
+
86
+
87
+
88
+ <form class="navbar-form navbar-right" action="../search.html" method="get">
89
+ <div class="form-group">
90
+ <input type="text" name="q" class="form-control" placeholder="Search" />
91
+ </div>
92
+ <input type="hidden" name="check_keywords" value="yes" />
93
+ <input type="hidden" name="area" value="default" />
94
+ </form>
95
+
96
+ </div>
97
+ </div>
98
+ </div>
99
+
100
+ <div class="container">
101
+ <div class="row">
102
+ <div class="col-md-3">
103
+ <div id="sidebar" class="bs-sidenav" role="complementary">
104
+ <form action="../search.html" method="get">
105
+ <div class="form-group">
106
+ <input type="text" name="q" class="form-control" placeholder="Search" />
107
+ </div>
108
+ <input type="hidden" name="check_keywords" value="yes" />
109
+ <input type="hidden" name="area" value="default" />
110
+ </form>
111
+ </div>
112
+ </div>
113
+ <div class="body col-md-9 content" role="main">
114
+
115
+ <h1>All modules for which code is available</h1>
116
+ <ul><li><a href="juham_automation/automation/energycostcalculator.html">juham_automation.automation.energycostcalculator</a></li>
117
+ <li><a href="juham_automation/automation/hotwateroptimizer.html">juham_automation.automation.hotwateroptimizer</a></li>
118
+ <li><a href="juham_automation/automation/powermeter_simulator.html">juham_automation.automation.powermeter_simulator</a></li>
119
+ <li><a href="juham_automation/automation/spothintafi.html">juham_automation.automation.spothintafi</a></li>
120
+ <li><a href="juham_automation/automation/watercirculator.html">juham_automation.automation.watercirculator</a></li>
121
+ <li><a href="juham_automation/japp.html">juham_automation.japp</a></li>
122
+ <li><a href="juham_automation/ts/electricityprice_ts.html">juham_automation.ts.electricityprice_ts</a></li>
123
+ <li><a href="juham_automation/ts/energycostcalculator_ts.html">juham_automation.ts.energycostcalculator_ts</a></li>
124
+ <li><a href="juham_automation/ts/forecast_ts.html">juham_automation.ts.forecast_ts</a></li>
125
+ <li><a href="juham_automation/ts/log_ts.html">juham_automation.ts.log_ts</a></li>
126
+ <li><a href="juham_automation/ts/power_ts.html">juham_automation.ts.power_ts</a></li>
127
+ <li><a href="juham_automation/ts/powermeter_ts.html">juham_automation.ts.powermeter_ts</a></li>
128
+ <li><a href="juham_automation/ts/powerplan_ts.html">juham_automation.ts.powerplan_ts</a></li>
129
+ </ul>
130
+
131
+ </div>
132
+
133
+ </div>
134
+ </div>
135
+ <footer class="footer">
136
+ <div class="container">
137
+ <p class="pull-right">
138
+ <a href="#">Back to top</a>
139
+
140
+ </p>
141
+ <p>
142
+ &copy; Copyright 2024, juha meskanen.<br/>
143
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 7.3.7.<br/>
144
+ </p>
145
+ </div>
146
+ </footer>
147
+ </body>
148
+ </html>