Doorman icon indicating copy to clipboard operation
Doorman copied to clipboard

Support for Koch TC30

Open sebastianfriedrichwagner-beep opened this issue 7 months ago • 8 comments

Description

The detection of the TC30 fails according to the logs.

Group: Indoor Station
Data received: 1100D906
Note: Please open an issue and provide your logs in order to implement support for this device model.

Label and setup of the TC30:

Image

Logs

16:52:28
[I]
[main:1048]
Reset saved setup data
16:52:28
[I]
[main:378]
Setup Step 1: Waiting for door or floor call.
16:53:21
[I]
[tc_bus:128]
Received Telegram: FLOOR_CALL (32-bit, 0x15A93341, 15A93341)
16:53:21
[I]
[tc_bus:128]
  Address: 0
16:53:21
[I]
[tc_bus:128]
  Payload: 0x0
16:53:21
[I]
[tc_bus:128]
  Serial-Number: 370995
16:53:21
[I]
[tc_bus:128]
  Response: YES
16:53:21
[I]
[tc_bus:128]
Received Telegram: ACK (16-bit, 0x00000001, 01)
16:53:21
[I]
[tc_bus:128]
  Address: 0
16:53:21
[I]
[tc_bus:128]
  Payload: 0x1
16:53:21
[I]
[tc_bus:128]
  Serial-Number: 0
16:53:21
[I]
[tc_bus:128]
  Response: YES
16:53:24
[I]
[tc_bus_device:736]
Identify device:
16:53:24
[I]
[tc_bus_device:736]
  Group: Indoor Station (0)
16:53:24
[I]
[tc_bus_device:736]
  Serial Number: 370995
16:53:24
[I]
[tc_bus:202]
Sending Telegram: SELECT_DEVICE_GROUP (16-bit, 0x00005800, 5800)
16:53:24
[I]
[tc_bus:202]
  Address: 0
16:53:24
[I]
[tc_bus:202]
  Payload: 0x0
16:53:24
[I]
[tc_bus:202]
  Serial-Number: 0
16:53:24
[I]
[tc_bus:202]
  Response: NO
16:53:24
[I]
[tc_bus:202]
Sending Telegram: REQUEST_VERSION (32-bit, 0x55A933C0, 55A933C0)
16:53:24
[I]
[tc_bus:202]
  Address: 0
16:53:24
[I]
[tc_bus:202]
  Payload: 0x0
16:53:24
[I]
[tc_bus:202]
  Serial-Number: 370995
16:53:24
[I]
[tc_bus:202]
  Response: NO
16:53:25
[I]
[tc_bus_device:748]
Identify device:
16:53:25
[I]
[tc_bus_device:748]
  Group: Indoor Station (1)
16:53:25
[I]
[tc_bus_device:748]
  Serial Number: 370995
16:53:25
[I]
[tc_bus:202]
Sending Telegram: SELECT_DEVICE_GROUP (16-bit, 0x00005801, 5801)
16:53:25
[I]
[tc_bus:202]
  Address: 0
16:53:25
[I]
[tc_bus:202]
  Payload: 0x1
16:53:25
[I]
[tc_bus:202]
  Serial-Number: 0
16:53:25
[I]
[tc_bus:202]
  Response: NO
16:53:25
[I]
[tc_bus:119]
Received Data Telegram:
16:53:25
[I]
[tc_bus:119]
  Payload: 0x00000001
16:53:25
[I]
[tc_bus:119]
  Response: YES
16:53:25
[I]
[tc_bus:202]
Sending Telegram: REQUEST_VERSION (32-bit, 0x55A933C0, 55A933C0)
16:53:25
[I]
[tc_bus:202]
  Address: 0
16:53:25
[I]
[tc_bus:202]
  Payload: 0x0
16:53:25
[I]
[tc_bus:202]
  Serial-Number: 370995
16:53:25
[I]
[tc_bus:202]
  Response: NO
16:53:25
[I]
[tc_bus:119]
Received Data Telegram:
16:53:25
[I]
[tc_bus:119]
  Payload: 0x1100D906
16:53:25
[I]
[tc_bus:119]
  Response: YES
16:53:25
[E]
[tc_bus_device:450]
Unable to identify device:
16:53:25
[E]
[tc_bus_device:450]
  Group: Indoor Station
16:53:25
[E]
[tc_bus_device:450]
  Data received: 1100D906
16:53:25
[E]
[tc_bus_device:450]
  Note: Please open an issue and provide your logs in order to implement support for this device model.

Which version of the ESPHome Doorman firmware config are you running?

2026.1.0

How do you manage your Doorman's updates?

OTA Updates

If you're using an ESPHome YAML config, which version of ESPHome are you running?

No response

ESPHome Config


Ein erster Ansatz:

components/tc_bus_device/__init__.py:153  "TCS IMM1500 / Koch TC30",
components/tc_bus_device/util.cpp:122: + else if (strcmp(model_key, "100") == 0) return MODEL_IS_IMM1500;
components/tc_bus_device/util.cpp:273: {MODEL_IS_IMM1500, "TCS IMM1500 / Koch TC30"},

Ich bekomme dann im Log:

23:10:37
[I]
[tc_bus_device:432]
Device identified:
23:10:37
[I]
[tc_bus_device:432]
  Model: TCS IMM1500 / Koch TC30 (Indoor Station)
23:10:37
[I]
[tc_bus_device:432]
  Version: 1
23:10:37
[I]
[tc_bus_device:432]
  Firmware: 9.0.6
23:10:37
[D]
[tc_bus_device:151]
Reserve Memory Buffer
23:10:37
[D]
[tc_bus_device:165]
Schedule flow: Memory reading (changed model - from none)
23:10:37
[D]
[tc_bus_device:804]
Flow enqueued.
23:10:37
[D]
[main:302]
Running set_unused_entities_internal script
23:10:37
[D]
[main:149]
Conditionally set LED State
23:10:37
[I]
[configo:110]
Send data to Configo Software: "%1100D906"
23:10:37
[I]
[remote.raw:027]
Received Raw: -5985, 3999, -2001, 3999, -2001, 3999, -2001, 3999, -2001, 4000, -4000, 2000, -4000, 1999, -4001, 2000, -2000, 3999, -2001, 1999, -4001, 3999, -2001, 1999, -4001, 4000, -4000, 3999, -2001, 2000, -2000, 1999, -2001, 1999, -4001, 2556, 
23:10:37
[I]
[remote.raw:036]
  -6652, 4467, -2194, 2274, -2194, 4469, -2194, 2274, -2194, 4470, -2195, 2274, -2194, 2274, -2194, 2274, -2194, 2282, -4423, 4470, -2194, 4479, -4422, 2274, -2194, 4469, -2194, 2274, -2194, 2274, -2194, 4478, -4423, 2256, -2194
23:10:38
[I]
[safe_mode:091]
Boot seems successful; resetting boot loop counter
23:10:38
[D]
[tc_bus_device:831]
Processing queued flow.
23:10:38
[I]
[tc_bus_device:898]
Read device memory:
23:10:38
[I]
[tc_bus_device:898]
  Model: TCS IMM1500 / Koch TC30 (Indoor Station)
23:10:38
[I]
[tc_bus_device:898]
  Serial Number: 370995
23:10:38
[I]
[tc_bus:202]
Sending Telegram: SELECT_DEVICE_GROUP (16-bit, 0x00005800, 5800)
23:10:38
[I]
[tc_bus:202]
  Address: 0
23:10:38
[I]
[tc_bus:202]
  Payload: 0x0
23:10:38
[I]
[tc_bus:202]
  Serial-Number: 0
23:10:38
[I]
[tc_bus:202]
  Response: NO
23:10:38
[I]
[configo:110]
Send data to Configo Software: " 5800"
23:10:38
[I]
[remote.raw:036]
Received Raw: -5985, 1999, -2001, 4000, -2000, 3999, -4001, 1999, -2001, 1999, -2001, 2000, -2000, 1999, -2001, 2000, -2000, 2000, -2000
23:10:38
[I]
[tc_bus:202]
Sending Telegram: SELECT_MEMORY_PAGE (32-bit, 0x8105A933, 8105A933)
23:10:38
[I]
[tc_bus:202]
  Address: 0
23:10:38
[I]
[tc_bus:202]
  Payload: 0x0
23:10:38
[I]
[tc_bus:202]
  Serial-Number: 370995
23:10:38
[I]
[tc_bus:202]
  Response: NO
23:10:38
[I]
[configo:110]
Send data to Configo Software: " 8105A933"
23:10:38
[I]
[remote.raw:036]
Received Raw: -5985, 3999, -4001, 2000, -2000, 1999, -2001, 1999, -2001, 4000, -2000, 2000, -2000, 1999, -2001, 3999, -2001, 4000, -4000, 2000, -4000, 1999, -4001, 1999, -2001, 3999, -2001, 1999, -4001, 3999, -2001, 1999, -4001, 4000, -4000
23:10:39
[I]
[tc_bus:202]
Sending Telegram: READ_MEMORY_BLOCK (16-bit, 0x00008400, 8400)
23:10:39
[I]
[tc_bus:202]
  Address: 0
23:10:39
[I]
[tc_bus:202]
  Payload: 0x0
23:10:39
[I]
[tc_bus:202]
  Serial-Number: 0
23:10:39
[I]
[tc_bus:202]
  Response: NO
23:10:39
[D]
[tc_bus:218]
  Description: Read 4 memory blocks, from 0 to 4.
23:10:39
[I]
[configo:110]
Send data to Configo Software: " 8400"
23:10:39
[I]
[remote.raw:036]
Received Raw: -5985, 1999, -4001, 1999, -2001, 1999, -2001, 4000, -2000, 1999, -2001, 1999, -2001, 1999, -2001, 2000, -2000, 1999, -4001
23:10:39
[D]
[preferences:136]
Writing 5 items: 2 cached, 3 written, 0 failed
23:10:40
[D]
[main:149]
Conditionally set LED State
23:10:40
[I]
[main:342]
Setup completed. You can now continue with the Doorbells.
23:10:40
[E]
[tc_bus_device:918]
First memory block not received in time. Reading canceled!

SebiGo avatar Apr 17 '26 20:04 SebiGo

Die scheint mir wohl durchgerutscht zu sein 🙈 Das wäre device group 1 - deshalb schlägt das lesen des speichers fehl. Da muss noch der Teil angepasst werden auf 1:

case MODEL_IS_IMM1500:
    modelData.device_group = 0; // muss 1 sein
    modelData.memory_size = 32;
    modelData.capabilities |= CAP_RINGTONE_ENTRANCE_DOOR_CALL;
    modelData.capabilities |= CAP_RINGTONE_INTERNAL_CALL;
    modelData.capabilities |= CAP_RINGTONE_FLOOR_CALL;
    modelData.capabilities |= CAP_RINGTONE_SECOND_ENTRANCE_DOOR_CALL;
    modelData.capabilities |= CAP_VOLUME_RINGTONE;
    modelData.capabilities |= CAP_VOLUME_HANDSET_DOOR_CALL;
    modelData.capabilities |= CAP_AS_ADDRESS_DIVIDER;
    modelData.capabilities |= CAP_RINGTONE_MUTE;
    break;

Danach sollte es dann eigentlich funktionieren :)

AzonInc avatar Apr 17 '26 21:04 AzonInc

Ich teste es morgen, danke.

SebiGo avatar Apr 17 '26 21:04 SebiGo

Und wegen dem PR würde ich noch warten bis ich das vom s3-mini-extension branch in dev merge, danach kann man deine änderung mit in dev übernehmen

AzonInc avatar Apr 17 '26 21:04 AzonInc

Jetzt funktioniert es ohne Fehlermeldung. Ich habe den PR korrigiert. Du kannst den PR nach belieben mergen oder verwerfen. Danke dir, coole Sache, dieses Projekt!

SebiGo avatar Apr 18 '26 05:04 SebiGo

Ich würde deinen Beitrag gern würdigen Du steht dann auch automatisch auf der creators seite als contrubutor wenn PR dabei ist :)

AzonInc avatar Apr 18 '26 09:04 AzonInc

Habe auch ein Koch TC30, aber bei mir steht Data received: 1100D907

21:23:19
[I]
[main:1048]
Reset saved setup data
21:23:19
[I]
[main:378]
Setup Step 1: Waiting for door or floor call.
21:23:57
[I]
[tc_bus:128]
Received Telegram: FLOOR_CALL (32-bit, 0x10713C41, 10713C41)
21:23:57
[I]
[tc_bus:128]
  Address: 0
21:23:57
[I]
[tc_bus:128]
  Payload: 0x0
21:23:57
[I]
[tc_bus:128]
  Serial-Number: 28988
21:23:57
[I]
[tc_bus:128]
  Response: YES
21:23:57
[I]
[tc_bus:128]
Received Telegram: ACK (16-bit, 0x00000001, 01)
21:23:57
[I]
[tc_bus:128]
  Address: 0
21:23:57
[I]
[tc_bus:128]
  Payload: 0x1
21:23:57
[I]
[tc_bus:128]
  Serial-Number: 0
21:23:57
[I]
[tc_bus:128]
  Response: YES
21:24:00
[I]
[tc_bus_device:736]
Identify device:
21:24:00
[I]
[tc_bus_device:736]
  Group: Indoor Station (0)
21:24:00
[I]
[tc_bus_device:736]
  Serial Number: 28988
21:24:00
[I]
[tc_bus:202]
Sending Telegram: SELECT_DEVICE_GROUP (16-bit, 0x00005800, 5800)
21:24:00
[I]
[tc_bus:202]
  Address: 0
21:24:00
[I]
[tc_bus:202]
  Payload: 0x0
21:24:00
[I]
[tc_bus:202]
  Serial-Number: 0
21:24:00
[I]
[tc_bus:202]
  Response: NO
21:24:01
[I]
[tc_bus:202]
Sending Telegram: REQUEST_VERSION (32-bit, 0x50713CC0, 50713CC0)
21:24:01
[I]
[tc_bus:202]
  Address: 0
21:24:01
[I]
[tc_bus:202]
  Payload: 0x0
21:24:01
[I]
[tc_bus:202]
  Serial-Number: 28988
21:24:01
[I]
[tc_bus:202]
  Response: NO
21:24:01
[I]
[tc_bus_device:748]
Identify device:
21:24:01
[I]
[tc_bus_device:748]
  Group: Indoor Station (1)
21:24:01
[I]
[tc_bus_device:748]
  Serial Number: 28988
21:24:01
[I]
[tc_bus:202]
Sending Telegram: SELECT_DEVICE_GROUP (16-bit, 0x00005801, 5801)
21:24:01
[I]
[tc_bus:202]
  Address: 0
21:24:01
[I]
[tc_bus:202]
  Payload: 0x1
21:24:01
[I]
[tc_bus:202]
  Serial-Number: 0
21:24:01
[I]
[tc_bus:202]
  Response: NO
21:24:01
[I]
[tc_bus:119]
Received Data Telegram:
21:24:01
[I]
[tc_bus:119]
  Payload: 0x00000001
21:24:01
[I]
[tc_bus:119]
  Response: YES
21:24:02
[I]
[tc_bus:202]
Sending Telegram: REQUEST_VERSION (32-bit, 0x50713CC0, 50713CC0)
21:24:02
[I]
[tc_bus:202]
  Address: 0
21:24:02
[I]
[tc_bus:202]
  Payload: 0x0
21:24:02
[I]
[tc_bus:202]
  Serial-Number: 28988
21:24:02
[I]
[tc_bus:202]
  Response: NO
21:24:02
[I]
[tc_bus:119]
Received Data Telegram:
21:24:02
[I]
[tc_bus:119]
  Payload: 0x1100D907
21:24:02
[I]
[tc_bus:119]
  Response: YES
21:24:02
[E]
[tc_bus_device:450]
Unable to identify device:
21:24:02
[E]
[tc_bus_device:450]
  Group: Indoor Station
21:24:02
[E]
[tc_bus_device:450]
  Data received: 1100D907
21:24:02
[E]
[tc_bus_device:450]
  Note: Please open an issue and provide your logs in order to implement support for this device model.
Image Image

samuelba avatar May 14 '26 19:05 samuelba

hab den PR getested und funktioniert 👍

samuelba avatar May 15 '26 19:05 samuelba