Ich habe diese Warnung im Log:
2019.09.01 08:04:44.746 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_CUL_HM.pm line 8212.
2019.09.01 08:04:44.747 1: stacktrace:
2019.09.01 08:04:44.748 1: main::__ANON__ called by ./FHEM/10_CUL_HM.pm (8212)
2019.09.01 08:04:44.748 1: main::CUL_HM_getRegFromStore called by ./FHEM/10_CUL_HM.pm (4800)
2019.09.01 08:04:44.749 1: main::CUL_HM_Set called by fhem.pl (3748)
2019.09.01 08:04:44.749 1: main::CallFn called by fhem.pl (1893)
2019.09.01 08:04:44.750 1: main::DoSet called by fhem.pl (1925)
2019.09.01 08:04:44.750 1: main::CommandSet called by fhem.pl (1236)
2019.09.01 08:04:44.751 1: main::AnalyzeCommand called by fhem.pl (1089)
2019.09.01 08:04:44.751 1: main::AnalyzeCommandChain called by fhem.pl (3793)
2019.09.01 08:04:44.752 1: main::fhem called by ./FHEM/99_myUtils.pm (39)
Ausgelöst wird die durch den regSet prep in der sub in meiner myUtils:
sub myUtils_toggle_fl_Motion($)
{
my $on = shift;
my $regVal = $on ? "dlyOn" : "no";
fhem "set fl_Schalter_Licht regSet prep shSwJtOff $regVal fl_Schalter_sz_Motion";
fhem "set fl_Schalter_Licht regSet exec shSwJtOff $regVal fl_Schalter_wz_Motion";
}
Dadurch soll die Reaktion des Aktors fl_Schalter_Licht auf die zwei Bewegungsmelder fl_Schalter_sz_Motion und fl_Schalter_wz_Motion ein bzw. ausgeschaltet werden.
Die lists der beteiligten Geräte:
Internals:
CUL_rpi_MSGCNT 1067
CUL_rpi_RAWMSG A0E79800237DAE74A11BA010100003A::-71.5:CUL_rpi
CUL_rpi_RSSI -71.5
CUL_rpi_TIME 2019-09-01 15:56:52
DEF 37DAE7
FUUID 5c432753-f33f-a4cf-cf14-9024ce69cc168198
HmUART_local_MSGCNT 1143
HmUART_local_RAWMSG 0500004079800237DAE74A11BA010100003A
HmUART_local_RSSI -64
HmUART_local_TIME 2019-09-01 15:56:52
IODev HmUART_local
LASTInputDev CUL_rpi
MSGCNT 2210
NAME fl_Schalter_Licht
NOTIFYDEV global
NR 465
NTFY_ORDER 50-fl_Schalter_Licht
STATE off
TYPE CUL_HM
chanNo 01
lastMsg No:79 - t:02 s:37DAE7 d:4A11BA 010100003A
peerList self01,self02,fl_Schalter_sz_Btn_01,fl_Schalter_sz_Btn_02,fl_Schalter_sz_Motion,fl_Schalter_wz_Btn_01,fl_Schalter_wz_Btn_02,fl_Schalter_wz_Motion,
protLastRcv 2019-09-01 15:56:52
protRcv 1215 last_at:2019-09-01 15:56:52
protResnd 6 last_at:2019-09-01 08:04:48
protSnd 482 last_at:2019-09-01 11:33:54
protState CMDs_done
rssi_HmUART_local cnt:11 min:-82 max:-58 avg:-64.9 lst:-63
rssi_at_CUL_rpi cnt:1067 min:-84 max:-64.5 avg:-70.26 lst:-71.5
rssi_at_HmUART_local cnt:1143 min:-76 max:-52 avg:-60.65 lst:-64
rssi_fl_Schalter_sz cnt:396 min:-64 max:-51 avg:-55.69 lst:-55
rssi_fl_Schalter_wz cnt:431 min:-66 max:-53 avg:-56.38 lst:-58
READINGS:
2019-09-01 15:56:52 CommandAccepted yes
2019-03-16 22:50:17 D-firmware 2.8
2019-03-16 22:50:17 D-serialNr MEQ0224923
2019-09-01 08:04:53 PairedTo 0xF11034
2019-01-01 13:04:46 R-fl_Schalter_sz_Btn_01-lgActionType jmpToTarget
2019-01-01 13:04:46 R-fl_Schalter_sz_Btn_01-shActionType jmpToTarget
2019-01-01 13:04:47 R-fl_Schalter_sz_Btn_02-lgActionType jmpToTarget
2019-01-01 13:04:47 R-fl_Schalter_sz_Btn_02-shActionType jmpToTarget
2019-03-11 23:19:42 R-fl_Schalter_sz_Motion-lgActionType jmpToTarget
2019-03-11 23:19:42 R-fl_Schalter_sz_Motion-shActionType jmpToTarget
2019-04-30 06:30:26 R-fl_Schalter_wz_Btn_01-lgActionType jmpToTarget
2019-04-30 06:30:26 R-fl_Schalter_wz_Btn_01-shActionType jmpToTarget
2019-04-30 06:30:27 R-fl_Schalter_wz_Btn_02-lgActionType jmpToTarget
2019-04-30 06:30:27 R-fl_Schalter_wz_Btn_02-shActionType jmpToTarget
2019-03-11 23:19:46 R-fl_Schalter_wz_Motion-lgActionType jmpToTarget
2019-03-11 23:19:46 R-fl_Schalter_wz_Motion-shActionType jmpToTarget
2019-01-01 12:53:02 R-pairCentral 0xF11034
2019-01-02 16:35:53 R-powerUpAction off
2019-04-30 06:30:21 R-self01-lgActionType jmpToTarget
2019-04-30 06:30:21 R-self01-shActionType jmpToTarget
2019-04-30 06:30:22 R-self02-lgActionType jmpToTarget
2019-04-30 06:30:22 R-self02-shActionType jmpToTarget
2019-01-01 12:53:09 R-sign off
2019-09-01 15:56:52 deviceMsg off (to fl_Schalter_wz)
2019-01-02 16:35:46 fwUpdate done
2019-09-01 15:56:52 level 0
2019-02-18 07:29:29 levelMissed desired:0
2019-09-01 15:56:52 pct 0
2019-09-01 08:04:55 peerList self01,self02,fl_Schalter_sz_Btn_01,fl_Schalter_sz_Btn_02,fl_Schalter_sz_Motion,fl_Schalter_wz_Btn_01,fl_Schalter_wz_Btn_02,fl_Schalter_wz_Motion,
2019-08-31 20:01:58 powerOn 2019-08-31 20:01:58
2019-09-01 15:56:52 recentStateType ack
2019-03-10 00:56:26 sabotageAttack_ErrIoAttack cnt 1
2019-09-01 15:56:52 state off
2019-09-01 15:56:52 timedOn off
2019-09-01 15:56:52 trigLast fl_Schalter_wz_Motion:111
2019-01-01 15:38:10 trig_fl_Schalter_Tuer_motion_Btn_01 Short_35
2019-08-31 12:28:54 trig_fl_Schalter_sz_Btn_01 Short_8
2019-08-31 12:29:43 trig_fl_Schalter_sz_Btn_02 Short_13
2019-09-01 15:56:52 trig_fl_Schalter_sz_Motion 114_103
2019-08-31 20:01:55 trig_fl_Schalter_wz_Btn_01 Short_62
2019-08-31 20:03:41 trig_fl_Schalter_wz_Btn_02 Short_69
2019-09-01 15:56:52 trig_fl_Schalter_wz_Motion 111_48
2019-01-01 15:38:04 trig_fl_Schalter_wz_motion_Btn_01 Short_19
helper:
HM_CMDNR 121
PONtest 1
cSnd 01F1103437DAE701044A11BA0303,11F1103437DAE70201000000
dlvlCmd ++A011F1103437DAE70201000000
mId 0069
peerFriend peerSens,peerVirt
peerIDsRaw ,37DAE701,37DAE702,4A11BA02,4A11BA01,4A11AA02,4A11AA01,4A11BA03,4A11AA03,00000000
peerOpt 3:switch
regLst 0,1,3p
rxType 1
supp_Pair_Rep 0
ack:
expert:
def 1
det 0
raw 0
tpl 0
io:
newChn +37DAE7,00,00,00
nextSend 1567346212.89372
rxt 0
vccu vccu
p:
37DAE7
00
00
00
prefIO:
HmUART_local
mRssi:
mNo 79
io:
CUL_rpi:
-71.5
-71.5
HmUART_local:
-60
-60
prt:
bErr 0
sProc 0
rspWait:
q:
qReqConf
qReqStat
regCollect:
role:
chn 1
dev 1
prs 1
rssi:
HmUART_local:
avg -64.9090909090909
cnt 11
lst -63
max -58
min -82
at_CUL_rpi:
avg -70.2624179943767
cnt 1067
lst -71.5
max -64.5
min -84
at_HmUART_local:
avg -60.6570428696413
cnt 1143
lst -64
max -52
min -76
fl_Schalter_sz:
avg -55.6944444444445
cnt 396
lst -55
max -51
min -64
fl_Schalter_wz:
avg -56.3851508120649
cnt 431
lst -58
max -53
min -66
shadowReg:
tmpl:
Attributes:
IODev HmUART_local
IOgrp vccu:HmUART_local
alias Schalter Flurlicht
autoReadReg 4_reqStatus
expert 0_defReg
firmware 2.8
model HM-LC-SW1PBU-FM
peerIDs 00000000,37DAE701,37DAE702,4A11AA01,4A11AA02,4A11AA03,4A11BA01,4A11BA02,4A11BA03,
room Flur
serialNr MEQ0224923
subType switch
userattr structexclude wohnung wohnung_map
webCmd statusRequest:toggle:on:off
Internals:
DEF 4A11AA03
FUUID 5c43273b-f33f-a4cf-3259-71857773b80637cd
NAME fl_Schalter_sz_Motion
NOTIFYDEV global
NR 289
NTFY_ORDER 50-fl_Schalter_sz_Motion
STATE 124
TYPE CUL_HM
chanNo 03
device fl_Schalter_sz
peerList fl_Schalter_Licht,
READINGS:
2019-01-02 15:20:11 R-brightFilter 0
2019-01-02 15:20:11 R-captInInterval on
2019-01-08 21:02:33 R-evtFltrNum 2
2019-01-08 21:02:33 R-evtFltrPeriod 1 s
2019-07-21 15:22:27 R-fl_Schalter_Licht_chn-01-peerNeedsBurst off
2019-01-02 15:20:11 R-minInterval 15
2017-10-26 17:49:42 R-sign off
2019-07-21 15:22:25 RegL_01. 00:00 01:22 02:08 08:00 22:14 30:03
2019-07-21 15:22:27 RegL_04.fl_Schalter_Licht_chn-01 00:00 01:00
2019-09-01 16:59:32 brightness 124
2019-09-01 16:59:32 cover closed
2019-09-01 15:57:09 motion off
2019-09-01 15:56:52 motionCount 103_next:15s
2019-09-01 15:57:09 motionDuration 32
2019-08-27 18:24:56 peerList fl_Schalter_Licht,
2019-09-01 16:59:32 recentStateType info
2019-09-01 15:57:09 state noMotion
2019-09-01 15:56:52 trigger_cnt 103
helper:
peerFriend peerAct,peerVirt
peerOpt 4:motionAndBtn
regLst 1,4p
expert:
def 1
det 0
raw 1
tpl 0
role:
chn 1
tmpl:
Attributes:
event-on-update-reading brightness,motion
group Taster
model HM-SEN-MDIR-WM55
peerIDs 00000000,37DAE701,
room Flur
stateFormat brightness
Internals:
DEF 4A11BA03
FUUID 5c43273b-f33f-a4cf-bb53-0bd54bf93c8d2dc4
NAME fl_Schalter_wz_Motion
NOTIFYDEV global
NR 293
NTFY_ORDER 50-fl_Schalter_wz_Motion
STATE 121
TYPE CUL_HM
chanNo 03
device fl_Schalter_wz
peerList fl_Schalter_Licht,
READINGS:
2019-01-13 18:02:23 R-brightFilter 0
2019-01-13 18:02:23 R-captInInterval on
2019-01-03 20:11:05 R-evtFltrNum 2
2019-01-03 20:11:05 R-evtFltrPeriod 1 s
2019-07-21 15:18:03 R-fl_Schalter_Licht_chn-01-peerNeedsBurst off
2019-01-13 18:02:23 R-minInterval 15
2017-10-30 13:54:44 R-sign off
2019-07-21 15:18:02 RegL_01. 00:00 01:22 02:08 08:00 22:14 30:03
2019-07-21 15:18:03 RegL_04.fl_Schalter_Licht_chn-01 00:00 01:00
2019-09-01 17:02:58 brightness 121
2019-09-01 17:02:58 cover closed
2019-09-01 15:57:09 motion off
2019-09-01 15:56:52 motionCount 48_next:15s
2019-09-01 15:57:09 motionDuration 32
2019-08-27 18:24:56 peerList fl_Schalter_Licht,
2019-09-01 17:02:58 recentStateType info
2019-09-01 15:57:09 state noMotion
2019-09-01 15:56:52 trigger_cnt 48
helper:
peerFriend peerAct,peerVirt
peerOpt 4:motionAndBtn
regLst 1,4p
expert:
def 1
det 0
raw 1
tpl 0
role:
chn 1
tmpl:
Attributes:
event-on-update-reading brightness,motion
group Taster
model HM-SEN-MDIR-WM55
peerIDs 00000000,37DAE701,
room Flur
stateFormat brightness
Was könnte die Ursache sein?