-
Notifications
You must be signed in to change notification settings - Fork 9
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
unable to get the ALARM during the runtime of application #25
Comments
When you say "in the code level" are you referring to this statement in the sample? There is a difference between setting an attribute like This intrinsic reporting code doesn't have any tests, and there's something about transitioning to/from fault that with notification delays that doesn't sit well with me yet, so that's why it's sitting the sandbox. |
Hi @JoelBender Sir, I have couple of doubts regarding the above,
|
For part (1) I'll figure out why it's not working. For part (2) there is a mismatch in the API for the >>> Recipient(address=b'123456').debug_contents()
address = <bacpypes3.primitivedata.DeviceAddress object at 0x7fc7aac1ebc0>
macAddress = b'123456'
>>> Recipient(address="1.2.3.4").debug_contents()
address = <bacpypes3.primitivedata.DeviceAddress object at 0x7fc7abc9fcd0>
networkNumber = 0
macAddress = b'\x01\x02\x03\x04\xba\xc0'
>>> Recipient(address=Address("1.2.3.4")).debug_contents()
address = <bacpypes3.primitivedata.DeviceAddress object at 0x7fc7abc9e260>
networkNumber = 0
macAddress = b'\x01\x02\x03\x04\xba\xc0'
>>> Recipient(address=Address("5:6.7.8.9")).debug_contents()
address = <bacpypes3.primitivedata.DeviceAddress object at 0x7fc7abbe5d50>
networkNumber = 5
macAddress = b'\x06\x07\x08\t\xba\xc0'
>>> Recipient(address=DeviceAddress("10:11")).debug_contents()
address = <bacpypes3.primitivedata.DeviceAddress object at 0x7fc7abcadb40>
networkNumber = 10
macAddress = b'\x0b'
>>> Recipient(address=DeviceAddress(networkNumber=12, macAddress=b'\x0d')).debug_contents()
address = <bacpypes3.primitivedata.DeviceAddress object at 0x7fc7aac1ec20>
networkNumber = 12
macAddress = b'\r' |
I updated the sample application to add a I think the reason that you're not getting the notifications is stumbling around the dynamic binding in the sample (where the |
Hi @JoelBender Sir, And I have some doubts regarding the ALARM services for BinaryInput and BinaryOutput Object,where i have tried the Internsic reporting using the this https://github.com/JoelBender/BACpypes3/blob/8672dbc4134bfa5af6228cb3094f606a0969e973/sandbox/event-server-bvo1.py but I the status is not changes for the mentioned AlarmValue (BI object) and feedbackValue (BO obj),So please let me know sir the correct format to implement the Internsic reporting for BinaryInput and BinaryOutput Object. |
Notice that there is no code in the |
Sir for Binaryinput, algorithm used is ChangeOfStateEventAlgorithmand and for BinaryOutput CommandFailueEventAlgorithm .So for BinaryInput obj Internsic reporting that should work for the same format with change in alarm value property sir but the state and notification is not working in my case sir, So please let me know where I have to correct it to get the change of state and notification to recipient for BinaryInput object sir. |
I cloned the binary value object sample and replaced "Value" with "Input" and it seems to work the same, sandbox code is here. |
Hi @JoelBender Sir, But at the time of routing notification to the recipient through the objects like AnalogInput, AnalogOutput and BinaryInput objects I am getting an below Runtime Error Sir, So I want to know where I am going wrong sir
|
Hi @JoelBender Sir,
Thanks for BACpypes3, for the new feature support I have migrated my code from bacpypes to bacpypes3 where all the basic read,write and COV works fine but I am facing issue for not getting the ALARM (Yabe Status : ALARM) , while updating the presentValue in the code level when the app is running.
and using Yabe if I try to write the presentValue explicitly then I am getting the ALARM for above/below limit mentioned.
I have taken an example code from https://github.com/JoelBender/BACpypes3/blob/main/sandbox/event-server-avo1-ir.py
So please suggest me on this sir...
The text was updated successfully, but these errors were encountered: