Skip to content

Send interval #514

Closed Answered by JoelBender
chrissli asked this question in Q&A
Dec 20, 2023 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

Happy New Year! 🥳

There are problems with using threads, the "ownership" of an object belongs to the thread that created it, so when you create your AnalogValueObject in the main thread and update in some other one wires can get crossed and it's hard to track down.

Rather than fixing this with the "legacy" BACpypes this is much simpler in BACpypes3. Start with the cov-server.py sample application and replace the ramp() function with one that reads the temperature sensor and updates the value.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JoelBender
Comment options

Answer selected by chrissli
Comment options

You must be logged in to vote
2 replies
@chrissli
Comment options

@chrissli
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants