I am using the following code to read from the regular controller having ip address and it works fine but when I provide the address of MS/TP controller in notation net:mac the error thrown
Traceback (most recent call last): File "read.py", line 22, in main() File "read.py", line 13, in main value = bacnet.read(payload) File "/home/nvidia/.local/lib/python3.6/site-packages/BAC0/core/io/Read.py", line 219, in read "APDU Abort Reason : {}".format(reason) BAC0.core.io.IOExceptions.NoResponseFromController: APDU Abort Reason : Timeout
The code is following
import BAC0
bacnet = BAC0.lite(ip="192.168.1.20/24", port=47808)
def main():
payload = "50:7 analogOutput 1 presentValue" # This is not working
# payload = "192.168.1.40 analogOutput 1 presentValue" # This works fine
print("Requesting {}".format(payload))
print("The value is ", bacnet.read(payload))
if __name__ == '__main__':
main()