Hello everyone,
I use MQTT app in the z-wave and try to connect with Azure iot hub but, in the username setting, it has a limited characters. Under the Azure, it requires to have more than the limited characters in the z-wave app. Can I remove the limited setting? Or others solutions.
Thanks!
MQTT setting problem
Re: MQTT setting problem
Hi, please attach screenshot. I don't see any characters limited in MQTTClient app. I can connect to HiveMQ mqtt brocker without problem.
Re: MQTT setting problem
It will display like this in the attachment. and the following is the error code in the log
[2022-10-28 10:29:07.281] [core] Error: removeListener only takes instances of Function
at EventEmitter.off [as removeListener] (automation/lib/eventemitter2.js:419:19)
at _.extend.off (automation/classes/DevicesCollection.js:217:38)
at MQTTClient.stop (automation/modules/MQTTClient/index.js:185:26)
at AutomationController.stopInstance (automation/classes/AutomationController.js:975:12)
at AutomationController.reconfigureInstance (automation/classes/AutomationController.js9)
at ZAutomationAPIWebRequest._.extend.reconfigureInstanceFunc (automation/ZAutomationAPIProvider.js31)
at ZAutomationAPIWebRequest.handlerFunc (automation/ZAutomationAPIProvider.js:4006:30)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:253:35)
at automation/WebserverRequestRouter.js:32:29
at WebServer.ws.execute (automation/Webserver.js:127:9)
[2022-10-28 10:29:07.293] [E] [HTTP] Callback execution error: TypeError: Cannot read property 'prototype' of undefined
at MQTTClient.init (automation/modules/MQTTClient/index.js:33:19)
at AutomationController.reconfigureInstance (automation/classes/AutomationController.js23)
at ZAutomationAPIWebRequest._.extend.reconfigureInstanceFunc (automation/ZAutomationAPIProvider.js31)
at ZAutomationAPIWebRequest.handlerFunc (automation/ZAutomationAPIProvider.js:4006:30)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:253:35)
at automation/WebserverRequestRouter.js:32:29
at WebServer.ws.execute (automation/Webserver.js:127:9)
at WebServer.document_root (automation/Webserver.js:26:34)
[2022-10-28 10:29:07.281] [core] Error: removeListener only takes instances of Function
at EventEmitter.off [as removeListener] (automation/lib/eventemitter2.js:419:19)
at _.extend.off (automation/classes/DevicesCollection.js:217:38)
at MQTTClient.stop (automation/modules/MQTTClient/index.js:185:26)
at AutomationController.stopInstance (automation/classes/AutomationController.js:975:12)
at AutomationController.reconfigureInstance (automation/classes/AutomationController.js9)
at ZAutomationAPIWebRequest._.extend.reconfigureInstanceFunc (automation/ZAutomationAPIProvider.js31)
at ZAutomationAPIWebRequest.handlerFunc (automation/ZAutomationAPIProvider.js:4006:30)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:253:35)
at automation/WebserverRequestRouter.js:32:29
at WebServer.ws.execute (automation/Webserver.js:127:9)
[2022-10-28 10:29:07.293] [E] [HTTP] Callback execution error: TypeError: Cannot read property 'prototype' of undefined
at MQTTClient.init (automation/modules/MQTTClient/index.js:33:19)
at AutomationController.reconfigureInstance (automation/classes/AutomationController.js23)
at ZAutomationAPIWebRequest._.extend.reconfigureInstanceFunc (automation/ZAutomationAPIProvider.js31)
at ZAutomationAPIWebRequest.handlerFunc (automation/ZAutomationAPIProvider.js:4006:30)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:253:35)
at automation/WebserverRequestRouter.js:32:29
at WebServer.ws.execute (automation/Webserver.js:127:9)
at WebServer.document_root (automation/Webserver.js:26:34)
- Attachments
-
- 螢幕擷取畫面 2022-10-28 103508.png (35.48 KiB) Viewed 3197 times
Re: MQTT setting problem
Looks like the MQTT module is not loaded. Please run Z-Way from the terminal and show the loading of modules. It should complain.
Please also show the Z-Way version and "uname -a" and "lsb_release -a"
Please also show the Z-Way version and "uname -a" and "lsb_release -a"
Re: MQTT setting problem
How to check it?
- Attachments
-
- 螢幕擷取畫面 2022-10-31 102822.png (34.94 KiB) Viewed 3153 times
Re: MQTT setting problem
this one is error too
- Attachments
-
- 螢幕擷取畫面 2022-10-31 102822.png (34.94 KiB) Viewed 3152 times