Hello,
I managed to register the device with your steps but even though it does connect and says it opens the door, it does not at the end.
Also, have you got a solution for notifications when someone rings and if possible with a snapshot ?
sorry but could you help out? i tried the whole day to get this working but i canāt . i never used node red before. i made the steps, i know how to make sensors and buttons, so i tried them but i donāt see how to make it work. i donāt know if the inject and function are right, i just did what you said but i feel like missing steps and ai also doesnt really help
i didnāt change anything in inject, i just connected to function:
// Code added here will be run once
// whenever the node is started.
const logger = log4js.getLogger("out");
logger.level = "info";
node.log("Trying to connect...");
const client = new comelitClient.IconaBridgeClient("192.xxxxxxx", 64100, logger);
await client.connect();
node.log("Connected!");
try {
const code = await client.authenticate("xxxxxxxxxxxxxxxxxxx");
if (code === 200) {
const addressBook = await client.getConfig("none", false);
node.warn(addressBook);
const serverInfo = await client.getServerInfo(false);
node.warn(serverInfo);
const addressBookAll = await client.getConfig("all", false);
node.warn(addressBookAll);
const item = addressBookAll.vip["user-parameters"][
"opendoor-address-book"
].find((doorItem) => doorItem.name === "front door");
if (item) {
node.warn(
`Opening door ${item.name} at address ${item["apt-address"]} and index ${item["output-index"]}`
);
node.warn(await client.getServerInfo());
await client.openDoor(addressBookAll.vip, item);
} else {
logger.error(
`No door with name ${"front door"} found in config. Available door names are: ${addressBookAll.vip[
"user-parameters"
]["opendoor-address-book"]
.map((d) => d.name)
.join(", ")}`
);
}
await client.shutdown();
} else {
node.error(
`Error while authenticating: server responded with code ${code}`
);
}
} catch (e) {
node.error("Error while executing openDoor command", e);
} finally {
await client.shutdown();
}
return msg;
You could have a look at the protocols (Home Assistant ā Settings ā System ā Protocol and select Node Red at the top right corner). You should see something like:
12 Jul 21:46:40 - [info] [function:Open door] Connected!
12 Jul 21:46:40 - [warn] [function:Open door] get-configuration
12 Jul 21:46:40 - [warn] [function:Open door] server-info
12 Jul 21:46:40 - [warn] [function:Open door] get-configuration
12 Jul 21:46:40 - [warn] [function:Open door] [object Object]
12 Jul 21:46:40 - [warn] [function:Open door] Opening door Entrance lock at address SB100001 and index 1
12 Jul 21:46:40 - [warn] [function:Open door] server-info
This might help to figure out where and what goes wrong in your case.
Can you take a look at the protocol as well? Maybe some more node.log() statements help to figure out why the door wonāt open.
Unfortunately I havenāt found a way to get notifications if the door ringsā¦
It is a bit strange that your log shows nothing at all. It should at least display some logs from the starting procedure, like:
Welcome to Node-RED
===================
11 Jul 06:45:26 - [info] Node-RED version: v4.0.2
11 Jul 06:45:26 - [info] Node.js version: v18.20.3
11 Jul 06:45:26 - [info] Linux 6.6.31-haos-raspi arm64 LE
[...]
Is Node-Red really running? Do you have some filters applied that only error messages are shown and no info and warn messages?
yes it is running:
this is the config:
theme: default
http_node:
username: xxxxx
password: xxxxxxxxx1
http_static:
username: xxxxx
password: xxxxxxxxx1
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
system_packages:
npm_packages:
- comelit-client
init_commands:
i didnt change anything here
and this is the code in function:
// Code added here will be run once
// whenever the node is started.
const logger = log4js.getLogger("out");
logger.level = "info";
node.log("Trying to connect...");
const client = new comelitClient.IconaBridgeClient("192.xxx.xxx.xxx", 64100, logger);
await client.connect();
node.log("Connected!");
try {
const code = await client.authenticate("0xxxxxxxxxxxx09cf0a5xxxxxx5");
if (code === 200) {
const addressBook = await client.getConfig("none", false);
node.warn(addressBook);
const serverInfo = await client.getServerInfo(false);
node.warn(serverInfo);
const addressBookAll = await client.getConfig("all", false);
node.warn(addressBookAll);
const item = addressBookAll.vip["user-parameters"][
"opendoor-address-book"
].find((doorItem) => doorItem.name === "front door");
if (item) {
node.warn(
`Opening door ${item.name} at address ${item["apt-address"]} and index ${item["output-index"]}`
);
node.warn(await client.getServerInfo());
await client.openDoor(addressBookAll.vip, item);
} else {
logger.error(
`No door with name ${"front door"} found in config. Available door names are: ${addressBookAll.vip[
"user-parameters"
]["opendoor-address-book"]
.map((d) => d.name)
.join(", ")}`
);
}
await client.shutdown();
} else {
node.error(
`Error while authenticating: server responded with code ${code}`
);
}
} catch (e) {
node.error("Error while executing openDoor command", e);
} finally {
await client.shutdown();
}
return msg;
From what I see everything looks fine. However, it would be interesting to see the Node Red log because then we could exactly see what is going on there. Iām wondering why loggin doesnāt workā¦
By the way: Are you sure āfront doorā is the right name of the door? For me eg. itās āEntrance lockā.
no the name of the door is SB100001, but i also tried that in naming part. i changed it now to the original name and tried with an helper to create a door opener button but it doesnāt work unfortunately, i also donāt see a new entity or something. what did you do after step 9?
Hi, good to see, that there is already an integration for Comlit devices. We have a new office. This office contains a Comelit Ethernet Adapter 1406A4. Over this adapter we can view the video camera of the whole office building and open the main door. This can be done with this App.
Does anybody know, if this adapter is compatible with Home Assistant?
Hi @joeyboey what Node Red addon are you referring to?
Iāve searched in the palette but I canāt find anything to install with the term ācomelitā.
Thanks!
Hi all Comelit users, Iād like to ask a question upstream the HA integration, related to the intercom install.
A company is about to install in our building a Comelit system and I have to choose between a few intercom models, but they have scalpers prices!
Can I opt for the cheaper 2738W now, and easily swap it for a used 6721W or 6741W later without telling the installer ?
Thanks !
Is it now possible to use the Comelit 6741W with Home Assistant? My primary concern is being able to open the door. I donāt want to use that terrible app every time. Iāve seen that it works with Ring Intercom, but I just wanted to ask if there are any other methods available.
Hi everyone, I also have a 6741w intercom and managed to setup the trigger via NODE-Red, however I am facing the following issue, if I wake up the intercom from the inside and trigger the open door command it works as expected, but if I do it after ringing the doorbell from the outside I get the following error in the logs:
[ERROR] out - Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:159:15)
at writeGeneric (node:internal/stream_base_commons:150:3)
at Socket._writeGeneric (node:net:971:11)
at Socket._write (node:net:983:8)
at doWrite (node:internal/streams/writable:598:12)
at clearBuffer (node:internal/streams/writable:783:7)
at Socket.Writable.uncork (node:internal/streams/writable:531:7)
at drainHandler (/config/node_modules/promise-writable/src/promise-writable.ts:139:18)
at /config/node_modules/promise-writable/src/promise-writable.ts:166:7
at new Promise (<anonymous>) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
My device is in building mode btw. Has anyone managed to trigger the device from the outside during a ring call session?
Thanks in advance
Hey everyone,
Iāve been following this thread for quite some time now and have been dealing with the same Comelit integration challenges. Now, Iāve finally created a native Home Assistant component that might help.
What it does: Connects directly to Comelit intercoms (ICONA Bridge protocol) to control doors/gates. No ring notifications or video/audio support yet, but door opening works reliably.
GitHub: GitHub - nicolas-fricke/ha-component-comelit-intercom: Custom Add-Ons for Home Assistant
Installation:
- HACS: Add
https://github.com/nicolas-fricke/ha-component-comelit-intercomas custom repository and select āIntegrationā (see docs) and install the Comelit Intercom integration - Manual: Copy the custom_components/comelit_intercom folder to your HA config (it should be located under
config/custom_components/comelit_integration) - After either step, restart your HA
- Go to āSettingsā ā āDevices & servicesā ā āAdd Integrationā, there search for āComelit Intercomā (donāt confuse it with the āComelit SimpleHomeā one).
Setup: Add the integration in HA and simply enter your intercomās IP. Itāll try to extract the token automatically (works if you havenāt changed the default ācomelitā password). If the automatic extraction doesnāt work but you know your token (e.g. from the node-red workflow), just enter it right at setup.
Before, I was using a custom setup with madchickenās comelit-client in Docker with an MQTT layer, but it wasnāt super stable, especially after HA restarts. This is a Python rewrite that runs natively in HA. Itās been built with Claude Code (AI assistant) based on madchickenās protocol work.
Itās been stable for me but needs more testing. Issues and PRs welcome. I would especially appreciate testing on different Comelit models.
Let me know if it works for you!
Amazing work! Iāve just installed and it works great. The automatic token extraction didnāt work (even if I had the default password) but following the instructions itās easy to get it manually
Hi, I have a Comelit 6741w Version: 2.1.0. I installed the Comelit Intercom Integration on the latest HA 2025.8.3. The feature only works successfully the first time I press the button. When I close the gate and try to open it again, it doesnāt work anymore. Is there any test I can make ?
Thank you for this. Worked perfectly. I didnāt try auto discovery, I just copied the token from node-red and finally disabled node-red.
Works for me as well ! Thanks ![]()
Sorry for not getting back before. This was reported by a few people, but the latest version published about a month ago should have fixed the issue
Please let me know if you still have issues.


