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.3.tar.gz (11.9 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.3-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ics_2000_python-0.1.3.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.11 Darwin/25.1.0

File hashes

Hashes for ics_2000_python-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2d99370f9698b54a3f3984cb79cdfdfc6e688b5da25a2969df7e0fb04f151eff
MD5 150526a667c3e76cbb58618f11bf657d
BLAKE2b-256 b68dbccb2d56c31e7403e3a57b91727f3b71873ac230a7221b95337b8f48b17f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ics_2000_python-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.11 Darwin/25.1.0

File hashes

Hashes for ics_2000_python-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 52e5228ef42375003aab16c690c7d3fb6718838491840d2eaac79c140700a0e9
MD5 8f7b142ebf0378fd40ca62500c4ade1c
BLAKE2b-256 e4a9674fee49bd8bed259b3d2a848cf310809bfa2fc50ecf14fc6e61dfd8d5da

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