Ich habe den Klingelsignalsensor hm-sen-pcb-db erfolgreich mit dem mp3-Gong hm-cfm-ou-tw über openHAB verbunden.
Funktioniert, hat aber eine Verzögerung. Bei einer Direktverknüpfung geht es schneller.
Allerdings finde ich es nett, den Klingelton von Zeit zu Zeit ändern. Das kann ich komfortabel, wenn alles in openHAB ist, bei einer Direktverbindung kann ich das bisher nur über den Homematic Konfigurator. Komfortabel ist anders.
Ist es möglich bzw. wird nicht davon abgeraten, die Parameter einer bestehenden Direktverknüpfung mittels Skripts zu verändern?
So sehen die Parameter im Konfigurator aus:
So sieht der Link-Block des MP3-Gongs aus:
LINK
{
Channel: 2
{
Address: 0x3d0bff
{
Remote channel: 1
{
[UI_HINT]: 31
[SHORT_ON_TIME]: ff
[SHORT_ONDELAY_TIME]: 00
[SHORT_OFF_TIME]: ff
[SHORT_OFFDELAY_TIME]: 00
[SHORT_JT_ONDELAY]: 01
[SHORT_JT_ON]: 00
[SHORT_JT_OFFDELAY]: 01
[SHORT_CT_OFFDELAY]: 01
[SHORT_COND_VALUE_HI]: b4
[SHORT_ACT_TYPE]: 03
[SHORT_ACT_NUM]: 01
[SHORT_ACT_INTENS]: ff
[SHORT_CT_ON]: 01
[LONG_CT_ONDELAY]: 00
[LONG_OFF_TIME_MODE]: 00
[LONG_CT_OFF]: 00
[LONG_COND_VALUE_LO]: 32
[SHORT_COND_VALUE_LO]: 32
[LONG_CT_OFFDELAY]: 00
[LONG_OFFDELAY_TIME]: 00
[LONG_COND_VALUE_HI]: 64
[SHORT_JT_OFF]: 01
[LONG_ACT_TYPE]: 03
[LONG_ACT_INTENS]: ff
[SHORT_CT_ONDELAY]: 01
[LONG_ACT_NUM]: 01
[LONG_ACTION_TYPE]: 00
[LONG_JT_OFF]: 06
[SHORT_ON_TIME_MODE]: 00
[LONG_ONDELAY_TIME]: 00
[LONG_JT_ONDELAY]: 00
[SHORT_OFF_TIME_MODE]: 00
[LONG_CT_ON]: 00
[LONG_MULTIEXECUTE]: 01
[SHORT_CT_OFF]: 01
[LONG_OFF_TIME]: ff
[LONG_JT_OFFDELAY]: 00
[LONG_ON_TIME_MODE]: 00
[LONG_JT_ON]: 00
[LONG_ON_TIME]: ff
[SHORT_ACTION_TYPE]: 01
}
}
Address: 0x5ae927
{
Remote channel: 2
{
[UI_HINT]: 00
[SHORT_ON_TIME]: ff
[SHORT_ONDELAY_TIME]: 00
[SHORT_OFF_TIME]: ff
[SHORT_OFFDELAY_TIME]: 00
[SHORT_JT_ONDELAY]: 00
[SHORT_JT_ON]: 00
[SHORT_JT_OFFDELAY]: 00
[SHORT_CT_OFFDELAY]: 00
[SHORT_COND_VALUE_HI]: 64
[SHORT_ACT_TYPE]: 00
[SHORT_ACT_NUM]: 01
[SHORT_ACT_INTENS]: ff
[SHORT_CT_ON]: 00
[LONG_CT_ONDELAY]: 00
[LONG_OFF_TIME_MODE]: 00
[LONG_CT_OFF]: 00
[LONG_COND_VALUE_LO]: 32
[SHORT_COND_VALUE_LO]: 32
[LONG_CT_OFFDELAY]: 00
[LONG_OFFDELAY_TIME]: 00
[LONG_COND_VALUE_HI]: 64
[SHORT_JT_OFF]: 01
[LONG_ACT_TYPE]: 00
[LONG_ACT_INTENS]: ff
[SHORT_CT_ONDELAY]: 00
[LONG_ACT_NUM]: 01
[LONG_ACTION_TYPE]: 01
[LONG_JT_OFF]: 01
[SHORT_ON_TIME_MODE]: 00
[LONG_ONDELAY_TIME]: 00
[LONG_JT_ONDELAY]: 00
[SHORT_OFF_TIME_MODE]: 00
[LONG_CT_ON]: 00
[LONG_MULTIEXECUTE]: 01
[SHORT_CT_OFF]: 00
[LONG_OFF_TIME]: ff
[LONG_JT_OFFDELAY]: 00
[LONG_ON_TIME_MODE]: 00
[LONG_JT_ON]: 00
[LONG_ON_TIME]: ff
[SHORT_ACTION_TYPE]: 01
}
Remote channel: 1
{
[UI_HINT]: 00
[SHORT_ON_TIME]: ff
[SHORT_ONDELAY_TIME]: 00
[SHORT_OFF_TIME]: ff
[SHORT_OFFDELAY_TIME]: 00
[SHORT_JT_ONDELAY]: 06
[SHORT_JT_ON]: 00
[SHORT_JT_OFFDELAY]: 06
[SHORT_CT_OFFDELAY]: 00
[SHORT_COND_VALUE_HI]: 64
[SHORT_ACT_TYPE]: 00
[SHORT_ACT_NUM]: 01
[SHORT_ACT_INTENS]: ff
[SHORT_CT_ON]: 00
[LONG_CT_ONDELAY]: 00
[LONG_OFF_TIME_MODE]: 00
[LONG_CT_OFF]: 00
[LONG_COND_VALUE_LO]: 32
[SHORT_COND_VALUE_LO]: 32
[LONG_CT_OFFDELAY]: 00
[LONG_OFFDELAY_TIME]: 00
[LONG_COND_VALUE_HI]: 64
[SHORT_JT_OFF]: 06
[LONG_ACT_TYPE]: 00
[LONG_ACT_INTENS]: ff
[SHORT_CT_ONDELAY]: 00
[LONG_ACT_NUM]: 01
[LONG_ACTION_TYPE]: 01
[LONG_JT_OFF]: 06
[SHORT_ON_TIME_MODE]: 00
[LONG_ONDELAY_TIME]: 00
[LONG_JT_ONDELAY]: 00
[SHORT_OFF_TIME_MODE]: 00
[LONG_CT_ON]: 00
[LONG_MULTIEXECUTE]: 01
[SHORT_CT_OFF]: 00
[LONG_OFF_TIME]: ff
[LONG_JT_OFFDELAY]: 00
[LONG_ON_TIME_MODE]: 00
[LONG_JT_ON]: 00
[LONG_ON_TIME]: ff
[SHORT_ACTION_TYPE]: 01
}
}
Address: 0x4e02a0
{
Remote channel: 1
{
[UI_HINT]: 31
[SHORT_ON_TIME]: ff
[SHORT_ONDELAY_TIME]: 00
[SHORT_OFF_TIME]: ff
[SHORT_OFFDELAY_TIME]: 00
[SHORT_JT_ONDELAY]: 00
[SHORT_JT_ON]: 00
[SHORT_JT_OFFDELAY]: 00
[SHORT_CT_OFFDELAY]: 00
[SHORT_COND_VALUE_HI]: 64
[SHORT_ACT_TYPE]: 06
[SHORT_ACT_NUM]: 01
[SHORT_ACT_INTENS]: ff
[SHORT_CT_ON]: 00
[LONG_CT_ONDELAY]: 00
[LONG_OFF_TIME_MODE]: 00
[LONG_CT_OFF]: 00
[LONG_COND_VALUE_LO]: 32
[SHORT_COND_VALUE_LO]: 32
[LONG_CT_OFFDELAY]: 00
[LONG_OFFDELAY_TIME]: 00
[LONG_COND_VALUE_HI]: 64
[SHORT_JT_OFF]: 01
[LONG_ACT_TYPE]: 06
[LONG_ACT_INTENS]: ff
[SHORT_CT_ONDELAY]: 00
[LONG_ACT_NUM]: 01
[LONG_ACTION_TYPE]: 01
[LONG_JT_OFF]: 01
[SHORT_ON_TIME_MODE]: 00
[LONG_ONDELAY_TIME]: 00
[LONG_JT_ONDELAY]: 00
[SHORT_OFF_TIME_MODE]: 00
[LONG_CT_ON]: 00
[LONG_MULTIEXECUTE]: 01
[SHORT_CT_OFF]: 00
[LONG_OFF_TIME]: ff
[LONG_JT_OFFDELAY]: 00
[LONG_ON_TIME_MODE]: 00
[LONG_JT_ON]: 00
[LONG_ON_TIME]: ff
[SHORT_ACTION_TYPE]: 01
}
}
Address: 0x4bbac4
{
}
Address: 0x4e0298
{
Remote channel: 1
{
[UI_HINT]: 31
[SHORT_ON_TIME]: ff
[SHORT_ONDELAY_TIME]: 00
[SHORT_OFF_TIME]: ff
[SHORT_OFFDELAY_TIME]: 00
[SHORT_JT_ONDELAY]: 00
[SHORT_JT_ON]: 00
[SHORT_JT_OFFDELAY]: 00
[SHORT_CT_OFFDELAY]: 00
[SHORT_COND_VALUE_HI]: 64
[SHORT_ACT_TYPE]: 05
[SHORT_ACT_NUM]: 01
[SHORT_ACT_INTENS]: f0
[SHORT_CT_ON]: 00
[LONG_CT_ONDELAY]: 00
[LONG_OFF_TIME_MODE]: 00
[LONG_CT_OFF]: 00
[LONG_COND_VALUE_LO]: 32
[SHORT_COND_VALUE_LO]: 32
[LONG_CT_OFFDELAY]: 00
[LONG_OFFDELAY_TIME]: 00
[LONG_COND_VALUE_HI]: 64
[SHORT_JT_OFF]: 01
[LONG_ACT_TYPE]: 05
[LONG_ACT_INTENS]: f0
[SHORT_CT_ONDELAY]: 00
[LONG_ACT_NUM]: 01
[LONG_ACTION_TYPE]: 01
[LONG_JT_OFF]: 01
[SHORT_ON_TIME_MODE]: 00
[LONG_ONDELAY_TIME]: 00
[LONG_JT_ONDELAY]: 00
[SHORT_OFF_TIME_MODE]: 00
[LONG_CT_ON]: 00
[LONG_MULTIEXECUTE]: 01
[SHORT_CT_OFF]: 00
[LONG_OFF_TIME]: ff
[LONG_JT_OFFDELAY]: 00
[LONG_ON_TIME_MODE]: 00
[LONG_JT_ON]: 00
[LONG_ON_TIME]: ff
[SHORT_ACTION_TYPE]: 01
}
}
}
}
Es scheint mir, als wenn ich nur SHORT_ACT_TYPE bzw. LONG_ACT_TYPE umstellen müßte. Aber wie kann ich den Link-Block ändern? Ich habe bisher nur Werte in Master verändert.
Es geht genau um folgende Werte.
Klingel 1:
[LINK].[Channel2].[Adress: 0x4e02a0].[Remote channel: 1].[SHORT_ACT_TYPE]
[LINK].[Channel2].[Adress: 0x4e02a0].[Remote channel: 1].[LONG_ACT_TYPE]
Klingel 2:
[LINK].[Channel2].[Adress: 0x4e0298].[Remote channel: 1].[SHORT_ACT_TYPE]
[LINK].[Channel2].[Adress: 0x4e0298].[Remote channel: 1].[LONG_ACT_TYPE]
Wäre das der richtige Weg?
putParamset(26, 2, 75, 1, array("SHORT_ACT_TYPE" => x, "LONG_ACT_TYPE" => x ))
putParamset(26, 2, 76, 1, array("SHORT_ACT_TYPE" => y, "LONG_ACT_TYPE" => y ))
26 ist die PeerId des Gongs, 75 bzw. 76 sind die PeerIds der Klingelsensoren (Adresse 0x4E0298 bzw.0x4E02A0 ). Natürlich ist vorrausgesetzt, dass die Werte x bzw. y als mp3-Dateien vorhanden sind.
(irgendwie scheint der vorformatierte Text bei mir nicht immer zu funktionieren)