Skip to content

Added ability to use priority in downlinks to BACnet connector #1844

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

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

samson0v
Copy link
Contributor

How to use

Priority can be used in configured and reserved writing RPCs.

⚠️ Cautions:

  • Priority should be integer from 1 to 16.
  • RPC writing request should contain value or priority or both.
  • If value is None, BACnet connector will send relinquish command with Null value.

Configured RPC example

Configuration:

{
  "method": "set_state",
  "requestType": "writeProperty",
  "requestTimeout": 10000,
  "objectType": "analogOutput",
  "objectId": "1",
  "propertyId": "presentValue",
  "priority": 9
},

Running command in RPC debug terminal:
image

Result:
image

Using relinquish:
image

Result:
image

Reserved RPC example

image

Result:
image

Using relinquish:
image

Result:
image

Multiple priorities RPCs

image

Result:
image

@imbeacon imbeacon merged commit 04510a1 into thingsboard:master Jun 24, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants