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.4.tar.gz
(15.8 kB
view details)
Built Distribution
File details
Details for the file micro_smart_hub-0.1.4.tar.gz
.
File metadata
- Download URL: micro_smart_hub-0.1.4.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057839c555e9d4d0b1543c071528e31ee4193a3882b3d048efa1421b0876304d |
|
MD5 | 12cf097833c4c404a0d641ccef8166b9 |
|
BLAKE2b-256 | 61cf6dac4c567f48e1c5fa5ac4fd41894aae59adb73ad18644160065311a8472 |
File details
Details for the file micro_smart_hub-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: micro_smart_hub-0.1.4-py3-none-any.whl
- Upload date:
- Size: 18.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 | 0072f7b237cd045ad1d0216a12546a44417f5f0c71866a0d9409cd4804756f04 |
|
MD5 | cb1aee18633810429c1e8d842f74990b |
|
BLAKE2b-256 | 8e3115f4a8d9854087e447e99194f3094bc98cae7bc5e6068810d73449ed6cc6 |