# Connecting NodeRed to a CCU (Homematic)

**URL:** <https://discourse.nodered.org/t/connecting-nodered-to-a-ccu-homematic/73129>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [3 January 2023 20:14 UTC](https://discourse.nodered.org/t/connecting-nodered-to-a-ccu-homematic/73129 "2023-01-03T20:14:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prkf](https://avatars.discourse-cdn.com/v4/letter/p/43a26b/32.png) [@prkf](https://discourse.nodered.org/u/prkf)\
**Post date:** [3 January 2023 20:14 UTC](https://discourse.nodered.org/t/connecting-nodered-to-a-ccu-homematic/73129/1 "2023-01-03T20:14:57Z")

</div>

Hello, I am using NodeRed inside the Homeassistant. Beside that there is also an Homematic Addon installed.

Now I like to connect NodeRed with the Homematic CCU with the help of the “nodered contrib ccu”.

([GitHub - ptweety/node-red-contrib-ccu: Node-RED Nodes for the Homematic CCU](https://github.com/ptweety/node-red-contrib-ccu))

In the configuration of the node I use “localhost” for the CCU address and the ip 127.0.0.1 for the listen address.

For the ports I use the following:

BINRPC: 2048  
XMLRPC: 2049

The result after deployment is, that the node indicator remain red and it shows "disconnected ".

I belive I need to do some kind of portforwarding for these ports in the NodeRed Config to make it work but I have no idea where.

Do you have any idea or a nice tutorial to help?

Thanks in advance

Paul

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 January 2023 23:17 UTC](https://discourse.nodered.org/t/connecting-nodered-to-a-ccu-homematic/73129/2 "2023-01-03T23:17:18Z")

</div>

Yes. Home Assistant runs Node-RED inside a docker container, you may need to ask on the HA forum how they launch it as that is where you will need to open the ports.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 March 2023 23:18 UTC](https://discourse.nodered.org/t/connecting-nodered-to-a-ccu-homematic/73129/3 "2023-03-04T23:18:14Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
