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

How do I alter the object properties' values while the simulator is running? #517

Open
aniket-alt opened this issue Feb 29, 2024 · 1 comment

Comments

@aniket-alt
Copy link

My simulator is reading the values from a 'Device_config.py' file. It reads the values once and those are seen on the YABE explorer. So the values are static.
I thought I'll use the random library to generate the values dynamically, but the challenge is that my simulator code reads the 'Device_config.py' file once. I want the object properties' values to keep changing and the same to be reflected on the YABE explorer.

@JoelBender
Copy link
Owner

For this version of BACpypes there is a sample application here for one possible solution (every time the value is read it comes back with a new one). I also recommend updating to BACpypes3 using asyncio.

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

No branches or pull requests

2 participants