@Maxcrouz @Tonio16
Voilà ce que j’obtiens avec Putty, je sais pas du tout quoi faire de ça
edit
les logs debugs :
[2022-09-18 00:13:57,777][DEBUG] root MainThread signal_handler() : Signal 15 caught, exiting...
[2022-09-18 00:13:57,825][INFO] Main MainThread shutdown() : Stop jMQTT python daemon
[2022-09-18 00:13:57,825][DEBUG] JMsg.Rcv MainThread receiver_stop() : Stop requested
[2022-09-18 00:13:58,239][INFO] JMsg.Rcv SockIn _loopRcv() : Stopped
[2022-09-18 00:13:58,240][DEBUG] JMsg.Rcv MainThread receiver_stop() : Stopped
[2022-09-18 00:13:58,240][DEBUG] Client130 MainThread stop() : jMqttClient ended
[2022-09-18 00:13:58,241][DEBUG] Main MainThread shutdown() : Sent Daemon Down signal to Jeedom
[2022-09-18 00:13:58,241][DEBUG] JMsg.Snd MainThread sender_stop() : Stop requested
[2022-09-18 00:13:58,264][INFO] JMsg.Snd SockOut _loopSnd() : Stopped
[2022-09-18 00:13:58,265][DEBUG] JMsg.Snd MainThread sender_stop() : Stopped
[2022-09-18 00:13:58,330][DEBUG] JMsg.Snd MainThread send() : Sent TO Jeedom: [{'cmd': 'daemonDown'}]
[2022-09-18 00:13:58,330][DEBUG] root MainThread <module>() : Exit 0
[2022-09-18 00:14:12,031][ERROR] Client130 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 00:16:16,924][ERROR] Client130 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:14,058][ERROR] Client136 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:16,065][ERROR] Client136 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:17,169][ERROR] Client136 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:17,673][ERROR] Client136 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:17,876][ERROR] Client136 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:17,978][ERROR] Client136 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:18,181][ERROR] Client136 MainThread start() : Could not start MQTT client: [Errno 111] Connection refused
[2022-09-18 16:36:39,321][INFO] Main MainThread set_log_level() : New log level set to: DEBUG
[2022-09-18 16:37:02,264][DEBUG] Main MainThread run() : Received from Jeedom: {"port":1883,"clientid":"jeedom","statustopic":"jeedom\/status","username":"","password":"","paholog":"","tls":false,"tlsinsecure":false,"tlscafile":"","tlsclicertfile":"","tlsclikeyfile":"","cmd":"newMqttClient","id":"136","hostname":"localhost","apikey":"12iT03qqkCOURTLPBw8SWHHi2PAIv3DAfCvWELkecI9dHeemkCkvGKVpP4YPcUFL"}
[2022-09-18 16:37:02,265][INFO] Main MainThread h_newClient() : Client already exists for Broker 136. Restarting it.
[2022-09-18 16:37:02,266][DEBUG] Client136 MainThread stop() : jMqttClient ended
[2022-09-18 16:37:02,268][ERROR] Client136 MainThread start() : jMqttClient.start() Exception
Traceback (most recent call last):
File "/var/www/html/plugins/jMQTT/resources/jmqttd/jMqttClient.py", line 160, in start
self.mqttclient.connect(self.mqtthostname, self.mqttport, 30)
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.7/socket.py", line 727, in create_connection
raise err
File "/usr/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
[2022-09-18 16:37:18,307][DEBUG] JMsg.Snd SockOut _loopSnd() : Sending 1 msgs
[2022-09-18 16:37:18,333][DEBUG] JMsg.Snd SockOut send() : Sent TO Jeedom: [{'cmd': 'hb'}]
[2022-09-18 16:37:50,160][DEBUG] Main MainThread run() : Received from Jeedom: {"cmd":"hb","id":"0","apikey":"12iT03qqkCOURTLPBw8SWHHi2PAIv3DAfCvWELkecI9dHeemkCkvGKVpP4YPcUFL"}
[2022-09-18 16:37:50,161][DEBUG] Main MainThread h_hb() : Jeedom sent a Heartbeat.
[2022-09-18 16:38:02,784][DEBUG] Main MainThread run() : Received from Jeedom: {"port":1883,"clientid":"jeedom","statustopic":"jeedom\/status","username":"","password":"","paholog":"","tls":false,"tlsinsecure":false,"tlscafile":"","tlsclicertfile":"","tlsclikeyfile":"","cmd":"newMqttClient","id":"136","hostname":"localhost","apikey":"12iT03qqkCOURTLPBw8SWHHi2PAIv3DAfCvWELkecI9dHeemkCkvGKVpP4YPcUFL"}
[2022-09-18 16:38:02,784][INFO] Main MainThread h_newClient() : Client already exists for Broker 136. Restarting it.
[2022-09-18 16:38:02,785][DEBUG] Client136 MainThread stop() : jMqttClient ended
[2022-09-18 16:38:02,787][ERROR] Client136 MainThread start() : jMqttClient.start() Exception
Traceback (most recent call last):
File "/var/www/html/plugins/jMQTT/resources/jmqttd/jMqttClient.py", line 160, in start
self.mqttclient.connect(self.mqtthostname, self.mqttport, 30)
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.7/socket.py", line 727, in create_connection
raise err
File "/usr/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
[2022-09-18 16:38:03,395][DEBUG] JMsg.Snd SockOut _loopSnd() : Sending 1 msgs
[2022-09-18 16:38:03,421][DEBUG] JMsg.Snd SockOut send() : Sent TO Jeedom: [{'cmd': 'hb'}]