Z-Way to MQTT

Discussions about RaZberry - Z-Wave board for Raspberry computer
past
Posts: 32
Joined: 11 Sep 2013 22:54

Re: Z-Way to MQTT

Post by past »

Wow! that's great, i will test this evening
past
Posts: 32
Joined: 11 Sep 2013 22:54

Re: Z-Way to MQTT

Post by past »

I can't get it working with auth, but without it's woking like a charm!
codefox
Posts: 15
Joined: 04 May 2016 22:27

Re: Z-Way to MQTT

Post by codefox »

I like this module but I am running into this in the log output:

[2016-07-19 20:04:16.576] [core] [MQTT_14] Error: Error: Message type error: 6
at MQTT.BaseModule.error (automation/userModules/BaseModule/index.js:122:17)
at null._errorCallback (automation/userModules/MQTT/index.js:103:8)
at MQTTClient._onError (automation/userModules/MQTT/lib/mqtt.js:442:10)
at MQTTClient._onData (automation/userModules/MQTT/lib/mqtt.js:468:14)
at tcp.connection.onrecv (automation/userModules/MQTT/lib/mqtt.js:322:10)
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Z-Way to MQTT

Post by pz1 »

Don't know if the App-author is following this forum. You might raise a new issue on his Github space:
https://github.com/Edubits/Zway-MQTT
codefox
Posts: 15
Joined: 04 May 2016 22:27

Re: Z-Way to MQTT

Post by codefox »

Hah, yeah, thanks for the reminder. I logged into GitHub to submit the issue and then got side tracked ;)
codefox
Posts: 15
Joined: 04 May 2016 22:27

Re: Z-Way to MQTT

Post by codefox »

past wrote:I can't get it working with auth, but without it's woking like a charm!
Since you mentioned you got it working, I'm curious to see your set up. I have the MQTT module that this is based on working just fine, but if I upgrade to this one, I don't see my messages. I tried both with tags and with individual devices and neither seems to work.

But when I roll back to my older code it works fine.
codefox
Posts: 15
Joined: 04 May 2016 22:27

Re: Z-Way to MQTT

Post by codefox »

I got this successfully working! Yay!

Not really sure what my issues were but this is up and running.
past
Posts: 32
Joined: 11 Sep 2013 22:54

Re: Z-Way to MQTT

Post by past »

Just a custom UI i made with Node-RED and zway mqtt module.
Attachments
Spectacle.dT8788.png
Spectacle.dT8788.png (33.96 KiB) Viewed 13050 times
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Z-Way to MQTT

Post by pz1 »

@past,
Could you publish your MQTT flow? Could make a nice starter tuto for ZWay users.
past
Posts: 32
Joined: 11 Sep 2013 22:54

Re: Z-Way to MQTT

Post by past »

My Node-RED flow: http://pastebin.com/SsgtiNBQ

Feel free to ask for any additional info.

I will make a tutorial later.
Post Reply