Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.66 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.66 KB

JBD LifePO4 BMS Display

This is a LifePO4 BMS Display using a seasmart stream of N2K messages from a JBD BMS registers To modify the display, change the html, it should support upto 32 cells.

It doesn't change any settings, although it could be patched to do that.

Why ?

Because I use ChromeOS for other things on my boat, and none of the Android apps that use BLE work as they require precise location information, which ChromeBooks dont have.... so I wrote this... then it evolved to use Seasmart over http as there was no security with the BLE adapter and anyone could walk by and change the BMS settings.

How does it work ?

It consumes PGN 127508 and 130829 from a seasmart http stream the latter is proprietary containing registers 03, 04, 05 from a JBD BMS. Use https://github.com/ieb/N2KNMEA0183Wifi firmware for the endpoints. On reception the display is modified. History is captured and saved every 60s into local storage giving graphs of several parameters over a few days.

UI

Todo

  • Add history and graphing using local storage for longer term persistence.
  • [-] Make into a Chrome extension to make it easier to load from Chrome. Not worth it given Chrome extensions will die eventually.
  • Convert into a PWA.
  • Extend time window to 24h and allow zooming into the graphs.
  • [-] ~~Make the BLE work in the background ~~ The Web Bluetooth API is not available in any background task.
  • Add charge discharge gauge in svg
  • Port to use seasmart http stream and deprecate BLE stream
  • State of charge and remaining charge graphs broken - now fixed.