MQTT Subscriber

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
ridewithstyle
Posts: 69
Joined: 02 Jan 2016 01:20

MQTT Subscriber

Post by ridewithstyle » 15 Apr 2019 19:17

Hi there,

this weekend I experimented a little with MQTT, set up mosquitto as broker and sucessfully published ZWay device status event to the broker.

Is it possible to subscribe from Zway to the MQTT broker and subscribe to topics? I would like to integrate MQTT Sensors into my ZWay rules and automation logic, but fail to see where I can get the MQTT updates into ZWay. Has anybody experience with mixing MQTT and Zway?

Thanks and best regards,
rws

User avatar
PoltoS
Posts: 4683
Joined: 26 Jan 2011 19:36

Re: MQTT Subscriber

Post by PoltoS » 19 Apr 2019 22:45

The MQTT app is a community contribution. Currently it supports only push mode.

You can improve it an publish your version or contact the the developer and ask if he can make the pull side too.

Basically it should not be hard - use websockets to subscribe and get updates. Also add devices on the fly once new features come. And use some block list not to import some features. Should not be that hard.

ridewithstyle
Posts: 69
Joined: 02 Jan 2016 01:20

Re: MQTT Subscriber

Post by ridewithstyle » 19 Apr 2019 22:51

Thanks for the clarification. I might take a look into the module, but as I don't speak the language that might take a while before I reach the point of contribution worthy code.

Best Regards,
rws

Post Reply