Hi,
System was running as expected with addon 1.4.3. Upgraded to v1.5.0 and now the addon crashes soon after startup. Debug log here:
Not sure what to try to resolve this? Rolling back to v1.4.3 has it all working again.
Thanks in advance for any help.
Jon.
System was running as expected with addon 1.4.3. Upgraded to v1.5.0 and now the addon crashes soon after startup. Debug log here:
Code:
[08:08:08] WARNING: [33mTLS encryption option disabled.[0m
[08:08:08] INFO: [32mStarting Comfort to MQTT...[0m
2025-08-03 08:08:08 DEBUG Starting new HTTP connection (1): supervisor:80
2025-08-03 08:08:08 DEBUG http://supervisor:80 "GET /addons/self/info HTTP/1.1" 200 10392
2025-08-03 08:08:08 INFO Importing the add-on configuration options
2025-08-03 08:08:08 INFO Completed importing addon configuration options
2025-08-03 08:08:08 DEBUG The following variable values were passed through via Home Assistant
2025-08-03 08:08:08 DEBUG MQTT_USER = ComfortAddon
2025-08-03 08:08:08 DEBUG MQTT_PASSWORD = ******
2025-08-03 08:08:08 DEBUG MQTT_SERVER = 172.30.33.0
2025-08-03 08:08:08 DEBUG MQTT_PROTOCOL = TCP/1883 (Unsecure)
2025-08-03 08:08:08 DEBUG COMFORT_ADDRESS = 192.168.4.205
2025-08-03 08:08:08 DEBUG COMFORT_PORT = 1001
2025-08-03 08:08:08 DEBUG COMFORT_LOGIN_ID = ******
2025-08-03 08:08:08 DEBUG COMFORT_CCLX_FILE = comfigurator.cclx
2025-08-03 08:08:08 DEBUG COMFORT_BATTERY_STATUS_ID = 0
2025-08-03 08:08:08 DEBUG MQTT_CA_CERT = ca.crt
2025-08-03 08:08:08 DEBUG MQTT_CLIENT_CERT = client.crt
2025-08-03 08:08:08 DEBUG MQTT_CLIENT_KEY = client.key
2025-08-03 08:08:08 DEBUG MQTT_LOG_LEVEL = DEBUG
2025-08-03 08:08:08 DEBUG COMFORT_TIME= True
2025-08-03 08:08:08 WARNING MQTT Transport Layer Security disabled.
2025-08-03 08:08:08 INFO Comfigurator (CCLX) File detected, 248467 Bytes
2025-08-03 08:08:08 INFO Connecting to Comfort (192.168.4.205) on port 1001
2025-08-03 08:08:09 INFO MQTT Broker Connection Success
2025-08-03 08:08:09 DEBUG Subscribed to 8 Zone Outputs
2025-08-03 08:08:09 DEBUG Subscribed to 16 Zone Inputs
2025-08-03 08:08:09 DEBUG Not Subscribed to any RIO Inputs
2025-08-03 08:08:09 DEBUG Not Subscribed to any RIO Outputs
2025-08-03 08:08:09 DEBUG Subscribed to 254 Flags
2025-08-03 08:08:09 DEBUG Subscribed to 32 Sensors
2025-08-03 08:08:09 DEBUG Subscribed to 255 Counters
2025-08-03 08:08:09 DEBUG Not Subscribed to any Responses
2025-08-03 08:08:09 DEBUG Synchronizing Comfort Data...
2025-08-03 08:08:09 DEBUG Synchronization Done.
2025-08-03 08:08:19 ERROR Comfort connection error during recv: [Errno 104] Connection reset by peer
2025-08-03 08:08:19 ERROR Comfort Socket Error [Errno 104] Connection reset by peer
2025-08-03 08:08:19 ERROR Lost connection to Comfort, reconnecting...
2025-08-03 08:08:29 INFO Connecting to Comfort (192.168.4.205) on port 1001
2025-08-03 08:08:29 DEBUG LU04
2025-08-03 08:08:29 INFO Comfort Login Ok - User 4
2025-08-03 08:08:30 INFO Setting Comfort Date/Time
2025-08-03 08:08:33 DEBUG OK
2025-08-03 08:08:33 DEBUG b?00000000000000000000000000
2025-08-03 08:08:33 DEBUG Zones Bypassed: 0
2025-08-03 08:08:33 DEBUG V?FE080D22400100
2025-08-03 08:08:35 INFO Comfort II ULTRA detected (Supported Firmware 8.013)
2025-08-03 08:08:35 DEBUG EL11F1FFFFFFFF
2025-08-03 08:08:35 DEBUG 1 Installed SEM(s) detected
2025-08-03 08:08:35 DEBUG Hardware Model CM9000-ULT
2025-08-03 08:08:36 DEBUG DL7FF9040001010082
2025-08-03 08:08:36 DEBUG SN0101010000
2025-08-03 08:08:36 INFO Refresh Key: 01010000
2025-08-03 08:08:36 INFO Serial Number: Invalid
2025-08-03 08:08:37 DEBUG M?0004
2025-08-03 08:08:37 INFO Security Off
2025-08-03 08:08:37 DEBUG Z?0005
2025-08-03 08:08:37 DEBUG Max. Reported Zones/Inputs: 16
2025-08-03 08:08:37 DEBUG Y?0000
2025-08-03 08:08:37 DEBUG Max. Reported Outputs: 16
2025-08-03 08:08:37 DEBUG f?00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
2025-08-03 08:08:40 DEBUG S?00
2025-08-03 08:08:40 DEBUG a?000000000000000000
2025-08-03 08:08:40 DEBUG r?0100100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:40 DEBUG r?0110100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:40 DEBUG r?000010FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
2025-08-03 08:08:40 DEBUG r?001010FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
2025-08-03 08:08:41 DEBUG r?0020100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:41 DEBUG r?0030100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:41 DEBUG r?0040100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:41 DEBUG r?0050100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:41 DEBUG r?0060100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:41 DEBUG r?0070100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:42 DEBUG r?0080100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:42 DEBUG r?0090100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:42 DEBUG r?00A0100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:42 DEBUG r?00B0100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:42 DEBUG r?00C0100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:42 DEBUG r?00D0100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:42 DEBUG r?00E0100000000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:43 DEBUG r?00F00F000000000000000000000000000000000000000000000000000000000000
2025-08-03 08:08:49 DEBUG IP0201
2025-08-03 08:08:51 DEBUG IP0200
2025-08-03 08:08:51 DEBUG IP0501
2025-08-03 08:08:53 DEBUG IP0500
2025-08-03 08:09:18 ERROR Error sending command
Traceback (most recent call last):
File "/comfort2/comfort2.py", line 1514, in readlines
data = self.comfortsock.recv(recv_buffer).decode()
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
TimeoutError: [Errno 110] Operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/comfort2/comfort2.py", line 3256, in <module>
mqttc.run()
~~~~~~~~~^^
File "/comfort2/comfort2.py", line 2584, in run
for line in self.readlines():
~~~~~~~~~~~~~~^^
File "/comfort2/comfort2.py", line 1534, in readlines
self._send_keepalive_and_check() # Send keepalive and check socket status
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/comfort2/comfort2.py", line 1492, in _send_keepalive_and_check
self.comfortsock.settimeout(original_timeout)
^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'original_timeout' where it is not associated with a value
[07:09:19] WARNING: [33mHalt add-on with exit code 1[0m
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stoppedNot sure what to try to resolve this? Rolling back to v1.4.3 has it all working again.
Thanks in advance for any help.
Jon.

