@@ -26,15 +26,23 @@ The current development version of OpenADMS is 0.5 (code name
2626more information, please see https://www.dabamos.de/ .
2727
2828## Installation
29- To run OpenADMS, clone the master branch, install the dependencies and execute
30- ` openadms.py ` :
31-
29+ Before you can start OpenADMS, you have to clone the master branch and install
30+ all dependencies:
3231```
3332$ git clone https://github.com/dabamos/openadms.git
3433$ cd openadms
3534$ python3 -m pip install -U -r requirements.txt
36- $ python3 openadms.py --config ./config/myconfig.json --with-mqtt-broker --debug
3735```
36+ Run OpenADMS from the command line:
37+ ```
38+ $ python3 openadms.py --config ./config/my_config.json --with-mqtt-broker --debug
39+ ```
40+ OpenADMS also features a graphical launcher. At first, run ` win_install.bat ` on
41+ Microsoft Windows or install the dependencies manually:
42+ ```
43+ $ python3 -m pip install Gooey
44+ ```
45+ Execute ` openadms-gui.pyw ` to start the graphical launcher.
3846
3947### Dependencies
4048OpenADMS depends on the following Python libraries:
@@ -47,6 +55,9 @@ OpenADMS depends on the following Python libraries:
4755* [ pyserial] ( https://pypi.python.org/pypi/pyserial ) (Python Software Foundation Licence)
4856* [ uptime] ( https://pypi.python.org/pypi/uptime ) (BSD-2-Clause Licence)
4957
58+ The graphical launcher uses [ Gooey] ( https://pypi.python.org/pypi/Gooey ) (MIT
59+ Licence).
60+
5061## Message Broker
5162The MQTT protocol is used for the message exchange in OpenADMS. You can either
5263use an external MQTT message broker, like
@@ -64,15 +75,13 @@ The configuration of OpenADMS is done by using a JSON-based text file, located
6475in the directory ` ./config ` . Please define modules, serial ports, sensors, and
6576so on there. OpenADMS takes the file name of your custom configuration as an
6677argument. For instance, run:
67-
6878```
6979$ python3 openadms.py --config ./config/myconfig.json --with-mqtt-broker --debug
7080```
7181
7282## Virtual Environment
7383The Python tool ` venv ` can create a virtual Python environment for development
7484(with ` csh ` /` tcsh ` on Unix):
75-
7685```
7786$ python3 -m venv virtual-environment
7887$ source ./virtual-environment/bin/activate.csh
@@ -89,4 +98,3 @@ the project website.
8998## Licence
9099OpenADMS is licenced under the [ European Union Public
91100Licence] ( https://joinup.ec.europa.eu/community/eupl/og_page/eupl ) (EUPL) v1.1.
92-
0 commit comments