Christian Tremblay
Christian Tremblay
`cast_in` nightmare.... thought it would be an easy ride
A realValue... i just don't get it. The internal data type is a ListOf or a SequenceOfAny depending on how I generate logBuffer internally. I end up with some bytes...
Note to myself, remember bacpypes deal with dates as year minus 1900... been hard to tackle down. There should be a "StupidProof" mechanism in the Date class that subtract 1900...
Thanks for the great feedback and happy you made it work ! I'm actually working hard on the next version of BAC0 that will be async and use bacpypes3 so...
Next implementation is drastically different https://github.com/ChristianTremblay/BAC0/blob/async/BAC0/core/proprietary_objects/jci_5.py
I started playing with what I found on Produal... I'll need your help on that produal_651.py ```python # Produal https://produal-pim.rockon.io/rockon/api/v1/int/extmedia/openFile/01TGWJBKHN5NJ7WCUCEBD3WTAZWWYXGYKY """ Custom Objects and Properties """ from bacpypes3.basetypes import PropertyIdentifier...
produal_783.py ```python # Produal https://produal-pim.rockon.io/rockon/api/v1/int/extmedia/openFile/01TGWJBKHN5NJ7WCUCEBD3WTAZWWYXGYKY """ Custom Objects and Properties """ from bacpypes3.basetypes import PropertyIdentifier from bacpypes3.debugging import ModuleLogger from bacpypes3.local.object import _Object from bacpypes3.primitivedata import ( ObjectType, Real, Unsigned,...
Agree with Stuart... use JSON
in the pip version of BAC0, I use bacpypes and the name of that property is : `protocolVersion` [ref : [bacpypes](https://github.com/JoelBender/bacpypes/blob/master/py34/bacpypes/object.py#L1630) ] in the next version of BAC0, I will...
In BACnet, objects have "properties". For example, present-value, reliability, max-value, min-value, etc... Each of those properties can be polled individually when required. readMultiple used with all, simply means : read...