Changes

no edit summary
Line 41: Line 41:  
[[File:Bluetootheyesensorconfiguration detailssection v1.png|border|600px|class=tlt-border]]
 
[[File:Bluetootheyesensorconfiguration detailssection v1.png|border|600px|class=tlt-border]]
   −
==Bluetooth data to server using HTTP protocol==
+
==Bluetooth Data to Server via MQTT protocol==
 +
 
 +
In this section, we are going to upload Bluetooth data to server using MQTT Protocol.
 +
 
 +
==Bluetooth Data to Server using HTTP protocol==
 +
 
 +
In this section, we are going to upload Bluetooth data to server using HTTP Protocol. We are going to use a [https://www.hw-group.com/software/hercules-setup-utility Hercules] app as a TCP server to get incoming data from the device.
 +
 
 +
===Data sender setup===
 +
----
 +
Follow these steps to configure Data to server functionality:
 +
* Navigate to '''Services -> Data to server'''
 +
* Press Add to add new data sender
 +
 
 +
[[File:Bluetootheyesensorconfiguration addnewsender v1.png|border|1000px|class=tlt-border]]
 +
 
 +
In the new screen, adjust settings accordingly:
 +
 
 +
*'''Enable''': on
 +
*'''Name''': BT_HTTP (input any preferred name) (1)
 +
*'''Data source''': Bluetooth data (2)
 +
*'''Protocol''': HTTP (3)
 +
*'''JSON format''': {"Data": "%b", "Hour": "%d"} - adjust JSON format according to your needs (4)
 +
*'''Segment count''': 1 (5)
 +
*'''URL/Host/Connection string''': 192.168.1.211:8080 (server address and port) (6)
 +
* Leave everything else as default and press '''Save & Apply'''