updated README
parent
49013e9516
commit
635fa307dd
|
@ -31,11 +31,10 @@ 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:
|
||||
```
|
||||
$ sudo cp myems-aggregation.service /lib/systemd/system/
|
||||
|
@ -44,11 +43,18 @@ Install myems-aggregation service:
|
|||
```
|
||||
$ sudo systemctl enable myems-aggregation.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
|
||||
|
||||
|
|
|
@ -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:
|
||||
```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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
```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
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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:
|
||||
```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
|
||||
|
|
|
@ -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:
|
||||
```
|
||||
$ sudo cp myems-normalization.service /lib/systemd/system/
|
||||
```
|
||||
|
||||
Enable the service:
|
||||
```
|
||||
$ sudo systemctl enable feed-normalization.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue