hallo martin,
beim löschen eines io aus dem attr IOList der vccu werden diverse attr IOgrp der devices entsprechend geändert.
folgende "problemchen" gab es dabei:
1. wenn beim löschen eines prefered io nur noch die vccu übrig bleibt, hat der vccu name trotzdem noch den doppelpunkt.
IOList = cul868,hmuart1 #hmlan1 gelöscht
IOgrp ccu:cul868,hmlan1 changed to ccu:cul868 for SwitchES01
IOgrp ccu:hmlan1 changed to ccu: for DimUP01
IOgrp ccu:hmlan1 changed to ccu: for Fenster.Bad
IOgrp ccu:hmlan1 changed to ccu: for SD.AZ
IOgrp ccu:hmlan1 changed to ccu: for SD.SZ
IOgrp ccu:hmlan1 changed to ccu: for SD.WZ
IOgrp ccu:hmlan1 changed to ccu: for SDTeam
IOgrp ccu:hmlan1 changed to ccu: for SwitchPBU01
IOgrp ccu:hmlan1 changed to ccu: for SwitchPBU03
IOgrp ccu:hmlan1 changed to ccu: for SwitchPBU04
IOgrp ccu:hmlan1 changed to ccu: for SwitchPBU05
IOgrp ccu:hmlan1 changed to ccu: for SwitchPBU06
IOgrp ccu:hmlan1 changed to ccu: for SwitchPL01
IOgrp ccu:hmlan1 changed to ccu: for SwitchPL02
IOgrp ccu:hmlan1 changed to ccu: for SwitchUP01
IOgrp ccu:hmlan1 changed to ccu: for Thermostat.AZ
IOgrp ccu:hmlan1 changed to ccu: for Thermostat.Bad
IOgrp ccu:hmlan1 changed to ccu: for Thermostat.Keller
IOgrp ccu:hmlan1 changed to ccu: for Thermostat.Kueche
IOgrp ccu:hmlan1 changed to ccu: for Thermostat.WZ
IOgrp ccu:hmlan1 changed to ccu: for Ventil.Bad
IOgrp ccu:hmlan1 changed to ccu: for Ventil.SZ
IOgrp ccu:hmlan1 changed to ccu: for ccu
IOgrp ccu:hmlan1 changed to ccu: for virtAktorAlarmOff
IOgrp ccu:hmlan1 changed to ccu: for virt_vd
IOgrp ccu:hmlan1,cul868,none changed to ccu:cul868,none for VentilControler.AZ.Nord
IOgrp ccu:hmlan1,cul868,none changed to ccu:cul868,none for VentilControler.AZ.West
IOgrp ccu:hmlan1,cul868,none changed to ccu:cul868,none for VentilControler.Bad
IOgrp ccu:hmlan1,cul868,none changed to ccu:cul868,none for VentilControler.Kueche
IOgrp ccu:hmlan1,cul868,none changed to ccu:cul868,none for VentilControler.SZ
IOgrp ccu:hmlan1,cul868,none changed to ccu:cul868,none for VentilControler.WZ
IOgrp ccu:hmlan1,hmuart1 changed to ccu:hmuart1 for Ventil.AZ.Nord
IOgrp ccu:hmlan1,hmuart1,none changed to ccu:hmuart1,none for SwitchUP02
2. es wurden auch ignored devices geändert
3. in fhem.log waren auf einmal ein paar warnings beim hmlan zu sehen.
scheinbar beim wechseln der io, ausgelöst durch "set hminfo cmdRequestG ping".
zeile 766:
if (hex($flg)&0xA4 == 0xA4 && $hash->{owner} eq $dst){
alle warnings kamen nach A112,B112 oder 8102 messages.
2021.11.12 12:20:22.095 0 : HMLAN_Parse: hmlan1 R:E1ACE1F stat:0000 t:0A3B790E d:FF r:FFD3 m:17 A112 1ACE1F 206219
2021.11.12 12:20:22.097 1 : PERL WARNING: Use of uninitialized value in string eq at ./FHEM/00_HMLAN.pm line 766.
2021.11.12 12:20:22.097 1 : stacktrace:
2021.11.12 12:20:22.098 1 : main::__ANON__ called by ./FHEM/00_HMLAN.pm (766)
2021.11.12 12:20:22.099 1 : main::HMLAN_Parse called by ./FHEM/00_HMLAN.pm (611)
2021.11.12 12:20:22.099 1 : main::HMLAN_Read called by fhem.pl (3895)
2021.11.12 12:20:22.100 1 : main::CallFn called by fhem.pl (773)
edit:
die warnungen kommen erneut beim wiederholen des cmd.
hmlan list:
Internals:
.triggerUsed 1
Clients :CUL_HM:
DEF 192.168.1.9:1000
DeviceName 192.168.1.9:1000
FD 4
FUUID 5c4ce2e6-f33f-09c4-bed1-48fc48819e1568d0
IFmodel LAN
NAME hmlan1
NR 24
NTFY_ORDER 47-hmlan1
PARTIAL
RAWMSG E266EA5,0000,0A8992D5,FF,FFBE,EA805E266EA51ACE1F0000000000000000000000
RSSI -66
STATE opened
TYPE HMLAN
XmitOpen 1
assignedIDsCnt 1
hmlan1_MSGCNT 10996
hmlan1_TIME 2021-11-12 13:45:39
msgKeepAlive dlyMax:2.936 bufferMin:2
msgLoadCurrent 0
msgLoadHistoryAbs 5min steps: 0/0/0/0/0/0/0/0/0/1/1/1
msgParseDly min:-18 max:2160 last:15 cnt:10761
nextOpenDelay 10
uptime 002 49:06:28.181
.attraggr:
.attreocr:
.*
.attreour:
prot_ERROR-Overload
prot_Warning-HighLoad
prot_disconnected
prot_init
prot_keepAlive
prot_ok
prot_timeout
.attrminint:
.clientArray:
CUL_HM
READINGS:
2021-11-11 17:10:45 D-HMIdAssigned 1ACE1F
2021-11-11 17:10:45 D-HMIdOriginal 1C671E
2021-11-11 17:10:45 D-firmware 0.965
2021-11-11 17:10:45 D-serialNr JEQ0315335
2021-11-12 11:56:23 Xmit-Events init:2 ok:2 disconnected:2
2021-11-12 11:56:23 cond ok
2021-11-12 13:45:37 loadLvl reboot
2021-11-12 11:11:30 prot_disconnected last
2021-11-12 11:56:23 prot_init last
2021-10-30 19:03:36 prot_keepAlive last
2021-11-12 11:56:23 prot_ok last
2021-11-12 11:56:22 state opened
helper:
assIdCnt 1
assIdRep 1
info 03C5,JEQ0315335,1C671E,1ACE1F
setTime 49948
cnd:
0 2
253 2
255 2
dly:
cnt 10761
lst 15
max 2160
min -18
ids:
20DFE1:
cfg +20DFE1,00,00,00
name Thermostat.OZ
k:
BufMin 2
DlyMax 2.936
Next 1636721162.43361
Start 1636721137.43361
loadLvl:
bl 50
a:
99
90
50
15
1
0
h:
0 reboot
1 normal
15 action
50 batchLevel
90 high
99 suspended
log:
all 1
sys 1
ids:
q:
HMcndN 0
answerPend 0
hmLanQlen 1
keepAliveRec 1
keepAliveRpt 0
loadLastMax 0
loadNo 9
scnt 3
sending 0
ald:
0
0
0
0
0
0
0
0
0
1
1
1
apIDs:
ref:
drft -0.000159878492345817
hmtL 176785806
kTs 0
offL 1636544351636
sysL 1636721137442
Attributes:
event-on-change-reading .*
event-on-update-reading prot_ERROR-Overload,prot_Warning-HighLoad,prot_disconnected,prot_init,prot_keepAlive,prot_ok,prot_timeout
group IO-Devices
hmId 1ACE1F
hmLanQlen 1_min
loadLevel 0:reboot,1:normal,15:action,50:batchLevel,90:high,99:suspended
logIDs sys,all
room 90_Technik
wdTimer 25