-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] New release Tb_gateway 3.6.2 #1620
Comments
Hi @Iskvaz, Thank you for your interest in ThingsBoard IoT Gateway, could you try to use 192.168.15.210 instead of address and port for device? Also please try to set parameter
At the moment our goal is to receive response and correctly process it, then we will be able to see why it is unable to handle it using your first configuration. |
@Iskvaz any updates? |
Hello, Following logs: |INFO| - [bacnet_connector.py] - bacnet_connector - indication_callback - 121 - Received APDU, from 192.168.15.210, trying to find device... How is my file configured. "devices": [ |
Hi @Isac-enerlab, It looks like you are using mix of configurations, please try to use configuration like the following(with deviceInfo object):
It is a new configuration for BACnet, for gateway 3.6.2+ we are in progress of updating documentation. |
hi @imbeacon , Thank you for your help and quick response. Using Yabe, we are sure that the point is correct and brings data. However, when we use the configuration indicate above, we still have the same problem of the device not being active on thingsboard. When I am pulling the same point using tb_gateway 3.5.1 version. We need this version that has the corrections made to the data storage service. follow logs: Jan 07 18:22:39 XXXXX python3[80879]: 2025-01-07 18:22:39 - |ERROR| - [bacnet_connector.py] - bacnet_connector - __main_loop - 186 - Error processing device requests: 'objectType' |
BACnet connector was updated in version 3.6.2 and altResponsesAddresses was added. Previous versions ignore this parameter. |
Describe the bug
Testing the new release with bacnet connector, The device discovery process is running, but the gateway is unable to associate the response with the expected device.
Connector name (If bug in the some connector):
[BACnet Connector]
Error traceback (If available):
|INFO| - [tb_gateway_service.py] - tb_gateway_service- init - 308 - Gateway started.
|INFO| - [tb_gateway_remote_configurator.py] - tb_gateway_remote_configurator - _process_config_request - 242 - Configuration update request received.
Dec 11 16:48:07 TB3-6-2UBV262 python3[51036]: 2024-12-11 16:48:07 - |INFO| - [statistics_service.py] - statistics_service- __send_statistics - 208 - Collected regular statistics: {'machineStats': {'totalCpuUsage': 3.8, 'diskUsage': 5.9, 'freeMemory': 11.6, 'freeDisk': '52.3G', 'gwProcessCpuUsage': 15.0, 'gwMemory': 1.7, 'gwProcessMemoryFullInfo': {'rss': 67842048, 'vms': 1159168000, 'shared': 23724032, 'text': 6348800, 'lib': 0, 'data': 172797952, 'dirty': 0, 'uss': 55005184, 'pss': 59233280, 'swap': 0}, 'msgsSentToPlatform': 5, 'msgsReceivedFromPlatform': 1}, 'serviceStats': {'storageMsgPulled': 0, 'storageMsgCount': 0, 'platformMsgPushed': 0, 'platformAttrProduced': 0, 'platformTsProduced': 0}, 'connectorsStats': {}}
|INFO| - [tb_gateway_remote_configurator.py] - tb_gateway_remote_configurator - _process_config_request - 242 - Configuration update request received.
|INFO| - [bacnet_connector.py] - bacnet_connector - __discover_devices - 152 - Discovering devices...
|INFO| - [bacnet_connector.py] - bacnet_connector - indication_callback - 121 - Received APDU, from 192.168.15.210, trying to find device...
|INFO| - [bacnet_connector.py] - bacnet_connector - __discover_devices - 152 - Discovering devices...
|INFO| - [bacnet_connector.py] - bacnet_connector - indication_callback - 121 - Received APDU, from 192.168.15.210, trying to find device...
|INFO| - [bacnet_connector.py] - bacnet_connector - __discover_devices - 152 - Discovering devices...
'deviceName'
"devices": [
{
"deviceInfo": {
"deviceNameExpressionSource": "constant",
"deviceNameExpression": "SCT_XX_CWP_XXX",
"deviceProfileExpressionSource": "constant",
"deviceProfileExpression": "Energy Meter"
},
"address": "192.168.XX.XXX:47808",
"pollPeriod": 60000,
"timeseries": [
{
"key": "kWh",
"objectType": "analogValue",
"objectId": "107",
"propertyId": "presentValue"
}
]
}
]
~$ sudo tcpdump -i eth0 udp port 47808
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
16:55:34.905854 IP TB3-6-2UBV262.47808 > 192.168.15.210.47808: UDP, length 8
16:55:34.909214 IP 192.168.15.210.47808 > TB3-6-2UBV262.47808: UDP, length 20
16:56:04.915665 IP TB3-6-2UBV262.47808 > 192.168.15.210.47808: UDP, length 8
16:56:04.918534 IP 192.168.15.210.47808 > TB3-6-2UBV262.47808: UDP, length 20
^C
4 packets captured
4 packets received by filter
0 packets dropped by kernel
|INFO| - [bacnet_connector.py] - bacnet_connector - indication_callback - 121 - Received APDU, from 192.168.15.210, trying to find device...
|INFO| - [bacnet_connector.py] - bacnet_connector - __discover_devices - 152 - Discovering devices...
|INFO| - [bacnet_connector.py] - bacnet_connector - indication_callback - 121 - Received APDU, from 192.168.15.210, trying to find device...
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: