MQTT Client reboot

Discussions about Z-Way software and Z-Wave technology in general
ZW4L
Posts: 3
Joined: 07 Aug 2023 10:56

Re: MQTT Client reboot

Post by ZW4L »

I use the app by Eggenkamp.

LOGFILE before pause
[2023-08-09 15:33:35.177] [core] [MQTT_5] Error: Error: Timeout
at MQTT.BaseModule.error (automation/userModules/BaseModule/index.js:122:17)
at MQTTClient._errorCallback (automation/userModules/MQTT/index.js:109:46)
at MQTTClient._onError (automation/userModules/MQTT/lib/mqtt.js:276:10)
at MQTTClient._onTimeout (automation/userModules/MQTT/lib/mqtt.js:307:8)
at Function.<anonymous> (automation/userModules/MQTT/lib/mqtt.js:472:40)

LOGFILE after pause/start
[2023-08-09 15:37:10.816] [core] --- Stopping module MQTT
[2023-08-09 15:37:11.465] [D] [zway] RECEIVED: ( 01 13 00 04 00 07 0A 56 01 31 05 03 0A 00 4B FE 3E A5 00 00 A1 )
[2023-08-09 15:37:11.465] [D] [zway] SENT ACK
[2023-08-09 15:37:11.465] [W] [zway] Discarding duplicate packet from node 7
[2023-08-09 15:37:11.523] [core] Instantiating module 5 from class MQTT
[2023-08-09 15:37:11.526] [core] --- Starting module MQTT
[2023-08-09 15:37:11.558] [core] Executing script: /*** Buffer ******************************************************************* ...
[2023-08-09 15:37:11.565] [core] Executing script: /*** MQTTClient ************************************************************** ...
[2023-08-09 15:37:11.620] [core] [MQTT-5] Socket connection opened.
[2023-08-09 15:37:11.621] [core] [MQTT-5] Connected to 192.168.2.137 as zway

Please let me know how to pause/start the mqtt app via script.
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: MQTT Client reboot

Post by PoltoS »

PUT http://localhost:8083/ZAutomation/api/v1/instances/3
{
"id": 3,
"moduleId": "MQTT",
"params": {},
"active": false,
"title": "MQTT",
"description": "...",
"creationTime": 1635386369,
"category": "basic_gateway_modules"
}
Post Reply