Skip to content
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

[HELP] Bacnet connector not working. Devices not connecting. #1565

Open
KIOfmorenocruz opened this issue Oct 21, 2024 · 1 comment
Open

[HELP] Bacnet connector not working. Devices not connecting. #1565

KIOfmorenocruz opened this issue Oct 21, 2024 · 1 comment
Assignees

Comments

@KIOfmorenocruz
Copy link

Describe the issue
I can’t make the BACnet connector work. ThingsBoard IoT gateway is running on a revolution Pi. We have a network full of devices and we only receive the response from one (in the screenshot you can see the IP) and none of them is able to receive the proper confirmation and to pull the telemetry. Even writing that IP in the devices list of the bacnet.json. The other devices do not show up.
Is there something in the connector config json wrong? is it a known bug?

Configuration

{
"thingsboard": {
"host": "abc.xyz",
"port": 8883,
"remoteShell": true,
"remoteConfiguration": true,
"statistics": {
"enable": true,
"statsSendPeriodInSeconds": 3600,
"commands": []
},
"deviceFiltering": {
"enable": false,
"filterFile": "list.json"
},
"maxPayloadSizeBytes": 8196,
"minPackSendDelayMS": 50,
"minPackSizeToSend": 500,
"checkConnectorsConfigurationInSeconds": 60,
"handleDeviceRenaming": true,
"security": {
"type": "accessToken",
"accessToken": "xxx",
"caCert": "ca.crt"
},
"qos": 1,
"checkingDeviceActivity": {
"checkDeviceInactivity": false,
"inactivityTimeoutSeconds": 200,
"inactivityCheckPeriodSeconds": 500
},
"ts": 1729001934166,
"rateLimits": "DEFAULT_TELEMETRY_RATE_LIMIT",
"dpRateLimits": "DEFAULT_TELEMETRY_DP_RATE_LIMIT",
"messagesRateLimits": "DEFAULT_MESSAGES_RATE_LIMIT",
"deviceMessagesRateLimits": "DEFAULT_MESSAGES_RATE_LIMIT",
"deviceRateLimits": "DEFAULT_TELEMETRY_RATE_LIMIT",
"deviceDpRateLimits": "DEFAULT_TELEMETRY_DP_RATE_LIMIT"
},
"grpc": {
"enabled": false,
"serverPort": 9595,
"keepaliveTimeMs": 10000,
"keepaliveTimeoutMs": 5000,
"keepalivePermitWithoutCalls": true,
"maxPingsWithoutData": 0,
"minTimeBetweenPingsMs": 10000,
"minPingIntervalWithoutDataMs": 5000,
"keepAliveTimeMs": 10000,
"keepAliveTimeoutMs": 5000,
"ts": 1729424816977
},
"logs": { xxx },
"storage": {
"type": "file",
"read_records_count": 100,
"max_records_count": 10000,
"ts": 1729001934166,
"data_folder_path": "./data/",
"max_file_count": 10,
"max_read_records_count": 10,
"max_records_per_file": 10000,
"data_file_path": "./data/data.db",
"messages_ttl_check_in_hours": 1,
"messages_ttl_in_days": 7
},
"mode": "basic"
}

Connector name (If you need help with some connector/converter):
Bacnet
grafik

Error traceback (If it was raised):
Untitled

Versions (please complete the following information):
Latest

@imbeacon
Copy link
Member

imbeacon commented Nov 4, 2024

Hi @KIOfmorenocruz,

Thank you for your interest in ThingsBoard IoT Gateway.
In your connector configuration - I cannot see any related to the data collection configs sections, like timeseries, attributes, etc. You can use the following config as a reference to configure devices that you want connect to - https://github.com/thingsboard/thingsboard-gateway/blob/master/thingsboard_gateway/config/bacnet.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants