past wrote:My Node-RED flow: http://pastebin.com/SsgtiNBQ
Feel free to ask for any additional info.
I will make a tutorial later.
Could you pls show your MQTT Plugin configuration from Z-Wave Smart Home?
past wrote:My Node-RED flow: http://pastebin.com/SsgtiNBQ
Feel free to ask for any additional info.
I will make a tutorial later.
Thanks!!!past wrote:Here is my mqtt settings https://drive.google.com/file/d/0B0VliW ... sp=sharing
lademeister wrote:has anyone already done something like an ESP-8266 with mqtt and DHT-22 temperature/humidity sensor and using mqtt?
I am just starting that project but right now i only managed to do it with http code device (to be exact I am testing and right now I have a ESP8266 with an relay and I am able to switch it as binary switch in z-way and my iphone app, including feedback about switch status).
I will add DHT22 temp/hum sensor soon.
But I'd like to do it with MQTT protocol.
I have the mqtt broker running on raspberry (its name is mosquitto) and I am pretty sure that I can do the software for ESP8266 wifi chip so that is uses mqtt,
...but how the heck do I import received messages into z-way?
my workaround idea is to write a shell skript that writes mqtt logfile to a ramdrive, another skript which I call from z-way via a code device will search that file for e.g. temperature readings and extract that string and give it back to that "sensor multilevel"-code device as value.
this will work but means a lot of fiddling around with parameters in shell skripts.
I've found this:
https://www.npmjs.com/package/mqtt-zway
but i don't wand to switch z-wave-devices via mqtt protocol, but i want to get sensor values INTO z-way-server "virtual temp sensor" cenerated by code device app using mqtt...
So is there anyone who has a deeper understanding of how to create a virtual sensor which can be filled with values via z-way-API?
I've read a lot but still don't get it how to do this.
Interesting!lademeister wrote: I am using the "mosquitto" mqtt broker as intallation on my raspberry, i did not use the mqtt-zway-module.