Line 225: |
Line 225: |
| ==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. More information about bluetooth functionality ant usage with beacons could be found in [[Teltonika EYE device pairing and data sender configuration example]]. |
| | | |
| ===Device configuration=== | | ===Device configuration=== |
Line 235: |
Line 235: |
| After that, navigate to '''Services -> Data to server.''' Add new data sender and configure settings accordingly: | | After that, navigate to '''Services -> Data to server.''' Add new data sender and configure settings accordingly: |
| | | |
− | *'''Enable''': on
| + | # '''Enable''': on |
− | *'''Name''': BT_data (input any preferred name)
| + | # '''Name''': BT_data (input any preferred name) |
− | *'''Data source''': Bluetooth data
| + | # '''Data source''': Bluetooth data |
− | *'''Protocol''': MQTT
| + | # '''Protocol''': MQTT |
− | *'''JSON format''': {"Data": "%b", "Hour": "%d"} - adjust this according to your needs
| + | # '''JSON format''': {"Data": "%b", "Hour": "%d"} - adjust this according to your needs |
− | *'''Segment count''': All
| + | # '''URL/Host/Connection string''': 192.168.10.139 (virtual machine address) |
− | *'''URL/Host/Connection string''': 192.168.10.139 (virtual machine address)
| + | # '''Port''': 1883 |
− | *'''Port''': 1883
| + | # '''Topic''': beacon (input any preferred topic, make sure to subscribe on the same topic) |
− | *'''Keepalive''': 60
| |
− | *'''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]] | | [[File:Bluetooth data sender settings rutx11.png|border|600px|class=tlt-border]] |