A small smart hub building blocks package
Project description
MicroSmartHub
MySmartHome is a smart home automation system that includes a weekly scheduler. The first implementation focuses on IrrigationAutomation
, which leverages weather forecasts to control an irrigation system. This system includes a simple irrigation controller and a pump switch (SmartSwitch
) inherited from MicroDevice
.
Features
- Weather Forecast Integration: Uses weather forecasts to check soil moisture and wind levels.
- Irrigation Automation: Automatically controls irrigation based on weather conditions.
- Smart Device Control: Controls a pump switch (
SmartSwitch
) to manage irrigation. - Weekly Scheduler: Schedules irrigation activities throughout the week.
System Architecture
The MySmartHome system includes the following components:
- MicroDevice: Base class for all IoT devices.
- SmartSwitch: Inherits from
MicroDevice
and controls the irrigation pump. - IrrigationAutomation: Manages the irrigation system based on weather forecasts and controls the
SmartSwitch
. - Weather Forecast API: Provides soil moisture and wind level data for decision making.
- Weekly Scheduler: Schedules and automates tasks on a weekly basis.
Diagram
graph TD
subgraph MicroSmartHub
F[Weekly Scheduler] --> D[IrrigationAutomation]
A[MicroDevice] --> B[SmartSwitch]
B --> C[Pump Control]
D --> B
D <--> E[Weather Forecast API]
end
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
micro_smart_hub-0.1.3.tar.gz
(13.9 kB
view details)
Built Distribution
File details
Details for the file micro_smart_hub-0.1.3.tar.gz
.
File metadata
- Download URL: micro_smart_hub-0.1.3.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9ee260521bd1e529a85f2e3945c8722fc52d8793f658b813813073fc60460d |
|
MD5 | b5a0e8215e4e5ead8657900e12050e8e |
|
BLAKE2b-256 | dfb3db61e2733f5a2d046ac10b7ede928b8a160d7e492eb66e1db44928371524 |
File details
Details for the file micro_smart_hub-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: micro_smart_hub-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f68421f64bad7bdd678aca59ae3c9aaafab3816ac93c743a7193c2bef1362cc |
|
MD5 | 9daa7bf3af691a2d2e2e0e206abc9ca0 |
|
BLAKE2b-256 | 1c47c2d597d3985be3426b1017efb8529173f9d20bd540ab19391cffcc0921c9 |