29.11.2018, 11:05
Hello,
I have a Node-red running in a Multitech Conduit Hardware with the next flow. I have a node that transmits the "56" value injected in topic "arqueta/humedad". Then, for test, I have a node that receives the info previously sended (you can see it at right in the debu window).
The node-red is able to act as a MQTT broker, so de info is directly sended between MQTT nodes. Here you can see the broker configuration:
Here's the in and out node configuration where I can select the broker configured before (localhost), the topic and other parameters (you can see the info of the diferent parameters in the right side).
OUT node:
IN node:
On the other hand, I have the LM where I want to receive this humidity into an object.
I've seen the example in the LM website: http://openrb.com/mqtt-client/
But I think is not the correct code for my case and I have to say I'm a novice programmer... could anyboy help me with the code I need??
Thanks in advance!
I have a Node-red running in a Multitech Conduit Hardware with the next flow. I have a node that transmits the "56" value injected in topic "arqueta/humedad". Then, for test, I have a node that receives the info previously sended (you can see it at right in the debu window).
The node-red is able to act as a MQTT broker, so de info is directly sended between MQTT nodes. Here you can see the broker configuration:
Here's the in and out node configuration where I can select the broker configured before (localhost), the topic and other parameters (you can see the info of the diferent parameters in the right side).
OUT node:
IN node:
On the other hand, I have the LM where I want to receive this humidity into an object.
I've seen the example in the LM website: http://openrb.com/mqtt-client/
But I think is not the correct code for my case and I have to say I'm a novice programmer... could anyboy help me with the code I need??
Thanks in advance!