Skip to main content

Switcher Unofficial Integration.

Project description

Switcher Unofficial Integration
pypi-version pypi-downloads license-badge

gh-build-status read-the-docs codecov

PyPi module named aioswitcher for integrating with the Switcher Devices.
Please check out the documentation.

Install

pip install aioswitcher

Usage Example

Please check out the documentation for the full usage section.

async with SwitcherApi(device_ip, device_id) as api:
    # get the device state
    state_response = await swapi.get_state()

    # control the device on for 15 minutes and then turn it off
    await api.control_device(Command.ON, 15)
    await api.control_device(Command.OFF)

Command Line Helper Scripts

Contributing

The contributing guidelines are here

Code of Conduct

The code of conduct is here

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

aioswitcher-2.0.1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

aioswitcher-2.0.1-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file aioswitcher-2.0.1.tar.gz.

File metadata

  • Download URL: aioswitcher-2.0.1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for aioswitcher-2.0.1.tar.gz
Algorithm Hash digest
SHA256 4fd192e6fb127b22b223b771a21823c3ef820ae2bad2208d5ee66e5014836c38
MD5 b077bf4f12974e9245e3ec3da9194e11
BLAKE2b-256 0ac5612cce0d53ad57ff7f4b96361bb2d7bd223f3cc14ca64c68a78fe816db6a

See more details on using hashes here.

File details

Details for the file aioswitcher-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: aioswitcher-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for aioswitcher-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f07c53ab7afcb2605e1fa0863783272232a2e00c5e3309f67ea6e937f91bc5f5
MD5 caa82690788d7d4858f8d8dd2f81f2cb
BLAKE2b-256 4060ddfd823959d08cf8cf5a9e3affc691b2cf10fb163246fcaa76b7022d7ee1

See more details on using hashes here.

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