Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Comfort 2MQTT with Home assistant Raspbery Pi Questions and comments
#41
Ok, thanks...I discovered I had an IP address conflict (new router was installed last week while I was away).  So, this problem is sorted.  However, I now have encountered the next problem.  The Comfort to MQTT gets to this point:
2025-07-10 08:04:07 INFO    Comfigurator (CCLX) File detected, 272278 Bytes
2025-07-10 08:04:07 INFO    Connecting to Comfort (192.168.0.252) on port 1002
2025-07-10 08:04:07 DEBUG    LU0F
2025-07-10 08:04:07 INFO    Comfort Login Ok - User 15
2025-07-10 08:04:07 INFO    Waiting for MQTT Broker to come Online...

But doesn't continue because the Mosquitto Broker is reporting that the Client is unknown.  I have created a user name comfortalarm with a password in Home Assistant and the account is valid.  I have also tried my own credentials but still encounter this problem. 

Here is the log from the Mosquitto Broker:
[08:17:30] INFO: Starting mosquitto MQTT broker...
2025-07-10 08:17:30: Warning: Mosquitto should not be run as root/administrator.
2025-07-10 08:17:30: mosquitto version 2.0.21 starting
2025-07-10 08:17:30: Config loaded from /etc/mosquitto/mosquitto.conf.
2025-07-10 08:17:30: Loading plugin: /usr/share/mosquitto/go-auth.so
2025-07-10 08:17:30:  ├── Username/password checking enabled.
2025-07-10 08:17:30:  ├── TLS-PSK checking enabled.
2025-07-10 08:17:30:  └── Extended authentication not enabled.
2025-07-10 08:17:30: Opening ipv4 listen socket on port 1883.
2025-07-10 08:17:30: Opening ipv6 listen socket on port 1883.
2025-07-10 08:17:30: Opening websockets listen socket on port 1884.
2025-07-10 08:17:30: mosquitto version 2.0.21 running
2025-07-10 08:17:30: New connection from ::1:43514 on port 1883.
2025-07-10 08:17:30: Client disconnected due to protocol error.
[08:17:31] INFO: Successfully send discovery information to Home Assistant.
[08:17:31] INFO: Successfully send service information to the Supervisor.
2025-07-10 08:17:34: New connection from 172.30.32.1:47749 on port 1883.
2025-07-10 08:17:34: New client connected from 172.30.32.1:47749 as 3JDIcAmbvyuJT8YdajIOiE (p2, c1, k60, u'homeassistant').
2025-07-10 08:18:53: New connection from 172.30.32.2:60640 on port 1883.
2025-07-10 08:18:53: Client unknown closed its connection.
2025-07-10 08:20:53: New connection from 172.30.32.2:36474 on port 1883.
2025-07-10 08:20:53: Client unknown closed its connection.

A bit of an update.  After changing the Timeout2 back to 2 minutes I get the following in the Comfort to MQTT log:

2025-07-10 08:04:07 INFO    Waiting for MQTT Broker to come Online...
2025-07-10 08:08:12 DEBUG    IP0601
2025-07-10 08:08:13 DEBUG    IP0600
2025-07-10 08:14:49 DEBUG    IP0301
2025-07-10 08:14:50 DEBUG    IP0300
2025-07-10 08:15:35 DEBUG    IP0801
2025-07-10 08:15:36 DEBUG    IP0800
2025-07-10 08:15:52 DEBUG    IP0601
2025-07-10 08:15:53 DEBUG    IP0600
2025-07-10 08:23:43 DEBUG    IP0601
2025-07-10 08:23:44 DEBUG    IP0600
2025-07-10 08:23:58 DEBUG    IP0301
2025-07-10 08:23:59 DEBUG    IP0300
2025-07-10 08:31:55 DEBUG    IP0601
2025-07-10 08:31:57 DEBUG    IP0600
2025-07-10 08:35:57 DEBUG    IP0301
2025-07-10 08:35:58 DEBUG    IP0300
2025-07-10 08:37:05 DEBUG    IP0801
2025-07-10 08:37:06 DEBUG    IP0800
2025-07-10 08:38:53 DEBUG    IP0501
2025-07-10 08:38:54 DEBUG    IP0500
2025-07-10 08:39:05 DEBUG    IP0501
2025-07-10 08:39:06 DEBUG    IP0500
2025-07-10 08:39:35 DEBUG    IP0501
2025-07-10 08:39:37 DEBUG    IP0500
2025-07-10 08:39:44 DEBUG    IP0801
2025-07-10 08:39:45 DEBUG    IP0800
2025-07-10 08:41:21 ERROR    Error sending command
2025-07-10 08:41:21 ERROR    Keepalive check failed: [Errno 9] Bad file descriptor
2025-07-10 08:41:21 ERROR    Comfort Socket Error [Errno 9] Bad file descriptor
2025-07-10 08:41:21 ERROR    Lost connection to Comfort, reconnecting...
2025-07-10 08:41:31 INFO    Connecting to Comfort (192.168.0.252) on port 1002
2025-07-10 08:41:31 DEBUG    LU0F
2025-07-10 08:41:31 INFO    Comfort Login Ok - User 15
2025-07-10 08:41:31 INFO    Waiting for MQTT Broker to come Online...
2025-07-10 08:41:34 DEBUG    b?00000000000000000000000000
2025-07-10 08:41:34 DEBUG    Zones Bypassed: 0
2025-07-10 08:41:34 DEBUG    V?FE080522400100
2025-07-10 08:41:35 INFO    Comfort II ULTRA detected (Supported Firmware 8.005)
2025-07-10 08:41:35 DEBUG    EL11FFFFFFFFFF
2025-07-10 08:41:35 DEBUG    0 Installed SEM(s) detected
2025-07-10 08:41:35 DEBUG    Hardware Model CM9000-ULT
2025-07-10 08:41:37 DEBUG    DL7FF9040001010082
2025-07-10 08:41:37 DEBUG    SN0101010000
2025-07-10 08:41:37 INFO    Refresh Key: 01010000
2025-07-10 08:41:37 INFO    Serial Number: Invalid
2025-07-10 08:41:38 DEBUG    M?000F
2025-07-10 08:41:38 INFO    Security Off
2025-07-10 08:41:38 DEBUG    Z?0000
2025-07-10 08:41:38 DEBUG    Max. Reported Zones/Inputs: 16
2025-07-10 08:41:38 DEBUG    f?000000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:41 DEBUG    S?00
2025-07-10 08:41:41 DEBUG    a?1A0000000000000000
2025-07-10 08:41:41 DEBUG    r?0100100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:41 DEBUG    r?0110100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:41 DEBUG    r?0000100000010000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:41 DEBUG    r?0010100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:41 DEBUG    r?0020100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:41 DEBUG    r?0030100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:42 DEBUG    r?0040100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:42 DEBUG    r?0050100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:42 DEBUG    r?0060100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:42 DEBUG    r?0070100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:42 DEBUG    r?0080100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:42 DEBUG    r?0090100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:43 DEBUG    r?00A0100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:43 DEBUG    r?00B0100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:43 DEBUG    r?00C0100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:43 DEBUG    r?00D0100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:43 DEBUG    r?00E0100000000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:41:43 DEBUG    r?00F00F000000000000000000000000000000000000000000000000000000000000
2025-07-10 08:43:28 DEBUG    IP0501
2025-07-10 08:43:30 DEBUG    IP0B01
2025-07-10 08:43:30 DEBUG    IP0500
2025-07-10 08:43:31 DEBUG    IP0B00
2025-07-10 08:43:48 DEBUG    IP0501
2025-07-10 08:43:49 DEBUG    IP0500
2025-07-10 08:43:54 DEBUG    IP0501
2025-07-10 08:43:56 DEBUG    IP0500
2025-07-10 08:44:06 DEBUG    IP0B01
2025-07-10 08:44:07 DEBUG    IP0B00
2025-07-10 08:49:30 DEBUG    IP0601
2025-07-10 08:49:31 DEBUG    IP0600
2025-07-10 08:51:35 DEBUG    IP0901
2025-07-10 08:51:37 DEBUG    IP0900
2025-07-10 08:52:16 DEBUG    IP0801
2025-07-10 08:52:18 DEBUG    IP080
Reply
#42
So I continue to receive a series of DEBUG IPxxxx messages with the occasional DEBUG OK message in the Comfort to MQTT log and New connection from 172.30.32,2:xxxxx followed immediately by Client unknown closed its connection messages in the Mosquitto broker log.

Neither Comfort II Ultra (MQTT client) nor the Comfort2MTTBridge (MQTT client) appear as Devices.  So not sure why I am unable to get things working.
Reply
#43
Ok so after going over everything in fine detail I noticed that somehow the port number in the Comfort to MQTT configuration was set to 1882 instead of 1883…now working.  Apologies for all the noise on the thread.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)