Line 101: |
Line 101: |
| [[File:Node-rs-topology.png|border|center|class=tlt-border|654x654px]] | | [[File:Node-rs-topology.png|border|center|class=tlt-border|654x654px]] |
| ---- | | ---- |
− | | + | Configure the aedes broker block and broker blocks accordingly: |
| [[File:Node-red-broker-new.png|border|left|class=tlt-border|474x474px|left]] | | [[File:Node-red-broker-new.png|border|left|class=tlt-border|474x474px|left]] |
| [[File:Node-red-debug-new.png|border|right|class=tlt-border|474x474px|right]] | | [[File:Node-red-debug-new.png|border|right|class=tlt-border|474x474px|right]] |
Line 120: |
Line 120: |
| | | |
| ---- | | ---- |
| + | Adjust the MQTT IN node: |
| [[File:Node-red-subscriber-configuration.png|border|class=tlt-border|1094x1094px]] | | [[File:Node-red-subscriber-configuration.png|border|class=tlt-border|1094x1094px]] |
| | | |
Line 173: |
Line 174: |
| [[File:HTTP node-red.png|border|class=tlt-border|center|514x514px]] | | [[File:HTTP node-red.png|border|class=tlt-border|center|514x514px]] |
| ---- | | ---- |
| + | Configure TCP in and debug blocks accordingly: |
| [[File:HTTP node-RED block config.png|border|left|class=tlt-border|474x474px|left]] | | [[File:HTTP node-RED block config.png|border|left|class=tlt-border|474x474px|left]] |
| [[File:Node-red-debug-new.png|border|right|class=tlt-border|534x534px|right]] | | [[File:Node-red-debug-new.png|border|right|class=tlt-border|534x534px|right]] |
Line 196: |
Line 198: |
| ===MQTT broker=== | | ===MQTT broker=== |
| This section contains information on how to send M-Bus data to the server on Node-RED using a Teltonika router as a MQTT broker. | | This section contains information on how to send M-Bus data to the server on Node-RED using a Teltonika router as a MQTT broker. |
| + | |
| + | [[File:M-bus topology TRBroker.png|border|750x750px|class=tlt-border]] |
| + | |
| + | The M-Bus meter is directly connected to TRB143. Gateway acts as MQTT Broker, reads the M-Bus data and sends it to the MQTT Subscriber. |
| ---- | | ---- |
| ====Data to Server configuration==== | | ====Data to Server configuration==== |
Line 228: |
Line 234: |
| ====Node-RED configuration==== | | ====Node-RED configuration==== |
| ---- | | ---- |
| + | Below you can see the Node-Red block diagram that is used to receive data and its configuration: |
| + | * '''MQTT in block''' - mbus; |
| + | * '''Debug''' - debug; |
| [[File:MQTT broker node-RED.png|border|center|class=tlt-border|514x514px]] | | [[File:MQTT broker node-RED.png|border|center|class=tlt-border|514x514px]] |
| ---- | | ---- |
| + | Configure debug block: |
| <table class="nd-othertables_2"> | | <table class="nd-othertables_2"> |
| <tr> | | <tr> |
Line 256: |
Line 266: |
| </table> | | </table> |
| ---- | | ---- |
| + | Adjust the MQTT in node: |
| [[File:Node-red-mqtt-in-TRBroker.png|border|class=tlt-border|1100x1100px]] | | [[File:Node-red-mqtt-in-TRBroker.png|border|class=tlt-border|1100x1100px]] |
| # '''Edit:''' Configure MQTT-Broker node; | | # '''Edit:''' Configure MQTT-Broker node; |