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-symi

v2.2.0

Published

Node-RED nodes for smart home device communication with Home Assistant integration, supporting HassKit, Clowire, Alive, LF and complete Symi protocols

Readme

Node-RED Contrib Symi

npm version npm downloads

Node-RED nodes for smart home device communication with Home Assistant integration, supporting multiple protocols including HassKit, Clowire, Alive, LF and complete Symi protocols.

Features

🔌 Dual Communication Support

  • TCP Network Communication: For Ethernet-connected devices
  • Serial Communication: RS485/RS232 support with full configuration options

🏠 Device Support

  • Climate Control: Temperature, humidity, HVAC systems
  • Lighting: Switches, dimmers, RGB controls
  • HVAC: Air conditioning, heating systems
  • Curtains: Motorized blinds and curtains
  • Heating: Floor heating systems
  • Ventilation: Fresh air systems
  • Scene Control: Multi-device scene management
  • Panel Control: Touch panel interfaces

📡 Protocol Support

  • CLOWIRE: 9-byte frame protocol with CRC16 checksum
  • HASSKIT: 8-byte frame protocol for climate control
  • ALIVE: Heartbeat and keep-alive mechanism
  • LF: Lightweight protocol for simple devices
  • SYMI (亖米): 15-byte frame protocol with comprehensive device support

Installation

npm install node-red-contrib-symi

Quick Start

  1. Install the package in your Node-RED environment
  2. Restart Node-RED to load the new nodes
  3. Find the nodes in the "symi" category in the palette
  4. Configure communication:
    • Drag a "symi config" node to configure TCP or Serial connection
    • Choose your communication method and set parameters
  5. Add devices: Drag device nodes and link them to your config

Configuration

TCP Network Configuration

Host: 192.168.1.100
Port: 8666

Serial Communication Configuration

Serial Port: /dev/ttyUSB0 (Linux) or COM1 (Windows)
Baud Rate: 9600, 19200, 38400, 115200
Data Bits: 5, 6, 7, 8
Stop Bits: 1, 2
Parity: None, Even, Odd

Device Parameters

  • Device UID: Unique identifier for each device (e.g., 1001, 2001)
  • Device Address: Bus address for the device (1-255)
  • Device Channel: Internal channel number for multi-channel devices

Available Nodes

Configuration Node

  • symi config: Communication configuration (TCP/Serial)

Device Nodes

  • climate board: Climate control and monitoring
  • switch board: Switch and relay control
  • light board: Lighting control and dimming
  • hvac board: HVAC system control
  • curtain board: Curtain and blind control
  • heating board: Floor heating control
  • ventilation board: Fresh air system control
  • scene board: Scene management
  • panel board: Touch panel interface

Protocol Details

SYMI Protocol (亖米)

15-byte frame structure supporting:

  • 0x01: Light devices (on/off, dimming, color)
  • 0x02: Air conditioning (temperature, mode, fan speed)
  • 0x03: Curtains (open/close, position)
  • 0x05: Floor heating (temperature control)
  • 0x06: Fresh air systems (fan control, air quality)

CLOWIRE Protocol

9-byte frame with CRC16 checksum for reliable communication.

HASSKIT Protocol

8-byte frame optimized for Home Assistant integration.

Examples

Basic Switch Control

// Configure TCP connection
{
  "connectionType": "tcp",
  "host": "192.168.1.100",
  "port": 8666
}

// Switch device
{
  "deviceUID": 1001,
  "deviceAddress": 1,
  "deviceChannel": 0,
  "protocol": "CLOWIRE"
}

Serial RS485 Setup

// Configure Serial connection
{
  "connectionType": "serial",
  "serialPort": "/dev/ttyUSB0",
  "baudRate": 9600,
  "dataBits": 8,
  "stopBits": 1,
  "parity": "none"
}

Requirements

  • Node.js: >= 14.0.0
  • Node-RED: >= 3.0.0

Dependencies

  • serialport: Serial communication support
  • @serialport/parser-readline: Serial data parsing
  • ws: WebSocket communication
  • async-lock: Asynchronous operation locking

Changelog

v2.2.0

  • ✅ Added serial communication support (RS485/RS232)
  • ✅ Dual communication mode (TCP + Serial)
  • ✅ Complete serial configuration options
  • ✅ Dynamic connection type switching
  • ✅ Preserved all original protocol functionality
  • ✅ Enhanced device configuration documentation

v2.1.0

  • Initial release with TCP communication
  • Support for 5 protocols and 10 device types
  • Home Assistant integration

License

MIT

Support