Skip to main content

Switcher Python Integration.

Project description

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

gh-build-status gh-pages-status codecov

PyPi module integrating with various Switcher devices.
Check out the wiki pages for a list of supported devices.

Install

pip install aioswitcher

Usage Example

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

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

    # create a new recurring schedule
    await swapi.create_schedule("13:00", "14:30", {Days.SUNDAY, Days.FRIDAY})

Check out the documentation for a more detailed usage section.

Command Line Helper Scripts

Contributing

The contributing guidelines are here

Code of Conduct

The code of conduct is here

Disclaimer

This is NOT an official module and it is NOT officially supported by the vendor.
That said, thanks are in order to all the people at Switcher for their cooperation and general support.

Contributors

Thanks goes to these wonderful people (emoji key):


Aviad Golan

🔣

Dolev Ben Aharon

📖

Fabian Affolter

💻

Or Bin

💻

Shai rod

🔣

Shay Levy

💻 🤔 🚧

dmatik

📝 🤔 📓

jafar-atili

💻 📖

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.10.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

aioswitcher-2.0.10-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aioswitcher-2.0.10.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for aioswitcher-2.0.10.tar.gz
Algorithm Hash digest
SHA256 2c1d8ee2aa647e83504a355c3a9d30aa138cf8f0aa772b3b0f1ae2374da4e388
MD5 b32bc85283143f2d3607423af7429490
BLAKE2b-256 d2dc12868b3ba6d7c3fbb28237a6ccb6c0a161346472bd52df797a04514da27e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aioswitcher-2.0.10-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for aioswitcher-2.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 77b555b08bf0ed86fe3e8019f7f30185f6260f95376e0f84ceb4830171c6d2e0
MD5 067f72c519f7b22de576a70c6e8296f1
BLAKE2b-256 62ea1b16666484c7aaa03c023bc0349290fd4c5211ef021ffdbdeab188c2d9e5

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