Skip to main content

A Python sdk for Aqara Open API, which provides IoT capabilities, maintained by Aqara official

Project description

Aqara IoT Python SDK

PyPI

PyPI - Downloads

PyPI - Python Version

A Python sdk for Aqara home assistant.

Features

Base APIs

  • AqaraOpenAPI

    • connect
    • is_connect
    • get
    • post
    • put
    • delete
  • AqaraOpenMQ

    • start
    • stop
    • add_message_listener
    • remove_message_listener

APIs

  • AqaraDeviceListener
    • update_device
    • add_device
    • remove_device

Device control

  • AqaraDeviceManager
    • generate_devices_and_update_value
    • add_device_listener
    • remove_device_listener
    • remove_device
    • remove_device_list
    • send_commands

Home

  • AqaraHomeDeviceManage
    • update_device_cache
    • query_scenes
    • trigger_scene

Possible scenarios

Prerequisite

Registration

Usage

Installation

pip3 install aqara-iot-py-sdk

Sample code

Aqara Open API reference

Issue feedback

License

aqara-iot-py-sdk is available under the MIT license. Please see the LICENSE file for more info.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aqara-iot-py-sdk-1.0.9.tar.gz (16.9 kB view hashes)

Uploaded Source

Built Distribution

aqara_iot_py_sdk-1.0.9-py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page