juham-automation 0.0.13__py3-none-any.whl → 0.0.15__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.
- juham_automation/__init__.py +38 -38
- juham_automation/automation/__init__.py +21 -21
- juham_automation/automation/energycostcalculator.py +266 -266
- juham_automation/automation/hotwateroptimizer.py +568 -567
- juham_automation/automation/powermeter_simulator.py +139 -139
- juham_automation/automation/spothintafi.py +140 -140
- juham_automation/automation/watercirculator.py +159 -159
- juham_automation/japp.py +49 -49
- juham_automation/ts/__init__.py +25 -25
- juham_automation/ts/electricityprice_ts.py +51 -51
- juham_automation/ts/energycostcalculator_ts.py +43 -43
- juham_automation/ts/forecast_ts.py +97 -97
- juham_automation/ts/log_ts.py +57 -57
- juham_automation/ts/power_ts.py +49 -49
- juham_automation/ts/powermeter_ts.py +70 -70
- juham_automation/ts/powerplan_ts.py +45 -45
- {juham_automation-0.0.13.dist-info → juham_automation-0.0.15.dist-info}/METADATA +106 -105
- juham_automation-0.0.15.dist-info/RECORD +23 -0
- {juham_automation-0.0.13.dist-info → juham_automation-0.0.15.dist-info}/WHEEL +1 -1
- {juham_automation-0.0.13.dist-info → juham_automation-0.0.15.dist-info/licenses}/LICENSE.rst +25 -25
- juham_automation-0.0.13.dist-info/RECORD +0 -23
- {juham_automation-0.0.13.dist-info → juham_automation-0.0.15.dist-info}/entry_points.txt +0 -0
- {juham_automation-0.0.13.dist-info → juham_automation-0.0.15.dist-info}/top_level.txt +0 -0
@@ -1,105 +1,106 @@
|
|
1
|
-
Metadata-Version: 2.
|
2
|
-
Name: juham-automation
|
3
|
-
Version: 0.0.
|
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: juham_core>=0.1.
|
48
|
-
Provides-Extra: dev
|
49
|
-
Requires-Dist: check-manifest; extra == "dev"
|
50
|
-
Requires-Dist: types-pyz; extra == "dev"
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
:
|
64
|
-
:
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
* **
|
71
|
-
* **
|
72
|
-
* **
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: juham-automation
|
3
|
+
Version: 0.0.15
|
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: juham_core>=0.1.3
|
48
|
+
Provides-Extra: dev
|
49
|
+
Requires-Dist: check-manifest; extra == "dev"
|
50
|
+
Requires-Dist: types-pyz; extra == "dev"
|
51
|
+
Dynamic: license-file
|
52
|
+
|
53
|
+
Welcome to Juham™ - Juha's Ultimate Home Automation Masterpiece
|
54
|
+
================================================================
|
55
|
+
|
56
|
+
Project Description
|
57
|
+
-------------------
|
58
|
+
|
59
|
+
This package extends the ``juham_core`` package, providing home automation building blocks that cover most common needs.
|
60
|
+
It consists of two main sub-modules:
|
61
|
+
|
62
|
+
.. image:: _static/images/juham_automation.png
|
63
|
+
:alt: Basic automation classes for optimizing energy consumption and minimizing electricity costs.
|
64
|
+
:width: 640px
|
65
|
+
:align: center
|
66
|
+
|
67
|
+
|
68
|
+
- ``automation``
|
69
|
+
|
70
|
+
* **spothintafi**: Acquires electricity prices in Finland.
|
71
|
+
* **watercirculator**: Automates a water circulator pump based on hot water temperature and motion detection.
|
72
|
+
* **hotwateroptimizer**: Controls hot water radiators based on temperature sensors and electricity price data.
|
73
|
+
* **energycostcalculator**: Monitors power consumption and electricity prices, and computes the energy balance in euros.
|
74
|
+
|
75
|
+
|
76
|
+
- ``ts``
|
77
|
+
|
78
|
+
* This folder contains time series recorders that listen for Juham™ topics and store the data in a time series database
|
79
|
+
for later inspection.
|
80
|
+
|
81
|
+
|
82
|
+
Project Status
|
83
|
+
--------------
|
84
|
+
|
85
|
+
**Current State**: **Pre-Alpha (Status 2)**
|
86
|
+
|
87
|
+
All classes have been tested to some extent, and no known bugs have been reported. However, the code still requires work in
|
88
|
+
terms of design and robustness. For instance, electricity prices are currently hard-coded to use euros, but this should be
|
89
|
+
configurable to support multiple currencies.
|
90
|
+
|
91
|
+
|
92
|
+
Special Thanks
|
93
|
+
--------------
|
94
|
+
|
95
|
+
This project would not have been possible without the generous support of two exceptional individuals: Teppo K. and Mahi.
|
96
|
+
|
97
|
+
Teppo K. provided the initial spark for this project by donating a Raspberry Pi, a temperature sensor, and giving an inspiring
|
98
|
+
demonstration of his own home automation system—effectively dragging me down the rabbit hole of endless tinkering.
|
99
|
+
|
100
|
+
Mahi has been instrumental in translating my half-baked ideas into Python code, offering invaluable support and
|
101
|
+
encouragement—while also ensuring that every time I thought I was done, I wasn’t.
|
102
|
+
|
103
|
+
Because of these two gentlemen, my already minimal spare time dropped into the negatives as I desperately tried to push the
|
104
|
+
system to some semblance of professionalism.
|
105
|
+
|
106
|
+
I’m truly grateful to both—really. 😅
|
@@ -0,0 +1,23 @@
|
|
1
|
+
juham_automation/__init__.py,sha256=ncdniRzO-yUzvxCjuzrtyrLBmsiHO5lJzP-teloVkHU,850
|
2
|
+
juham_automation/japp.py,sha256=zD5ulfIcaSzwbVKjHv2tdXpw79fpw97B7P-v-ncY6e4,1520
|
3
|
+
juham_automation/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
4
|
+
juham_automation/automation/__init__.py,sha256=73Mw0jkipeMCoUtpREHJPATfKe368ZyNeqfbjamBx_Q,481
|
5
|
+
juham_automation/automation/energycostcalculator.py,sha256=7GGKLv5JpHAY3XVjbkboXuQBk-whpWkBwNuQ68Tv4Pc,11091
|
6
|
+
juham_automation/automation/hotwateroptimizer.py,sha256=a3kp6JuOG13wHoC3CJFS4rz1HxedR2RHNTiKiJkuvEI,22359
|
7
|
+
juham_automation/automation/powermeter_simulator.py,sha256=0g0gOD9WTqxUj9IbENkea_33JrJ2sZDSQVtmxVUHcD8,4688
|
8
|
+
juham_automation/automation/spothintafi.py,sha256=XnL2zIPx_XaP_1E8ksuYEUemtHP7N6tLlSv2LEBQyXQ,4471
|
9
|
+
juham_automation/automation/watercirculator.py,sha256=d7PQFNajtVafizS_y2R_6GWhm_GYb8uV4-QScz1Sggo,6569
|
10
|
+
juham_automation/ts/__init__.py,sha256=oRxMmzRj1l0z3sOx8uvm3kJzRrXCTJFzwEJ8zSniRSU,550
|
11
|
+
juham_automation/ts/electricityprice_ts.py,sha256=ahZ2e9_jZLROTZA9XWM9ETksrz0tuoghgy0vAvA08lQ,1735
|
12
|
+
juham_automation/ts/energycostcalculator_ts.py,sha256=CAqhQVSFqM6WYzWTi-XRYCwJVmBOLIEmVmYdP97pAbw,1320
|
13
|
+
juham_automation/ts/forecast_ts.py,sha256=jn0-JEQ-GD_HtAsAbKi2Hm4PVEMtvOF4-JnTF-SPwGw,3255
|
14
|
+
juham_automation/ts/log_ts.py,sha256=DPfeJhbSMQChY37mjAxEmE73Ys3dxUvNsN78PSuBm9Y,1807
|
15
|
+
juham_automation/ts/power_ts.py,sha256=esNbtH1xklyUaf0YJQ2wDuxTAV3SnEfx-FtiBGPaSVA,1448
|
16
|
+
juham_automation/ts/powermeter_ts.py,sha256=zSATxZAzz1KJeU1wFK8CP86iySWnHil89mridz7WHos,2421
|
17
|
+
juham_automation/ts/powerplan_ts.py,sha256=-Lhc7v5Cj7USy2MfmyUEusXSox9UbEoDtYGReDEt3cw,1527
|
18
|
+
juham_automation-0.0.15.dist-info/licenses/LICENSE.rst,sha256=D3SSbUrv10lpAZ91lTMCQAke-MXMvrjFDsDyM3vEKJI,1114
|
19
|
+
juham_automation-0.0.15.dist-info/METADATA,sha256=hOAyfbi17nrr7UZ3rYBLGB47Thc8RkBm4mfdrka2o64,4733
|
20
|
+
juham_automation-0.0.15.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
21
|
+
juham_automation-0.0.15.dist-info/entry_points.txt,sha256=di8tXChhP8B_98bQ44u-1zkOha2kZCoJpCAXxTgoSw8,491
|
22
|
+
juham_automation-0.0.15.dist-info/top_level.txt,sha256=jfohvtocvX_gfT21AhJk7Iay5ZiQsS3HzrDjF7S4Qp0,17
|
23
|
+
juham_automation-0.0.15.dist-info/RECORD,,
|
{juham_automation-0.0.13.dist-info → juham_automation-0.0.15.dist-info/licenses}/LICENSE.rst
RENAMED
@@ -1,25 +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
|
-
|
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
|
+
|
@@ -1,23 +0,0 @@
|
|
1
|
-
juham_automation/__init__.py,sha256=FSk6iuBWwWckbT_brwQNSzOQ8MrzyufVXxDRFZRdRwk,812
|
2
|
-
juham_automation/japp.py,sha256=DuxMpoI3u9xP5-HaF1s3xI29PWa05jzBcOR8JNn0M0U,1471
|
3
|
-
juham_automation/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
4
|
-
juham_automation/automation/__init__.py,sha256=HV67cq9oXTcoAk5uBbHw3F1vR_saKztsHQxlFizqnHQ,460
|
5
|
-
juham_automation/automation/energycostcalculator.py,sha256=R9BjsPw04ZxmpYEnn67zqiQzGFQYVT6bq-S2b3x6trg,10825
|
6
|
-
juham_automation/automation/hotwateroptimizer.py,sha256=FNRukp-a4dPiw8TUEiaCzrSfBNzaAO8wyHu4TUu35FU,21833
|
7
|
-
juham_automation/automation/powermeter_simulator.py,sha256=3WZcjByRTdqnC77l7LjP-TEjmZ8XBEO4hClYsrjxmBE,4549
|
8
|
-
juham_automation/automation/spothintafi.py,sha256=cZbi7w2fVweHX_fh1r5MTjGdesX9wDQta2mfVjtiwvw,4331
|
9
|
-
juham_automation/automation/watercirculator.py,sha256=a8meMNaONbHcIH3y0vP0UulJc1-gZiLZpw7H8kAOreY,6410
|
10
|
-
juham_automation/ts/__init__.py,sha256=SinjhBcaRVP5FUyCMFWJGR3P7ZetL7ya8-VqhRb2skg,525
|
11
|
-
juham_automation/ts/electricityprice_ts.py,sha256=BYs120V4teVjSqPc8PpPDjOTc5dOrVM9Maqse7E8cvk,1684
|
12
|
-
juham_automation/ts/energycostcalculator_ts.py,sha256=MbeYEGlziVgq4zI40Tk71zxeDPeKafEG3s0LqDRiz0g,1277
|
13
|
-
juham_automation/ts/forecast_ts.py,sha256=Gk46hIlS8ijxs-zyy8fBvXrhI7J-8e5Gt2QEe6gFB6s,3158
|
14
|
-
juham_automation/ts/log_ts.py,sha256=XsNaazuPmRUZLUqxU0DZae_frtT6kAFcXJTc598CtOA,1750
|
15
|
-
juham_automation/ts/power_ts.py,sha256=e7bSeZjitY4C_gLup9L0NjvU_WnQsl3ayDhVShj32KY,1399
|
16
|
-
juham_automation/ts/powermeter_ts.py,sha256=wkCROQj9kXHgDdMuIbbAjhgP5Pr6TA6eT2T-r9sHidw,2351
|
17
|
-
juham_automation/ts/powerplan_ts.py,sha256=LZeE7TnzPCDaugggKlaV-K48lDwwnC1ZNum50JYAWaY,1482
|
18
|
-
juham_automation-0.0.13.dist-info/LICENSE.rst,sha256=QVHD5V5_HSys2PdPdig_xKggDj8cGX33ALKqRsYyjtI,1089
|
19
|
-
juham_automation-0.0.13.dist-info/METADATA,sha256=6cLryTTIcQQHCwXFwNNn7ZugyaeUP1ZhvpDv3ivRVdk,4605
|
20
|
-
juham_automation-0.0.13.dist-info/WHEEL,sha256=EaM1zKIUYa7rQnxGiOCGhzJABRwy4WO57rWMR3_tj4I,91
|
21
|
-
juham_automation-0.0.13.dist-info/entry_points.txt,sha256=di8tXChhP8B_98bQ44u-1zkOha2kZCoJpCAXxTgoSw8,491
|
22
|
-
juham_automation-0.0.13.dist-info/top_level.txt,sha256=jfohvtocvX_gfT21AhJk7Iay5ZiQsS3HzrDjF7S4Qp0,17
|
23
|
-
juham_automation-0.0.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|