Hallo zusammen, hallo @CoolTux
ich habe das Problem, das nach einm FHEM Update, die Rolladen nicht mehr fahren. Das Forum habe ich schon dursucht und die Vorschäge von CoolTux wie ASC device löschen und neu anlegen ausgeführt.
Die Beschattungsfunktion ist am Rollo BU_RL und am ASC Device autoRoll eingeschaltet. Es sind offensichtlich alle Bedingungen für das Beschatten erfüllt aber der Befehl zum ROLLO fahren wird offenbar
nicht richtig genriert. Im EventLog finden sich Einträge wie: CUL_HM set BU_RL ?
2021.08.14 14:35:57.005 4 : AutoShuttersControl (autoRoll) - Devname: myTwilight Name: autoRoll Notify: $VAR1 = [
'azimuth: 206.08',
'elevation: 51.06',
'twilight: 100',
'twilight_weather: 100',
'compasspoint: south-southwest'
];
2021.08.14 14:35:57.007 4 : AutoShuttersControl (BU_RL) - EventProcessingShadingBrightness
2021.08.14 14:35:57.008 4 : AutoShuttersControl (BU_RL) - EventProcessingShadingBrightness
Brightness: 100
2021.08.14 14:35:57.030 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL Azimuth: 206.08 Elevation: 51.06 Brightness: 100 OutTemp: 30
2021.08.14 14:35:57.031 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL Nach dem return
2021.08.14 14:35:57.041 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL In der In Abfrage, Shadingwert: in, Zeitstempel: 1628938557
2021.08.14 14:35:57.059 4 : AutoShuttersControl (autoRoll) - Devname: BU_RL Name: autoRoll Notify: $VAR1 = [
'ASC_ShadingMessage: INFO: current shading status is \'in\' - next check in 1m'
];
2021.08.14 14:35:57.061 5 : CUL_HM set BU_RL ?
2021.08.14 14:35:57.065 5 : CUL_HM set BU_RL ?
2021.08.14 14:35:57.084 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL Azimuth: 206.08 Elevation: 51.06 Brightness: 100 OutTemp: 30
2021.08.14 14:35:57.085 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL Nach dem return
2021.08.14 14:35:57.094 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL In der In Abfrage, Shadingwert: in, Zeitstempel: 1628938557
2021.08.14 14:35:57.111 4 : AutoShuttersControl (autoRoll) - Devname: BU_RL Name: autoRoll Notify: $VAR1 = [
'ASC_ShadingMessage: INFO: current shading status is \'in\' - next check in 1m'
];
2021.08.14 14:35:57.113 5 : CUL_HM set BU_RL ?
2021.08.14 14:35:57.117 5 : CUL_HM set BU_RL ?
Das List vom Rollo Device BU_RL sieht so aus:
Internals:
DEF 455048
FUUID 5c6c61fe-f33f-478f-8a05-101d7443281484e7
IODev myHmUART
LASTInputDev myHmUART
MSGCNT 23
NAME BU_RL
NR 299
NTFY_ORDER 50-BU_RL
STATE off
TYPE CUL_HM
chanNo 01
disableNotifyFn 1
lastMsg No:64 - t:10 s:455048 d:47058A 06010000
myHmUART_MSGCNT 23
myHmUART_RAWMSG 0501004264A41045504847058A06010000
myHmUART_RSSI -66
myHmUART_TIME 2021-08-14 14:13:30
protLastRcv 2021-08-14 14:13:30
protRcv 23 last_at:2021-08-14 14:13:30
protSnd 24 last_at:2021-08-14 14:13:30
protState CMDs_done
rssi_at_myHmUART cnt:23 min:-72 max:-59 avg:-65.04 lst:-66
rssi_myHmUART cnt:15 min:-77 max:-70 avg:-74.46 lst:-77
OLDREADINGS:
READINGS:
2021-08-14 12:42:47 ASC_Enable on
2021-08-14 14:15:57 ASC_ShadingMessage INFO: current shading status is 'in' - next check in 1m
2021-08-14 14:13:30 ASC_ShuttersLastDrive manual
2021-08-14 13:12:44 ASC_Time_DriveDown 14.08.2021 - 20:40
2021-08-14 13:12:44 ASC_Time_DriveUp 15.08.2021 - 06:20
2021-08-14 14:13:17 CommandAccepted yes
2021-08-13 18:07:59 D-firmware 2.8
2021-08-13 18:07:59 D-serialNr NEQ0111536
2021-08-14 14:13:30 IODev myHmUART
2020-12-30 15:03:24 PairedTo 0x47058A
2020-07-18 13:42:33 R-driveDown 25 s
2020-07-18 13:42:33 R-driveTurn 0.5 s
2020-07-18 13:42:33 R-driveUp 25 s
2020-07-18 13:42:32 R-pairCentral 0x47058A
2020-07-18 13:42:33 R-sign off
2020-12-30 15:03:24 RegL_00. 00:00 02:01 0A:47 0B:05 0C:8A 15:FF 18:00
2020-12-30 15:03:25 RegL_01. 00:00 08:00 09:00 0A:00 0B:00 0C:FA 0D:00 0E:FA 0F:05 10:00 30:06 56:00 57:24
2021-08-14 12:42:47 associatedWith autoRoll,none
2021-06-03 19:12:16 cfgState ok
2021-08-14 14:13:30 commState CMDs_done
2021-08-14 14:13:30 deviceMsg off (to VCCU)
2021-08-14 14:13:30 level 0
2021-08-14 14:13:30 motor stop:off
2021-08-14 14:13:30 pct 0
2020-12-30 15:03:22 powerOn 2020-12-30 15:03:22
2021-08-14 14:13:30 recentStateType info
2021-08-14 14:13:30 state off
2021-08-14 14:13:30 timedOn off
2021-08-14 14:13:17 trigLast fhem:02
helper:
HM_CMDNR 100
cSnd 1147058A4550480301,1147058A455048020100
dlvlCmd ++A01147058A455048020100
lastMsgTm 1628943210.50727
mId 0005
peerFriend peerSens,peerVirt
peerIDsState complete
peerOpt 3:blindActuator
regLst 0,1,3p
rxType 1
supp_Pair_Rep 0
cmds:
TmplKey :no:1628942562.68065
TmplTs 1628942562.68065
cmdKey 1:1:0::BU_RL:0005:01:
cmdLst:
assignHmKey noArg
clear [(readings|trigger|register|oldRegs|rssi|msgEvents|{msgErrors}|attack|all)]
deviceRename -newName-
down 'change:'[(0..100;1|{10})] [(-ontime-|{})] [(-ramptime-|{})]
fwUpdate -filename- [-bootTime-]
getConfig noArg
getDevInfo noArg
getRegRaw (List0|List1|List2|List3|List4|List5|List6|List7) [-peerChn-]
getVersion noArg
inhibit [(on|{off})]
off noArg
on noArg
pair noArg
pct -value- [-ontime-]
peerBulk -peer1,peer2,...- [({set}|unset)]
peerIODev [IO] -btn- [({set}|unset)] 'not for future use'
peerSmart -peerOpt-
press [(long|{short})] [(-peer-|{self01})] [(-repCount-|{0})] [(-repDelay-|{0.25})]
raw -data- [...]
regBulk -list-.-peerChn- -addr1:data1- [-addr2:data2-]...
regSet [(prep|{exec})] -regName- -value- [-peerChn-]
reset noArg
sign [(on|{off})]
statusRequest noArg
stop noArg
toggle noArg
toggleDir noArg
tplDel -tplDel-
tplSet_0 -tplChan-
unpair noArg
up 'change:'[(0..100;1|{10})] [(-ontime-|{})] [(-ramptime-|{})]
lst:
condition slider,0,1,255
peer
peerOpt BA_FS,BU_FS,EG_TS,HM_4B6C72_SenF,HM_4B6C72_SenI,HM_4B6C72_SenPwr,HM_4B6C72_SenU,HM_71A2B3_light,HM_71A2B3_lock,HM_71A2B3_open,HM_71A2B3_unlock,HM_7306F3_light,HM_7306F3_lock,HM_7306F3_open,HM_7306F3_unlock,KT_MD,NZ_FS,VCCU_Btn1,VCCU_Btn2,WZ_FS_Mitte,WZ_FS_Ost,WZ_FS_West,WZ_MD,XX_FB_8_1_Btn_01,XX_FB_8_1_Btn_02,XX_FB_8_1_Btn_03,XX_FB_8_1_Btn_04,XX_FB_8_1_Btn_05,XX_FB_8_1_Btn_06,XX_FB_8_1_Btn_07,XX_FB_8_1_Btn_08
tplChan
tplDel
tplPeer
rtrvLst:
cmdList [({short}|long)]
deviceInfo [({short}|long)]
list [({normal}|full)]
param -param-
reg -addr- -list- [-peerChn-]
regList noArg
regTable noArg
regVal -addr- -list- [-peerChn-]
saveConfig [-filename-]
tplInfo noArg
dir:
cur stop
rct down
expert:
def 1
det 0
raw 1
tpl 0
io:
flgs 0
newChn +455048,00,00,00
nextSend 1628943210.80108
rxt 0
vccu VCCU
p:
455048
00
00
00
prefIO:
myHmUART
mRssi:
mNo 64
io:
myHmUART:
-62
-62
peerIDsH:
00000000 broadcast
prt:
bErr 0
sProc 0
rspWait:
tryMsg:
q:
qReqConf
qReqStat
role:
chn 1
dev 1
prs 1
rpt:
IO myHmUART
flg A
ts 1628943210.50727
ack:
HASH(0x3087108)
64800247058A45504800
rssi:
at_myHmUART:
avg -65.0434782608696
cnt 23
lst -66
max -59
min -72
myHmUART:
avg -74.4666666666667
cnt 15
lst -77
max -70
min -77
tmpl:
Attributes:
ASC 2
ASC_BlockingTime_afterManual 30
ASC_BrightnessSensor myTwilight:twilight
ASC_Closed_Pos 100
ASC_Open_Pos 0
ASC_Pos_Reading pct
ASC_Shading_Mode always
ASC_Shading_Pos 60
ASC_Shading_StateChange_SunnyCloudy 80:20
ASC_Shading_WaitingPeriod 60
ASC_TempSensor myWether:temp_c
IOgrp VCCU:myHmUART
autoReadReg 4_reqStatus
devStateIcon on:shutter_closed off:shutter_open 9\d.*:shutter_8 8\d.*:shutter_8 7\d.*:shutter_7 6\d.*:shutter_6 5\d.*:shutter_6 4\d.*:shutter_5 3\d.*:shutter_2 2\d.*:shutter_2 1\d.*:shutter_1 0\d.*:shutter_1
expert defReg,rawReg
firmware 2.8
model HM-LC-BL1-FM
peerIDs 00000000
room Buero
serialNr NEQ0111536
subType blindActuator
userattr ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforDayOpen ASC_BlockingTime_beforNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate
verbose 5
webCmd statusRequest:toggleDir:on:off:stop
Das List vom ASC Device autoRoll sieht so aus:
Internals:
CFGFN
FUUID 61179dd7-f33f-8739-e32a-e061d943f8eaf7c7
FVERSION 73_AutoShuttersControl.pm:v0.10.15-s24586/2021-06-05
MID da39a3ee5e6b4b0d3255bfef95601890afd80709
NAME autoRoll
NOTIFYDEV BU_RL,autoRoll,global,myTwilight
NR 406
NTFY_ORDER 51-autoRoll
STATE shading in
TYPE AutoShuttersControl
VERSION v0.10.15
READINGS:
2021-08-15 09:10:05 BU_RL_PosValue 60
2021-08-15 09:10:01 BU_RL_lastPosValue 70
2021-08-15 06:20:00 BU_RL_nextAstroTimeEvent 15.08.2021 - 20:38
2021-08-14 13:12:14 ascEnable on
2021-08-14 12:50:05 controlShading on
2021-08-14 12:42:47 room_Buero BU_RL
2021-08-15 09:10:05 state shading in
2021-08-14 12:42:47 userAttrList rolled out
helper:
shuttersList:
BU_RL
monitoredDevs:
BU_RL:
myTwilight:
BU_RL ASC_BrightnessSensor
autoRoll ASC_twilightDevice
Attributes:
ASC_debug 1
ASC_tempSensor myWether:temp_c
ASC_twilightDevice myTwilight
devStateIcon { ShuttersControl_DevStateIcon($name) }
icon fts_shutter_automatic
room ASC
verbose 5
Vor dem Update und dem Versuch die Beschattung zu aktivieren hat das ganze probemlos funktioniert.
Hallo zusammen, hallo @CoolTux,
ich habe nun mal die Beschattungs funktion im ASC Device autoRoll deaktiviert.
Der Rollo BU_RL fährt dann auf die "offen" Position pct = 0 bei mir.
Wen ich einen "wiggle BU_RL" ausführe , fährt der BU_RL wie gewoht kurz runter und wieder hoch.
Der Verfahrbefehle werden in in diesem Fall richtig generiert.
Ein "scanForSutters" liefert im NOTIFYDEV das ASC autoRoll :
global,autoRoll,BU_RL,myTwilight,BU_RL
also 2x BU_RL - ist das richtig ???
Hallo zusammen,
beim ersten Rollo die Beschattungsfunktion wieder aktiviert - ein wenig gewartet - und fährt in die Beschattung.
Soweit so gut - kkann ich den nächsten Rollo einbinden. gesagt getan die gleichen Einstellungen wie beim ersten Rollo
Dann passieren aber merkwürdie Dinge !!! Der erste Rollo BU_RL fährt aus der Beschattung - der zweite Rollo WZ_RL_WEST fährt nicht.
Im EventLog sind PERL WARNING: vermerkt:
2021.08.15 13:30:01.010 4 : AutoShuttersControl (autoRoll) - Devname: myTwilight Name: autoRoll Notify: $VAR1 = [
'azimuth: 180.08',
'elevation: 53.18',
'twilight: 100',
'twilight_weather: 100',
'compasspoint: south'
];
2021.08.15 13:30:01.012 4 : AutoShuttersControl (WZ_RL_West) - EventProcessingShadingBrightness
2021.08.15 13:30:01.013 4 : AutoShuttersControl (WZ_RL_West) - EventProcessingShadingBrightness
Brightness: 100
2021.08.15 13:30:01.036 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: WZ_RL_West Azimuth: 180.08 Elevation: 53.18 Brightness: 100 OutTemp: 27
2021.08.15 13:30:01.037 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: WZ_RL_West Nach dem return
2021.08.15 13:30:01.049 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: WZ_RL_West In der Out Abfrage, Shadingwert: out, Zeitstempel: 1629026701
2021.08.15 13:30:01.067 4 : AutoShuttersControl (autoRoll) - Shading Processing - In der Routine zum fahren der Rollläden, Shading Wert: out
2021.08.15 13:30:01.069 4 : AutoShuttersControl (autoRoll) - Devname: WZ_RL_West Name: autoRoll Notify: $VAR1 = [
'ASC_ShadingMessage: INFO: current shading status is \'out\' - next check in 0.5m'
];
2021.08.15 13:30:01.083 1 : PERL WARNING: Use of uninitialized value $brightness in concatenation (.) or string at lib/FHEM/Automation/ShuttersControl/Shading.pm line 225.
2021.08.15 13:30:01.084 1 : PERL WARNING: Use of uninitialized value $brightness in concatenation (.) or string at lib/FHEM/Automation/ShuttersControl/Shading.pm line 263.
2021.08.15 13:30:01.084 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL Azimuth: 180.08 Elevation: 53.18 Brightness: OutTemp: 27
2021.08.15 13:30:01.084 1 : PERL WARNING: Use of uninitialized value $brightness in numeric eq (==) at lib/FHEM/Automation/ShuttersControl/Shading.pm line 277.
2021.08.15 13:30:01.084 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL Nach dem return
2021.08.15 13:30:01.090 1 : PERL WARNING: Use of uninitialized value $brightness in numeric lt (<) at lib/FHEM/Automation/ShuttersControl/Shading.pm line 338.
2021.08.15 13:30:01.091 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL In der Out Abfrage, Shadingwert: out reserved, Zeitstempel: 1629027001
2021.08.15 13:30:01.102 4 : AutoShuttersControl (autoRoll) - Devname: BU_RL Name: autoRoll Notify: $VAR1 = [
'ASC_ShadingMessage: INFO: current shading status is \'out reserved\' - next check in 1m'
];
2021.08.15 13:30:01.104 5 : CUL_HM set BU_RL ?
2021.08.15 13:30:01.116 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: WZ_RL_West Azimuth: 180.08 Elevation: 53.18 Brightness: 100 OutTemp: 27
2021.08.15 13:30:01.117 4 : AutoShuttersControl (BU_RL) - EventProcessingShadingBrightness
2021.08.15 13:30:01.117 4 : AutoShuttersControl (BU_RL) - EventProcessingShadingBrightness
Brightness: 100
2021.08.15 13:30:01.127 4 : AutoShuttersControl (autoRoll) - Shading Processing, Rollladen: BU_RL Azimuth: 180.08 Elevation: 53.18 Brightness: 100 OutTemp: 27
2021-08-15 13:30:01.070 CUL_HM WZ_RL_West ASC_ShadingMessage: INFO: current shading status is 'out' - next check in 0.5m
2021-08-15 13:30:01.102 CUL_HM BU_RL ASC_ShadingMessage: INFO: current shading status is 'out reserved' - next check in 1m