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

@hernzum/signalk-rock4c-bme280

v1.3.3

Published

Signal K plugin for BME280/BMP280 on Radxa ROCK 4C+ (ARM64)

Readme

@hernzum/signalk-rock4c-bme280

🌡️⚓ Signal K server plugin for reading BME280/BMP280 environmental sensors via I2C on Radxa ROCK 4C+ (ARM64).

Designed for marine environments, this plugin provides stable, accurate temperature, pressure, and humidity readings directly into the Signal K data bus. It publishes data in standard SI units with gauge metadata, ensuring seamless compatibility with Kip, InstrumentPanel, and other Signal K frontends.


✨ FEATURES

  • ARM64 & Node.js 22 Optimized: Safe byte-by-byte I2C reads to prevent native module crashes
  • Official Bosch Compensation: High-precision floating-point formulas for T, P, H
  • Signal K Compliant: Publishes in Kelvin, Pascals, and ratio 0-1 with embedded gauge metadata
  • Marine-Grade Filtering: Built-in moving average to dampen vibration and sea-state noise
  • Dual Sensor Support: Auto-detects and configures BME280 or BMP280
  • Zero-Config Defaults: Works out-of-the-box with standard 40-pin GPIO wiring

📦 INSTALLATION Complete hardware setup, I2C activation, configuration, and troubleshooting instructions are provided in the INSTALL file.

Quick start (Node.js 22+ required): cd ~/.signalk npm install @hernzum/signalk-rock4c-bme280 cd node_modules/@hernzum/signalk-rock4c-bme280 npm rebuild i2c-bus --build-from-source sudo systemctl restart signalk


🙏 CREDITS & ATTRIBUTION This plugin is an ARM64/Radxa ROCK 4C+ adaptation of the original work by Jeremy Carter.

Original Repository: https://github.com/jncarter123/signalk-raspberry-pi-bme280

Key improvements added in this adaptation:

  • Safe byte-wise I2C reads to prevent "Invalid buffer" crashes on modern ARM64 kernels
  • Corrected Bosch floating-point compensation formulas for accurate pressure output
  • Embedded Signal K gauge metadata for seamless frontend display (Kip/InstrumentPanel)
  • Moving-average filtering optimized for marine vibration and sea-state noise
  • Comprehensive hardware & OS-specific documentation for Radxa ROCK 4C+

Original work Copyright (c) Jeremy Carter Adaptation Copyright (c) 2026 Hernán


📜 LICENSE & LINKS License: MIT. See LICENSE file for details.

Links:

  • npm Package: https://www.npmjs.com/package/@hernzum/signalk-rock4c-bme280
  • Signal K Specification: https://signalk.org/specification/latest/
  • BME280 Datasheet: https://www.bosch-sensortec.com/products/environmental-sensors/humidity-sensors/bme280/
  • Radxa ROCK 4C+ Docs: https://wiki.radxa.com/Rock4/4c

Built for the open-source marine community. Happy sailing! 🌊🧭