JH-Soft-Technology / pyinels

Python library for communication and control iNels BUS CU3 smart home unit from Elko EP.
GNU General Public License v3.0
2 stars 4 forks source link

Unexpected error #26

Closed borius973 closed 1 year ago

borius973 commented 1 year ago

Hello, I can't integrate on the connection server. Can you help me?

Log: `Logger: custom_components.inels.config_flow Source: custom_components/inels/config_flow.py:49 Integration: Inels (documentation) First occurred: 11:47:39 (5 occurrences) Last logged: 12:06:56

Unexpected exception Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/pyinels/api/init.py", line 69, in conn con = ServerProxy(self.host + ":" + str(self.port)) File "/usr/local/lib/python3.10/xmlrpc/client.py", line 1432, in init__ raise OSError("unsupported XML-RPC protocol") OSError: unsupported XML-RPC protocol

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/config/custom_components/inels/config_flow.py", line 75, in async_step_user info = await validate_input(self.hass, user_input) File "/config/custom_components/inels/config_flow.py", line 49, in validate_input ping = await hass.async_add_executor_job(api.ping) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/site-packages/pyinels/api/init.py", line 79, in ping return self.proxy.ping() File "/usr/local/lib/python3.10/site-packages/pyinels/api/init.py", line 51, in proxy self.proxy = self.conn() File "/usr/local/lib/python3.10/site-packages/pyinels/api/init.py", line 74, in __conn raise ApiException( pyinels.exception.ApiException: ('common_exception', 'Exception occur', OSError('unsupported XML-RPC protocol'))`