Hi! Is the Aqara API listed here free to use? Does it also support all Matter devices? With that I mean: can you control Matter devices connected to the Aqara M100 via the cloud API?
@sven15 You seem to be experiencing an issue with Aqara API pricing and Matter device control via cloud API. You can contact customer support for assistance. Contact the Aqara Home App Customer Service Team (Profile> Help & Feedback > Customer Service) or scan the QR code:
This will be more efficient. If you do not have an Aqara Home account, “Please click here” to create a ticket.
Hi! I’m not experiencing any issues with the Aqara app. I want to know if the cloud API is free to use before purchasing the Aqara M100 hub.
@sven15 You seem to be experiencing an issue with Aqara cloud API pricing. You can contact customer support for assistance. Contact the Aqara Home App Customer Service Team (Profile> Help & Feedback > Customer Service) or scan the QR code:
This will be more efficient. If you do not have an Aqara Home account, “Please click here” to create a ticket.
There’s free quota of 100,000 monthly calls for developer accounts. Beyond that they can be purchased in 1 million calls blocks, not sure of the price. If you’re just using a hub for home automation though there isn’t a fee to use it.
Hi! Thanks for your reply. What counts as an API call? Are that only the commands from my app to the Aqara API, or also the “Message Push” messages from the Aqara API to my app?
I want to use the API to connect Matter devices connected to the Aqara hub from another smart home hub.
If you’re talking about a custom app you are developing that interacts with the Aqara cloud API, it’ll be any action of the API I would guess. I could be wrong though, you’d be best contacting Aqara directly for confirmation. You’ll be able to put in a query via the developer portal.
I’ve been playing around with the API a bit lately. There are various requests, such as for the devices in the home. If you fetch the entire list of all devices, you get a multi-page response, and each page counts as a call, if I remember correctly. For each device, you could retrieve its status and functions, which is another call. And if you use a function, like turning on a light, that is yet another call.
If you are registered as a developer, you also have a dashboard where your API call consumption is listed.
Here is the list of supported Matter devices:
https://opendoc-test.aqara.cn/en/docs/Matter/Aqara%20Supported%20Matter%20Device%20Type%20List.html
Basically, you can control Matter devices via the API. I’ve tried turning lights and smart plugs on and off. That works without any problems, but while door locks are supported and you can read things like the battery status, locking and unlocking them isn’t possible.
What exactly are you planning to do?
I just noticed in my Aqara Developer Account Overview that there’s also a Total free remaining traffic value listed, which refers to 2,000,000 calls. Am I correct in understanding that once those calls are used up, no further usage is possible without paying?
That was my interpretation too. It’s similar to Tuya’s trial developer accounts, just not explicitly called a trial.
