AI to config smart home setting

Hi,

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?

thanks for the help.
Sean

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.

2 Likes

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.

Hi Sean,

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.

Hope this helps you find the best workflow!

1 Like

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?

But today the workaround is HA.