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

@edgeberry/device-node-red-contrib

v3.3.0

Published

Node-RED node to interact with the Edgeberry Device Software over DBus

Readme

Edgeberry Banner

The Edgeberry Node-RED node lets your on-device Node-RED flows communicate with the Edgeberry Device Software over DBus to send telemetry data to the Device Hub.

Node-RED

Features

  • Send Telemetry Data - Send sensor readings and device data to Device Hub
  • Receive Cloud Messages - Receive commands and data from cloud applications
  • Application Status - Report application health and status
  • Device Identification - Trigger device's physical identification (LED blink + beep sound)
  • D-Bus Integration - Direct communication with Edgeberry Device Software

Installation

Option 1: Install via Node-RED Palette Manager

  1. Open Node-RED in your browser
  2. Click the menu (☰) → Manage palette
  3. Go to the Install tab
  4. Search for @edgeberry/device-node-red-contrib
  5. Click Install

Option 2: Manual Install

On your Edgeberry device:

cd ~/.node-red
npm install @edgeberry/device-node-red-contrib

Restart Node-RED after installation.

Quick Start

Send Telemetry Data

  1. Add an Inject node (trigger every 10 seconds)
  2. Add a Function node with this code:
msg.topic = "telemetry";
msg.payload = {
    temperature: 22.5,
    humidity: 45,
    status: "ok"
};
return msg;
  1. Add an Edgeberry node
  2. Connect: Inject → Function → Edgeberry
  3. Deploy and watch the data flow to Device Hub!

Receive Data on Device Hub

On your Device Hub server with Node-RED:

  1. Install @edgeberry/devicehub-node-red-contrib
  2. Add a Device Hub Device node
  3. Configure it with your device name (e.g., EDGB-A096)
  4. Connect it to a Debug or Dashboard node
  5. You'll receive your telemetry data in real-time

Receive Cloud-to-Device Messages

The Edgeberry node automatically receives messages from the cloud:

Device Flow:

[Edgeberry] → [Switch: topic=cloudMessage] → [Process Message]

Switch Node Configuration:

  • Property: msg.topic
  • Rule: == cloudMessage

Cloud Flow (on Device Hub):

[Inject] → [Function] → [Device Hub Device: EDGB-A096]

Function Node:

msg.action = "sendMessage";
msg.payload = {
    command: "updateConfig",
    interval: 30
};
return msg;

The device will receive the message and output it with topic: 'cloudMessage'.

Processing Cloud Messages on Device:

// In a Function node after the Edgeberry node
if (msg.topic === "cloudMessage") {
    const command = msg.payload.command;
    
    switch(command) {
        case "updateConfig":
            // Update device configuration
            flow.set("updateInterval", msg.payload.interval);
            node.warn(`Config updated: ${msg.payload.interval}s interval`);
            break;
        case "restart":
            // Handle restart command
            break;
    }
}
return msg;

License & Collaboration

Copyright© 2025 Sanne 'SpuQ' Santens. The Edgeberry NodeRED node is licensed under the MIT License. The Rules & Guidelines apply to the usage of the Edgeberry™ brand.

Collaboration

If you'd like to contribute to this project, please follow these guidelines:

  1. Fork the repository and create your branch from main.
  2. Make your changes and ensure they adhere to the project's coding style and conventions.
  3. Test your changes thoroughly.
  4. Ensure your commits are descriptive and well-documented.
  5. Open a pull request, describing the changes you've made and the problem or feature they address.