Modbus and Bluetooth data sending to Node-RED: Difference between revisions
Modbus and Bluetooth data sending to Node-RED (view source)
Revision as of 11:37, 2 February 2023
, 2 February 2023→Bluetooth Data to Server via MQTT protocol
Justas.Cip (talk | contribs) |
Justas.Cip (talk | contribs) |
||
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 | |||
# '''Name''': BT_data (input any preferred name) | |||
# '''Data source''': Bluetooth data | |||
# '''Protocol''': MQTT | |||
# '''JSON format''': {"Data": "%b", "Hour": "%d"} - adjust this according to your needs | |||
# '''URL/Host/Connection string''': 192.168.10.139 (virtual machine address) | |||
# '''Port''': 1883 | |||
# '''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]] |