Skip to main content

Switcher Unofficial Integration.

Project description

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

gh-build-status gh-pages-status codecov

PyPi module integrating with various Switcher smart water heaters and power plugs.
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

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

Uploaded Source

Built Distribution

aioswitcher-2.0.3-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aioswitcher-2.0.3.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for aioswitcher-2.0.3.tar.gz
Algorithm Hash digest
SHA256 110dd6a8f5929b9c2355aaf5c48d4824ddf72d0181c54376a16886aea6bbd332
MD5 3a639fae2d1c94f6ccf6832f17e66258
BLAKE2b-256 452c77151a484ef6119fb48b1a54b704e68907f000ab405deda6583448d97e83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aioswitcher-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for aioswitcher-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 73eabd3d1efebac3c11a9ec14888f8eab85096ca5d6ea2535f89299b5b85f5e0
MD5 7bfc77118b11e5a6bb99f46deb808bdc
BLAKE2b-256 058dfc79787af1b5985f8bc4ef2ff19305fd064a6f6948ef40cf99a2fb7be881

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