Xcomfort integration

Anyone have an sucsess of integrate xcomfort?
If so how did you do it?

Yes, via Eaton Smart Home Controller. I have written HA custom component to communicate with SHC. Works very well in quite complex xcomfort setup - lights, shutters, heating, radiators.

You have :+1:
Nice! Can you share?
In my system, I have several components.
Light and heat. So if you share, Iā€™ll finally can use hassio complete!

I wrote it for myself and am not a pro coder, so donā€™t expect high quality. In case there is need for this integration I can continue working on it. Let me know if you managed to connect your HA with SHC.

Hi all,

I recently bought Eaton xComfort CKOZ-00/14 Communication stick and added the addon - xComfort v 0.6 - https://github.com/karloygard/xcomfortd-go
While starting the Add-on getting following error:

Copy to clipboard

*2020/10/17 20:05:02 Connecting to MQTT broker 'tcp://core-mosquitto:1883' with id 'xcomfort'*
*2020/10/17 20:05:04 Connected to broker*
*2020/10/17 20:05:04 Opened USB device*
*2020/10/17 20:05:04 CONFIG: [04b21b10]*
*2020/10/17 20:05:05 handle_events: error: libusb: interrupted [code -10]*
*2020/10/17 20:05:05 STATUS: [c31b1000820000]*
*2020/10/17 20:05:05 CI HW/RF/FW revision: 0, 13.0, 0*
*2020/10/17 20:05:05 CONFIG: [04b21b00]*
*2020/10/17 20:05:05 STATUS: [c31b00020b0205]*
*2020/10/17 20:05:05 CI RF/Firmware release: 2.11, 2.05*
*2020/10/17 20:05:05 CONFIG: [04b20e00]*
*2020/10/17 20:05:05 STATUS: [c30e000074f918]*
*2020/10/17 20:05:05 CI serial number: 7665944*
*2020/10/17 20:05:05 Reading datapoints list from eprom*
*2020/10/17 20:05:05 EPROM: [d1210000018008000000000000000000]*
*2020/10/17 20:05:05 EPROM: [d111080001800a0000000000000000000000]*
*2020/10/17 20:05:05 Unsupported DPL format, broken file or you didn't upload the DPL to the stick?*
*[cmd] /run.sh exited 1*
*[cont-finish.d] executing container finish scripts...*
*[cont-finish.d] done.*
*[s6-finish] waiting for services.*
*[s6-finish] sending all processes the TERM signal.*

where can i get DPL files and how to configure this add-on for the Path of those filesā€¦

Fantastic work plamish!
Easy to integrate and works flawlessly. I have a complex xcomfort network and almost all units became available in hassio! Also very fast response.

Are you able to integrate the new RCT CRCA?

Great work!

I would also appreciate if you could integrate RCT CRCA.

Hi,

Just testing this integration, the documentation states that only one zone will be added. How did you solve that. Did you create a separate zone for this use and made all equipment member of this zone ?

@plamish, Canā€™t make the integration work after updating to core 2021.8.7.Did you manage to make this work?

2021-08-16 17:25:12 ERROR (MainThread) [custom_components.xcomfort] Error fetching xcomfort data: Error API

2021-08-16 17:25:12 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up xcomfort platform for sensor

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform

await asyncio.shield(task)

File "/config/custom_components/xcomfort/sensor.py", line 15, in async_setup_entry

for device in coordinator.data:

TypeError: 'NoneType' object is not iterable

2021-08-16 17:25:12 ERROR (MainThread) [homeassistant.components.switch] Error while setting up xcomfort platform for switch

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform

await asyncio.shield(task)

File "/config/custom_components/xcomfort/switch.py", line 13, in async_setup_entry

for device in coordinator.data:

TypeError: 'NoneType' object is not iterable

2021-08-16 17:25:12 ERROR (MainThread) [homeassistant.components.cover] Error while setting up xcomfort platform for cover

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform

await asyncio.shield(task)

File "/config/custom_components/xcomfort/cover.py", line 19, in async_setup_entry

for device in coordinator.data:

TypeError: 'NoneType' object is not iterable

2021-08-16 17:25:12 ERROR (MainThread) [homeassistant.components.light] Error while setting up xcomfort platform for light

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform

await asyncio.shield(task)

File "/config/custom_components/xcomfort/light.py", line 13, in async_setup_entry

for device in coordinator.data:

TypeError: 'NoneType' object is not iterable

After advice from @plamish I deleted the xcomfort_session in /config folder and restarted HA. This solved the issue.

1 Like

Using this plugin for quite a while now and it always worked flawlessly. But lately with a new update it decided to stop working. Re-downloaded and placed the plugin. But it always gives me the error that xcomfort plugin cannot be found.

Logger: homeassistant.setup
Source: setup.py:173
First occurred: 12:09:06 (1 occurrences)
Last logged: 12:09:06

Setup failed for xcomfort: Integration not found.

Edit: Got it fixed. In the manifest.json, you need to add a version number since 2021.6 of HA. A working config would be:

{
  "domain": "xcomfort",
  "name": "XComfort SHC",
  "config_flow": true,
  "version": 1.0
}

Wokred for me to, thank you. And nice work with the integration @plamish . I think this might have been the first problem with itā€¦ :slight_smile:

Hi @plamish - will this integration work with the xComfort Bridge ?
Eaton xComfort Bridge

I do not have the xComfort controller - just the Bridge.

Hey Viking,
I havenā€™t tested, but given xComfort Bridge has separate app I think it may not be possible.

You can try open this address in your web browser:

http://ip_address_of_your_xcomfort_bridge/remote/json-rpc

If you get ā€œ403 No messageā€ error there is a chance it will work.

Hi,

i have had grate sucess with this addon. However i made changes to the SHC.
I added one more switch actuator to the network and now i cannot get it to show up in Home Assistant.

Any suggestions would be highly appriciated. :slight_smile:

@plamish is there any files i must uninstall from home assistant, that does not get removed when uninstalling addon and removing devices from the HA?

hey guys,

for those looking for an intergation of Xcomfort via the Xcomfort ECI or USB:
I have created a fork of the addon of Karl Anders Ƙygard.
My fork allow to use anny MQTT host (internal or external) as well as configure a username and password.
The rest of the project is exactly the same (fork) of the original addon of Karl.

geurtsd/hassio-addons (github.com)