Giter Site home page Giter Site logo

xcomfort's People

Contributors

madmonkey87 avatar merkens avatar plamish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xcomfort's Issues

custom_components.xcomfort.light.xcLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1.

WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.xcomfort.light.xcLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/plamish/xcomfort/issues
2024-04-01 21:51:29.095 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.xcomfort.light.xcLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/plamish/xcomfort/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

How to add more zones?

I just tried your wonderfull integration :)!

I have 20 zones in my xComfort SHC. How can i add them all?
It seems that now it's only possible to add 5 zones.

image

Error setting up entry XComfort for xcomfort

I am very happy to see that there is a component for xcomfort, thank you very much! Unfortunately i am not getting it to work. Have always this error:

Logger: homeassistant.config_entries
Source: custom_components/xcomfort/xcomfortAPI.py:36
Integration: XComfort SHC (documentation, issues)
First occurred: 13:56:52 (1 occurrences)
Last logged: 13:56:52

Error setting up entry XComfort for xcomfort
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/config/custom_components/xcomfort/__init__.py", line 27, in async_setup_entry
    await coordinator.xc.connect()
  File "/config/custom_components/xcomfort/xcomfortAPI.py", line 36, in connect
    if not self.is_connected:
AttributeError: 'xcomfortAPI' object has no attribute 'is_connected'

When adding the integration, what do I have to insert at URL? The local IP in my network? Username/password: I created a new user for home assistant, or do i have to use the admin? Where can i find these zone-numbers? I only have roller shutters, so do I have to fill out the heating_zones?

Thank you very much for your help.

new installation - problems

hi there,
setup a new home assistant and also did a new firmware update on SHC and not getting it to work on HA

log says:

Home Assistant Core
Error while setting up xcomfort platform for cover
23:07:04 – (FEHLER) Abdeckung
Error while setting up xcomfort platform for button
23:07:04 – (FEHLER) Taste
Error while setting up xcomfort platform for switch
23:07:04 – (FEHLER) Schalter
Error while setting up xcomfort platform for light
23:07:04 – (FEHLER) Licht
Error while setting up xcomfort platform for sensor
23:07:04 – (FEHLER) Sensor
HVAC_MODE_AUTO was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/plamish/xcomfort/issues
23:07:04 – (WARNUNG) Klima - Die Nachricht ist zum ersten Mal am 23:07:04 aufgetreten und erscheint 12 mal
TEMP_CELSIUS was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/plamish/xcomfort/issues
23:07:04 – (WARNUNG) helpers/deprecation.py - Die Nachricht ist zum ersten Mal am 23:07:04 aufgetreten und erscheint 2 mal
SUPPORT_CLOSE was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please create a bug report at https://github.com/plamish/xcomfort/issues
23:07:04 – (WARNUNG) Abdeckung - Die Nachricht ist zum ersten Mal am 23:07:04 aufgetreten und erscheint 10 mal

thanks for help

Don't get devices

I installed Hacs as instructed, cleared the cache etc...I see the integration and on my dashboard with status 'Up-to-date'
How can I now add xcomfort devices in, there I am lost, I'm new into HA

Error when adding integration

I am not able to get the integration working. Please see the below logg fra HA. Any tips on how to solve this is appreciated.

Error setting up entry XComfort for xcomfort
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/xcomfort/init.py", line 27, in async_setup_entry
await coordinator.xc.connect()
File "/config/custom_components/xcomfort/xcomfortAPI.py", line 36, in connect
if not self.is_connected:
AttributeError: 'xcomfortAPI' object has no attribute 'is_connected'

KeyError for cover, button, switch, sensor, light

Problem while setting up xcomfort. Seems like the device dictonary is empty. Also scene dict is empty.

2023-07-25 20:53:53.012 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 353, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xcomfort/sensor.py", line 17, in async_setup_entry
if device['type'].find("Temp") >= 0:
~~~~~~^^^^^^^^
KeyError: 'type'
2023-07-25 20:53:53.016 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 353, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xcomfort/light.py", line 14, in async_setup_entry
if device['type'].find("DimAct") >= 0:
~~~~~~^^^^^^^^
KeyError: 'type'
2023-07-25 20:53:53.019 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 353, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xcomfort/switch.py", line 14, in async_setup_entry
if device['type'].find("Switch") >= 0:
~~~~~~^^^^^^^^
KeyError: 'type'
2023-07-25 20:53:53.024 ERROR (MainThread) [homeassistant.components.button] Error while setting up xcomfort platform for button
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 353, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xcomfort/button.py", line 14, in async_setup_entry
async_add_entities([xcScene(coordinator, i, scene['id'], scene['name'])])
~~~~~^^^^^^
KeyError: 'id'
2023-07-25 20:53:53.028 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 353, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xcomfort/cover.py", line 22, in async_setup_entry
if device['type'].find("Shutt") >= 0:
~~~~~~^^^^^^^^
KeyError: 'type'

Energy sensor

Hi,
Do you have any plans for adding energy sensors (switching actuators with EMS)?

/Jan

Humidity

Hi,

I get temperature readings from my old room controllers (With the wheel) but not humidity. It states in the readme that temperature are supported but no mention of humidity. I guess that is not supported?

But it would be nice if it was, any plans for supporting them ?

Unable to install

HASSOS 2023.9.2
Two problems:

  1. Unable to install through HACS
    I can find the repo and hit Download, but it never finishes. It just keeps hanging. The files do get copied to custom_components. Refreshing HACS does not show the integration added, leading me to suspect an incomplete install. Have attempted cache empty and reboot.
  2. Unable to configure
    Since the files are seemingly in custom_components I tried adding the integration. I can find it but it just hangs on "Please wait, starting configuration wizard for xcomfort"

Warning regarding using self.async_update_ha_state()

Hello,

Using core 2023.9.2 and getting this warning this morning:

Entity light.utelys_hybel_aktuator (<class 'custom_components.xcomfort.light.xcLight'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author.

Is it something that can be updated?

Cheers

Devices gets unavailable

Hi
I am getting this error on all my devices in the log. In the user interfaces the switch or device gets unavailable.

Here is the log for one device:
Lys gjesterom slått på
07:05:42 - For 38 minutter siden
Lys gjesterom ble utilgjengelig
07:05:36 - For 38 minutter siden
Lys gjesterom slått på
07:04:37 - For 39 minutter siden
Lys gjesterom ble utilgjengelig
07:04:31 - For 39 minutter siden
Lys gjesterom slått på
07:03:34 - For 40 minutter siden

The light is not turned on or off.

Device unavailable

Device on

where to copy files

I'm a bit new to this and I'm trying to make this work but I'm not quite sure where to copy the files to. Is it to the root directory?

Deprecated constants HA Core 2025.1

Hi,
Getting those warning after update to 2024.1 regarding deprecated constants in 2025.1:

HVAC_MODE_AUTO was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/plamish/xcomfort/issues
HVAC_MODE_DRY was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please create a bug report at https://github.com/plamish/xcomfort/issues
HVAC_MODE_FAN_ONLY was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please create a bug report at https://github.com/plamish/xcomfort/issues
SUPPORT_PRESET_MODE was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/plamish/xcomfort/issues
SUPPORT_TARGET_TEMPERATURE was used from xcomfort, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/plamish/xcomfort/issues

Request to implement RTC CRCA

Fantastic work!
Works flawless on lighting. I have a complex xcomfort network and almost all units became available in hassio!
Are you able to integrate the new RCT CRCA?

Trouble getting devices set up

Hi! Being "stuck" with a legacy xComfort solution I can't swap out unless I want to tear down multiple walls, this is a great solution for me. I was able to install the integration, and it reports back success. However, for every device group I get an error:

Logger: homeassistant.components.switch
Source: custom_components/xcomfort/switch.py:14
Integration: Switch (documentation, issues)
First occurred: 17:53:10 (1 occurrences)
Last logged: 17:53:10

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 14, in async_setup_entry
    if device['type'].find("Switch") >= 0:
KeyError: 'type'

This one, as you can see, was for switches. All other categories, except buttons, fail the same way. For buttons it's the "id" key:

Logger: homeassistant.components.button
Source: custom_components/xcomfort/button.py:14
Integration: Button ([documentation](https://www.home-assistant.io/integrations/button), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+button%22))
First occurred: 17:53:10 (1 occurrences)
Last logged: 17:53:10

Error while setting up xcomfort platform for button
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/button.py", line 14, in async_setup_entry
    async_add_entities([xcScene(coordinator, i, scene['id'], scene['name'])])
KeyError: 'id'

Thoughts?

fresh install

Hi,

Im trying to install your Xcomfort intregration to use with my newly installed ZIP Screens.
Would like to get the lux value from a HUE outdoor sensor and make the zip screens go down on a value and up on another.

But the issue for me is that I cant login it seems. I provided a screenshot of the error log. But im not able to pinpoint the issue with my lack of code experience.
Ive tried different usernames but does not seems to make a difference.

Installed via HACS

image

Integrations stopped working after core update to 2018.8.7

See below, the integration just stopped working.
Any way to fix this?

2021-08-16 17:15:34 ERROR (MainThread) [custom_components.xcomfort] Error fetching xcomfort data: Error API
2021-08-16 17:15:34 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:15:34 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:15:34 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:15:34 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

Thanks!

hz_3 or above...

Hi - tx for a great effort made to make old smart houses last...!
I've bought a house with xcomfort - SHC now in favor of Sensio...

I've installed the work of plamish - but I cannot integrate more than two zones - only "avbrutt" as result ("aborted").
Is the limit two zones? I cannot find LCD-displays or actuators for water in floors as well. Any tricks for this?

Thanks again for making my house cooler than without this awsome work!

Brightness 100%

Tanks for a great intergration.
Works werry well exept from one issue.
When I turn on light, it turn on with 100% brightnes.
Any idea what to do to get light to turn on with the state they had when turned off?

Wall switches not showing in HA

Hello,

Just wondering if the integration can make the wall switches available in Home Assistant so that we can use them in automations etc..?
Currently I only see my light actuators in HA, not the wall switches even though they are implemented as datapoints in MRF and in the SHC.

Is there something I am missing here?

Missing XComfort devices

The integration works fine for devices that are visible in HA, but not all devices turn up in HA. Any tips on how to troubleshoot this?

Warning device_state_attributes after update to 2021.12

Getting the following warning after update to 2021.12:

2021-12-11 21:53:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.kjokken_dimmeaktuator (<class 'custom_components.xcomfort.light.xcLight'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 21:53:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.1_etasje_gang_dimmeaktuator (<class 'custom_components.xcomfort.light.xcLight'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 21:53:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.2_etasje_trapp_dimmeaktuator (<class 'custom_components.xcomfort.light.xcLight'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 21:53:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.utelys_terrasse_bak (<class 'custom_components.xcomfort.light.xcLight'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 21:53:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.utelys_1_etasje_aktuator (<class 'custom_components.xcomfort.light.xcLight'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 21:53:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.utelys_2_etasje_aktuator (<class 'custom_components.xcomfort.light.xcLight'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-11 21:53:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.utelys_hybel_aktuator (<class 'custom_components.xcomfort.light.xcLight'>) implements device_state_attributes. Please report it to the custom component author.

It looks like it is just a name change from "device_state_attributes" to "extra_state_attributes" name change.
Anyone knows how to fix this? Is it just to replace all "device_state_attributes" by "extra_state_attributes" in all files?

API error

Since I rebuild my HA server I get the following error:
Error fetching xcomfort data: Error API

Beginner problem.

Hi,

Could you give a fast tutorial on how to install?
which files do i have to modify?

I cant get the Xcomfort intregration to work.
When i try to add integration, nothing shows up.
I have installed it thru HACS.

Please help.

Sincerly,
Jonathan

Get status updates

Hi! I really love this integration! Is it possible to get the status of each cover from SHC? In my Home Assistant it is always "unknown". Thanks for your reply.

Scenario switches

Hi

My scenarios comes in to HA as flip switches(on/off) any good way to change them to just an activation button. I’ll imagine there will be some extra work programming all intonations to switch off all switches before they can be re activated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.