Refactor into a client/server model, to enable multiple clients to access the BMS data
This commit is contained in:
12
README.md
12
README.md
@ -13,4 +13,16 @@ Or, to install with influxdb and/or prometheus support:
|
||||
poetry install -E influxdb -E prometheus
|
||||
|
||||
To run:
|
||||
poetry run bmspyd &
|
||||
|
||||
Or to run via systemd, copy bmspyd.service to /etc/systemd/system, adjust WorkingDirectory to point to the installation location, and enable and start the service:
|
||||
cp bmspy-server.service /etc/systemd/system
|
||||
$EDITOR /etc/systemd/system/bmspy-server.service
|
||||
systemctl daemon-reload
|
||||
systemctl enable bmspy-server
|
||||
systemctl start bmspy-server
|
||||
|
||||
To run a client to get the data, choose one of the following options:
|
||||
poetry run bmspy
|
||||
poetry run bmspy-influxdb --url ...
|
||||
|
||||
|
Reference in New Issue
Block a user