Open snehabati opened 4 years ago
To add on to this what exactly I m looking for is a dynamically changeable property values in device(PC1) like how it gets changed in the real devices .
I'm not sure I understand completely. I think that you are asking for an Analog Output Object in PC1 (call it test_aout
) to be "wired" to an Analog Input Object of the same application (call it test_ain
). You will then be using PC2 to change the value of test_aout
using the Write Property service, then using PC2 again to read the value of test_ain
using the Read Property service to see that it has changed. Is this correct?
what you have told is right, I want to change test_ain values(like a temp sensor value changes). Would like to know how to achieve this.
Hi snehabati
I think you can use this example for your problem: https://github.com/JoelBender/bacpypes/blob/master/samples/mini_device.py
I use this example to read data from JSON server of the weather station. It works very stable
Hi Joel, I am running one instance of bacpypes in PC1 as application and in another: PC2 I am running another instance and trying to read/write to PC1's object's properties. My use case is like below: