I am trying to configure bacnet proxy agent in Volttron Project and for some reason i am getting this error in volltron.log when i start the proxy agent:
Can you please guide whether I am doing anything wrong in configuration files ? For IP address of device I have tried three variants in config files:
- IPADDRESS/24
- IPADDRESS
- IPADDRESS:PORT(47808)
Where <> is the ip address of device.
Unfortunately none of these work.
Here is the following description of various files:
============================VOLTTRON LOG================================
2016-06-28 13:55:31,888 (bacnet_proxyagent-0.1 7777) <stderr>
ERROR: socket.error: [Errno 99] Cannot assign requested address
==========================================================================
=====================BACNET PROXY AGENT CONFIG==========================
"agentid": "bacnet_proxy",
#Maximum APDU legnth accepted
#This setting determines the largest APDU accepted by the Volttron BACnet virtual device.
#Valid options are 50, 128, 206, 480, 1024 (default), and 1476
"max_apdu_length": 480,
#ID of the Device object of the virtual bacnet device.
#Defaults to 599
"object_id": 570009,
#Name of the bacnet network object
#Defaults to "Volttron BACnet driver"
#"object_name": "Volttron BACnet driver",
#Vendor ID of the virtual bacnet device.
#Defaults to 15
"vendor_id": 24,
#Required, use this network interface for the virtual device.
"device_address": "192.168.1.9"
I ran the volttron/scripts/bacnet/bacnet_scan.py and the following was the result:
Device Address = <Address 192.168.1.9>
Device Id = 570009
maxAPDULengthAccepted = 480
segmentationSupported = segmentedBoth
vendorID = 24
Device Address = <RemoteStation 5701:37>
Device Id = 990037
maxAPDULengthAccepted = 480
segmentationSupported = segmentedBoth