Skip to main content

No project description provided

Project description

Python KlikAanKlikUit ICS-2000 library

This library gives methods to control a ICS-2000 from KlikAanKlikUit. It is made to add support for this device within Home assistant, which implementation is available in this repository.

Usage example:

from ics_2000.entities.dim_device import DimDevice
from ics_2000.entities.switch_device import SwitchDevice
from ics_2000.hub import Hub

hub = Hub("example@email.com", "password")
homes = hub.login()  # Authenticate
print(homes) # returns a dictionary of homes, ex: {"0": "test home}
hub.select_home("132829") # Select the right home by id
hub.get_devices() # request devices
for device in hub.devices:
    if type(device) is SwitchDevice or type(device) is DimDevice:
        print(device.name)
        if device.get_on_status(): # returns bool
            device.turn_off(False) # turn a device off

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

ics_2000_python-0.1.4.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ics_2000_python-0.1.4-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file ics_2000_python-0.1.4.tar.gz.

File metadata

  • Download URL: ics_2000_python-0.1.4.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.13 Darwin/25.4.0

File hashes

Hashes for ics_2000_python-0.1.4.tar.gz
Algorithm Hash digest
SHA256 bb9c872bde90535a71b82b7a17e74936471eb111efc8bfb897d0c01f90571235
MD5 4b1cfccdd524139cb815663132e64b34
BLAKE2b-256 7793226d7d8034f4634cd3319ece2199ee7e128fff7d1422d50d3e41fbd2aac9

See more details on using hashes here.

File details

Details for the file ics_2000_python-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ics_2000_python-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.13 Darwin/25.4.0

File hashes

Hashes for ics_2000_python-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0d35b826a957bea35c2c11711a8d0baf3030757f017e1d874361ea2120db6e64
MD5 b500bb7036a441a8a49d3f9aab05ac68
BLAKE2b-256 317334eefa45db5ca8b69a48667c75b25fe6bdfe4d6ce33636ac85e373b03a74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page