Moin,
ich hab nochmal ein Problem mit AutoshuttersControl:
Aktuell funktionieren alle "normalen" Fahrten, die ASC initiiert, ohne Probleme (morgens rauf, Beschattung, abends runter etc). Ich habe jedoch über ein Dummy einen Schalter für manuelle Beschattung eingerichtet. Sobald das Dummy auf on geht (eingetragen im ASC_ExternalTrigger) fährt das Roll auf Beschattungsposition. Dann kommt irgendwann das periodische Reading-Update meines Helligkeitssensors (alle 15 Minuten) - und wenn die Helligkeit unter dem Auto-Beschattungsweot liegt, fährt das Rollo wieder hoch, obwohl ASC_ExternalTrigger noch auf on steht.
Ich behelfe mir nun damit, dass ich beim manuellen Beschatten ASC auf 0 setze, aber das kann ja nicht die Lösung sein. Interpretiere ich die Funkion des ASC_ExternalTrigger falsch, oder passt hier eine andere Einstellung nicht?
Hier das Listing des Rollos:
Internals:
CID shellyplus2pm_c049ef85bbe0
DEF shellyplus2pm_c049ef85bbe0
FUUID 6409ece2-f33f-497e-ba65-d6fc7776135d6fbc
IODev MQTT2_FHEM_Server
LASTInputDev MQTT2_FHEM_Server
MQTT2_FHEM_Server_CONN MQTT2_FHEM_Server_192.168.30.34_58269
MQTT2_FHEM_Server_MSGCNT 13808
MQTT2_FHEM_Server_TIME 2023-03-19 19:04:59
MSGCNT 13808
NAME RS_WZ_Rolladen
NR 301
STATE true
0
TYPE MQTT2_DEVICE
eventCount 13869
JSONMAP:
status_current_pos pct
status_state state
status_temperature_tC temperature
READINGS:
2023-03-09 15:39:28 ASC_Enable on
2023-03-19 19:03:16 ASC_ShadingMessage INFO: current shading status is 'out' - next check in 7.5m
2023-03-19 18:39:42 ASC_ShuttersLastDrive night close
2023-03-19 18:39:21 ASC_Time_DriveDown 20.03.2023 - 18:39
2023-03-19 18:39:21 ASC_Time_DriveUp 20.03.2023 - 06:21
2023-03-15 15:27:51 IODev MQTT2_FHEM_Server
2023-03-15 15:27:53 associatedWith Rollladensteuerung
2023-03-09 15:29:37 attrTemplateVersion 20220623
2023-03-18 08:25:19 mqtt_connected true
2023-03-18 08:25:19 online true
2023-03-19 19:04:59 pct 0
2023-03-19 19:04:59 rpc_dst shellyplus2pm-c049ef85bbe0/events
2023-03-19 19:04:59 rpc_method NotifyStatus
2023-03-19 19:04:59 rpc_params_cover_0_aenergy_by_minute_1 0.000
2023-03-19 19:04:59 rpc_params_cover_0_aenergy_by_minute_2 0.000
2023-03-19 19:04:59 rpc_params_cover_0_aenergy_by_minute_3 0.000
2023-03-19 19:04:59 rpc_params_cover_0_aenergy_minute_ts 1679249099
2023-03-19 19:04:59 rpc_params_cover_0_aenergy_total 70.212
2023-03-19 18:39:42 rpc_params_cover_0_apower 0
2023-03-19 18:39:42 rpc_params_cover_0_current 0
2023-03-19 18:39:42 rpc_params_cover_0_current_pos 0
2023-03-19 19:04:59 rpc_params_cover_0_id 0
2023-03-19 18:39:21 rpc_params_cover_0_move_started_at 1679247562.24
2023-03-19 18:39:21 rpc_params_cover_0_move_timeout 25.00
2023-03-19 18:39:42 rpc_params_cover_0_pf 0
2023-03-19 18:39:42 rpc_params_cover_0_source limit_switch
2023-03-19 18:39:42 rpc_params_cover_0_state closed
2023-03-19 18:39:21 rpc_params_cover_0_target_pos 0
2023-03-18 13:28:17 rpc_params_cover_0_temperature_tC 43.66
2023-03-18 13:28:17 rpc_params_cover_0_temperature_tF 110.59
2023-03-11 09:23:22 rpc_params_events_1_cfg_rev 20
2023-03-11 09:23:22 rpc_params_events_1_component cover:0
2023-03-11 09:23:22 rpc_params_events_1_event config_changed
2023-03-11 09:23:22 rpc_params_events_1_id 0
2023-03-11 09:23:22 rpc_params_events_1_restart_required false
2023-03-11 09:23:22 rpc_params_events_1_ts 1678523002.75
2023-03-18 08:25:19 rpc_params_mqtt_connected true
2023-03-11 09:23:22 rpc_params_sys_cfg_rev 20
2023-03-19 19:04:59 rpc_params_ts 1679249100.05
2023-03-19 19:04:59 rpc_src shellyplus2pm-c049ef85bbe0
2023-03-19 19:04:59 state closed
2023-03-19 19:04:59 status_aenergy_by_minute_1 0.000
2023-03-19 19:04:59 status_aenergy_by_minute_2 0.000
2023-03-19 19:04:59 status_aenergy_by_minute_3 0.000
2023-03-19 19:04:59 status_aenergy_minute_ts 1679249099
2023-03-19 19:04:59 status_aenergy_total 70.212
2023-03-19 19:04:59 status_apower 0.0
2023-03-19 19:04:59 status_current 0.000
2023-03-19 19:04:59 status_id 0
2023-03-19 18:39:41 status_move_started_at 1679247562.24
2023-03-19 18:39:41 status_move_timeout 25.00
2023-03-19 19:04:59 status_pf 0.00
2023-03-19 19:04:59 status_pos_control true
2023-03-19 19:04:59 status_source limit_switch
2023-03-19 18:39:41 status_target_pos 0
2023-03-19 19:04:59 status_temperature_tF 112.8
2023-03-19 19:04:59 status_voltage 234.5
2023-03-19 15:27:35 sys_cfg_rev 20
2023-03-19 15:27:35 sys_fs_free 98304
2023-03-19 15:27:35 sys_fs_size 458752
2023-03-19 15:27:35 sys_kvs_rev 2
2023-03-19 15:27:35 sys_mac C049EF85BBE0
2023-03-19 15:27:35 sys_ram_free 153356
2023-03-19 15:27:35 sys_ram_size 233004
2023-03-19 15:27:35 sys_restart_required false
2023-03-19 15:27:35 sys_schedule_rev 1
2023-03-19 15:27:35 sys_time 15:27
2023-03-19 15:27:35 sys_unixtime 1679236055
2023-03-19 15:27:35 sys_uptime 864012
2023-03-19 15:27:35 sys_webhook_rev 1
2023-03-19 19:04:59 temperature 44.9
Attributes:
ASC 2
ASC_Adv off
ASC_BrightnessSensor AU_Sonnensensor:Helligkeit 110
ASC_ExternalTrigger dy_WZ_Beschattung_manuell:state on:off 40:100
ASC_Pos_Reading pct
ASC_Shading_InOutAzimuth 120:305
ASC_Shading_MinMax_Elevation 10:100
ASC_Shading_Min_OutsideTemperature 21
ASC_Shading_Mode always
ASC_Shading_Pos 40
ASC_Shading_StateChange_SunnyCloudy 450:220
ASC_Shading_WaitingPeriod 900
ASC_TempSensor netatmo_Aussensensor:temperature
ASC_Time_Down_Early 16:00
ASC_Time_Up_Late 08:00
ASC_Ventilate_Pos 98
ASC_Ventilate_Window_Open on
ASC_WindowRec FK_WZ_Fenster_rechts
alias Wohnzimmer Rolladen
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly Plus 2 PM in Roller-Mode. 100=opened / 0=closed
devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red true:10px-kreis-gruen false:10px-kreis-rot 0:fts_shutter_100 100:fts_shutter_10 9\d:fts_shutter_10 8\d:fts_shutter_20 7\d:fts_shutter_30 6\d:fts_shutter_40 5\d:fts_shutter_50 4\d:fts_shutter_60 3\d:fts_shutter_70 2\d:fts_shutter_80 1\d:fts_shutter_90 0\d:fts_shutter_100 set_.*:fts_shutter_updown
devicetopic shellyplus2pm-c049ef85bbe0
event-on-change-reading pct,rpc_params_cover_0_state
genericDeviceType blind
group Rolladen
homebridgeMapping clear
CurrentPosition=pct,minValue=0,maxValue=100
TargetPosition=pct::pct,minValue=0,maxValue=100,minStep=1
PositionState=rpc_params_cover_0_state,values=opening:INCREASING;closing:DECREASING,default=STOPPED
icon fts_shutter
jsonMap status_state:state status_current_pos:pct status_temperature_tC:temperature
model shellyPlus_2pm_roller_invert_0
readingList $DEVICETOPIC/online:.* online
$DEVICETOPIC/status/mqtt:.* { json2nameValue($EVENT, 'mqtt_', $JSONMAP) }
$DEVICETOPIC/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }
$DEVICETOPIC/status/cover_0:.* { json2nameValue($EVENT, 'status_', $JSONMAP) }
fhem2shelly/rpc:.* {}
shellyplus2pm_c049ef85bbe0:shellyplus2pm-c049ef85bbe0/events/rpc:.* { json2nameValue($EVENT, 'rpc_', $JSONMAP) }
room 1.1_Wohnzimmer,9.8_Homekit
setList open:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Open","params": {"id":0}}
close:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Close","params": {"id":0}}
half:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.GoToPosition","params": {"id":0,"pos":50}}
stop:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Stop","params": {"id":0}}
pct:slider,0,1,100 $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.GoToPosition","params": {"id":0,"pos":$EVTPART1}}
x_update:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Update","params": {"stage":"stable"}}
x_reboot:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Reboot"}
x_eco:true,false $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Sys.SetConfig","params": {"config": {"device": {"eco_mode": $EVTPART1}}}}
setStateList open close half stop pct
siriName Rollo Wohnzimmer
stateFormat online
pct
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
webCmd :open:close:half:stop:pct
Gruß
Michael
Du hast sowohl ShadingPos als auch externalTrigger Pos mit 40 angegeben. Eine musst Du ändern
Das war es wohl, danke! Kann man vielleicht ein Reading einführen "module_msg" oder so, wo das Modul bei solchen Konfigurationsfallen eine Meldung/Nachricht ausgibt?