An library for making soap connection to the IHC Controller using python

dingusdk, updated 🕥 2023-03-23 12:20:36


This is a Python library for making a soap connection to an IHC controller (IHC controller is a home automation controller made by LK). The primary goal for this library was to make an interface from Home Assistant to IHC, and only the few functions need to do this has been implemented in the library.

The library implements:

  • Authentication
  • Get runtime values
  • Set runtime values
  • Notification when a resource changes.


See the file.

For more infomation about this library look at


Version 2.7 Add https support for version 3 of the controller. Switched from VS to vscode Version 2.x.x has changed the naming to make pylint happy, so if you are upgrading from version 1.x.x you will have to make changes to your code.

From version 1.0.2 (first release), folder structure has been changed to make is easier to have the libray included in PyPi. The library files are now in the ihcsdk subfolder


ihcsdk is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ihcsdk is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ihcsdk. If not, see


2.8.5 2023-03-23 12:15:50

Floats from the IHC controller will be rounded to 2 digits. (Floats in the controller only have 2 digits, but the soap interface from the controller may return more digits)

2.8.4 2022-12-12 15:55:57

  • Additional debug logging to help troubleshooting problems
  • Cookies are now handled by the python requests.session

2.8.3 2022-12-12 15:55:57

Callback on changes will now happen on all changes. Previously if the IHC controller returned more than one change in a single long polling request, only the last event would trigger a callback. Fx. if a boolean resource was on -> off in the same change, only the last off would trigger a callback.

2.8.2 2022-10-23 15:54:16

Fixes the WSDateValue type when year is not set the current year is used. The IHC controller has a bit change behavior, by default the year is initial 2000, when you set the day/month the year becomes 0

2.8.1 2022-10-23 14:59:15

Add support for the Date resource. The WSDateValue type , this is a date without time.

2.8.0 2022-04-14 09:06:09

SSL Ciphers changes to work with newest 7.0 controller. (Older controllers should use http only because the older controllers does not implement ssl properly)

A new function has bee added to get the IHC project in segments on the ihc client. This is now the new default for the IHC controller. This should put less stress on the IHC controller when downloading a bigger project.

Jens Østergaard Nielsen
GitHub Repository