J 'ai réussi a l 'installer , j 'ai changer adresse Mac , ip et le MDP dans le configuration(c’est bien à faire ?) .Y a t’il autre chose à faire dans cette fenêtre de configuration ?
quand je clic sur démarrer , il se lance mais au bout d’un moment , il s’arrête , je suis obliger de le relancer .
voilà ce qui est mis dans le journal
/app/tydom/TydomClient.py:312: SyntaxWarning: "is" with a literal. Did you mean "=="?
if value is "ACK":
2024-01-29 09:58:52,607 - Starting tydom2mqtt
2024-01-29 09:58:52,607 - Hassio environment detected: loading configuration from /data/options.json
2024-01-29 09:58:52,608 - Validating configuration ({
"deltadore_login": null,
"deltadore_password": "",
"log_level": "INFO",
"mqtt_host": "homeassistant",
"mqtt_password": "",
"mqtt_port": 1883,
"mqtt_ssl": false,
"mqtt_user": null,
"thermostat_custom_presets": null,
"tydom_alarm_home_zone": 0,
"tydom_alarm_night_zone": 0,
"tydom_alarm_pin": "",
"tydom_ip": "192.168.1.24",
"tydom_mac": ,
"tydom_password": "L************@"
}
2024-01-29 09:58:52,608 - The configuration is valid
2024-01-29 09:58:52,608 - tydom.TydomClient - INFO - Configure local mode (192.168.1.24)
2024-01-29 09:58:52,614 - mqtt.MqttClient - INFO - Connecting to mqtt broker (host=homeassistant, port=1883, user=, ssl=False)
2024-01-29 09:58:52,620 - tydom.TydomClient - INFO - Connecting to tydom
2024-01-29 09:58:53,831 - gmqtt.mqtt.handler - WARNING - [CONNACK] 0x87
2024-01-29 09:58:53,832 - mqtt.MqttClient - WARNING - MQTT connection error : code 135 (Connection Refused: Not authorized)
2024-01-29 09:58:53,833 - mqtt.MqttClient - INFO - Disconnected
2024-01-29 09:58:55,021 - tydom.TydomClient - ERROR - Exception when trying to connect with websocket (server rejected WebSocket connection: HTTP 401)
2024-01-29 09:58:55,032 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<Client.reconnect() done, defined at /usr/local/lib/python3.11/site-packages/gmqtt/client.py:255> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2024-01-29 09:58:55,032 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-7' coro=<WebSocketCommonProtocol.close_connection() done, defined at /usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py:1285> wait_for=<Future finished result=None>>
2024-01-29 09:58:55,032 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished name='Task-2' coro=<listen_tydom() done, defined at /app/main.py:42> exception=SystemExit(1)>
Traceback (most recent call last):
File "/app/tydom/TydomClient.py", line 183, in connect
self.connection = await websockets.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 647, in __await_impl_timeout__
return await self.__await_impl__()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 654, in __await_impl__
await protocol.handshake(
File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 325, in handshake
raise InvalidStatusCode(status_code, response_headers)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
self._run_once()
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
handle._run()
File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/app/main.py", line 46, in listen_tydom
await tydom_client.connect()
File "/app/tydom/TydomClient.py", line 194, in connect
sys.exit(1)
SystemExit: 1
2024-01-29 09:58:55,036 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<Client._resend_qos_messages() running at /usr/local/lib/python3.11/site-packages/gmqtt/client.py:181> wait_for=<Future pending cb=[Task.task_wakeup()]>>