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.0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file micro-smart-hub-0.1.0.tar.gz
.
File metadata
- Download URL: micro-smart-hub-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa5a8ebfeb43648df41f99a9cb45ee4132eea3fcfa2c11bc050f63ce15043c3 |
|
MD5 | ebdedfc97b5608cc01befabfbb1dd61c |
|
BLAKE2b-256 | 5f1aa7948c939c289b44400ee067859a0e179423ce56995240e90835f06c2f2c |
File details
Details for the file micro_smart_hub-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: micro_smart_hub-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc724f678332f082f691274801dca44c5e32c600bf90f0d0d168d3235e4b0d1a |
|
MD5 | 281557c1fa2cf7eb32be036af401421e |
|
BLAKE2b-256 | 46e3fa11b89f854f02824f13a5de3779f19b9ee5f6303c0c4182a53d08ef55d3 |