Jump to content

Modbus and Bluetooth data sending to Node-RED: Difference between revisions

No edit summary
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. 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:
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.  
 


[[File:Paired beacon2 nodered.png|border|1000px|class=tlt-border]]


===Device configuration===
===Device configuration===
----
----
Navigate to '''Services -> Data to server.''' Add new data sender and configure settings accordingly:
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]]