Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# viet-robot-appliance-controller
|
| 2 |
+
|
| 3 |
+
A small rule-based helper that suggests simple actions for basic appliances
|
| 4 |
+
(fan, AC, light, dehumidifier) based on temperature, humidity and time of day.
|
| 5 |
+
|
| 6 |
+
Function:
|
| 7 |
+
|
| 8 |
+
```python
|
| 9 |
+
decide_appliance_action(appliance: str, temp_c: float, humidity_pct: float, time_hour: int) -> ApplianceDecision
|
| 10 |
+
```
|
| 11 |
+
|
| 12 |
+
Returns a `suggested_action` and a short English `reason`.
|
| 13 |
+
|
| 14 |
+
## License
|
| 15 |
+
|
| 16 |
+
MIT
|