You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a Thingsboard installation on EC2 machine as a server and I have a Raspberry PI 5 as the gateway. I am trying to fetch telemetry from a NRF node via BLE which sends the readings through advertisement message only. For that I have created a BLE connector on TB with the following configuration:
{
"passiveScanMode": false,
"devices": [
{
"name": "TEST",
"deviceType": "BLE",
"MACAddress": "FA:96:BD:45:08:XX",
"pollPeriod": 5000,
"connector_type": "ble",
"type": "hex",
"showMap": false,
"timeout": 10000,
"connectRetry": 5,
"connectRetryInSeconds": 0,
"waitAfterConnectRetries": 10,
"telemetry": [
{
"key": "temperature",
"dataSourceType": "advertisement",
"valueExpression": "[0:1]"
},
{
"key": "humidity",
"dataSourceType": "advertisement",
"valueExpression": "[0:2]"
}
],
"attributes": []
}
],
"logLevel": "DEBUG",
"name": "Rpi_BLE",
"enableRemoteLogging": true,
"id": "ed894e3c-2a34-4581-b959-25568e426157"
}
I do not see the device created on Thingsboard at all. Hence no telemetry also. While checking the logs I see the following:
Deployment: monolith
Deployment type: deb
ThingsBoard Version : Latest
Community or Professional Edition: Community
OS Name and Version: Ubuntu
Connectivity
Gateway
Device vendor and model - Raspberry PI
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, please add screenshots to help explain your problem.
Additional context
Please feel free to add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I am using a Thingsboard installation on EC2 machine as a server and I have a Raspberry PI 5 as the gateway. I am trying to fetch telemetry from a NRF node via BLE which sends the readings through advertisement message only. For that I have created a BLE connector on TB with the following configuration:
{
"passiveScanMode": false,
"devices": [
{
"name": "TEST",
"deviceType": "BLE",
"MACAddress": "FA:96:BD:45:08:XX",
"pollPeriod": 5000,
"connector_type": "ble",
"type": "hex",
"showMap": false,
"timeout": 10000,
"connectRetry": 5,
"connectRetryInSeconds": 0,
"waitAfterConnectRetries": 10,
"telemetry": [
{
"key": "temperature",
"dataSourceType": "advertisement",
"valueExpression": "[0:1]"
},
{
"key": "humidity",
"dataSourceType": "advertisement",
"valueExpression": "[0:2]"
}
],
"attributes": []
}
],
"logLevel": "DEBUG",
"name": "Rpi_BLE",
"enableRemoteLogging": true,
"id": "ed894e3c-2a34-4581-b959-25568e426157"
}
I do not see the device created on Thingsboard at all. Hence no telemetry also. While checking the logs I see the following:
2024-09-12 11:23:54 - |DEBUG| - [hex_bytes_ble_uplink_converter.py] - hex_bytes_ble_uplink_converter - convert - 57 - {'telemetry': [{'temperature': 58}, {'humidity': 77}], 'attributes': []}
2024-09-12 11:23:54 - |DEBUG| - [ble_connector.py] - ble_connector - __process_data - 138 - {'telemetry': [{'temperature': 58}, {'humidity': 77}], 'attributes': []}
2024-09-12 11:23:54 - |INFO| - [ble_connector.py] - ble_connector - __process_data - 143 - Data to ThingsBoard {'telemetry': [{'temperature': 58}, {'humidity': 77}], 'attributes': []}
2024-09-12 11:23:54 - |ERROR| - [tb_utility.py] - tb_utility - validate_converted_data - 74 - deviceName is empty in data: {"telemetry": [{"temperature": 58}, {"humidity": 77}], "attributes": []}
2024-09-12 11:23:54 - |ERROR| - [tb_gateway_service.py] - tb_gateway_service - __send_to_storage - 1015 - ['ed894e3c-2a34-4581-b959-25568e426157'] Data from Rpi_BLE connector is invalid.
Your Server Environment
own setup
Deployment: monolith
Deployment type: deb
ThingsBoard Version : Latest
Community or Professional Edition: Community
OS Name and Version: Ubuntu
Connectivity
Gateway
Device vendor and model - Raspberry PI
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, please add screenshots to help explain your problem.
Additional context
Please feel free to add any other context about the problem here.
The text was updated successfully, but these errors were encountered: