{"id":13604824,"url":"https://github.com/rdmtc/node-red-contrib-ccu","last_synced_at":"2025-07-26T06:32:29.716Z","repository":{"id":43465277,"uuid":"131439304","full_name":"rdmtc/node-red-contrib-ccu","owner":"rdmtc","description":"Node-RED Nodes for the Homematic CCU","archived":false,"fork":false,"pushed_at":"2022-12-30T19:29:24.000Z","size":2727,"stargazers_count":71,"open_issues_count":61,"forks_count":13,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-02T23:41:42.956Z","etag":null,"topics":["ccu","homematic","node-red","raspberrymatic","smarthome"],"latest_commit_sha":null,"homepage":"https://flows.nodered.org/node/node-red-contrib-ccu","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdmtc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-28T19:46:18.000Z","updated_at":"2025-06-06T14:43:27.000Z","dependencies_parsed_at":"2023-01-31T14:30:39.767Z","dependency_job_id":null,"html_url":"https://github.com/rdmtc/node-red-contrib-ccu","commit_stats":{"total_commits":521,"total_committers":13,"mean_commits":40.07692307692308,"dds":0.07677543186180424,"last_synced_commit":"e0d3cc522be0598884285d38d50c58647bcd48a2"},"previous_names":["hobbyquaker/node-red-contrib-ccu"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/rdmtc/node-red-contrib-ccu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmtc%2Fnode-red-contrib-ccu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmtc%2Fnode-red-contrib-ccu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmtc%2Fnode-red-contrib-ccu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmtc%2Fnode-red-contrib-ccu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdmtc","download_url":"https://codeload.github.com/rdmtc/node-red-contrib-ccu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmtc%2Fnode-red-contrib-ccu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267130069,"owners_count":24040390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ccu","homematic","node-red","raspberrymatic","smarthome"],"created_at":"2024-08-01T19:00:51.687Z","updated_at":"2025-07-26T06:32:29.270Z","avatar_url":"https://github.com/rdmtc.png","language":"JavaScript","funding_links":[],"categories":["Interfacing Software","Nodes"],"sub_categories":["Smarthome"],"readme":"# node-red-contrib-ccu\n\n[![NPM version](https://badge.fury.io/js/node-red-contrib-ccu.svg)](http://badge.fury.io/js/node-red-contrib-ccu)\n[![Dependencies Status](https://david-dm.org/rdmtc/node-red-contrib-ccu/status.svg)](https://david-dm.org/rdmtc/node-red-contrib-ccu)\n[![Build Status](https://travis-ci.org/rdmtc/node-red-contrib-ccu.svg?branch=master)](https://travis-ci.org/rdmtc/node-red-contrib-ccu)\n[![Coverage Status](https://coveralls.io/repos/github/rdmtc/node-red-contrib-ccu/badge.svg?branch=master)](https://coveralls.io/github/rdmtc/node-red-contrib-ccu?branch=master)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![License][mit-badge]][mit-url]\n\n\u003e Node-RED Nodes for the Homematic CCU\n\nWith these Nodes you can connect [Homematic](https://github.com/hobbyquaker/awesome-homematic) and \n[Node-RED](https://nodered.org/). Homematic is a series of smart home automation hardware from the manufacturer \n[eQ-3](http://www.eq-3.de/), popular especially in Germany.\n\n**⚠️ node-red-contrib-ccu \u003e= 3.0 needs Node-RED \u003e= 1.0.** If you're still on Node-RED 0.20 or lower you should use the \nlatest 2.x version of node-red-contrib-ccu.\n\nFor the communication with the CCU both RPC and ReGaHSS remote script are used. It's possible to connect to multiple \nCCUs from one Node-RED instance. RPC setValue calls can be comfortably complemented with ON_TIME and RAMP_TIME values\nand special nodes ease the control of displays and mp3 actuators. RPC events can be filtered comprehensively (even \nthrough regular expressions and also by rooms and functions). It's possible to start rega-programs and set \nrega-variables and last but not least there are nodes to execute arbitrary rega-scripts and RPC calls.\n\nThese nodes are included in [RedMatic](https://github.com/rdmtc/RedMatic) which ships Node-RED as an addon package \nfor installation on a Homematic CCU3 or RaspberryMatic.\n\nSome example flows can be found in the [RedMatic Wiki](https://github.com/rdmtc/RedMatic/wiki) (German language).\n\n__A modern Browser is required, Internet Explorer won't work.__\n\n__Starting with Version 3.x these Nodes need Node-RED \u003e= 1.0 to work correctly__\n\n## Configuration Examples\n\nThe communication with the Homematic CCU needs independent connections in two directions. Node-red-contrib-ccu connects to the CCU's interface listeners (e.g. 2001/TCP for BidCos-RF) while the CCU connects to node-red-contrib-ccu's BINRPC/XMLRPC listeners (2048/tcp and 2049/tcp in examples below).\n\n### NAT'd network\n\nIf Node-RED/node-red-contrib-ccu runs inside a Container or a VM with NAT'd network it's necessary to forward/expose the ports for connections _from_ the CCU _to_ node-red-contrib-ccu's callback listeners (example below for a Docker container: use options `-p 2048:2048 -p 2049:2049`in the docker run command). \n\n![schema-docker](docs/schema-docker.png)\n\n![ccu-config-docker](docs/ccu-config-docker.png)\n\nThe config option `Init address`will be used to tell the CCU on which Address node-red-contrib-ccu is reachable. As 172.17.0.20 is not reachable for the CCU the Hosts IP Address and port forwarding/exposal has to be used. As `Listen address` setting also `0.0.0.0` (which tells node-red-contrib-ccu to bind it's listeners to all available interfaces) would be possible. \n\n### piVCCU\n\nThis example shows a configuration for piVCCU and Node-RED running in containers with bridged networking.\n\n![schema-pivccu](docs/schema-pivccu.png)\n\n![ccu-config-pivccu](docs/ccu-config-pivccu.png)\n\n### debmatic\n\nIn this example both Node-RED and debmatic are installed on the same (possibly virtual) host.\n\n![schema-debmatic](docs/schema-debmatic.png)\n\n![ccu-config-debmatic](docs/ccu-config-debmatic.png)\n\n### Multiple CCUs\n\nWith the same logic as shown above, multiple CCUs can be managed within one Node-RED instance.\nThis will require two individual configuration nodes, in which the respective connection setting are provided.\n\n![schema-multiCCU](docs/schema-multiCCU.png)\n\n - `Listen address` typically is the same for both Configurations as it is determined by the host that is running Node-RED\n - `BINRPC listening port` and `XMLRPC listening port` need to be different across the two configurations. One configuration can use the defaults (2048/tcp and 2049/tcp), the other needs to use two new ports. node-red-contrib-ccu will make a proposal, but this can be modified, e.g. if the proposed ports are already used.\n - The examples for [NAT'd network](#NAT'd-network), [piVCCU](#piVCCU) and [debmatic](#debmatic) will apply likewise for multiple CCUs. This means, for running Node-RED within a docker, all BINRPC and XMLRPC ports must be forwarded, e.g. `-p 2048:2048 -p 2049:2049 -p 2061:2061 -p 2062:2062`\n\n\n## License\n\nMIT (c) Sebastian Raff and node-red-contrib-ccu contributors\n\n[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat\n[mit-url]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmtc%2Fnode-red-contrib-ccu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdmtc%2Fnode-red-contrib-ccu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmtc%2Fnode-red-contrib-ccu/lists"}