I took a known working BACnet device and deleted it then re-added it with known parameters using this script. It worked other than it did not take the description. Is there a specific key I need to use to get the description to populate?
props = {
"LOCALBACNETDEVICESETTINGSID": 6,
"REMOTEADDRESS": "192.168.xxx.xxx",
"REMOTEPORT": 47811,
"REMOTEDEVICENUMBER": 50011,
"DESCRIPTION": "DELTA_VFD_E_11"
}
system.device.addDevice(
deviceType = "com.inductiveautomation.BacnetIpDeviceType",
deviceName = "HVLS_A1",
deviceProps = props
)