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

node-red-contrib-iobroker

v1.2.1

Published

Node-RED nodes for ioBroker integration via WebSocket. Provides input, output, get, object management, historical data access, and live log monitoring capabilities.

Downloads

235

Readme

Node-RED Nodes for ioBroker Integration

Latest Pre-Release License Node-RED Downloads Known Vulnerabilities Donate

🌍 Languages: 🇺🇸 English | 🇩🇪 Deutsch

External Node-RED integration nodes for ioBroker communication. NOT an ioBroker adapter - standalone package for external Node-RED instances to connect with ioBroker via WebSocket.

🤔 Which Solution is Right for You?

📊 Decision Guide: ioBroker Node-RED Adapter vs. These Nodes

| Scenario | Use ioBroker Node-RED Adapter | Use These External Nodes | |:-------------|:---------------------------------:|:----------------------------:| | 🏠 Simple Home Setup | ✅ Recommended | ❌ Overkill | | 🏭 Installation on Appliances/PLCs | ❌ Not possible | ✅ Recommended | | ⚡ High Performance Needs | ❓ Shared resources | ⚠️ May be beneficial | | 🔄 Node-RED Updates/Maintenance | ❓ Tied to ioBroker | ✅ Recommended | | 📊 Advanced Features | ❓ Limited | ✅ Recommended |

🎯 Use ioBroker Node-RED Adapter for:

  • Simple home automation with basic requirements
  • One-click installation is priority
  • Minimal configuration effort desired
  • Shared hosting is acceptable

🚀 Use These External Nodes for:

  • Appliances and PLCs (Wago, Beckhoff, etc.) with Node-RED
  • High-performance applications (may benefit from dedicated resources)
  • Specialized features like history data, logs
  • Latest Node-RED versions immediately (no adapter dependency)
  • Full Node-RED configuration access (all settings & modules)
  • Dedicated resources and potential for better error isolation

🚀 Quick Start

Installation

Install the nodes through the Node-RED Palette Manager:

  1. Open Node-RED interface
  2. Click on hamburger menu (three lines) → Manage palette
  3. Go to "Install" tab
  4. Search for "node-red-contrib-iobroker"
  5. Click "Install" button

Basic Setup

  1. Create dedicated Admin adapter instance (recommended):
    • Install second Admin adapter instance in ioBroker
    • Configure on different port (e.g., 8091)
    • Use exclusively for Node-RED connections
  2. Configure iob-config node with your dedicated instance:
    • Host: hostname or IP address
    • Port: 8091 (your dedicated Admin instance)
    • Authentication: Optional username/password
  3. Use the nodes in your flows

🏗️ Architecture Overview

Node-RED to ioBroker Architecture

The diagram shows the recommended architecture with a dedicated Admin adapter instance for Node-RED connections, separate from the main Admin interface used by regular users.

📦 Available Nodes

| Node | Purpose | Example Use | Documentation | |------|---------|-------------|---------------| | WS ioB in | Subscribe to state changes | Monitor temperature sensors | 📖 Details | | WS ioB out | Send values to states with auto-creation | Control lights, switches |📖 Details | | WS ioB get | Read current state values | Get sensor readings on demand | 📖 Details | | WS ioB getObj | Retrieve object definitions with enum assignments | Access device metadata with room/function info | 📖 Details | | WS ioB inObj | Monitor object changes | Track adapter installations | 📖 Details | | WS ioB history | Access historical data | Energy consumption analysis | 📖 Details | | WS ioB log | Live log monitoring | System health monitoring | 📖 Details | | WS ioB sendTo | Send commands to ioBroker adapters | Telegram notifications, database queries | 📖 Details |

🔧 Configuration

Recommended Setup: Dedicated Admin Instance

Why use a dedicated Admin instance?

  • Isolates Node-RED traffic from main admin interface
  • Prevents conflicts with regular admin usage
  • Avoids duplicate events when the Admin interface is open in browser
  • Allows custom security settings

Setup Steps:

  1. Install second Admin adapter instance in ioBroker:
    • Go to Adapters → Admin → Add Instance
    • Configure custom port (e.g., 8091)
    • Enable/disable features as needed
  2. Configure security for Node-RED access:
    • Create dedicated user for Node-RED
    • Set appropriate permissions
    • Configure session duration ≥3600 seconds

Server Configuration (iob-config)

Connection Settings:

  • Name: Descriptive name for your ioBroker instance
  • Host: IP address (e.g., 192.168.1.100) or hostname (e.g., iobroker.local)
  • Port: Your dedicated Admin instance port (e.g., 8091)
  • Use SSL: Enable for HTTPS/WSS connections

Authentication Settings:

  • No Authentication (default): Leave username/password empty
  • OAuth2: Enter valid ioBroker username/password

Alternative Adapter Options

If you prefer not to use a Admin instance:

  • WebSocket adapter (port 8084) - WebSocket adapter for external connections
  • Web adapter (port 8082) - Requires "Use pure web-sockets" option enabled

⚠️ Important Limitations with Alternative Adapters:

  • WS ioB log node does not work with WebSocket or Web adapter (requires Admin adapter)

⚠️ Important Notes

🔧 Known Issue - Authentication Token Expiry: There is currently a known issue with authentication and expiring tokens that can cause connection drops. Do not use login session durations shorter than 3600 seconds (1 hour) in your ioBroker adapter settings!

📚 Additional Resources

📄 License

MIT