Z-Way to MQTT

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

Re: Z-Way to MQTT

Post by past » 11 Jul 2016 18:55

Wow! that's great, i will test this evening

past
Posts: 27
Joined: 11 Sep 2013 22:54

Re: Z-Way to MQTT

Post by past » 11 Jul 2016 22:19

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 » 19 Jul 2016 23:05

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 » 20 Jul 2016 17:57

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 » 20 Jul 2016 18:06

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 » 21 Jul 2016 05:14

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 » 22 Jul 2016 17:56

I got this successfully working! Yay!

Not really sure what my issues were but this is up and running.

past
Posts: 27
Joined: 11 Sep 2013 22:54

Re: Z-Way to MQTT

Post by past » 22 Jul 2016 18:49

Just a custom UI i made with Node-RED and zway mqtt module.
Attachments
Spectacle.dT8788.png
Spectacle.dT8788.png (33.96 KiB) Viewed 2978 times

pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Z-Way to MQTT

Post by pz1 » 23 Jul 2016 19:35

@past,
Could you publish your MQTT flow? Could make a nice starter tuto for ZWay users.

past
Posts: 27
Joined: 11 Sep 2013 22:54

Re: Z-Way to MQTT

Post by past » 24 Jul 2016 20:19

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

Feel free to ask for any additional info.

I will make a tutorial later.

Post Reply