Modbus and Bluetooth data sending to Node-RED: Difference between revisions
Modbus and Bluetooth data sending to Node-RED (view source)
Revision as of 13:57, 16 January 2023
, 16 January 2023→Bluetooth Data to Server via MQTT protocol
Justas.Cip (talk | contribs) No edit summary |
Justas.Cip (talk | contribs) |
||
Line 218: | Line 218: | ||
==Bluetooth Data to Server via MQTT protocol== | ==Bluetooth Data to Server via MQTT protocol== | ||
In this section, we are going to upload Bluetooth data to server on Node-RED. The configuration is going to be similar to Modbus data to server. | In this section, we are going to upload Bluetooth data to server on Node-RED. The configuration is going to be similar to Modbus data to server. | ||
===Device configuration=== | ===Device configuration=== | ||
---- | ---- | ||
First of all we are going to need a Bluetooth device which is paired to Teltonika device. For this example, we are using Teltonika EYE Beacon and we have it paired to the device. You can pair Bluetooth device, by navigating to '''Services -> Bluetooth''' and clicking '''Scan'''. Then select your device and click '''Pair'''. here's how a paired device looks like: | |||
[[File:Paired beacon2 nodered.png|border|1000px|class=tlt-border]] | |||
After that, navigate to '''Services -> Data to server.''' Add new data sender and configure settings accordingly: | |||
*'''Enable''': on | *'''Enable''': on | ||
Line 236: | Line 240: | ||
*'''Keepalive''': 60 | *'''Keepalive''': 60 | ||
*'''Topic''': beacon (input any preferred topic, make sure to subscribe on the same topic) | *'''Topic''': beacon (input any preferred topic, make sure to subscribe on the same topic) | ||
[[File:Bluetooth data sender settings rutx11.png|border|600px|class=tlt-border]] |