Page 1 of 2

Official mqtt support

Posted: 28 Aug 2021 10:14
by am0n
Dear forum,

I am awaiting the official mqtt support for some months now. I do not want to integrate external plugins for realizing it. PoltoS mentioned, that the official support will come soon. Does anyone have further insights? It is the last piece of the puzzle to go into a rollout at my site.

Thanks for (PoltoS, Team + community) for everything,

am0n

Re: Official mqtt support

Posted: 29 Aug 2021 00:37
by PoltoS
It is out in v3.2.0, which is already online, but will be officially announced on Monday I believe.

Re: Official mqtt support

Posted: 29 Aug 2021 09:55
by am0n
Great :) Thank you.

Re: Official mqtt support

Posted: 29 Aug 2021 10:21
by am0n
Does anyone know, if battery powered devices will provide their battery level to z-way which will transfer it to mqtt?

Re: Official mqtt support

Posted: 29 Aug 2021 15:41
by PoltoS
Current MQTTClient app does not transfer them, but you can change this or make a CodeDevice that shows battery info. And it will be transmitted to MQTT automatically.

Re: Official mqtt support

Posted: 01 Sep 2021 09:04
by am0n
Thanks - I will try. I also was stuck on 3.1.4 because the release was not public until now.

Re: Official mqtt support

Posted: 01 Sep 2021 09:46
by am0n
I am not able to add the MQTTClient app.

I got the following error message:

Code: Select all

[2021-09-01 08:42:54.976] [I] [core] Notification: error (core): Cannot instantiate module: MQTTClient: ReferenceError: mqtt is not defined
[2021-09-01 08:42:54.986] [I] [core] ReferenceError: mqtt is not defined
    at MQTTClient.init (automation/modules/MQTTClient/index.js:41:16)
    at AutomationController.instantiateModule (automation/classes/AutomationController.js:488:13)
    at AutomationController.createInstance (automation/classes/AutomationController.js:928:17)
    at ZAutomationAPIWebRequest._.extend.createInstance (automation/ZAutomationAPIProvider.js:1340:31)
    at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:250:35)
    at automation/WebserverRequestRouter.js:32:29
    at WebServer.document_root (automation/Webserver.js:40:31)

I added mosquitto-client as raspbian package - no luck. Do I need to install any additional modules / libraries?

Thanks in advance.

Re: Official mqtt support

Posted: 01 Sep 2021 12:56
by PoltoS
Make sure yo use Z-Way v3.2.0.

And make sure to check during Z-Way start (do it manually) that it does not complain on missing libraries

Re: Official mqtt support

Posted: 01 Sep 2021 17:04
by jeey
@poltos

Any plans to add home-assistants mqtt discovery support?
Some info here:
https://www.home-assistant.io/docs/mqtt/discovery/

Re: Official mqtt support

Posted: 01 Sep 2021 19:13
by am0n
Thanks PoltoS.

I had an "old" version of libmosquitto.so.1 in the current Rasbian, Buster Release.

I took the one in the application directory.

Now it works ;-)