Improve documentation, and improve systemd service files

This commit is contained in:
Timothy Allen 2024-05-09 09:43:06 +02:00
parent cae4d1b0a4
commit af97e393f6
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# bmspy
bmspy is a tool to get information from a xiaoxiang-type BMS system, using some sort of serial connection.
bmspy is a tool to get information from a [xiaoxiang-type](https://www.lithiumbatterypcb.com/product/4s-or-3s-12v-li-ion-or-lifepo4-battery-smart-bms-with-bluetooth-function-uart-and-rs485-communication-with-60a-to-120a-constant-current/?attribute_specification-selection=4S+Lifepo4+120A+with+UART+and+RS485) BMS system, using some sort of serial connection.
It can display the information as text, in JSON, or export the data continuously to a Prometheus exporter.

View File

@ -5,6 +5,7 @@ Description=Make BMS data available for consumers
Type=exec
# The full path of the git repo on your system
WorkingDirectory=/usr/local/bmspy
ExecStartPre=/usr/bin/install -d -onobody -gdialout -m770 /run/bmspy
ExecStart=poetry run bmspy-server
RestartSec=5
Restart=on-failure