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.0.tar.gz (18.7 kB view hashes)

Uploaded Source

Built Distribution

aioswitcher-2.0.0-py3-none-any.whl (24.0 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