Skip to main content

Asynchronous Python client for Salus IT600 devices

Project description

Python: Asynchronous client for Salus iT600 devices

About

This package allows you to control and monitor your Salus iT600 smart home devices locally through Salus UG600 universal gateway. Currently only heating thermostats supported. You have any other devices and would like to contribute - you are welcome to create an issue or submit a pull request.

Installation

pip install pyit600

Usage

  • Instantiate the IT600Gateway device with local ip address and EUID of your gateway. You can find EUID written down on the bottom of your gateway (eg. 001E5E0D32906128).
  • Status can be polled using the poll_status() command.
  • Callbacks to be notified of state updates can be added with the add_climate_update_callback(method) method.

Basic example

async with IT600Gateway(host=args.host, euid=args.euid) as gateway:
	await gateway.connect()
	await gateway.poll_status()

	print("All climate devices:")
	print(repr(gateway.get_climate_devices()))

	climate_devices = gateway.get_climate_devices()

	for climate_device_id in climate_devices:
		print(f"Climate device {climate_device_id} status:")
		print(repr(climate_devices.get(climate_device_id)))

		print(f"Setting heating device {climate_device_id} temperature to 21 degrees celsius")
		await gateway.set_climate_device_temperature(climate_device_id, 21)

Useful gateway methods

  • poll_status()
  • get_climate_devices()
  • get_climate_device(device_id)
  • set_climate_device_preset(device_id, preset)
  • set_climate_device_mode(device_id, mode)
  • set_climate_device_temperature(device_id, setpoint_celsius)

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

pyit600-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pyit600-0.0.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pyit600-0.0.2.tar.gz.

File metadata

  • Download URL: pyit600-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for pyit600-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7159db34d38a429bf47bef8de1127e2aa2be69686251ccbca76c4ca24d35fb6f
MD5 32462f0993a6bca9d006548760632da4
BLAKE2b-256 fed3b6cb73b91e08151eef4e8597898ac534cac986b9b3162c952d6e6fd426da

See more details on using hashes here.

File details

Details for the file pyit600-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyit600-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for pyit600-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c63971b73a3744199e5ca6d2ed9665067739ebb9386ca3ba6c71a7caa6506ef3
MD5 6e9d513bd4ed974067bb0efafd3eba34
BLAKE2b-256 5fed6358fbcc10738da2c8ef949ba6998261474094fd358313bcb96990922a91

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