Teltonika RUTX11 Modbus MQTT Gateway Test
This flow can be used as an example and to test if you are able to communicate with the Teltonika Modbus MQTT Gateway. For more information goto here
[{"id":"93436f2c.6dc33","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"76c8c17b.e30b8","type":"mqtt in","z":"93436f2c.6dc33","name":"","topic":"response","qos":"0","datatype":"auto","broker":"733b7448.28239c","x":200,"y":220,"wires":[["7936a698.8e5388"]]},{"id":"43fdb871.c9f2a8","type":"mqtt out","z":"93436f2c.6dc33","name":"","topic":"","qos":"","retain":"","broker":"733b7448.28239c","x":430,"y":160,"wires":[]},{"id":"7936a698.8e5388","type":"debug","z":"93436f2c.6dc33","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":350,"y":220,"wires":[]},{"id":"55accedf.79edc","type":"inject","z":"93436f2c.6dc33","name":"","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":170,"y":160,"wires":[["37b76837.2274e8"]]},{"id":"37b76837.2274e8","type":"function","z":"93436f2c.6dc33","name":"","func":"msg.topic = \"request\"\nmsg.payload = \"0 65432 0 127.0.0.1 502 5 1 6 206 1\"\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":300,"y":160,"wires":[["43fdb871.c9f2a8"]]},{"id":"1b777684.78cb99","type":"comment","z":"93436f2c.6dc33","name":"For this example the Teltonica RUTX11 Modbus TCP Slave was used with the following settings: \\n port: 502\\n Device ID: 1\\n the rest is either 0 or turned off. ","info":"","x":350,"y":80,"wires":[]},{"id":"733b7448.28239c","type":"mqtt-broker","name":"","broker":"127.0.0.1","port":"1883","tls":"","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]