Commit Graph

  • 99f3d41970 Show the present state of each device first in the Grafana dashboard main tim 2026-10-13 12:48:03 +02:00
  • 99bb321e3b Add a server option for the Bluetooth read interval tim 2026-10-10 18:03:09 +02:00
  • e32d3a8e22 Add a Grafana dashboard generator for the three UPS devices tim 2026-10-10 11:54:26 +02:00
  • 0c179d29e5 Disconnect from Bluetooth devices before the server stops tim 2026-10-10 11:47:16 +02:00
  • dc1fb95ada Log each failed Bluetooth read with its reason tim 2026-10-10 11:35:43 +02:00
  • 97880b717c Only start the server after any bluetooth devices are available tim 2026-10-10 11:22:14 +02:00
  • 6b636cde81 Report a device that sends no data for 5 minutes tim 2026-10-10 11:05:16 +02:00
  • ec4d824153 Name the device in the bmspy-ups service file tim 2026-10-10 10:59:35 +02:00
  • ca641fdda8 Send service output to the journal at once tim 2026-10-10 10:59:35 +02:00
  • 98fd08e39b Report a power return at any charge level tim 2026-10-10 10:59:35 +02:00
  • 3bc86b85a2 Compare the newest readings in bmspy-ups tim 2026-10-10 10:59:35 +02:00
  • 9ab1d909ed Raise a clear client error for a refused request tim 2026-10-10 10:59:35 +02:00
  • 0d5a080425 Read each request in full tim 2026-10-10 10:59:34 +02:00
  • f17d1d82c2 Answer each client in its own thread tim 2026-10-10 10:59:34 +02:00
  • 6ee9bbaca8 Keep the server running if a reply fails tim 2026-10-10 10:59:34 +02:00
  • 0abc8536f0 Answer an invalid request with an error reply tim 2026-10-10 10:59:34 +02:00
  • bf2d96140b Test a failed JBD read tim 2026-10-10 10:59:34 +02:00
  • ef7a6b5f92 Simplify wording in the documentation tim 2026-10-10 09:03:36 +02:00
  • 82def5737f Select the bmspy-ups device from the configured devices tim 2026-10-10 09:03:35 +02:00
  • 161ae7ee65 Wait for the required EcoFlow reports in each collection tim 2026-10-10 09:03:35 +02:00
  • b569bcf27b Fix email, shutdown, and option bugs in bmspy-ups tim 2026-10-10 09:03:34 +02:00
  • 953f8a6482 Read each device in a background thread tim 2026-10-10 09:03:34 +02:00
  • d86d59c0f7 Stop the server thread at the end of each server test tim 2026-10-10 09:03:34 +02:00
  • c97f6cc176 Handle a JBD read that returns no response tim 2026-10-10 09:03:33 +02:00
  • aa9888800e Report EcoFlow power and temperature as floats tim 2026-10-10 09:03:33 +02:00
  • f36bb2510c Rename bms_temperature_celcius to bms_temperature_celsius tim 2026-10-10 09:03:33 +02:00
  • 452a3bc207 Correct the ups_alarm field spelling tim 2026-10-10 09:03:32 +02:00
  • 5fa6000c70 Separate JBD decoding from serial transport tim 2026-10-08 14:09:05 +02:00
  • 3422742204 Fix server SIGTERM handler signature tim 2026-10-08 09:31:57 +02:00
  • c2faeb669a Add River 3 telemetry and schema-based diagnostics tim 2026-10-07 21:12:07 +02:00
  • bac953bf48 Replace Poetry with uv tim 2026-10-07 17:40:15 +02:00
  • 79f9ebf0c7 Integrate EcoFlow Bluetooth devices into the server tim 2026-10-07 17:40:15 +02:00
  • 886991caf3 Add River 2 Bluetooth telemetry and diagnostics tim 2026-10-07 17:16:19 +02:00
  • 90388d2800 Stop Prometheus mode from falling through to the client tim 2026-10-07 17:40:15 +02:00
  • 75564f96f0 Fix UPS functionality for multiple devices tim 2026-05-02 23:25:15 +02:00
  • a74934c439 Fix prometheus functionality tim 2026-05-02 23:12:40 +02:00
  • 897ae5dfb7 Add unit tests tim 2026-05-02 18:40:27 +02:00
  • 4e2a967dcf Add docstrings tim 2026-05-02 23:12:02 +02:00
  • 86f2c548b3 Formatting cleanups for UPS and Prometheus functionality tim 2026-05-02 18:18:34 +02:00
  • deb6b2bdcc Add a new DeviceState class to capture metadata from a reading tim 2026-05-02 18:13:33 +02:00
  • d08e26b0db Rename JBDUPS to JBDBMS, as this is more accurate tim 2026-05-02 18:07:40 +02:00
  • ff578f1889 Add typing, as well as a new UPS type that should be inherited by all new models tim 2026-05-02 18:06:52 +02:00
  • 973dc9bc96 Fix formatting tim 2026-05-02 14:48:58 +02:00
  • ad58fc8bc2 Add debugger tim 2026-05-02 14:47:53 +02:00
  • 4f54b9be36 Extract out classes that should be common to all UPS models tim 2026-05-02 10:03:29 +02:00
  • f2ffc4568a Add multi-device support tim 2026-05-02 09:41:07 +02:00
  • 827f59cf49 Update from influxdb_client to influxdb_client_3 tim 2026-05-02 09:28:18 +02:00
  • a782e19563 Update Python minumum version to allow new dependencies tim 2026-05-02 09:21:02 +02:00
  • 4b13450b65 Refactor data dict into a proper JBDUPS class. tim 2026-05-02 09:00:52 +02:00
  • b672c9f5ae Add UPS functionality tim 2024-05-14 09:21:20 +02:00
  • af97e393f6 Improve documentation, and improve systemd service files tim 2024-05-09 09:43:06 +02:00
  • cae4d1b0a4 Use JSON for serialising requests/responses, rather than pickle, to make C integration easier tim 2024-05-09 09:42:59 +02:00
  • dab791fb79 Refactor into a client/server model, to enable multiple clients to access the BMS data tim 2024-04-29 18:41:41 +02:00
  • 81fa555402 Fix invalid call tim 2024-04-28 13:53:18 +02:00
  • ae26cdf3c6 Shift functions around for poetry tim 2024-03-21 20:58:30 +02:00
  • be75d8fd88 Convert to using poetry to run bmspy tim 2024-03-19 22:28:06 +02:00
  • 2815665d2f Add some debugging when DB libraries are not found tim 2024-03-19 22:14:16 +02:00
  • 10bf0b4f1e Whitespace cleanups; rename InfluxDB field from "gauge" to "value" tim 2021-07-23 21:29:57 +02:00
  • 4e68925d34 Fix some issues with raw values tim 2021-07-22 14:55:14 +02:00
  • c174022d98 Add influx exporter tim 2021-07-22 02:57:27 +02:00
  • 951013f0b8 Add bms.py. tim 2021-02-03 13:23:18 +02:00
  • 0ac9c62ddb Initial commit tim 2021-02-03 11:19:58 +00:00