Hallo und einen guten Tag Cooltux,
ich nutze schon seit vielen Jahren dein tolles ASC-Modul, alle Rolläden in unserem Haus laufen über dieses Modul, bis auf das Dachgeschoss 8). In allen Rolläden sind Shellys verbaut, die über das Shelly-Modul in FHEM eingebunden sind. Im Dachgeschoss ist nun ein ShellyProDualCover/ Shutter neu verbaut, der zwei logische Kanäle bereitstellt. Diese Kanäle habe ich über das Modul "readingsproxy" angebunden und kann so die Rolläden auch steuern. Nur die Einbindung in ASC klappt einfach nicht.
Es kommt als Fehlermeldung:
Dachgeschoss_Rollo_Hinten: unknown attribute ASC_PosCmd. Type 'attr Dachgeschoss_Rollo_Hinten ?' for a detailed list.Ist das richtig, dass AutoShuttersControl ASC_* Attribute nur bei unterstützten Device-Typen unterstützt, ein readingsProxy aber leider nicht dazu gehört?
Bleibt mir jetzt nur der Weg über ein Dummy?
Vielen Dank und viele Grüße
Pit
Hallo,
Ein readingsproxy dient eigentlich dazu immer nur ein reading aus einem Device zu nehmen und separat da zu stellen. Damit kann ASC nicht zusammen arbeiten. ASC benötigt das tatsächliche Rollo Device oder etwas vergleichbares. Es gibt doch dieses Modul ROLLO. Damit sollte doch so einige s möglich sein denke ich.
Aber wieso genau gehst Du überhaupt über readingsproxy und nimmst nicht direkt das Device welches das Rollo steuert.
Hallo und guten Tag Cooltux,
vielen Dank für deine Info und Hilfe. Hier ein weiterer Thread, der das Problem schildert, auch der Vorschlag von Beta-User mit dem readingsproxy führt leider nicht zum Ziel.
https://forum.fhem.de/index.php?topic=142739.0
Für die Aktivierung der beiden Kanäle ist folgende Syntax notwendig:
Für Kanal 1
set <name> pct 50 1Für Kanal 2
set <name> pct 50 0
Damit so wie ich das verstehe, kann ASC nicht umgehen.
Viele Grüße
Pit
Damit kann ASC in der Tat nicht umgehen, hier wirst Du Dir wohl eine Art Wrapper programmieren müssen befürchte ich. Oder das ROLLO Modul hat hier vielleicht Möglichkeiten.
Zitat von: CoolTux am 14 Februar 2026, 15:40:53Hallo,
Ein readingsproxy dient eigentlich dazu immer nur ein reading aus einem Device zu nehmen und separat da zu stellen. Damit kann ASC nicht zusammen arbeiten.
Wo genau soll das Problem liegen?
"Eigentlich" sollte ein einziges Reading doch ausreichen, solange es numerisch ist...
Der erste Schritt wäre jedenfalls mal, das list von einem der readingsProxy zu zeigen...
Zitat von: CoolTux am 14 Februar 2026, 16:43:19eine Art Wrapper programmieren müssen befürchte ich.
Genau das kann readingsProxy eigentlich auch sein...
Hallo Beta-User,
hier das list des readingsProxy...
Internals:
CFGFN
DEF DachgeschossRollo:pct_0
DEVICE DachgeschossRollo
FUUID 698f3978-f33f-5815-14d3-2ea74ba787511042
NAME Dachgeschoss_Rollo_Hinten
NOTIFYDEV global,DachgeschossRollo
NR 171
NTFY_ORDER 50-Dachgeschoss_Rollo_Hinten
READING pct_0
STATE 70
TYPE readingsProxy
eventCount 4
CONTENT:
DachgeschossRollo 1
READINGS:
2026-02-14 13:32:14 ASC_Enable on
2026-02-14 13:32:19 ASC_Time_DriveDown 14.02.2026 - 18:19
2026-02-14 13:32:19 ASC_Time_DriveUp 15.02.2026 - 07:13
2026-02-14 13:32:16 associatedWith pietASC
2026-02-14 12:27:57 lastCmd pos
2026-02-14 12:28:58 state 70
Attributes:
ASC 1
ASC_Closed_Pos 0
ASC_Open_Pos 100
ASC_Pos_Reading position
room Dachgeschoss
setFn {
my ($hash, $name, $cmd, @args) = @_;
my $parent = "DachgeschossRollo";
return "Unknown argument $cmd"
unless $cmd =~ /^(open|closed|stop|pos)$/;
if ($cmd eq "pos") {
return "pos needs value" unless defined $args[0];
fhem("set $parent pct $args[0] 0");
}
elsif ($cmd eq "open") {
fhem("set $parent open 0");
}
elsif ($cmd eq "closed") {
fhem("set $parent closed 0");
}
else {
fhem("set $parent stop 0");
}
return undef;
}
setList open:noArg closed:noArg stop:noArg pos:slider,0,1,100
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_beforeDayOpen ASC_BlockingTime_beforeNightClose 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_CommandTemplate 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,EG_window 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
valueFn { ReadingsVal("DachgeschossRollo", "pct_0", 0) }
webCmd open:stop:close
Vielen Dank und viele Grüße
Pit
Zitat von: piet_pit am 14 Februar 2026, 17:12:18Hallo Beta-User,
hier das list des readingsProxy...
Internals:
CFGFN
DEF DachgeschossRollo:pct_0
DEVICE DachgeschossRollo
FUUID 698f3978-f33f-5815-14d3-2ea74ba787511042
NAME Dachgeschoss_Rollo_Hinten
NOTIFYDEV global,DachgeschossRollo
NR 171
NTFY_ORDER 50-Dachgeschoss_Rollo_Hinten
READING pct_0
STATE 70
TYPE readingsProxy
eventCount 4
CONTENT:
DachgeschossRollo 1
READINGS:
2026-02-14 13:32:14 ASC_Enable on
2026-02-14 13:32:19 ASC_Time_DriveDown 14.02.2026 - 18:19
2026-02-14 13:32:19 ASC_Time_DriveUp 15.02.2026 - 07:13
2026-02-14 13:32:16 associatedWith pietASC
2026-02-14 12:27:57 lastCmd pos
2026-02-14 12:28:58 state 70
Attributes:
ASC 1
ASC_Closed_Pos 0
ASC_Open_Pos 100
ASC_Pos_Reading position
room Dachgeschoss
setFn {
my ($hash, $name, $cmd, @args) = @_;
my $parent = "DachgeschossRollo";
return "Unknown argument $cmd"
unless $cmd =~ /^(open|closed|stop|pos)$/;
if ($cmd eq "pos") {
return "pos needs value" unless defined $args[0];
fhem("set $parent pct $args[0] 0");
}
elsif ($cmd eq "open") {
fhem("set $parent open 0");
}
elsif ($cmd eq "closed") {
fhem("set $parent closed 0");
}
else {
fhem("set $parent stop 0");
}
return undef;
}
setList open:noArg closed:noArg stop:noArg pos:slider,0,1,100
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_beforeDayOpen ASC_BlockingTime_beforeNightClose 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_CommandTemplate 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,EG_window 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
valueFn { ReadingsVal("DachgeschossRollo", "pct_0", 0) }
webCmd open:stop:close
Vielen Dank und viele Grüße
Pit
1. Dein ASC_Pos_Reading ist state.
2. Zur setFn hatte ich neulich schon was geschrieben.
Und: ASC kann (und soll) nur numerische Werte setzen! Nix mit "open" und so.
Hallo Beta-User,
vielen Dank für deine Hilfe.
Was meinst du konkret mit "Dein ASC_Pos_Reading ist state"?
Viele Grüße
Pit