since the update to 3.2.2. I have issues with the MQTT App (the legacy one, not the new one). I have the same setup since a couple of years, but now the app seems to crash. I did update mosquitto to 2.0.12, it runs on the Razberry, so no network issue here.
Code: Select all
[MQTT-10] Trying to reconnect (2998)
[2022-01-05 14:24:29.774] [E] [core] Callback execution error: TypeError: undefined is not a function
at MQTTClient._startSession (automation/userModules/MQTT/lib/mqtt.js:452:28)
at MQTTClient.connect (automation/userModules/MQTT/lib/mqtt.js:177:10)
at Function.<anonymous> (automation/userModules/MQTT/index.js:191:15)
[2022-01-05 14:24:32.560] [D] [zway] Job 0x13: deleted from queue
[2022-01-05 14:24:34.473] [D] [zway] Job 0x3b: deleted from queue
[2022-01-05 14:24:35.325] [I] [core] [MQTT-26] Trying to reconnect (2998)
[2022-01-05 14:24:35.842] [E] [core] Callback execution error: TypeError: undefined is not a function
at MQTTClient._startSession (automation/userModules/MQTT/lib/mqtt.js:452:28)
at MQTTClient.connect (automation/userModules/MQTT/lib/mqtt.js:177:10)
at Function.<anonymous> (automation/userModules/MQTT/index.js:191:15)
[2022-01-05 14:24:41.334] [I] [core] [MQTT-28] Trying to reconnect (2998)
[2022-01-05 14:24:41.920] [E] [core] Callback execution error: TypeError: undefined is not a function
at MQTTClient._startSession (automation/userModules/MQTT/lib/mqtt.js:452:28)
at MQTTClient.connect (automation/userModules/MQTT/lib/mqtt.js:177:10)
at Function.<anonymous> (automation/userModules/MQTT/index.js:191:15)
[2022-01-05 14:24:43.729] [I] [zway] Adding job: Get background noise level
[2022-01-05 14:24:43.737] [D] [zway] SENDING: ( 01 03 00 3B C7 )
[2022-01-05 14:24:43.738] [D] [zway] RECEIVED ACK
[2022-01-05 14:24:43.740] [D] [zway] RECEIVED: ( 01 05 01 3B A8 A8 C0 )
[2022-01-05 14:24:43.740] [D] [zway] SENT ACK
[2022-01-05 14:24:43.740] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel1 = 168 (0x000000a8)
[2022-01-05 14:24:43.740] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel2 = 168 (0x000000a8)
[2022-01-05 14:24:43.740] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel3 = 127 (0x0000007f)
[2022-01-05 14:24:43.740] [I] [zway] Job 0x3b (Get background noise level): RSSI Ch#1: -88 dBm, Ch#2: -88 dBm, Ch#3: not available
[2022-01-05 14:24:43.740] [D] [zway] Job 0x3b (Get background noise level): success
[2022-01-05 14:24:43.740] [I] [zway] Removing job: Get background noise level
[2022-01-05 14:24:47.303] [I] [core] [MQTT-25] Trying to reconnect (2998)
[2022-01-05 14:24:47.998] [E] [core] Callback execution error: TypeError: undefined is not a function
at MQTTClient._startSession (automation/userModules/MQTT/lib/mqtt.js:452:28)
at MQTTClient.connect (automation/userModules/MQTT/lib/mqtt.js:177:10)
at Function.<anonymous> (automation/userModules/MQTT/index.js:191:15)
[2022-01-05 14:25:04.468] [D] [zway] Job 0x3b: deleted from queue
Code: Select all
[2022-01-05 14:27:22.853] [I] [core] --- Stopping module MQTT
[2022-01-05 14:27:24.125] [I] [core] --- Stopping module MQTT
[2022-01-05 14:27:25.398] [I] [core] --- Stopping module MQTT
[2022-01-05 14:27:34.920] [D] [zway] Job 0x3b: deleted from queue
[2022-01-05 14:27:40.092] [I] [core] Instantiating module 25 from class MQTT
[2022-01-05 14:27:40.095] [I] [core] --- Starting module MQTT
[2022-01-05 14:27:40.257] [I] [core] Executing script: /*** Buffer ******************************************************************* ...
[2022-01-05 14:27:40.268] [I] [core] Executing script: /*** MQTTClient ************************************************************** ...
[2022-01-05 14:27:42.711] [I] [core] [MQTT-25] Socket connection opened.
[2022-01-05 14:27:42.712] [I] [core] [MQTT-25] Connected to razberry as ZWayMQTTSupramatic
[2022-01-05 14:27:43.830] [I] [zway] Adding job: Get background noise level
[2022-01-05 14:27:43.835] [D] [zway] SENDING: ( 01 03 00 3B C7 )
Cheers,
rws