How soulee-dev/kdone works
Project Type Analysis
This is a Python API wrapper library that interfaces with Navien's home network system, focusing on IoT device control and elevator systems. It's a middleware/integration project that serves as a bridge between client applications and Navien's home network infrastructure.
Main Components
A. Client Layer:
• External Applications (using the KDOne library)
• Example Web Application (from examples folder)
B. KDOne Library Core:
• API Module (api.py)
• Models Layer
• Utils Layer
C. External Systems:
• Navien Home Network Backend
• IoT Devices (lights, elevator, etc.)
[Client Applications] → [KDOne Library] → [Navien Home Network]
• ↘ [IoT Devices]
Important Details
A. Authentication Layer:
• [Login] → [Complex Selection] → [Certification] → [Token Generation]
B. Device Control Layer:
• [Device Discovery] → [Device Type Selection] → [Control Commands]
Implementation Notes
• The modular structure (api, models, utils)
• The authentication flow's multiple steps
• The device type enumeration system
• The separation between authentication and device control