Ich habe ASC mit einer Rolllade konfiguriert. Die Rolllade reagiert auf manuelle Fahrbefehle, aber automatisch (time, astro) passiert nichts. Auch das Löschen und das Neuanlegen von ASC und Rollo mit minimalen Attributdefinitionen führt zu keinem Erfolg.
Vielleicht übersehe ich etwas, aber ich weis nicht was. Ich bin ratlos. Ich hoffe, einer hat eine Idee und kann mir helfen.
Hier die Definitionen und Logeinträge:
ASC
Internals:
CFGFN
FUUID 6183fe38-f33f-df6c-9dc2-a1fccd2b45c766c2
FVERSION 73_AutoShuttersControl.pm:v0.10.18-s25129/2021-10-27
MID da39a3ee5e6b4b0d3255bfef95601890afd80709
NAME myASControl
NOTIFYDEV Astro,RolloOGKind1,global,myASControl
NR 29214
NTFY_ORDER 51-myASControl
STATE created new drive timer
TYPE AutoShuttersControl
VERSION v0.10.18
READINGS:
2021-11-04 17:21:22 RolloOGKind1_nextAstroTimeEvent 04.11.2021 - 17:30
2021-11-04 17:01:23 ascEnable on
2021-11-04 17:04:26 controlShading off
2021-11-04 16:44:09 room_Administration-_MQTT2 RolloOGKind1
2021-11-04 17:21:22 state created new drive timer
2021-11-04 16:44:09 userAttrList rolled out
helper:
shuttersList:
RolloOGKind1
monitoredDevs:
Astro:
myASControl ASC_twilightDevice
RolloOGKind1:
Attributes:
ASC_debug 1
ASC_expert 1
ASC_twilightDevice Astro
devStateIcon { ShuttersControl_DevStateIcon($name) }
icon fts_shutter_automatic
room ASC
Rollo:
Internals:
CID shellyswitch25_98CDAC1E68F4
DEF shellyswitch25_98CDAC1E68F4
DEVICETOPIC RolloOGKind1
FUUID 617166d4-f33f-df6c-e7a2-123a60b25f656531
IODev myMQTT2
LASTInputDev myMQTT2
MSGCNT 183982
NAME RolloOGKind1
NR 605
STATE 95
TYPE MQTT2_DEVICE
myMQTT2_MSGCNT 183982
myMQTT2_TIME 2021-11-04 17:21:16
OLDREADINGS:
READINGS:
2021-11-04 16:44:09 ASC_Enable on
2021-11-04 17:04:27 ASC_ShadingMessage <html> INFO: shading was deactivated globally </html>
2021-11-04 17:21:22 ASC_Time_DriveDown 04.11.2021 - 17:30
2021-11-04 17:21:22 ASC_Time_DriveUp 05.11.2021 - 05:00
2021-10-30 12:13:35 IODev myMQTT2
2021-11-04 16:44:09 associatedWith myASControl,none
2021-10-21 16:33:55 attrTemplateVersion 20210126
2021-11-04 17:21:16 current stop
2021-11-04 17:21:16 energy 6565
2021-11-04 09:24:22 fw_ver 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-11-04 09:24:22 id shellyswitch25-98CDAC1E68F4
2021-10-25 17:26:34 info_actions_stats_skipped 0
2021-10-25 17:26:34 info_cfg_changed_cnt 2
2021-10-25 17:26:34 info_cloud_connected false
2021-10-25 17:26:34 info_cloud_enabled false
2021-10-25 17:26:34 info_fs_free 146082
2021-10-25 17:26:34 info_fs_size 233681
2021-10-25 17:26:34 info_has_update false
2021-10-25 17:26:34 info_inputs_1_event
2021-10-25 17:26:34 info_inputs_1_event_cnt 0
2021-10-25 17:26:34 info_inputs_1_input 0
2021-10-25 17:26:34 info_inputs_2_event
2021-10-25 17:26:34 info_inputs_2_event_cnt 0
2021-10-25 17:26:34 info_inputs_2_input 0
2021-10-25 17:26:34 info_mac 98CDAC1E68F4
2021-10-25 17:26:34 info_meters_1_counters_1 0.000
2021-10-25 17:26:34 info_meters_1_counters_2 0.000
2021-10-25 17:26:34 info_meters_1_counters_3 0.000
2021-10-25 17:26:34 info_meters_1_is_valid true
2021-10-25 17:26:34 info_meters_1_overpower 0.00
2021-10-25 17:26:34 info_meters_1_power 0.00
2021-10-25 17:26:34 info_meters_1_timestamp 1635182795
2021-10-25 17:26:34 info_meters_1_total 848
2021-10-25 17:26:34 info_meters_2_counters_1 0.000
2021-10-25 17:26:34 info_meters_2_counters_2 0.000
2021-10-25 17:26:34 info_meters_2_counters_3 0.000
2021-10-25 17:26:34 info_meters_2_is_valid true
2021-10-25 17:26:34 info_meters_2_overpower 0.00
2021-10-25 17:26:34 info_meters_2_power 0.00
2021-10-25 17:26:34 info_meters_2_timestamp 1635182795
2021-10-25 17:26:34 info_meters_2_total 1074
2021-10-25 17:26:34 info_mqtt_connected true
2021-10-25 17:26:34 info_overtemperature false
2021-10-25 17:26:34 info_ram_free 36460
2021-10-25 17:26:34 info_ram_total 49936
2021-10-25 17:26:34 info_rollers_1_calibrating false
2021-10-25 17:26:34 info_rollers_1_current_pos 100
2021-10-25 17:26:34 info_rollers_1_is_valid true
2021-10-25 17:26:34 info_rollers_1_last_direction open
2021-10-25 17:26:34 info_rollers_1_overtemperature false
2021-10-25 17:26:34 info_rollers_1_positioning true
2021-10-25 17:26:34 info_rollers_1_power 0.00
2021-10-25 17:26:34 info_rollers_1_safety_switch false
2021-10-25 17:26:34 info_rollers_1_source input
2021-10-25 17:26:34 info_rollers_1_state stop
2021-10-25 17:26:34 info_rollers_1_stop_reason normal
2021-10-25 17:26:34 info_serial 156
2021-10-25 17:26:34 info_temperature 51.61
2021-10-25 17:26:34 info_temperature_status Normal
2021-10-25 17:26:34 info_time 17:26
2021-10-25 17:26:34 info_tmp_is_valid true
2021-10-25 17:26:34 info_tmp_tC 51.61
2021-10-25 17:26:34 info_tmp_tF 124.90
2021-10-25 17:26:34 info_unixtime 1635175595
2021-10-25 17:26:34 info_update_has_update false
2021-10-25 17:26:34 info_update_new_version 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-10-25 17:26:34 info_update_old_version 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-10-25 17:26:34 info_update_status idle
2021-10-25 17:26:34 info_uptime 353777
2021-10-25 17:26:34 info_voltage 231.13
2021-10-25 17:26:34 info_wifi_sta_connected true
2021-10-25 17:26:34 info_wifi_sta_ip 192.168.66.84
2021-10-25 17:26:34 info_wifi_sta_rssi -88
2021-10-25 17:26:34 info_wifi_sta_ssid nightingale_nomap
2021-11-04 17:21:16 input0 0
2021-11-04 17:21:16 input1 0
2021-11-04 09:24:22 ip 192.168.66.84
2021-11-04 09:24:22 mac 98CDAC1E68F4
2021-11-04 09:24:22 mode roller
2021-11-04 09:24:22 model SHSW-25
2021-11-04 09:24:22 new_fw false
2021-11-04 09:24:21 online true
2021-11-04 17:21:16 overtemperature 0
2021-11-04 17:21:16 pct 95
2021-11-04 17:21:16 power 0.00
2021-11-04 17:21:16 relay_0_energy 0.109416666666667
2021-11-04 16:37:15 relay_0_energy_total_kW 0.08
2021-10-25 20:41:41 roller_0_energy 1922
2021-11-04 17:21:16 roller_0_power 0.00
2021-11-04 17:21:16 roller_0_stop_reason normal
2021-11-04 17:21:16 state 95
2021-11-04 17:21:16 temperature 51.80
2021-11-04 17:21:16 temperature_f 125.24
2021-11-04 17:21:16 temperature_status Normal
2021-11-04 17:21:16 voltage 232.48
2021-10-25 17:26:34 x_mqttcom set announce
Attributes:
ASC 2
ASC_Down time
ASC_Mode_Down always
ASC_Mode_Up always
ASC_Pos_Reading pct
ASC_Time_Down_Early 17:30
ASC_Up time
autocreate 1
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
event-on-change-reading .*
eventMap open:opens close:closes
genericDeviceType blind
model shelly25_roller_invert_0
readingList shellies/shellyswitch25-98CDAC1E68F4/roller/0/pos:.* pct
shellies/shellyswitch25-98CDAC1E68F4/status/0/rollers:.* power
shellies/shellyswitch25-98CDAC1E68F4/online:.* online
shellies/shellyswitch25-98CDAC1E68F4/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-98CDAC1E68F4...mac.*, ? json2nameValue($EVENT) : return }
shellies/shellyswitch25-98CDAC1E68F4/roller/0:.* current
shellies/shellyswitch25-98CDAC1E68F4/roller/0:open {{'state' => 'opening'}}
shellies/shellyswitch25-98CDAC1E68F4/roller/0:close {{'state' => 'closing'}}
shellies/shellyswitch25-98CDAC1E68F4/roller/0/pos:.* state
shellies/shellyswitch25-98CDAC1E68F4/input/1:.* input1
shellies/shellyswitch25-98CDAC1E68F4/input/0:.* input0
shellies/shellyswitch25-98CDAC1E68F4/relay/power:.* power
shellies/shellyswitch25-98CDAC1E68F4/relay/energy:.* energy
shellies/shellyswitch25-98CDAC1E68F4/temperature:.* temperature
shellies/shellyswitch25-98CDAC1E68F4/overtemperature:.* overtemperature
shellies/shellyswitch25-98CDAC1E68F4/roller/0/power:.* roller_0_power
shellies/shellyswitch25-98CDAC1E68F4/roller/0/energy:.* {'relay_0_energy' => $EVENT/60/1000}
shellies/shellyswitch25-98CDAC1E68F4/temperature_f:.* temperature_f
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/info:.* { json2nameValue($EVENT, 'info_', $JSONMAP) }
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/roller/0/stop_reason:.* roller_0_stop_reason
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/temperature_status:.* temperature_status
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/voltage:.* voltage
room Administration->MQTT2
setList open:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command open
close:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command close
half:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command/pos 50
stop:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command stop
pct:slider,0,1,100 shellies/shellyswitch25-98CDAC1E68F4/roller/0/command/pos $EVTPART1
x_recalibration:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command rc
x_update:noArg shellies/shellyswitch25-98CDAC1E68F4/command update_fw
x_mqttcom shellies/shellyswitch25-98CDAC1E68F4/command $EVTPART1
setStateList open close half stop pct
userReadings relay_0_energy_total_kW:relay_0_energy:.* monotonic {sprintf("%.2f",ReadingsNum($name,'relay_0_energy',0))}
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
Debug-Log-Auszug:
ASC_DEBUG!!! 2021.11.04 17:04:27 - ShadingProcessingDriveCommand: RolloOGKind1 - Der aktuelle Beschattungsstatus ist: out, Beschattungsstatus Zeitstempel: 2021.11.04 17:04:27
2021.11.04 17:09:03.123 3: PV-Status: I_Status: 2 - Die PV-Anlage ist im Nachtmodus.
2021.11.04 17:10:01.683 3: Monocle Gateway wurde geprüft und kein Fehler gefunden.
2021.11.04 17:12:47.767 2: ROOMMATE set rr_Winfried home
ASC_DEBUG!!! 2021.11.04 17:13:49 - EventProcessingTwilightDevice: RolloOGKind1 - Event vom Astro oder Twilight Device wurde erkannt. Event wird verarbeitet
ASC_DEBUG!!! 2021.11.04 17:13:49 - EventProcessingTwilightDevice: myASControl - Passendes Event wurde erkannt. Verarbeitung über alle Rollos beginnt
ASC_DEBUG!!! 2021.11.04 17:13:49 - EventProcessingTwilightDevice: RolloOGKind1 RainProtection: unprotected WindProtection: unprotected
ASC_DEBUG!!! 2021.11.04 17:13:49 - EventProcessingTwilightDevice: RolloOGKind1 - Event vom Astro oder Twilight Device wurde erkannt. Event wird verarbeitet
2021.11.04 17:25:35.673 4: AutoShuttersControl (myASControl) - Devname: global Name: myASControl Notify: $VAR1 = [
'ATTR myASControl verbose 5'
];
2021.11.04 17:25:46.388 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'voltage: 232.50'
];
2021.11.04 17:26:17.409 3: n: 1 counter_new: 1983.19500 counter_last: 1983.19400 counter_dif_last: 1
2021.11.04 17:26:46.402 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'voltage: 231.96'
];
2021.11.04 17:27:16.564 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature: 51.99'
];
2021.11.04 17:27:16.591 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature_f: 125.59'
];
2021.11.04 17:27:47.193 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'voltage: 231.76'
];
2021.11.04 17:28:16.424 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature: 52.09'
];
2021.11.04 17:28:16.451 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature_f: 125.76'
];
2021.11.04 17:28:46.407 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature: 51.80'
];
2021.11.04 17:28:46.433 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature_f: 125.24'
];
2021.11.04 17:28:46.475 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'voltage: 232.01'
];
2021.11.04 17:29:16.401 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature: 51.99'
];
2021.11.04 17:29:16.428 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature_f: 125.59'
];
2021.11.04 17:29:46.409 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature: 51.71'
];
2021.11.04 17:29:46.435 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature_f: 125.07'
];
2021.11.04 17:29:46.476 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'voltage: 231.67'
];
2021.11.04 17:30:01.032 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'RolloOGKind1_nextAstroTimeEvent: 05.11.2021 - 05:00'
];
2021.11.04 17:30:01.049 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'state: created new drive timer'
];
2021.11.04 17:30:16.429 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature: 51.99'
];
2021.11.04 17:30:16.456 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature_f: 125.59'
];
2021.11.04 17:30:46.457 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'voltage: 231.79'
];
2021.11.04 17:31:16.639 4: AutoShuttersControl (myASControl) - Devname: RolloOGKind1 Name: myASControl Notify: $VAR1 = [
'temperature: 52.09'
];
Eigentlich sollte das Rollo, wie in den Auflistungen zu sehen ist, um 17:30 Uhr fahren. Der interne Timer wird zwar auf den nächsten Tag gesetzt, aber kein Fahrbefehl ausgelöst. ASC_DEBUG liefert um 17:30 Uhr, der programmierten Zeit, seltsamerweise auch keinen Logeintrag.
Viele Grüße
Ich dachte ich hätte den Fehler gefunden. Die zwei ASC-Attribute ASC_autoShuttersControlEvening und ASC_autoShuttersControlMorning hatte ich übersehen. Da es anscheinend keinen Defaultwert gibt, habe ich beide auf on gesetzt. Hat aber leider das Problem nicht gelöst.
Viele Grüße
Hallo,
Versuch mal ob Du das Rollo über das ASC Device mittels wiggle fahren lassen kannst.
Wie lautet denn der set Befehl eigentlich bei Dir um das Rollo zu bewegen?
Ein manuelles wiggle funktioniert.
Log:
ASC_DEBUG!!! 2021.11.04 18:51:38 - FnSetCmdFn: RolloOGKind1 - Rollo wird gefahren, aktuelle Position: 100, Zielposition: 95. Grund der Fahrt: wiggle begin drive
2021.11.04 18:51:38.287 3: MQTT2_DEVICE set RolloOGKind1 pct 95
ASC_DEBUG!!! 2021.11.04 18:51:38 - FnSetDriveCmd: RolloOGKind1 - NICHT versetztes fahren
ASC_DEBUG!!! 2021.11.04 18:51:38 - FnSetDriveCmd: RolloOGKind1 - NoDelay: JA
ASC_DEBUG!!! 2021.11.04 18:51:39 - Notify: ASC_Pos_Reading Event vom Rollo RolloOGKind1 wurde erkannt - RECEIVED EVENT: $VAR1 = [
'pct: 95',
'state: 95'
];
ASC_DEBUG!!! 2021.11.04 18:51:39 - EventProcessingShutters: Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde - RECEIVED EVENT: $VAR1 = 'pct: 95 state: 95';
ASC_DEBUG!!! 2021.11.04 18:51:39 - EventProcessingShutters: RolloOGKind1 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1636048299 Last Position Timestamp: 1636048298 Drive Up Max Duration: 60 Last Position: 100 aktuelle Position: 95
ASC_DEBUG!!! 2021.11.04 18:51:39 - EventProcessingShutters: eine automatisierte Fahrt durch ASC wurde erkannt! Es werden nun die LastDriveReading und StateReading Werte gesetzt!
ASC_DEBUG!!! 2021.11.04 18:51:39 - EventProcessingShutters: Fn wurde durlaufen und es sollten Debugausgaben gekommen sein. !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
Der set-Befehl funktioniert und lautet z.B.: set RolloOGKind1 pct 90
Log:
2021.11.04 18:54:22.072 3: MQTT2_DEVICE set RolloOGKind1 pct 90
ASC_DEBUG!!! 2021.11.04 18:54:24 - Notify: ASC_Pos_Reading Event vom Rollo RolloOGKind1 wurde erkannt - RECEIVED EVENT: $VAR1 = [
'pct: 90',
'state: 90'
];
ASC_DEBUG!!! 2021.11.04 18:54:24 - EventProcessingShutters: Fn wurde durch Notify aufgerufen da ASC_Pos_Reading Event erkannt wurde - RECEIVED EVENT: $VAR1 = 'pct: 90 state: 90';
ASC_DEBUG!!! 2021.11.04 18:54:24 - EventProcessingShutters: RolloOGKind1 - Event vom Rollo erkannt. Es wird nun eine etwaige manuelle Fahrt ausgewertet. Int von gettimeofday: 1636048464 Last Position Timestamp: 1636048358 Drive Up Max Duration: 60 Last Position: 95 aktuelle Position: 90
ASC_DEBUG!!! 2021.11.04 18:54:24 - FnIsDay: RolloOGKind1 Allgemein: 0
ASC_DEBUG!!! 2021.11.04 18:54:24 - EventProcessingShutters: eine manualle Fahrt wurde erkannt!
ASC_DEBUG!!! 2021.11.04 18:54:24 - EventProcessingShutters: Fn wurde durlaufen und es sollten Debugausgaben gekommen sein. !!!Wenn nicht!!! wurde der Event nicht korrekt als Nummerisch erkannt.
Viele Grüße
Gib bitte noch mal ein list vom Rollo
Hier das gewünschte List:
Internals:
CID shellyswitch25_98CDAC1E68F4
DEF shellyswitch25_98CDAC1E68F4
DEVICETOPIC RolloOGKind1
FUUID 617166d4-f33f-df6c-e7a2-123a60b25f656531
IODev myMQTT2
LASTInputDev myMQTT2
MSGCNT 187572
NAME RolloOGKind1
NR 605
STATE 90
TYPE MQTT2_DEVICE
myMQTT2_MSGCNT 187572
myMQTT2_TIME 2021-11-04 19:27:55
OLDREADINGS:
READINGS:
2021-11-04 16:44:09 ASC_Enable on
2021-11-04 17:04:27 ASC_ShadingMessage <html> INFO: shading was deactivated globally </html>
2021-11-04 18:54:25 ASC_ShuttersLastDrive manual
2021-11-04 18:30:01 ASC_Time_DriveDown 05.11.2021 - 18:30
2021-11-04 18:30:01 ASC_Time_DriveUp 05.11.2021 - 05:00
2021-10-30 12:13:35 IODev myMQTT2
2021-11-04 16:44:09 associatedWith myASControl,none
2021-10-21 16:33:55 attrTemplateVersion 20210126
2021-11-04 19:27:55 current stop
2021-11-04 19:27:55 energy 7199
2021-11-04 09:24:22 fw_ver 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-11-04 09:24:22 id shellyswitch25-98CDAC1E68F4
2021-10-25 17:26:34 info_actions_stats_skipped 0
2021-10-25 17:26:34 info_cfg_changed_cnt 2
2021-10-25 17:26:34 info_cloud_connected false
2021-10-25 17:26:34 info_cloud_enabled false
2021-10-25 17:26:34 info_fs_free 146082
2021-10-25 17:26:34 info_fs_size 233681
2021-10-25 17:26:34 info_has_update false
2021-10-25 17:26:34 info_inputs_1_event
2021-10-25 17:26:34 info_inputs_1_event_cnt 0
2021-10-25 17:26:34 info_inputs_1_input 0
2021-10-25 17:26:34 info_inputs_2_event
2021-10-25 17:26:34 info_inputs_2_event_cnt 0
2021-10-25 17:26:34 info_inputs_2_input 0
2021-10-25 17:26:34 info_mac 98CDAC1E68F4
2021-10-25 17:26:34 info_meters_1_counters_1 0.000
2021-10-25 17:26:34 info_meters_1_counters_2 0.000
2021-10-25 17:26:34 info_meters_1_counters_3 0.000
2021-10-25 17:26:34 info_meters_1_is_valid true
2021-10-25 17:26:34 info_meters_1_overpower 0.00
2021-10-25 17:26:34 info_meters_1_power 0.00
2021-10-25 17:26:34 info_meters_1_timestamp 1635182795
2021-10-25 17:26:34 info_meters_1_total 848
2021-10-25 17:26:34 info_meters_2_counters_1 0.000
2021-10-25 17:26:34 info_meters_2_counters_2 0.000
2021-10-25 17:26:34 info_meters_2_counters_3 0.000
2021-10-25 17:26:34 info_meters_2_is_valid true
2021-10-25 17:26:34 info_meters_2_overpower 0.00
2021-10-25 17:26:34 info_meters_2_power 0.00
2021-10-25 17:26:34 info_meters_2_timestamp 1635182795
2021-10-25 17:26:34 info_meters_2_total 1074
2021-10-25 17:26:34 info_mqtt_connected true
2021-10-25 17:26:34 info_overtemperature false
2021-10-25 17:26:34 info_ram_free 36460
2021-10-25 17:26:34 info_ram_total 49936
2021-10-25 17:26:34 info_rollers_1_calibrating false
2021-10-25 17:26:34 info_rollers_1_current_pos 100
2021-10-25 17:26:34 info_rollers_1_is_valid true
2021-10-25 17:26:34 info_rollers_1_last_direction open
2021-10-25 17:26:34 info_rollers_1_overtemperature false
2021-10-25 17:26:34 info_rollers_1_positioning true
2021-10-25 17:26:34 info_rollers_1_power 0.00
2021-10-25 17:26:34 info_rollers_1_safety_switch false
2021-10-25 17:26:34 info_rollers_1_source input
2021-10-25 17:26:34 info_rollers_1_state stop
2021-10-25 17:26:34 info_rollers_1_stop_reason normal
2021-10-25 17:26:34 info_serial 156
2021-10-25 17:26:34 info_temperature 51.61
2021-10-25 17:26:34 info_temperature_status Normal
2021-10-25 17:26:34 info_time 17:26
2021-10-25 17:26:34 info_tmp_is_valid true
2021-10-25 17:26:34 info_tmp_tC 51.61
2021-10-25 17:26:34 info_tmp_tF 124.90
2021-10-25 17:26:34 info_unixtime 1635175595
2021-10-25 17:26:34 info_update_has_update false
2021-10-25 17:26:34 info_update_new_version 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-10-25 17:26:34 info_update_old_version 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-10-25 17:26:34 info_update_status idle
2021-10-25 17:26:34 info_uptime 353777
2021-10-25 17:26:34 info_voltage 231.13
2021-10-25 17:26:34 info_wifi_sta_connected true
2021-10-25 17:26:34 info_wifi_sta_ip 192.168.66.84
2021-10-25 17:26:34 info_wifi_sta_rssi -88
2021-10-25 17:26:34 info_wifi_sta_ssid nightingale_nomap
2021-11-04 19:27:55 input0 0
2021-11-04 19:27:55 input1 0
2021-11-04 09:24:22 ip 192.168.66.84
2021-11-04 09:24:22 mac 98CDAC1E68F4
2021-11-04 09:24:22 mode roller
2021-11-04 09:24:22 model SHSW-25
2021-11-04 09:24:22 new_fw false
2021-11-04 09:24:21 online true
2021-11-04 19:27:55 overtemperature 0
2021-11-04 19:27:55 pct 90
2021-11-04 19:27:55 power 0.00
2021-11-04 19:27:55 relay_0_energy 0.119983333333333
2021-11-04 18:55:24 relay_0_energy_total_kW 0.09
2021-10-25 20:41:41 roller_0_energy 1922
2021-11-04 19:27:55 roller_0_power 0.00
2021-11-04 19:27:55 roller_0_stop_reason normal
2021-11-04 19:27:55 state 90
2021-11-04 19:27:55 temperature 51.71
2021-11-04 19:27:55 temperature_f 125.07
2021-11-04 19:27:55 temperature_status Normal
2021-11-04 19:27:55 voltage 234.50
2021-10-25 17:26:34 x_mqttcom set announce
Attributes:
ASC 2
ASC_Down time
ASC_Mode_Down always
ASC_Mode_Up always
ASC_Pos_Reading pct
ASC_Shading_WaitingPeriod 60
ASC_Sleep_Pos 0
ASC_Time_Down_Early 18:30
ASC_Time_Down_Late 18:45
ASC_Up time
autocreate 1
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
event-on-change-reading .*
eventMap open:opens close:closes
genericDeviceType blind
model shelly25_roller_invert_0
readingList shellies/shellyswitch25-98CDAC1E68F4/roller/0/pos:.* pct
shellies/shellyswitch25-98CDAC1E68F4/status/0/rollers:.* power
shellies/shellyswitch25-98CDAC1E68F4/online:.* online
shellies/shellyswitch25-98CDAC1E68F4/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-98CDAC1E68F4...mac.*, ? json2nameValue($EVENT) : return }
shellies/shellyswitch25-98CDAC1E68F4/roller/0:.* current
shellies/shellyswitch25-98CDAC1E68F4/roller/0:open {{'state' => 'opening'}}
shellies/shellyswitch25-98CDAC1E68F4/roller/0:close {{'state' => 'closing'}}
shellies/shellyswitch25-98CDAC1E68F4/roller/0/pos:.* state
shellies/shellyswitch25-98CDAC1E68F4/input/1:.* input1
shellies/shellyswitch25-98CDAC1E68F4/input/0:.* input0
shellies/shellyswitch25-98CDAC1E68F4/relay/power:.* power
shellies/shellyswitch25-98CDAC1E68F4/relay/energy:.* energy
shellies/shellyswitch25-98CDAC1E68F4/temperature:.* temperature
shellies/shellyswitch25-98CDAC1E68F4/overtemperature:.* overtemperature
shellies/shellyswitch25-98CDAC1E68F4/roller/0/power:.* roller_0_power
shellies/shellyswitch25-98CDAC1E68F4/roller/0/energy:.* {'relay_0_energy' => $EVENT/60/1000}
shellies/shellyswitch25-98CDAC1E68F4/temperature_f:.* temperature_f
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/info:.* { json2nameValue($EVENT, 'info_', $JSONMAP) }
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/roller/0/stop_reason:.* roller_0_stop_reason
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/temperature_status:.* temperature_status
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/voltage:.* voltage
room Administration->MQTT2
setList open:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command open
close:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command close
half:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command/pos 50
stop:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command stop
pct:slider,0,1,100 shellies/shellyswitch25-98CDAC1E68F4/roller/0/command/pos $EVTPART1
x_recalibration:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command rc
x_update:noArg shellies/shellyswitch25-98CDAC1E68F4/command update_fw
x_mqttcom shellies/shellyswitch25-98CDAC1E68F4/command $EVTPART1
setStateList open close half stop pct
userReadings relay_0_energy_total_kW:relay_0_energy:.* monotonic {sprintf("%.2f",ReadingsNum($name,'relay_0_energy',0))}
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
SleepPos darf nicht ganz geschlossen sein. Generell müssen alle Positionen nach Möglichkeit unterschiedlich sein. Auch von den Default Positionen. Siehe CommandRef. Das Rollo wird jetzt im Nachtmodus sein. Schau ob es morgen hoch fährt.
Ich habe SleepPos mal auf 50 gesetzt. Dann warte ich mal ab.
Erstmal Danke für die schnelle Reaktion.
Das Rollo ist heute morgen wie programmiert um 7:30 Uhr gefahren. Ich hatte gestern FHEM nochmal neu gestartet. Aber ich habe jetzt ein anderes Problem: FHEM zeigt immer noch den Rollo-Status offen (pct = 0) und "ASC_ShuttersLastDrive manual" an. ASC und Rollo haben noch die Position 0.
Meine einzige Erklärung dazu wäre die sehr schwache WiFi Signalstärke (-88 db) des Shelly-Rollo-Devices, die just in dem Augenblik nach dem erfolgreichem Fahrbefehl abbricht. Im Log ist allerdings kein RSSI-Abbruch registriert.
List ASC:
Internals:
FUUID 6183fe38-f33f-df6c-9dc2-a1fccd2b45c766c2
FVERSION 73_AutoShuttersControl.pm:v0.10.18-s25129/2021-10-27
MID da39a3ee5e6b4b0d3255bfef95601890afd80709
NAME myASControl
NOTIFYDEV global,myASControl,RolloOGKind1,RolloOGKind1,Astro
NR 611
NTFY_ORDER 51-myASControl
STATE created new drive timer
TYPE AutoShuttersControl
VERSION v0.10.18
OLDREADINGS:
READINGS:
2021-11-04 21:05:55 RolloOGKind1_PosValue 0
2021-11-05 07:30:01 RolloOGKind1_lastPosValue 0
2021-11-05 07:30:01 RolloOGKind1_nextAstroTimeEvent 05.11.2021 - 18:30
2021-11-04 17:01:23 ascEnable on
2021-11-04 17:04:26 controlShading off
2021-11-04 21:43:18 hardLockOut off
2021-11-04 21:43:18 room_Administration-_MQTT2 RolloOGKind1
2021-11-04 21:43:18 selfDefense off
2021-11-05 07:30:01 state created new drive timer
2021-11-04 21:43:18 sunriseTimeWeHoliday off
2021-11-04 21:43:18 userAttrList rolled out
helper:
shuttersList:
RolloOGKind1
monitoredDevs:
Astro:
myASControl ASC_twilightDevice
RolloOGKind1:
Attributes:
ASC_autoShuttersControlEvening on
ASC_autoShuttersControlMorning on
ASC_debug 1
ASC_expert 1
ASC_twilightDevice Astro
devStateIcon { ShuttersControl_DevStateIcon($name) }
icon fts_shutter_automatic
room ASC
List Rollo Device:
Internals:
CID shellyswitch25_98CDAC1E68F4
DEF shellyswitch25_98CDAC1E68F4
DEVICETOPIC RolloOGKind1
FUUID 617166d4-f33f-df6c-e7a2-123a60b25f656531
IODev myMQTT2
LASTInputDev myMQTT2
MSGCNT 19483
NAME RolloOGKind1
NR 605
STATE 0
TYPE MQTT2_DEVICE
myMQTT2_MSGCNT 19483
myMQTT2_TIME 2021-11-05 09:18:37
READINGS:
2021-11-04 16:44:09 ASC_Enable on
2021-11-04 17:04:27 ASC_ShadingMessage <html> INFO: shading was deactivated globally </html>
2021-11-04 21:05:55 ASC_ShuttersLastDrive manual
2021-11-05 07:30:01 ASC_Time_DriveDown 05.11.2021 - 18:30
2021-11-05 07:30:01 ASC_Time_DriveUp 06.11.2021 - 07:30
2021-11-04 21:43:08 IODev myMQTT2
2021-11-04 21:43:18 associatedWith myASControl,none
2021-10-21 16:33:55 attrTemplateVersion 20210126
2021-11-05 09:18:37 current stop
2021-11-05 09:18:37 energy 0
2021-11-05 07:30:36 fw_ver 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-11-05 07:30:36 id shellyswitch25-98CDAC1E68F4
2021-10-25 17:26:34 info_actions_stats_skipped 0
2021-10-25 17:26:34 info_cfg_changed_cnt 2
2021-10-25 17:26:34 info_cloud_connected false
2021-10-25 17:26:34 info_cloud_enabled false
2021-10-25 17:26:34 info_fs_free 146082
2021-10-25 17:26:34 info_fs_size 233681
2021-10-25 17:26:34 info_has_update false
2021-10-25 17:26:34 info_inputs_1_event
2021-10-25 17:26:34 info_inputs_1_event_cnt 0
2021-10-25 17:26:34 info_inputs_1_input 0
2021-10-25 17:26:34 info_inputs_2_event
2021-10-25 17:26:34 info_inputs_2_event_cnt 0
2021-10-25 17:26:34 info_inputs_2_input 0
2021-10-25 17:26:34 info_mac 98CDAC1E68F4
2021-10-25 17:26:34 info_meters_1_counters_1 0.000
2021-10-25 17:26:34 info_meters_1_counters_2 0.000
2021-10-25 17:26:34 info_meters_1_counters_3 0.000
2021-10-25 17:26:34 info_meters_1_is_valid true
2021-10-25 17:26:34 info_meters_1_overpower 0.00
2021-10-25 17:26:34 info_meters_1_power 0.00
2021-10-25 17:26:34 info_meters_1_timestamp 1635182795
2021-10-25 17:26:34 info_meters_1_total 848
2021-10-25 17:26:34 info_meters_2_counters_1 0.000
2021-10-25 17:26:34 info_meters_2_counters_2 0.000
2021-10-25 17:26:34 info_meters_2_counters_3 0.000
2021-10-25 17:26:34 info_meters_2_is_valid true
2021-10-25 17:26:34 info_meters_2_overpower 0.00
2021-10-25 17:26:34 info_meters_2_power 0.00
2021-10-25 17:26:34 info_meters_2_timestamp 1635182795
2021-10-25 17:26:34 info_meters_2_total 1074
2021-10-25 17:26:34 info_mqtt_connected true
2021-10-25 17:26:34 info_overtemperature false
2021-10-25 17:26:34 info_ram_free 36460
2021-10-25 17:26:34 info_ram_total 49936
2021-10-25 17:26:34 info_rollers_1_calibrating false
2021-10-25 17:26:34 info_rollers_1_current_pos 100
2021-10-25 17:26:34 info_rollers_1_is_valid true
2021-10-25 17:26:34 info_rollers_1_last_direction open
2021-10-25 17:26:34 info_rollers_1_overtemperature false
2021-10-25 17:26:34 info_rollers_1_positioning true
2021-10-25 17:26:34 info_rollers_1_power 0.00
2021-10-25 17:26:34 info_rollers_1_safety_switch false
2021-10-25 17:26:34 info_rollers_1_source input
2021-10-25 17:26:34 info_rollers_1_state stop
2021-10-25 17:26:34 info_rollers_1_stop_reason normal
2021-10-25 17:26:34 info_serial 156
2021-10-25 17:26:34 info_temperature 51.61
2021-10-25 17:26:34 info_temperature_status Normal
2021-10-25 17:26:34 info_time 17:26
2021-10-25 17:26:34 info_tmp_is_valid true
2021-10-25 17:26:34 info_tmp_tC 51.61
2021-10-25 17:26:34 info_tmp_tF 124.90
2021-10-25 17:26:34 info_unixtime 1635175595
2021-10-25 17:26:34 info_update_has_update false
2021-10-25 17:26:34 info_update_new_version 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-10-25 17:26:34 info_update_old_version 20210909-144331/v1.11.4-DNSfix-ge6b2f6d
2021-10-25 17:26:34 info_update_status idle
2021-10-25 17:26:34 info_uptime 353777
2021-10-25 17:26:34 info_voltage 231.13
2021-10-25 17:26:34 info_wifi_sta_connected true
2021-10-25 17:26:34 info_wifi_sta_ip 192.168.66.84
2021-10-25 17:26:34 info_wifi_sta_rssi -88
2021-10-25 17:26:34 info_wifi_sta_ssid nightingale_nomap
2021-11-05 09:18:37 input0 0
2021-11-05 09:18:37 input1 0
2021-11-05 07:30:36 ip 192.168.66.84
2021-11-05 07:30:36 mac 98CDAC1E68F4
2021-11-05 07:30:36 mode roller
2021-11-05 07:30:36 model SHSW-25
2021-11-05 07:30:36 new_fw false
2021-11-05 07:30:36 online true
2021-11-05 09:18:37 overtemperature 0
2021-11-05 09:18:37 pct 0
2021-11-05 09:18:37 power 0.00
2021-11-05 09:18:37 relay_0_energy 0
2021-11-05 07:30:36 relay_0_energy_total_kW 0.09
2021-10-25 20:41:41 roller_0_energy 1922
2021-11-05 09:18:37 roller_0_power 0.00
2021-11-05 09:18:37 roller_0_stop_reason normal
2021-11-05 09:18:37 state 0
2021-11-05 09:18:37 temperature 50.86
2021-11-05 09:18:37 temperature_f 123.55
2021-11-05 09:18:37 temperature_status Normal
2021-11-05 09:18:37 voltage 232.74
2021-10-25 17:26:34 x_mqttcom set announce
Attributes:
ASC 2
ASC_BlockingTime_afterManual 60
ASC_Down time
ASC_Mode_Down always
ASC_Mode_Up always
ASC_Pos_Reading pct
ASC_Shading_WaitingPeriod 60
ASC_Shutter_IdleDetection current:stop
ASC_Sleep_Pos 50
ASC_Time_Down_Early 18:30
ASC_Time_Down_Late 18:45
ASC_Time_Up_Early 07:30
ASC_Time_Up_Late 09:00
ASC_Up time
autocreate 1
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
event-on-change-reading .*
eventMap open:opens close:closes
genericDeviceType blind
model shelly25_roller_invert_0
readingList shellies/shellyswitch25-98CDAC1E68F4/roller/0/pos:.* pct
shellies/shellyswitch25-98CDAC1E68F4/status/0/rollers:.* power
shellies/shellyswitch25-98CDAC1E68F4/online:.* online
shellies/shellyswitch25-98CDAC1E68F4/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-98CDAC1E68F4...mac.*, ? json2nameValue($EVENT) : return }
shellies/shellyswitch25-98CDAC1E68F4/roller/0:.* current
shellies/shellyswitch25-98CDAC1E68F4/roller/0:open {{'state' => 'opening'}}
shellies/shellyswitch25-98CDAC1E68F4/roller/0:close {{'state' => 'closing'}}
shellies/shellyswitch25-98CDAC1E68F4/roller/0/pos:.* state
shellies/shellyswitch25-98CDAC1E68F4/input/1:.* input1
shellies/shellyswitch25-98CDAC1E68F4/input/0:.* input0
shellies/shellyswitch25-98CDAC1E68F4/relay/power:.* power
shellies/shellyswitch25-98CDAC1E68F4/relay/energy:.* energy
shellies/shellyswitch25-98CDAC1E68F4/temperature:.* temperature
shellies/shellyswitch25-98CDAC1E68F4/overtemperature:.* overtemperature
shellies/shellyswitch25-98CDAC1E68F4/roller/0/power:.* roller_0_power
shellies/shellyswitch25-98CDAC1E68F4/roller/0/energy:.* {'relay_0_energy' => $EVENT/60/1000}
shellies/shellyswitch25-98CDAC1E68F4/temperature_f:.* temperature_f
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/info:.* { json2nameValue($EVENT, 'info_', $JSONMAP) }
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/roller/0/stop_reason:.* roller_0_stop_reason
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/temperature_status:.* temperature_status
shellyswitch25_98CDAC1E68F4:shellies/shellyswitch25-98CDAC1E68F4/voltage:.* voltage
room Administration->MQTT2
setList open:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command open
close:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command close
half:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command/pos 50
stop:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command stop
pct:slider,0,1,100 shellies/shellyswitch25-98CDAC1E68F4/roller/0/command/pos $EVTPART1
x_recalibration:noArg shellies/shellyswitch25-98CDAC1E68F4/roller/0/command rc
x_update:noArg shellies/shellyswitch25-98CDAC1E68F4/command update_fw
x_mqttcom shellies/shellyswitch25-98CDAC1E68F4/command $EVTPART1
setStateList open close half stop pct
userReadings relay_0_energy_total_kW:relay_0_energy:.* monotonic {sprintf("%.2f",ReadingsNum($name,'relay_0_energy',0))}
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
Log sieht OK aus:
ASC_DEBUG!!! 2021.11.05 07:30:01 - FnSetCmdFn: RolloOGKind1 - Rollo wird gefahren, aktuelle Position: 0, Zielposition: 100. Grund der Fahrt: day open
2021.11.05 07:30:01.016 3: MQTT2_DEVICE set RolloOGKind1 pct 100
ASC_DEBUG!!! 2021.11.05 07:30:01 - FnSetDriveCmd: RolloOGKind1 - NICHT versetztes fahren
ASC_DEBUG!!! 2021.11.05 07:30:01 - FnSetDriveCmd: RolloOGKind1 - NoDelay: NEIN
ASC_DEBUG!!! 2021.11.05 07:30:01 - FnShuttersCommandSet: RolloOGKind1 - Das Rollo wird gefahren. Kein Partymodus aktiv und das zugordnete Fenster ist entweder nicht offen oder keine Terassentür
Ich beobachte weiter.
Viele Grüße
Das weiterhin pct 0 angezeigt wird liegt aber nicht an ASC. Da scheint Dein Device keine Rückmeldung gegeben zu haben.
Das Rollo fährt jetzt planmäßig. Das ASC-Device hatte wohl einen kaputten Status, warum auch immer. Ursache für die weiteren Fehlversuche nach Neuanlage des ASC-Devices war wohl der nicht durchgeführte FHEM-Neustart.
Problem erledigt.
Viele Grüße