home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.79k stars 30.49k forks source link

The integration is not working when NordicPanel is connected #128317

Open atlaide opened 1 week ago

atlaide commented 1 week ago

The problem

I have Flexit Nordic S3 and noticed when I connected the device to NordicPanel the integration through home assistant stopped working. I still see all the sensors and the data is accurate, but I am not able to make any changes like change the mode (it changes back to the one that is set through NordicPanel). Is there a solution for this or the integration is not compatible with NordicPanel? Many thanks

What version of Home Assistant Core has the issue?

core-2024.8.2

What was the last working version of Home Assistant Core?

2024.10.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Flexit bacnet

Link to integration documentation on our website

https://www.home-assistant.io/integrations/flexit_bacnet/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @lellky, @piotrbulinski, mind taking a look at this issue as it has been labeled with an integration (flexit_bacnet) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `flexit_bacnet` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign flexit_bacnet` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


flexit_bacnet documentation flexit_bacnet source (message by IssueLinks)

lellky commented 1 week ago

Thank you for reporting this!

I have the CI70 panel and the Nordic S4 and that works with the Home Assistant integration.

The Nordic panel was not tested by us during the development of the integration. Do you have any logs to share with us?

/lellky

atlaide commented 1 week ago

I hope this helps.

Logger: aiohttp.server Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:448 First occurred: October 15, 2024 at 23:24:50 (659 occurrences) Last logged: 09:48:26

Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 377, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "aiohttp/_http_parser.pyx", line 563, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message: Invalid method encountered:

b'\x10L'
  ^
MindDesign commented 5 hours ago

I am running home assistant in docker, and I experience the same error. This is from my log when trying to change the Flexit Nordic Away extract fan setpoint:

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 122, in async_set_value
    await entity.async_set_native_value(native_value)
  File "/usr/src/homeassistant/homeassistant/components/flexit_bacnet/number.py", line 203, in async_set_native_value
    raise HomeAssistantError from exc
homeassistant.exceptions.HomeAssistantError

The Flexit Nordic Electric heater works fine.