Official mqtt support

Discussions about Z-Way software and Z-Wave technology in general
am0n
Posts: 10
Joined: 28 Aug 2021 10:09

Official mqtt support

Post 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
User avatar
PoltoS
Posts: 7601
Joined: 26 Jan 2011 19:36

Re: Official mqtt support

Post by PoltoS »

It is out in v3.2.0, which is already online, but will be officially announced on Monday I believe.
am0n
Posts: 10
Joined: 28 Aug 2021 10:09

Re: Official mqtt support

Post by am0n »

Great :) Thank you.
am0n
Posts: 10
Joined: 28 Aug 2021 10:09

Re: Official mqtt support

Post by am0n »

Does anyone know, if battery powered devices will provide their battery level to z-way which will transfer it to mqtt?
User avatar
PoltoS
Posts: 7601
Joined: 26 Jan 2011 19:36

Re: Official mqtt support

Post 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.
am0n
Posts: 10
Joined: 28 Aug 2021 10:09

Re: Official mqtt support

Post by am0n »

Thanks - I will try. I also was stuck on 3.1.4 because the release was not public until now.
am0n
Posts: 10
Joined: 28 Aug 2021 10:09

Re: Official mqtt support

Post 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.
User avatar
PoltoS
Posts: 7601
Joined: 26 Jan 2011 19:36

Re: Official mqtt support

Post 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
jeey
Posts: 26
Joined: 06 Mar 2016 06:44

Re: Official mqtt support

Post by jeey »

@poltos

Any plans to add home-assistants mqtt discovery support?
Some info here:
https://www.home-assistant.io/docs/mqtt/discovery/
am0n
Posts: 10
Joined: 28 Aug 2021 10:09

Re: Official mqtt support

Post 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 ;-)
Post Reply