diff --git a/myems-aggregation/README.md b/myems-aggregation/README.md index a37eb681..c3aebfe5 100644 --- a/myems-aggregation/README.md +++ b/myems-aggregation/README.md @@ -31,24 +31,30 @@ Install myems-aggregation service: $ sudo git checkout master (or the latest release tag) $ sudo cp -R ~/myems/myems-aggregation /myems-aggregation ``` - Edit config.py for your project +Edit config.py ``` $ sudo nano /myems-aggregation/config.py ``` - - Setup systemd service: +Setup systemd service: ``` $ sudo cp myems-aggregation.service /lib/systemd/system/ ``` - Enable the service: +Enable the service: ``` $ sudo systemctl enable myems-aggregation.service ``` - - Start the service: +Start the service: ``` $ sudo systemctl start myems-aggregation.service ``` +Monitor the service: +```bash + $ sudo systemctl status myems-aggregation.service +``` +View the log: +```bash + $ cat /myems-aggregation.log +``` ### References diff --git a/myems-bacnet/README.md b/myems-bacnet/README.md index 2fe16901..d90acf6c 100644 --- a/myems-bacnet/README.md +++ b/myems-bacnet/README.md @@ -46,16 +46,30 @@ Install myems-bacnet service $ git checkout master (or the latest release tag) $ sudo cp -R ~/myems/myems-bacnet /myems-bacnet ``` - Eidt the config config +Edit the config ``` $ sudo nano /myems-bacnet/config.py ``` - Setup systemd service: +Setup systemd service: +```bash + $ sudo cp myems-bacnet.service /lib/systemd/system/ ``` - $ sudo cp /myems-bacnet/myems-bacnet.service /lib/systemd/system/ +Enable the service: +```bash $ sudo systemctl enable myems-bacnet.service +``` +Start the service: +```bash $ sudo systemctl start myems-bacnet.service ``` +Monitor the service: +```bash + $ sudo systemctl status myems-bacnet.service +``` +View the log: +```bash + $ cat /myems-bacnet.log +``` ### Add Data Sources and Points in MyEMS Admin diff --git a/myems-cleaning/README.md b/myems-cleaning/README.md index 0acfb54d..b7f59ca5 100644 --- a/myems-cleaning/README.md +++ b/myems-cleaning/README.md @@ -49,6 +49,14 @@ Start the service: ```bash $ sudo systemctl start myems-cleaning.service ``` +Monitor the service: +```bash + $ sudo systemctl status myems-cleaning.service +``` +View the log: +```bash + $ cat /myems-cleaning.log +``` ### References diff --git a/myems-modbus-tcp/README.md b/myems-modbus-tcp/README.md index 281c45e0..984e6305 100644 --- a/myems-modbus-tcp/README.md +++ b/myems-modbus-tcp/README.md @@ -42,16 +42,30 @@ Install myems-modbus-tcp service $ sudo git checkout master (or the latest release tag) $ sudo cp -R ~/myems/myems-modbus-tcp /myems-modbus-tcp ``` - Eidt the config +Edit the config ``` $ sudo nano /myems-modbus-tcp/config.py ``` - Setup systemd service: +Setup systemd service: +```bash + $ sudo cp myems-modbus-tcp.service /lib/systemd/system/ ``` - $ sudo cp /myems-modbus-tcp/myems-modbus-tcp.service /lib/systemd/system/ +Enable the service: +```bash $ sudo systemctl enable myems-modbus-tcp.service +``` +Start the service: +```bash $ sudo systemctl start myems-modbus-tcp.service ``` +Monitor the service: +```bash + $ sudo systemctl status myems-modbus-tcp.service +``` +View the log: +```bash + $ cat /myems-modbus-tcp.log +``` diff --git a/myems-mqtt-publisher/README.md b/myems-mqtt-publisher/README.md index aeff35fa..2e0609d4 100644 --- a/myems-mqtt-publisher/README.md +++ b/myems-mqtt-publisher/README.md @@ -45,15 +45,29 @@ Install myems-mqtt-publisher service $ sudo git checkout master (or the latest release tag) $ sudo cp -R ~/myems/myems-mqtt-publisher /myems-mqtt-publisher ``` - Eidt the config +Edit the config ``` $ sudo nano /myems-mqtt-publisher/config.py ``` - Setup systemd service: +Setup systemd service: +```bash + $ sudo cp myems--mqtt-publisher.service /lib/systemd/system/ ``` - $ sudo cp /myems-mqtt-publisher/myems-mqtt-publisher.service /lib/systemd/system/ - $ sudo systemctl enable myems-mqtt-publisher.service - $ sudo systemctl start myems-mqtt-publisher.service +Enable the service: +```bash + $ sudo systemctl enable myems--mqtt-publisher.service +``` +Start the service: +```bash + $ sudo systemctl start myems--mqtt-publisher.service +``` +Monitor the service: +```bash + $ sudo systemctl status myems--mqtt-publisher.service +``` +View the log: +```bash + $ cat /myems--mqtt-publisher.log ``` ### Topic diff --git a/myems-normalization/README.md b/myems-normalization/README.md index 3f8d0504..06d32a08 100644 --- a/myems-normalization/README.md +++ b/myems-normalization/README.md @@ -74,25 +74,30 @@ Install myems-normalization service: $ sudo cp -r ~/myems/myems-normalization /myems-normalization ``` - Edit config.py for your project +Edit config.py ``` $ sudo nano /myems-normalization/config.py ``` - - Setup systemd service: +Setup systemd service: ``` $ sudo cp myems-normalization.service /lib/systemd/system/ ``` - - Enable the service: +Enable the service: ``` $ sudo systemctl enable feed-normalization.service ``` - - Start the service: +Start the service: ``` $ sudo systemctl start feed-normalization.service ``` +Monitor the service: +```bash + $ sudo systemctl status myems-normalization.service +``` +View the log: +```bash + $ cat /myems-normalization.log +``` ### References