mypyllant-component
mypyllant-component copied to clipboard
Handling of more than one Heating Setups
Before submitting a new issue
- [ X ] I redownloaded the latest release and restarted Home Assistant
- [ X ] I've checked known issues
- [ X ] I've enabled debug logs and attached the relevant logs to this ticket
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.
Could you post debug logs, please? In theory, this integration should work with two controllers.
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
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
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.