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.1.tar.gz
(13.6 kB
view details)
Built Distribution
File details
Details for the file micro-smart-hub-0.1.1.tar.gz
.
File metadata
- Download URL: micro-smart-hub-0.1.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ed5a038430cc3559ea662faf43d9efef17bdb69ebd64c79306a2e258dbc91c |
|
MD5 | ddf3db0ba0b12962d4033a76a174f593 |
|
BLAKE2b-256 | f596decec13c3b499a09b44c2924beb9105f604f542c247fdd3b66e830d95d6e |
File details
Details for the file micro_smart_hub-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: micro_smart_hub-0.1.1-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.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfff8ab709efc352bdcd81e435766f27ce808eb190f1db74ddf3bb1fe69ccb5b |
|
MD5 | 3ccf91df88f44c3da87399568803f00d |
|
BLAKE2b-256 | 356d4c644c9627bd12a99a96c839f2c30a02b191aaac25cf026dfb51bfc03f77 |