-
-

Command Line Tool#

+
+

Command Line Interface#

The buildingmotif command line tool will be available upon installing BuildingMOTIF. This provides several utilities for interacting with BuildingMOTIF:

  • library loading

  • running an API server

  • +
  • BACnet Scanning

Important

@@ -557,6 +566,26 @@

Ontology

+
+

BACnet Scanning#

+
usage: buildingmotif scan [-h] -o OUTPUT_FILE [-ip IP]
+
+Scans a BACnet network and generates a JSON file for later processing
+
+optional arguments:
+  -h, --help            show this help message and exit
+  -o OUTPUT_FILE, --output_file OUTPUT_FILE
+                        Output file for BACnet scan
+  -ip IP                ip address of BACnet network to scan
+
+
+

The BuildingMOTIF CLI includes a BACnet scanner, which can be accessed by invoking the scan subcommand. This command takes two inputs:

+
    +
  • Output file - Where the scan information will be saved

  • +
  • IP address - The IP address to bind to and the subnet of the BACnet network. Example 172.24.0.2/32

  • +
+

The output file generated by this command can be loaded into BuildingMOTIF by calling the load() function on the BACnetNetwork ingress.

+

BuildingMOTIF API Server#

@@ -651,6 +680,7 @@

BuildingMOTIF API ServerOntology