Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Node-RED
  3. home-assistant-websocket

home-assistant-websocket

MITTypeScriptv0.80.3

A Node-RED integration package that enables visual automation with Home Assistant via WebSocket.

Visit WebsiteGitHubGitHub
598 stars122 forks0 contributors

What is home-assistant-websocket?

node-red-contrib-home-assistant-websocket is a Node-RED package that provides nodes for integrating with Home Assistant via its WebSocket API. It allows users to create visual automations that interact with Home Assistant entities, services, and events, solving the problem of building complex home automation logic without deep coding. The package enables real-time communication and seamless workflow design within the Node-RED environment.

Target Audience

Home automation enthusiasts and developers who use Home Assistant and want to leverage Node-RED's visual interface for creating advanced automations. It's ideal for those who prefer a flow-based programming approach over writing scripts or YAML configurations.

Value Proposition

Developers choose this package because it offers a robust, officially supported integration method using Home Assistant's WebSocket API, ensuring reliable and efficient communication. Its pre-installation in the Home Assistant Community add-on simplifies setup, and the comprehensive node set covers all essential Home Assistant interactions for building sophisticated automations.

Overview

Node-RED integration with Home Assistant

Use Cases

Best For

  • Creating complex automation workflows that combine multiple smart home devices and services
  • Visual programming of Home Assistant automations without writing YAML or scripts
  • Integrating Home Assistant with external services and APIs through Node-RED's extensive node library
  • Building event-driven automations that react to state changes or specific Home Assistant events
  • Developing custom dashboards or logic that requires real-time data from Home Assistant entities
  • Prototyping and testing automation ideas quickly using a drag-and-drop interface

Not Ideal For

  • Users who prefer writing automations directly in Home Assistant's YAML or script editors for simplicity and control
  • Environments with strict network constraints that block WebSocket connections or require alternative protocols like MQTT
  • Projects needing automations to run independently of Home Assistant, as this integration tightly couples with its ecosystem

Pros & Cons

Pros

Real-time WebSocket Connection

Establishes a persistent, efficient connection to Home Assistant, enabling low-latency data exchange and responsive automations as highlighted in the description.

Comprehensive Node Coverage

Includes nodes for entities, services, events, and triggers, covering all essential Home Assistant interactions without requiring custom code.

Seamless Add-on Integration

Pre-installed with the Home Assistant Community add-on, simplifying setup for users running Node-RED within Home Assistant.

Well-Documented and Reliable

Focuses on reliability with detailed documentation linked in the README, reducing the learning curve for new users.

Cons

Version Dependency Lock-in

Requires specific versions of Node.js (v20+), Node-RED (v3.1.1+), and Home Assistant (v2024.3+), which can be restrictive for legacy systems or cause compatibility issues.

Setup Complexity for Standalone Installs

Installation via npm or Node-RED palette requires technical knowledge and manual configuration, especially for users not using the Home Assistant add-on.

Limited to WebSocket API

Relies solely on Home Assistant's WebSocket API, potentially missing features available through other APIs or protocols, and may not handle all edge cases.

Frequently Asked Questions

Quick Stats

Stars598
Forks122
Contributors0
Open Issues37
Last commit1 month ago
CreatedSince 2018

Tags

#iot#open-source#home-automation#integration#smart-home#visual-programming#websocket#node-red#home#home-assistant

Built With

N
Node-RED
N
Node.js

Links & Resources

Website

Included in

Node-RED532
Auto-fetched 15 hours ago

Related Projects

homekit-bridgedhomekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.

Stars444
Forks56
Last commit11 days ago
huemagichuemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.

Stars201
Forks65
Last commit8 days ago
knx-ultimateknx-ultimate

Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer.

Stars177
Forks34
Last commit1 day ago
smartnorasmartnora

Node Red Google Home integration

Stars114
Forks23
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub