With the current evolution of Large Language Models (LLMs) and the capabilities already exposed by the Homey Web API, it would be extremely powerful to introduce an AI-assisted Flow Builder a system that allows users to describe an automation in natural language and automatically generate an Advanced Flow (complete with cards, conditions, tags, and variable bindings).
Example use case
A user could type or say:
“When the mmWave sensor in the hallway detects presence and it’s after sunset, dim the living room light to 40%, play soft music, and close the blinds.”
Homey’s AI Flow Builder would then automatically:
-
Identify the correct devices (sensor, light, speaker, blinds).
-
Build an Advanced Flow with the proper When / And / Then cards.
-
Bind variables or tags (e.g. lux, time of day, presence).
-
Save the flow in the user’s workspace ready for review and activation.
How it could be implemented (plausible based on current API capabilities)
-
API Foundation:
Homey already exposes Web APIs such asHomeyAPIV3Local.ManagerFlowandHomeyAPIV3Cloud.ManagerFlow, which include functions likecreateFlow,updateFlow, andcreateAdvancedFlow.
These could serve as the backend for programmatically creating flows. -
LLM Integration Layer:
The system could connect to a local or cloud-based LLM (OpenAI, Gemini, or even Athom’s own AI module).
The LLM would parse a user’s prompt and output a structured JSON object describing the desired flow, including:{ "trigger": { "device": "Hallway Sensor", "capability": "motion_detected" }, "conditions": [{ "time": "after_sunset" }], "actions": [ { "device": "Living Room Light", "capability": "dim", "value": 0.4 }, { "device": "Sonos Speaker", "capability": "play_playlist", "value": "Soft Evening" }, { "device": "Blinds", "capability": "close" } ] } -
Flow Rendering & Validation:
Homey’s UI would then use this JSON to automatically render a draft Advanced Flow in the visual editor.
The user could confirm, edit, or fine-tune it before saving. -
Security & Permissions:
Since this feature would rely on creating flows via API, user confirmation and permission tokens would be required (similar to the current Developer API tokens).
Benefits
-
Makes Homey accessible to non-technical users.
-
Greatly reduces setup time for complex automations.
-
Bridges natural language and Homey’s powerful Advanced Flow UI.
-
Would place Homey at the cutting edge of AI-assisted smart home automation.
Related References
-
Homey Web API: api.developer.homey.app
-
ManagerFlowdocumentation: athombv.github.io/node-homey-api/HomeyAPIV3Local.ManagerFlow.html -
Community idea: AI Chat Control App
If you also think this would be a game-changer for Homey Pro users, please like and comment to help prioritize this feature!