I have implemented Aqara smart home system. It is now connected to my Aqara Home app. The settings of various devices into themes/automation mannually via app seem NOT fun at all.
I am thinking of having Claude to learn and write the settings and then import it to the app.
Does anyone know how to start? like where could I start to understand the format of the settings/config file schema, and how to import/export the settings/config to/from the app? If the app is not Open to general import/export of the settings/config json or alike, is there an alternative way for dev account or something to workaround it?
There is no way to do imports of automation logic. Perhaps this will be possible when Aqara Studio is released, as automation flows and scripting will be possible.
Honestly, giving an AI full control over the house sounds like a fast track to my lights flickering to the beat of elevator music at 3 AM. But jokes aside, I’d love something that just learns I never actually want the hallway light at 100% after midnight without me having to write a script for it.
as coletti.robert already mentioned, the Aqara Home app does not currently support a native import/export function.
If you are looking to use Claude or other AIs for your setup, here are two paths you could consider:
Aqara Open Platform (API): Technically, you could use their Open API to create scenes and automations (linkages) via script. While “vibe coding” (using AI to write the code for you) is an option, the authentication process (AppID, signatures, etc.) is quite complex and might be frustrating without a solid programming background.
Home Assistant: If your goal is to have Claude write your logic in YAML (similar to JSON), I highly recommend switching to Home Assistant (and connecting your Aqara devices via Matter or Zigbee). LLMs like Claude are exceptionally well-trained on Home Assistant’s YAML syntax because there is a massive amount of public documentation and community data available.
Setup an Home Assistant instance, import your Aqara hub as a Matter Bridge. This will pull all devices in the hub into HA. Automation in HA is easy, and you can use a full-size monitor rather than a tiny phone screen.
The very WORST thing about Aqara is that it is a phone app and runs on a tiny screen. Seriously, how hard would it be for them to put a web server in their hubs?
Honestly, the standard Aqara app is super closed off. There’s no way to just export a config file, let Claude edit it, and flash it back in.
If you want to use Claude to skip the manual app grind, your best bet is moving your setup over to Home Assistant. Everything there runs on YAML and JSON, which Claude is absolutely brilliant at writing. You just tell it what automation you want in plain English, and it spits out the exact code to paste in.
The only other way is getting an Aqara developer account and pushing settings through their cloud APIs, but Home Assistant is way less of a headache for this.