Hallo Zusammen,
mir ist aufgefallen, dass die in der Commandref genannten Attribute retryInterval und retryCount sich im PRESENCE-Modul nicht belegen lassen.
Im Code fehlen diese Attribute in der Initialisierung:
sub
PRESENCE_Initialize($)
{
my ($hash) = @_;
# Provider
$hash->{ReadFn} = "PRESENCE_Read";
$hash->{ReadyFn} = "PRESENCE_Ready";
$hash->{SetFn} = "PRESENCE_Set";
$hash->{DefFn} = "PRESENCE_Define";
$hash->{NotifyFn} = "PRESENCE_Notify";
$hash->{UndefFn} = "PRESENCE_Undef";
$hash->{AttrFn} = "PRESENCE_Attr";
$hash->{AttrList} = "do_not_notify:0,1 ".
"disable:0,1 ".
"disabledForIntervals ".
"fritzboxCheckSpeed:0,1 ".
"pingCount:1,2,3,4,5,6,7,8,9,10 ".
"bluetoothHciDevice ".
"absenceThreshold ".
"presenceThreshold ".
"absenceTimeout ".
"presenceTimeout ".
"powerCmd ".
$readingFnAttributes;
...
Das sollte doch leicht zu korrigieren sein. Ich habe mir vorerst mit userattr geholfen.
Viele Grüße
Christoph
Hallo Christoph,
Tatsache, vielen Dank für den Hinweis. Habe ich soeben geändert und eingecheckt.
Gibts ab morgen via update.
Gruß
Markus
1000 Dank !!