module.bacnet¶
Bacnet module¶
type |
object |
||
properties |
|||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
The configuration of the Rabbit MQ used for communication |
||
|
The configuration of module’s logging |
||
default |
moduleLogLevel |
INFO |
|
externalLogLevel |
WARN |
||
|
The configuration of the Bacnet network |
||
|
This represents your application on the BACnet network. The constructor takes a unique device ID which is defined by this parameter. For example 1234. |
||
type |
integer |
||
additionalProperties |
False |
MessagingConfigurationEntity¶
type |
object |
|
properties |
||
|
The ID of the client, must be different for each module instance. |
|
type |
string |
|
|
The host of the rabbit MQ provider |
|
type |
string |
|
|
The size of the buffer to use when the broker is disconnected (default: 60000). |
|
type |
integer |
|
minimum |
1 |
|
default |
60000 |
|
|
Flag to indicate to store the message (The path /osp/messages must be mount to a volume). |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
LoggingConfigurationEntity¶
type |
object |
|
properties |
||
|
The log level for module’s behavior logging |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
default |
INFO |
|
|
The log level for module’s internal script behavior logging (if not set the moduleLogLevel will be used) |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
|
The log level for external libraries logging |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
default |
WARN |
|
additionalProperties |
False |
BacnetNetworkConfigurationFile¶
type |
object |
|
properties |
||
|
The address of the local subnet, NOT the subnet mask. The subnet address is required because the given local bind address could be the wildcard address, i.e. 0.0.0.0, from which the broadcast address cannot be calculated. For example 192.168.0.0, is a valid local subnet. |
|
type |
string |
|
|
The number of bits in the local subnet. For example if your IPv4 address space is 200.100.10.0/24 (which contains 256 addresses), the value to set here is 24. |
|
type |
integer |
|
|
To communicate with other BACNet devices the module uses a locally created device. This device get by default the port 47808 (which is the default in a lot of BACNet configurations). The problem is that if the port 47808 is already used by another service this can prove to be problematic. You can configure the port you are using on the local device here. For example you could choose to use 47809. |
|
type |
integer |
|
default |
47808 |
|
additionalProperties |
False |