mypyllant-component icon indicating copy to clipboard operation
mypyllant-component copied to clipboard

Handling of more than one Heating Setups

Open Brudertac opened this issue 1 year ago • 4 comments

Before submitting a new issue

Hello,

currently we have a myVaillant Account with more than one Heating Setups. (Means more than one sensoNET VR 921)

The Problem is that when i restart the mypyllant Integration (or HAOS itself) and one of those sensoNET VR 921 is Offline, i see an Error 404 in the Logs and none off my Heating Setups are shown in HA. (They are all Offline with no Data. But in Real Life only One is Offline...)

I hope you understand what i mean. :-) Is there a way to change the Handling that this Error will be handled in another way?

Thanks and best regards.

Brudertac avatar Apr 18 '24 13:04 Brudertac

Could you post debug logs, please? In theory, this integration should work with two controllers.

signalkraft avatar Apr 28 '24 11:04 signalkraft

Off course, is that enough Data or should i leave Debugging on for longer Time?

home-assistant_mypyllant_2024-05-02T06-39-05.397Z.log

Thanks and best regards

Brudertac avatar May 02 '24 07:05 Brudertac

Today i tried to restart the myVaillant Integration. This Error came up:

Unexpected error fetching myVAILLANT data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mypyllant/coordinator.py", line 169, in _async_update_data
    data = [
           ^
  File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 335, in get_systems
    control_identifier = await self.get_control_identifier(home.system_id)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 1068, in get_control_identifier
    return ControlIdentifier(control_identifier)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 744, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 1158, in __new__
    raise ve_exc
ValueError: 'none' is not a valid ControlIdentifier

Brudertac avatar May 16 '24 12:05 Brudertac

How does it look in the latest version? If the error persists, you would need to try reverse engineering to find out what API endpoints your setup uses.

signalkraft avatar Jul 17 '24 20:07 signalkraft