Added Daikin AC Support
The Edge-AI Home Monitoring System now extends into climate control. I’ve added full support for Daikin air conditioners, using the pydaikin library for asynchronous communication with the device over the network.
What’s New
- New
DaikinACclass with full control: on/off, increase/decrease temperature, and mode switching (auto, cool, heat, dry, fan) - New
/api/daikinendpoint for device communication - Integrated into the same authentication pattern used across the whole system (
@auth.login_required), so no new device ecosystem opens a security gap - Dashboard controls for Daikin devices, including a mode selection dropdown
Challenges
Since pydaikin is fully asynchronous (async context managers), each client call had to be wrapped with asyncio.run() to fit into the rest of the synchronous Flask backend — the same approach used for the Tapo devices.
Next Steps
Rule Engine / Automations system, followed by energy monitoring for the Tapo smart plugs.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.