Requesting the ability to register as a foreign device when using the BACnet I/P data source be built into the UI.
BACnet foreign device registration
I will be adding this in very soon. I will be researching the questions here, but, perhaps you or another have some offhand knowledge?
What are the conditions one would be in where one would wish to send this registration message? I can think of,
- Local device starts up
- BBMD broadcasts its whois
- Any time the user hits a button in the local device settings
Can you think of any others? Might I discover there is a specified interval as well?
In my situation I am registering with a BBMD on another network. Without registering I am unable to reach devices on the remote network or perform a successful BACnet Discovery. Once registered, none of the issues exist (thanks to the script you provided).
I have noticed that the registration will not survive a restart of the mango service so re-registration after start-up is a must (which should be covered by #1).
In some situations where a registration can timeout, you might want the option to re-register every XX minutes.