Skip to main content

python-aidot

Control AIDOT WiFi lights and cameras from Python and Home Assistant.

This is a camera-capable fork of the upstream lights-only python-aidot. It adds live WebRTC video streaming (DTLS and SDES-SRTP paths), snapshots, PTZ, camera controls, cloud recordings/thumbnails, and two-way (push-to-talk) audio, plus a Home Assistant custom component that exposes all of it.

Library install

The camera support is not published to PyPI (PyPI only has the upstream lights-only releases). Install this fork's library directly from the repo:

# lights + camera cloud/control only:
pip install "git+https://github.com/cbrightly/python-AiDot"
# add live WebRTC streaming, snapshots, and two-way audio:
pip install "python-aidot[webrtc] @ git+https://github.com/cbrightly/python-AiDot"

Home Assistant component

The custom component lives in custom_components/aidot/. Its manifest.json lists the third-party Python dependencies (aiortc, av, paho-mqtt, …) so Home Assistant installs those automatically, but the aidot library itself is not on PyPI - install it into Home Assistant's Python environment first:

# inside the HA venv / container
pip install "python-aidot[webrtc] @ git+https://github.com/cbrightly/python-AiDot"

Then copy custom_components/aidot/ into your HA config/custom_components/ folder (or add this repo to HACS as a custom repository) and restart Home Assistant.

CLI

test_camera.py exercises the camera features directly - discovery, LAN probe, WebRTC streaming, snapshots, recordings, attribute get/set, and two-way audio (--talk). Run python test_camera.py --help for the full list.

Download files

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

Source Distribution

python_aidot_cameras-0.7.8.tar.gz (200.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_aidot_cameras-0.7.8-py3-none-any.whl (190.0 kB view details)

Uploaded Python 3

File details

Details for the file python_aidot_cameras-0.7.8.tar.gz.

File metadata

  • Download URL: python_aidot_cameras-0.7.8.tar.gz
  • Upload date:
  • Size: 200.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for python_aidot_cameras-0.7.8.tar.gz
Algorithm Hash digest
SHA256 699f8e1ce29be41ed328d23bf3b85eec7be985ef3e9c723ff63a6278804cdb85
MD5 1783c22bff2300da07e53a12af5ca780
BLAKE2b-256 e1f1f21c50ddfc18edd3c98b617a16a821c49a1250dc77dd0fec27621a006fbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_aidot_cameras-0.7.8.tar.gz:

Publisher: publish.yml on cbrightly/python-aidot-cameras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_aidot_cameras-0.7.8-py3-none-any.whl.

File metadata

File hashes

Hashes for python_aidot_cameras-0.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9b620895241c72f2947b335675af072ea710fd575b6b4b561de67e5032bd3bec
MD5 ba35417ff803b436d867a834fc51cb73
BLAKE2b-256 0197c4bd24fc6aa21283175a2899c1aa4fa7bfec7a56a9a33d71c7d6d41024a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_aidot_cameras-0.7.8-py3-none-any.whl:

Publisher: publish.yml on cbrightly/python-aidot-cameras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

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