Refactor into a client/server model, to enable multiple clients to access the BMS data

This commit is contained in:
2024-04-29 18:41:41 +02:00
parent 81fa555402
commit dab791fb79
9 changed files with 747 additions and 341 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "bmspy"
version = "1.0"
version = "2.0"
description = "bmspy is a tool to get information from a xiaoxiang-type BMS system"
authors = ["Timothy Allen <tim@treehouse.org.za>"]
license = "CC BY-NC-SA 4.0"
@@ -21,4 +21,8 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
bmspy = "bmspy.bms:main"
bmspy = "bmspy:main"
bmspy-server = "bmspy.server:main"
bmspy-influxdb = "bmspy.influxdb:main"
bmspy-prometheus = "bmspy.prometheus:main"
#bmspy-usbd = "bmspy.usbhid:main"