Laxilef / OTGateway

OpenTherm gateway for HomeAssistant
GNU General Public License v3.0
179 stars 22 forks source link

MQTT seems not to work #96

Closed Bertus3 closed 6 days ago

Bertus3 commented 1 week ago

Hi, I have gotten this build up and running. Really nice build! MQTT however does not seem to work. I have tried the latest release (1.4.6), diffrent networks, dedicated MQTT user and password (no strange characters), nothing seems to work yet.

I am running eclipse mosquitto on docker. I am able to publish from other devices and other subnet but the gateway does not seem to be able to connect as seen from the MQTT brokers logs.

Can anyone help me?

Laxilef commented 1 week ago

Hi,

Without logs I can't help. Perhaps you are using a login or password longer than 32 characters?

Bertus3 commented 1 week ago

Here is a few minutes worth of output, set to verbose. Boiler is not connected btw. You can see me change the mqtt server fromt mqtt://.... to just the ip adress, does not make a diffrence. Passwordt is 12 char A-Z a-z 0-9

Couldn't be because it's not connected to a boiler that it is not publishing anything right?

[00:04:08][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:09][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:10][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:11][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:12][MAIN][VERB] Free heap size: 25072 of 81920 bytes (min: 20120, diff: 0), max free block: 24616 (min: 17568, diff: 0, frag: 1%)
[00:04:12][OT][T[00:02:54][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attemp                                                                                                                                   t:  1   Status: TIMEOUT
[00:02:55][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attemp                                                                                                                                   t:  2   Status: TIMEOUT
[00:02:56][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attemp                                                                                                                                   t:  3   Status: TIMEOUT
[00:02:57][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:02:58][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:02:58][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:00][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:01][MQTT][INFO] Connecting to mqtt://192.168.1.203:1883...
[00:03:01][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:02][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:03][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:05][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:05][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:06][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:07][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:09][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:10][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:10][MAIN][VERB] Free heap size: 25520 of 81920 bytes (min: 20376, diff: 0), max free block: 25080 (min: 18680, diff: 0,                                                                                      frag: 1%)
[00:03:11][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:11][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:13][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:14][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:15][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:16][MQTT][INFO] Connecting to mqtt://192.168.1.203:1883...
[00:03:16][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:17][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:17][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:19][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:20][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:21][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:22][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:23][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:23][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:25][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:26][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:27][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:28][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:29][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:29][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:30][MAIN][VERB] Free heap size: 25520 of 81920 bytes (min: 20376, diff: 0), max free block: 25080 (min: 18680, diff: 0,                                                                                      frag: 1%)
[00:03:31][MQTT][INFO] Connecting to mqtt://192.168.1.203:1883...
[00:03:31][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:32][MAIN][VERB] Free heap size: 20656 of 81920 bytes (min: 20376, diff: 0), max free block: 18216 (min: 18216, diff: 46                                                                                     4, frag: 11%)
[00:03:32][MAIN][VERB] Free heap size: 20120 of 81920 bytes (min: 20120, diff: 256), max free block: 17568 (min: 17568, diff:                                                                                      648, frag: 12%)
[00:03:32][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:33][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:34][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:35][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:35][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:37][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:38][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:39][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:40][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:41][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:41][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:43][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:44][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:45][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:46][MQTT][INFO] Connecting to mqtt://192.168.1.203:1883...
[00:03:46][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:48][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:48][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:49][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:50][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:52][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:52][MAIN][VERB] Free heap size: 25072 of 81920 bytes (min: 20120, diff: 0), max free block: 24616 (min: 17568, diff: 0,                                                                                      frag: 1%)
[00:03:53][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:03:54][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:03:54][OT][WARN] Failed receive boiler status: TIMEOUT
[00:03:55][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:03:57][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:03:58][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:03:59][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:00][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:00][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:01][MQTT][INFO] Connecting to mqtt://192.168.1.203:1883...
[00:04:02][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:03][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:04][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:05][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:06][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:06][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:08][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:09][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:10][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:11][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:12][MAIN][VERB] Free heap size: 25072 of 81920 bytes (min: 20120, diff: 0), max free block: 24616 (min: 17568, diff: 0, frag: 1%)
[00:04:12][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:12][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:14][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:15][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUTRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:12][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:14][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:15][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:16][MQTT][INFO] Connecting to mqtt://192.168.1.203:1883...
[00:04:16][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:17][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:18][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:18][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:20][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:21][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:22][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:23][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:24][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:24][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:26][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:27][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:28][PORTAL][WEBSERVER][TRACE] Request /api/settings 165 bytes: {"mqtt":{"enable":true,"homeAssistantDiscovery":true,"server":"192.168.1.203","port":1883,"user":"otgw","password":"xxxxxxxxx","prefix":"opentherm","interval":5}}
[00:04:28][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:30][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:31][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:31][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:31][MQTT][INFO] Connecting to 192.168.1.203:1883...
[00:04:32][MAIN][VERB] Free heap size: 24560 of 81920 bytes (min: 20120, diff: 0), max free block: 22304 (min: 17568, diff: 0, frag: 9%)
[00:04:32][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:33][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:35][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:36][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:37][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:37][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:39][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:40][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:41][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:42][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:43][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:43][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:45][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:46][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:46][MQTT][INFO] Connecting to 192.168.1.203:1883...
[00:04:47][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:48][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:49][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:49][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:51][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:52][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:52][MAIN][VERB] Free heap size: 24752 of 81920 bytes (min: 20120, diff: 0), max free block: 22304 (min: 17568, diff: 0, frag: 9%)
[00:04:53][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:04:54][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:04:55][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:04:55][OT][WARN] Failed receive boiler status: TIMEOUT
[00:04:57][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:04:58][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:04:59][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:00][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:01][MQTT][INFO] Connecting to 192.168.1.203:1883...
[00:05:01][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:01][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:03][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:04][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:05][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:06][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:07][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:07][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:09][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:10][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:11][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:12][MAIN][VERB] Free heap size: 24752 of 81920 bytes (min: 20120, diff: 0), max free block: 22304 (min: 17568, diff: 0, frag: 9%)
[00:05:12][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:13][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:13][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:15][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:16][MQTT][INFO] Connecting to 192.168.1.203:1883...
[00:05:16][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:17][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:18][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:20][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:20][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:21][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:22][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:24][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:25][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:26][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:26][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:28][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:29][SETTINGS][INFO] Updated
[00:05:29][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:30][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:31][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:31][MQTT][INFO] Connecting to 192.168.1.203:1883...
[00:05:32][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:32][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:32][MAIN][VERB] Free heap size: 24944 of 81920 bytes (min: 20120, diff: 0), max free block: 22304 (min: 17568, diff: 0, frag: 10%)
[00:05:34][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:35][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:36][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:37][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:38][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:38][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:40][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:41][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:42][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:43][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:44][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:44][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:46][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:46][MQTT][INFO] Connecting to 192.168.1.203:1883...
[00:05:47][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:48][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:49][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:50][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:50][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:52][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:52][MAIN][VERB] Free heap size: 25136 of 81920 bytes (min: 20120, diff: 0), max free block: 22304 (min: 17568, diff: 0, frag: 11%)
[00:05:53][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:05:54][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:05:55][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:05:56][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:05:56][OT][WARN] Failed receive boiler status: TIMEOUT
[00:05:58][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:05:59][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:06:00][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:06:01][MQTT][INFO] Connecting to 192.168.1.203:1883...
[00:06:01][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:06:02][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
[00:06:02][OT][WARN] Failed receive boiler status: TIMEOUT
[00:06:04][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  1   Status: TIMEOUT
[00:06:05][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  2   Status: TIMEOUT
[00:06:06][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  3   Status: TIMEOUT
[00:06:07][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  4   Status: TIMEOUT
[00:06:09][OT][TRACE] ID:    0   Request: 80001300   Response:        0   Attempt:  5   Status: TIMEOUT
Laxilef commented 1 week ago

No need to use mqtt:// prefix

Laxilef commented 6 days ago

I don't see any logical reasons. You need to check the port, login and password. Can you connect to the broker with these credentials via mqtt explorer?

Bertus3 commented 6 days ago

For some reason it started working. Don't know why or how. Thanks anyway!