Name | juham-automation JSON |
Version |
0.0.35
JSON |
| download |
home_page | None |
Summary | Juha's Ultimate Home Automation Masterpiece |
upload_time | 2025-08-30 05:49:37 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | LICENSE
=======
Copyright (c) 2024, Juha Meskanen
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
**The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.**
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. **
|
keywords |
home
automation
juham
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Welcome to Juham™ - Juha's Ultimate Home Automation Masterpiece
================================================================
Project Description
-------------------
This package extends the ``juham_core`` package, providing home automation building blocks that address most common needs. It consists of two main sub-modules:
``automation``:
- **spothintafi**: Acquires electricity prices in Finland.
- **watercirculator**: Automates a water circulator pump based on hot water temperature and motion detection.
- **heatingoptimizer**: Controls hot water radiators based on temperature sensors and electricity price data.
- **energycostcalculator**: Monitors power consumption and electricity prices, and computes the energy balance in euros.
- **energybalancer**: Handles real-time energy balancing and net billing.
``ts``:
- This folder contains time series recorders that listen for Juham™ topics and store the data in a time series database for later inspection.
Project Status
--------------
**Current State**: **Pre-Alpha (Status 2)**
All classes have been tested to some extent, and no known bugs have been reported. However, the code still requires work in terms of design and robustness. For example, electricity prices are currently hard-coded to use euros, but this should be configurable to support multiple currencies.
Features
--------
**HeatingAutomater** listens to the power meter to compute the net energy balance.
.. image:: _static/images/juham_powermeter.png
:alt: Powermeter
:width: 400px
Powermeter is needed to measure the real-time energy consumption
**Energy Revenue** is computed based on the electricity price and transmission costs. This is the total cost one has to pay for consuming energy.
.. image:: _static/images/juham_energyrevenue.png
:alt: Energy Revenue
:width: 400px
Energy revenue per hour and per day
**Real-time temperature** trends monitored by the **Shelly Plus Add-on** and **DS18B20** sensors
.. image:: _static/images/juham_boilertemperatures.png
:alt: Energy Revenue
:width: 400px
Temperature time series.
**Real-time humidity** trends monitored by the **Shelly Plus Add-on** and **DHT22** sensors
.. image:: _static/images/juham_humiditysensors.png
:alt: Energy Revenue
:width: 400px
Relative humidity time series.
**Utilization Optimization Index**: The Utilization Optimization Index predicts the optimal hours for energy consumption by factoring in electricity prices, temperature, and forecasts for wind and solar energy. It identifies the best times to activate heating systems. The cheapest hours within the current period may be skipped if the solar forecast predicts free electricity in the next period.period.
.. image:: _static/images/juham_uoi.png
:alt: Power Plan
:width: 400px
UOI cast for heating the primary and sun pre-heating boilers for two types of solar panels and boilers: electric-based panels and solar thermal panels, which use water circulation. The primary one is electrically heated, while the secondary ‘pre-heating’ boiler is heated by the hot water from the solar thermal panels, or by electricity when there's a positive energy balance.
**Power Plan** is computed for the next 12 hours based on the electricity price and solar energy forecast. If no solar energy is available, the power plan determines power consumption, e.g., when the hot water radiators are enabled.
.. image:: _static/images/juham_powerplan.png
:alt: Power Plan
:width: 400px
Powerplan optimizing consumers to use the cheapest hours
**Energy Balancer**: When the energy balance is positive (e.g., when solar panels produce more energy than is currently being consumed), the energy balancer is activated. It monitors the energy balance in 15-minute (or one-hour) intervals and computes when a consumer with a specific power demand should be activated to consume all the energy produced so far.
.. image:: _static/images/juham_automation_energybalancer.png
:alt: Energy Balancer
:width: 400px
Energy balancer activating consumers based on the actual real-time net energy
**Power Diagnosis**: All controlled relays are monitored to ensure their correct operation. This ensures that relays are enabled according to the power plan and energy balancer commands.
.. image:: _static/images/juham_automation_relays.png
:alt: Relays
:width: 400px
The operation of the relays for diagnosis.
Raw data
{
"_id": null,
"home_page": null,
"name": "juham-automation",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "\"J. Meskanen\" <juham.api@gmail.com>",
"keywords": "home, automation, juham",
"author": null,
"author_email": "J Meskanen <juham.api@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/25/28/23d3d7bfe68cd1e91921905199c0c9686acf1bc1e6edb4c25fd123672b16/juham_automation-0.0.35.tar.gz",
"platform": null,
"description": "Welcome to Juham\u2122 - Juha's Ultimate Home Automation Masterpiece\n================================================================\n\nProject Description\n-------------------\n\nThis package extends the ``juham_core`` package, providing home automation building blocks that address most common needs. It consists of two main sub-modules:\n\n``automation``:\n- **spothintafi**: Acquires electricity prices in Finland.\n- **watercirculator**: Automates a water circulator pump based on hot water temperature and motion detection.\n- **heatingoptimizer**: Controls hot water radiators based on temperature sensors and electricity price data.\n- **energycostcalculator**: Monitors power consumption and electricity prices, and computes the energy balance in euros.\n- **energybalancer**: Handles real-time energy balancing and net billing.\n\n``ts``:\n- This folder contains time series recorders that listen for Juham\u2122 topics and store the data in a time series database for later inspection.\n\nProject Status\n--------------\n\n**Current State**: **Pre-Alpha (Status 2)**\n\nAll classes have been tested to some extent, and no known bugs have been reported. However, the code still requires work in terms of design and robustness. For example, electricity prices are currently hard-coded to use euros, but this should be configurable to support multiple currencies.\n\n\nFeatures\n--------\n\n**HeatingAutomater** listens to the power meter to compute the net energy balance.\n\n .. image:: _static/images/juham_powermeter.png\n :alt: Powermeter\n :width: 400px\n\n Powermeter is needed to measure the real-time energy consumption\n\n\n**Energy Revenue** is computed based on the electricity price and transmission costs. This is the total cost one has to pay for consuming energy.\n \n .. image:: _static/images/juham_energyrevenue.png\n :alt: Energy Revenue\n :width: 400px\n\n Energy revenue per hour and per day\n\n\n**Real-time temperature** trends monitored by the **Shelly Plus Add-on** and **DS18B20** sensors\n \n .. image:: _static/images/juham_boilertemperatures.png\n :alt: Energy Revenue\n :width: 400px\n\n Temperature time series.\n\n\n**Real-time humidity** trends monitored by the **Shelly Plus Add-on** and **DHT22** sensors\n \n .. image:: _static/images/juham_humiditysensors.png\n :alt: Energy Revenue\n :width: 400px\n\n Relative humidity time series.\n\n\n \n**Utilization Optimization Index**: The Utilization Optimization Index predicts the optimal hours for energy consumption by factoring in electricity prices, temperature, and forecasts for wind and solar energy. It identifies the best times to activate heating systems. The cheapest hours within the current period may be skipped if the solar forecast predicts free electricity in the next period.period.\n\n .. image:: _static/images/juham_uoi.png\n :alt: Power Plan\n :width: 400px\n\n UOI cast for heating the primary and sun pre-heating boilers for two types of solar panels and boilers: electric-based panels and solar thermal panels, which use water circulation. The primary one is electrically heated, while the secondary \u2018pre-heating\u2019 boiler is heated by the hot water from the solar thermal panels, or by electricity when there's a positive energy balance.\n\n\n**Power Plan** is computed for the next 12 hours based on the electricity price and solar energy forecast. If no solar energy is available, the power plan determines power consumption, e.g., when the hot water radiators are enabled.\n\n .. image:: _static/images/juham_powerplan.png\n :alt: Power Plan\n :width: 400px\n\n Powerplan optimizing consumers to use the cheapest hours\n\n\n**Energy Balancer**: When the energy balance is positive (e.g., when solar panels produce more energy than is currently being consumed), the energy balancer is activated. It monitors the energy balance in 15-minute (or one-hour) intervals and computes when a consumer with a specific power demand should be activated to consume all the energy produced so far.\n\n .. image:: _static/images/juham_automation_energybalancer.png\n :alt: Energy Balancer\n :width: 400px\n\n Energy balancer activating consumers based on the actual real-time net energy\n\n\n**Power Diagnosis**: All controlled relays are monitored to ensure their correct operation. This ensures that relays are enabled according to the power plan and energy balancer commands.\n\n .. image:: _static/images/juham_automation_relays.png\n :alt: Relays\n :width: 400px\n\n The operation of the relays for diagnosis.\n",
"bugtrack_url": null,
"license": "LICENSE\n =======\n \n Copyright (c) 2024, Juha Meskanen\n \n Permission is hereby granted, free of charge, to any person obtaining\n a copy of this software and associated documentation files (the\n \"Software\"), to deal in the Software without restriction, including\n without limitation the rights to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies of the Software, and to\n permit persons to whom the Software is furnished to do so, subject to\n the following conditions:\n \n **The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.**\n \n \n ** THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. **\n \n ",
"summary": "Juha's Ultimate Home Automation Masterpiece",
"version": "0.0.35",
"project_urls": {
"Bug Reports": "https://gitlab.com/juham/juham/juham-automation.git",
"Funding": "https://meskanen.com",
"Homepage": "https://gitlab.com/juham/juham/juham-automation.git",
"Say Thanks!": "http://meskanen.com",
"Source": "https://gitlab.com/juham/juham/juham-automation.git"
},
"split_keywords": [
"home",
" automation",
" juham"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "58f8a0727f51d971457c76aefb25a3f1bcfc9ff8fb5aa7d3611dc4c4a6ac520a",
"md5": "713bcad9885f1063b044ec368e42def2",
"sha256": "faf28d10c974e2d37534131e514b18bc1ea93930974e941d3363da013e978d04"
},
"downloads": -1,
"filename": "juham_automation-0.0.35-py3-none-any.whl",
"has_sig": false,
"md5_digest": "713bcad9885f1063b044ec368e42def2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 32607,
"upload_time": "2025-08-30T05:49:36",
"upload_time_iso_8601": "2025-08-30T05:49:36.879132Z",
"url": "https://files.pythonhosted.org/packages/58/f8/a0727f51d971457c76aefb25a3f1bcfc9ff8fb5aa7d3611dc4c4a6ac520a/juham_automation-0.0.35-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "252823d3d7bfe68cd1e91921905199c0c9686acf1bc1e6edb4c25fd123672b16",
"md5": "9283c4668b869db7331415715a18e9c2",
"sha256": "edfae8fd1f9c4cebb3be483b27c44f3d37e9471835b962721f580c552a1123fb"
},
"downloads": -1,
"filename": "juham_automation-0.0.35.tar.gz",
"has_sig": false,
"md5_digest": "9283c4668b869db7331415715a18e9c2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 29926,
"upload_time": "2025-08-30T05:49:37",
"upload_time_iso_8601": "2025-08-30T05:49:37.810160Z",
"url": "https://files.pythonhosted.org/packages/25/28/23d3d7bfe68cd1e91921905199c0c9686acf1bc1e6edb4c25fd123672b16/juham_automation-0.0.35.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-30 05:49:37",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "juham",
"gitlab_project": "juham",
"lcname": "juham-automation"
}