Hi. After restart Wemos D1 mini with HA integration I have below error. But after restart Mosquitto server Wemos connect without errors and all works great to next restart of wemos.
### ERROR from wemos:
``
Connecting to wifi......connectedAHA: init server 192.168.1.50:1883
Mqtt connected
relay init
temperature sensor address: 0x28, 0x92, 0xC0, 0xF5, 0x00, 0x00, 0x00, 0x13,
RTC address: 0x27, 0x73, 0x62, 0x65, 0x00, 0x00, 0x00, 0x1E,
24.25
Get time from server...
Setting time with epoch: 1679823357
CRC is valid!
AHA: begin publish aha/0010fa6e384a/btnPompa/stat_t, len: 2
Zalaczam pompe
AHA: connecting, client ID: 0010fa6e384a
AHA: connected
AHA: begin publish aha/0010fa6e384a/adresIp/stat_t, len: 11
AHA: begin publish aha/0010fa6e384a/mocSygnalu/stat_t, len: 3
AHA: begin publish homeassistant/sensor/0010fa6e384a/tempOdczyt/config, len: 222
AHA: begin publish homeassistant/sensor/0010fa6e384a/czasSterownika/config, len: 182
AHA: begin publish homeassistant/sensor/0010fa6e384a/nastStartPompy/config, len: 182
AHA: begin publish homeassistant/sensor/0010fa6e384a/adresIp/config, len: 161
AHA: begin publish homeassistant/sensor/0010fa6e384a/mocSygnalu/config, len: 209
AHA: begin publish homeassistant/switch/0010fa6e384a/btnPompa/config, len: 232
AHA: subscribing aha/0010fa6e384a/btnPompa/cmd_t
AHA: begin publish homeassistant/switch/0010fa6e384a/onOff/config, len: 233
AHA: subscribing aha/0010fa6e384a/onOff/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/tempZadana/config, len: 303
AHA: subscribing aha/0010fa6e384a/tempZadana/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/interwal/config, len: 279
AHA: subscribing aha/0010fa6e384a/interwal/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/godzinaRano/config, len: 291
AHA: subscribing aha/0010fa6e384a/godzinaRano/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/minutyRano/config, len: 287
AHA: subscribing aha/0010fa6e384a/minutyRano/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/godzinaNoc/config, len: 288
AHA: subscribing aha/0010fa6e384a/godzinaNoc/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/godzinaRanoWknd/config, len: 303
AHA: subscribing aha/0010fa6e384a/godzinaRanoWknd/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/minutyRanoWknd/config, len: 299
AHA: subscribing aha/0010fa6e384a/minutyRanoWknd/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/godzinaNocWknd/config, len: 300
AHA: subscribing aha/0010fa6e384a/godzinaNocWknd/cmd_t
AHA: begin publish homeassistant/number/0010fa6e384a/deltaTemp/config, len: 301
AHA: subscribing aha/0010fa6e384a/deltaTemp/cmd_t
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
2023-03-26 09:35:07: New client connected from 192.168.1.6:64782 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:35:16: New connection from 192.168.1.6:60717 on port 1883. 2023-03-26 09:35:16: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:35:16: New client connected from 192.168.1.6:60717 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:35:24: New connection from 192.168.1.6:58931 on port 1883. 2023-03-26 09:35:24: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:35:24: New client connected from 192.168.1.6:58931 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:35:43: Client 0010fa6e384a closed its connection. 2023-03-26 09:35:58: New connection from 192.168.1.6:58782 on port 1883. 2023-03-26 09:35:58: New client connected from 192.168.1.6:58782 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:07: New connection from 192.168.1.6:52395 on port 1883. 2023-03-26 09:36:07: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:07: New client connected from 192.168.1.6:52395 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:16: New connection from 192.168.1.6:55001 on port 1883. 2023-03-26 09:36:16: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:16: New client connected from 192.168.1.6:55001 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:24: New connection from 192.168.1.6:50627 on port 1883. 2023-03-26 09:36:24: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:24: New client connected from 192.168.1.6:50627 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:33: New connection from 192.168.1.6:57533 on port 1883. 2023-03-26 09:36:33: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:33: New client connected from 192.168.1.6:57533 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:42: New connection from 192.168.1.6:58693 on port 1883. 2023-03-26 09:36:42: Client 0010fa6e384a already connected, closing old connection.
Hi. After restart Wemos D1 mini with HA integration I have below error. But after restart Mosquitto server Wemos connect without errors and all works great to next restart of wemos.
### ERROR from wemos:
`` Connecting to wifi......connectedAHA: init server 192.168.1.50:1883 Mqtt connected relay init
temperature sensor address: 0x28, 0x92, 0xC0, 0xF5, 0x00, 0x00, 0x00, 0x13, RTC address: 0x27, 0x73, 0x62, 0x65, 0x00, 0x00, 0x00, 0x1E, 24.25 Get time from server... Setting time with epoch: 1679823357 CRC is valid! AHA: begin publish aha/0010fa6e384a/btnPompa/stat_t, len: 2 Zalaczam pompe AHA: connecting, client ID: 0010fa6e384a AHA: connected AHA: begin publish aha/0010fa6e384a/adresIp/stat_t, len: 11 AHA: begin publish aha/0010fa6e384a/mocSygnalu/stat_t, len: 3 AHA: begin publish homeassistant/sensor/0010fa6e384a/tempOdczyt/config, len: 222 AHA: begin publish homeassistant/sensor/0010fa6e384a/czasSterownika/config, len: 182 AHA: begin publish homeassistant/sensor/0010fa6e384a/nastStartPompy/config, len: 182 AHA: begin publish homeassistant/sensor/0010fa6e384a/adresIp/config, len: 161 AHA: begin publish homeassistant/sensor/0010fa6e384a/mocSygnalu/config, len: 209 AHA: begin publish homeassistant/switch/0010fa6e384a/btnPompa/config, len: 232 AHA: subscribing aha/0010fa6e384a/btnPompa/cmd_t AHA: begin publish homeassistant/switch/0010fa6e384a/onOff/config, len: 233 AHA: subscribing aha/0010fa6e384a/onOff/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/tempZadana/config, len: 303 AHA: subscribing aha/0010fa6e384a/tempZadana/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/interwal/config, len: 279 AHA: subscribing aha/0010fa6e384a/interwal/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/godzinaRano/config, len: 291 AHA: subscribing aha/0010fa6e384a/godzinaRano/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/minutyRano/config, len: 287 AHA: subscribing aha/0010fa6e384a/minutyRano/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/godzinaNoc/config, len: 288 AHA: subscribing aha/0010fa6e384a/godzinaNoc/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/godzinaRanoWknd/config, len: 303 AHA: subscribing aha/0010fa6e384a/godzinaRanoWknd/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/minutyRanoWknd/config, len: 299 AHA: subscribing aha/0010fa6e384a/minutyRanoWknd/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/godzinaNocWknd/config, len: 300 AHA: subscribing aha/0010fa6e384a/godzinaNocWknd/cmd_t AHA: begin publish homeassistant/number/0010fa6e384a/deltaTemp/config, len: 301 AHA: subscribing aha/0010fa6e384a/deltaTemp/cmd_t
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Exception (28): epc1=0x402018c2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000018 depc=0x00000000
ctx: cont sp: 3ffffd90 end: 3fffffd0 offset: 0190 3fffff20: 3fffdad0 3ffef1b8 00000010 3ffef488 3fffff30: 3fffdad0 00000000 3ffef45c 4020177a
3fffff40: 402026b4 3ffef208 3ffef300 402026b7 3fffff50: 65627327 1e000000 00000000 4020c350 3fffff60: 3fffff01 000012ce 00000000 00000000 3fffff70: 00000000 feefeffe feefeffe feefeffe
3fffff80: 3fffff58 00000002 642011fd 00000000 3fffff90: 3ffeec78 feefeffe feefeffe feefeffe 3fffffa0: feefeffe feefeffe feefeffe 3ffef488
3fffffb0: 3fffdad0 00000000 3ffef45c 40208c0c 3fffffc0: feefeffe feefeffe 3fffdab0 401012c5 <<<stack<<<
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3424, room 16 tail 0 chksum 0x2e load 0x3fff20b8, len 40, room 8 tail 0 chksum 0x2b csum 0x2b v0004c5c0 ~ld ``
### LOG from Mosquitto:
2023-03-26 09:35:07: New client connected from 192.168.1.6:64782 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:35:16: New connection from 192.168.1.6:60717 on port 1883. 2023-03-26 09:35:16: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:35:16: New client connected from 192.168.1.6:60717 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:35:24: New connection from 192.168.1.6:58931 on port 1883. 2023-03-26 09:35:24: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:35:24: New client connected from 192.168.1.6:58931 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:35:43: Client 0010fa6e384a closed its connection. 2023-03-26 09:35:58: New connection from 192.168.1.6:58782 on port 1883. 2023-03-26 09:35:58: New client connected from 192.168.1.6:58782 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:07: New connection from 192.168.1.6:52395 on port 1883. 2023-03-26 09:36:07: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:07: New client connected from 192.168.1.6:52395 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:16: New connection from 192.168.1.6:55001 on port 1883. 2023-03-26 09:36:16: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:16: New client connected from 192.168.1.6:55001 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:24: New connection from 192.168.1.6:50627 on port 1883. 2023-03-26 09:36:24: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:24: New client connected from 192.168.1.6:50627 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:33: New connection from 192.168.1.6:57533 on port 1883. 2023-03-26 09:36:33: Client 0010fa6e384a already connected, closing old connection. 2023-03-26 09:36:33: New client connected from 192.168.1.6:57533 as 0010fa6e384a (p2, c1, k15, u'mqttbroker'). 2023-03-26 09:36:42: New connection from 192.168.1.6:58693 on port 1883. 2023-03-26 09:36:42: Client 0010fa6e384a already connected, closing old connection.
### MQTT Info from HA device:
różnica temperatur (number.deltatemp) MQTT discovery data: Topic: homeassistant/number/0010fa6e384a/deltaTemp/config Payload name: różnica temperatur unique_id: deltaTemp icon: mdi:temperature-celsius mode: box min: 1 max: 20 step: 1 retain: true device: identifiers: 0010fa6e384a name: sterownik pompy sw_version: 1.0.0 manufacturer: G.P. state_topic: aha/0010fa6e384a/deltaTemp/stat_t command_topic: aha/0010fa6e384a/deltaTemp/cmd_t platform: mqtt Subscribed topics: aha/0010fa6e384a/deltaTemp/stat_t 2 ostatnio otrzymanych wiadomości Received 16:12:37 QoS: 0, Retained Payload: 5 Received 09:38:23 QoS: 0, Retained Payload: 5