npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

signalk-rec-bms

v2.0.0

Published

SignalK plugin for REC-BMS

Readme

signalk-rec-bms

alt text

Features

  • Reads all available data streams from BMS and publishes to SignalK
  • Supports WebSocket connection from the REC WiFi module with firmware >= SW164_2
  • Supports serial connection directly from BMS
  • Can set BMS settings when using serial connection
  • Live status & settings page within SignalK

Notes

Tested with the 4 cell ABMS model only. Multi-unit series configurations are detected automatically but have not been tested beyond a single unit — proceed with caution if running multiple ABMS units in series.

Requirements

WebSocket connection (WiFi):

  • A REC WiFi module with firmware >= SW164_2, which enables websockets

Firmware SW164_2

Serial connection:

  • RS485 to USB adapter with 3v output. The REC-BMS serial chip is not powered internally and you must supply 3v to power it.

alt text

alt text

Dependencies

Installation (choose one)

Use the SignalK application store (preferred)

Run the following command:

npm install signalk-rec-bms

SignalK Paths

All data is published under electrical.batteries.bms.* by default. The base path is configurable via the deltaPrefix plugin setting. Key paths include:

| Path | Description | |---|---| | electrical.batteries.bms.voltage | Pack voltage | | electrical.batteries.bms.current | Pack current | | electrical.batteries.bms.power | Instantaneous power | | electrical.batteries.bms.capacity.stateOfCharge | State of charge (0–1) | | electrical.batteries.bms.capacity.stateOfHealth | State of health (0–1) | | electrical.batteries.bms.capacity.nominal | Configured capacity (Ah) | | electrical.batteries.bms.capacity.remaining | Estimated remaining (Ah) | | electrical.batteries.bms.cellVoltage{N} | Individual cell voltages | | electrical.batteries.bms.cellTemperature{N} | Cell temperatures (K) | | electrical.batteries.bms.cellResistance{N} | Cell internal resistance (Ohm) | | electrical.batteries.bms.bmsTemperature | BMS board temperature (K) | | electrical.batteries.bms.minCellVoltage | Minimum cell voltage | | electrical.batteries.bms.maxCellVoltage | Maximum cell voltage |

Temperature values are published in Kelvin in compliance with the SignalK specification. Instrument displays that respect SK unit preferences will convert automatically to °C or °F.

Victron Cerbo GX / Venus OS

VenusOS claims all USB serial devices by default via its serial-starter service, which cycles through Victron protocols and prevents SignalK from accessing the port. The setup script creates a udev rule that instructs VenusOS to ignore your specific RS485 adapter, leaving it available exclusively for SignalK. The rule uses a zz- prefix to ensure it overrides Victron's default rules regardless of load order.

curl -o /home/root/signalk-rec-bms-venusOS.sh https://raw.githubusercontent.com/ofernander/signalk-rec-bms/main/venus-os/signalk-rec-bms-venusOS.sh && bash /home/root/signalk-rec-bms-venusOS.sh

The script will list your connected USB serial devices, you select which one is the usb to serial converter for your REC-BMS. Once complete, unplug and replug your RS485 adapter, then reboot the Cerbo device.

To uninstall: bash /home/root/signalk-rec-bms-venusOS.sh --uninstall or select the last option in the script menu.