Aqara | Get Xiaomi Smart Home device status of gateway

 by   ggottwald PHP Version: 0.4.0 License: Non-SPDX

kandi X-RAY | Aqara Summary

kandi X-RAY | Aqara Summary

Aqara is a PHP library typically used in Manufacturing, Utilities, Construction, Internet of Things (IoT), Xiaomi applications. Aqara has no bugs, it has no vulnerabilities and it has low support. However Aqara has a Non-SPDX License. You can download it from GitHub.

Get Xiaomi Smart Home device status of gateway and sub-devices. Supports magic cube, water leak sensor, door/window sensor, motion sensor and mini switch. This package was inspired by the node package

            kandi-support Support

              Aqara has a low active ecosystem.
              It has 4 star(s) with 4 fork(s). There are 1 watchers for this library.
              It had no major release in the last 12 months.
              Aqara has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Aqara is 0.4.0

            kandi-Quality Quality

              Aqara has no bugs reported.

            kandi-Security Security

              Aqara has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              Aqara has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              Aqara releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed Aqara and discovered the below as its top functions. This is intended to give you an instant insight into Aqara implemented functionality, and help decide if they suit your requirements.
            • Register a sub device
            • Handles a response from the client .
            • Handles state events .
            • Create gateway from response
            • Creates a new socket for the server .
            • Get an attribute .
            • Fill the object with the given attributes .
            • Returns whether the session is open .
            Get all kandi verified functions for this library.

            Aqara Key Features

            No Key Features are available at this moment for Aqara.

            Aqara Examples and Code Snippets

            No Code Snippets are available at this moment for Aqara.

            Community Discussions


            Decrypting ZigBee paquets
            Asked 2021-Feb-19 at 08:39

            I would like to decrypt Zigbee paquets from a Xiaomi Aqara switch. Here is the raw encrypted frame I sniffed on a network:

            Raw encrypted frame



            Answered 2021-Feb-19 at 08:39

            The algorithm is AES-128-CCM*, detailed in the section and annex A of the ZigBee specification.

            Detailed answer with the frame in the question:



            How can i merge philips hue mesh with mqtt mesh in home assistant?
            Asked 2020-Dec-09 at 09:26

            My setup is as follows:

            Home assistant running on a VM server with CC2531 zigbee2mqtt USB stick. Next to server there is a Philips Hue hub.

            I have a number of Hue lights and switches connected to Philips Hue hub. This is integrated using Philips Hue integration to Home Assistant. I have some Aqara sensors I'm connecting to Home Assistant via USB stick. And integrated using MQTT into home assistant.

            Lights/switches work throughout the house - mesh is working correctly. Some devices are pretty far away. Aqara sensors ( they are all end devices ) are not working too far from USB stick.

            This leads me to believe that at this point i have two separate zibgee meshes - one native philips hue and one for aqara.

            How can i merge those two meshes ? I guess I'd have to do away with philips hue bridge and merge all philips devices into mqtt mesh ? Is there another way ?





            Answered 2020-Dec-09 at 09:26

            You can either decide to use only your Z2M mesh and discard Hue. That needs to pair all devices from the Hue bridge to the CC2531 and Z2M. Keep in mind that CC2531 has limited resources and you can encounter issues if you have too many devices.

            What I suggest is to keep two distinct networks but move some of the bulbs to the Z2M mesh in order to use them as relays, especially for your furthest Aqara end devices.



            While using IMPORTXML, why can I get IMG ALT but not IMG SRC?
            Asked 2020-Aug-10 at 19:21

            I'm trying to use Google Sheets as a scraper to get product descriptions prices and images from a specific store.

            I'm trying to retrieve the image URLs from this page but in the end, I'm not able to make it work.



            Answered 2020-Aug-10 at 19:21

            That page is loaded dynamically using javascript, and the sample html in your question is a result of that. Absent some trickery (you can search around for scripts to handle dynamically loaded pages), GS can't retrieve that data.

            Fortunately, not ALL data is loaded like that. If you disable JS on that page, you will get most of the same data, including the info; only this time - it looks like this:



            sed replace doesn't work with particular regexp
            Asked 2019-Sep-13 at 15:20

            I'm trying to make a replace with sed:



            Answered 2019-Sep-13 at 15:20

            The man page says that

            -e command

            Append the editing commands specified by the command argument to the list of commands.

            You need to use -E or -r option (whichever is supported by your sed):


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install Aqara

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone ggottwald/Aqara

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link