[73_AutoShuttersControl.pm] Rolllos automatisiert steuern - Version 0.10

Begonnen von CoolTux, 22 Juni 2020, 12:38:36

Vorheriges Thema - Nächstes Thema

CoolTux

Zitat von: xerion am 04 August 2020, 21:41:17
Abend zusammen,

ich habe mit der v.0.10.5 das Problem, das nach einem FHEM Neustart das Attribut "ASC_ShuttersPlace" gelöscht wird. Ist mit aufgefallen, das bei meinem Terrassenfenster auf einmal das Rollo trotz geöffneten Fenster geschlossen wurde.

Kann jemand das Verhalten bei sich auch nachstellen?

Sieht so aus als könne er wieder mal nicht das versteckte Reading für die neue Version setzen. Mach mal bitte ein list -r auf einem Rollo
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

xerion

Zitat von: CoolTux am 05 August 2020, 12:22:06
Sieht so aus als könne er wieder mal nicht das versteckte Reading für die neue Version setzen. Mach mal bitte ein list -r auf einem Rollo

Hi CoolTux,

hier ein list -r von einem der betroffenen Rollos.

define Rollo_WZ MQTT2_DEVICE DVES_2AD515
attr Rollo_WZ 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 room_map structexclude
attr Rollo_WZ ASC 1
attr Rollo_WZ ASC_BrightnessSensor Wemos_Daemmerung:Lux
attr Rollo_WZ ASC_Down brightness
attr Rollo_WZ ASC_Mode_Up home
attr Rollo_WZ ASC_Pos_Reading pct
attr Rollo_WZ ASC_PrivacyDownValue_beforeNightClose 900:45
attr Rollo_WZ ASC_PrivacyDown_Pos 40
attr Rollo_WZ ASC_Shading_InOutAzimuth 100:255
attr Rollo_WZ ASC_Shading_MinMax_Elevation 25.0:100.0
attr Rollo_WZ ASC_Shading_Min_OutsideTemperature 22
attr Rollo_WZ ASC_Shading_Mode always
attr Rollo_WZ ASC_Shading_Pos {(ReadingsVal("Temperatur_draussen","temperature",0) >= 29 ? 100:50)}
attr Rollo_WZ ASC_Shading_StateChange_SunnyCloudy 72000:20000
attr Rollo_WZ ASC_Shading_WaitingPeriod 1200
attr Rollo_WZ ASC_TempSensor Temperatur_draussen
attr Rollo_WZ ASC_Time_Down_Late 22:30
attr Rollo_WZ ASC_Time_Up_Early 06:00
attr Rollo_WZ ASC_Time_Up_Late 09:30
attr Rollo_WZ ASC_Time_Up_WE_Holiday 08:00
attr Rollo_WZ ASC_Up brightness
attr Rollo_WZ ASC_WindowRec wohnzimmer_fenster
attr Rollo_WZ DbLogExclude .*
attr Rollo_WZ IODev Mosquitto_Broker
attr Rollo_WZ alexaName Rollo Wohnzimmer
attr Rollo_WZ alias Rollo Wohnzimmer
attr Rollo_WZ autocreate 1
attr Rollo_WZ cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
attr Rollo_WZ comment After applying the template set "ShutterOpenDuration1" and "ShutterCloseDuration1" first.\
Use the "set x_configuration" Option. Example: "set x_configuration ShutterOpenDuration1 35"\
Shutter specific commands available: ShutterOpenDuration1, ShutterCloseDuration1, ShutterRelay1, ShutterSetHalfway1, ShutterSetClose1, ShutterInvert1, ShutterMotordelay1, ShutterCalibration1;; you may use this for general setOptions in tasmota also.\
commands may need restart to take effect.\
For calibration, use of more than one shutter device and further information on the available commands see Tasmota wiki.
attr Rollo_WZ devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red Online:10px-kreis-gruen Offline:10px-kreis-rot 100:fts_shutter_100 0:fts_shutter_10 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 \b\d\b.*:fts_shutter_10 set_.*:fts_shutter_updown
attr Rollo_WZ event-on-change-reading ASC_.*,pct,state,Shutter.*,POWER.*,LWT,my.*
attr Rollo_WZ group Rollos
attr Rollo_WZ icon scene_livingroom
attr Rollo_WZ model tasmota_2ch_shutter_invert_1
attr Rollo_WZ readingList tele/sonoff_rollo_wohnzimmer/LWT:.* LWT\
   stat/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }\
   stat/sonoff_rollo_wohnzimmer/POWER1:.* POWER1\
   stat/sonoff_rollo_wohnzimmer/POWER1:on {{'state' => 'opening'}}\
   stat/sonoff_rollo_wohnzimmer/POWER2:.* POWER2\
   stat/sonoff_rollo_wohnzimmer/POWER2:on {{'state' => 'closing'}}\
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* state\
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* pct\
   tele/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/STATE:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/SENSOR:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/INFO.:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/UPTIME:.* { json2nameValue($EVENT) }\
   cmnd/sonoff_rollo_wohnzimmer/ShutterPosition1:.* ShutterPosition1\
   cmnd/sonoff_rollo_wohnzimmer/ShutterClose1:.* ShutterClose1\
   cmnd/sonoff_rollo_wohnzimmer/ShutterOpen1:.* ShutterOpen1\
   cmnd/sonoff_rollo_wohnzimmer/POWER:.* POWER
attr Rollo_WZ room ASC,Rollos,Tasmota,Wohnzimmer
attr Rollo_WZ setList close:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterClose1\
   open:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterOpen1\
   half:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetHalfway1 50\
   pct:slider,0,1,100 cmnd/sonoff_rollo_wohnzimmer/ShutterPosition1 $EVTPART1\
   stop:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterStop1\
   resetClose:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetClose1\
   x_configuration cmnd/sonoff_rollo_wohnzimmer/$EVTPART1 $EVTPART2
attr Rollo_WZ setStateList open close half stop pct
attr Rollo_WZ stateFormat \
LWT\
\
state
attr Rollo_WZ userReadings myBrightness {ascAPIget('BrightnessAverage',$NAME)},\
myBrightnessForShadingCloudy {ascAPIget('ShadingStateChangeCloudy',$NAME)},\
myBrightnessForShadingSunny {ascAPIget('ShadingStateChangeSunny',$NAME)},\
myTemperatureExtern {ascAPIget('OutTemp',$NAME)},\
myTemperatureExternForShadingMin {AttrVal("$NAME", "ASC_Shading_Min_OutsideTemperature","")},\
mySunAzimuth {ascAPIget('Azimuth')},\
mySunAzimuthLeft {ascAPIget('ShadingAzimuthLeft',$NAME)},\
mySunAzimuthRight {ascAPIget('ShadingAzimuthRight',$NAME)},\
mySunElevation {ascAPIget('Elevation')},\
mySunElevationForShadingMin {ascAPIget('ShadingMinElevation',$NAME)},\
mySunElevationForShadingMax {ascAPIget('ShadingMaxElevation',$NAME)},\
myShadingPASS_GreaterBrightnessSunny {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingSunny",0)) {"True"} else {"False"}},\
myShadingPASS_LowerBrightnessCloudy {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingCloudy",0)) {"True"} else {"False"}},\
myShadingPASS_GreaterSunAzimuthLeft {if (ReadingsNum("$NAME","mySunAzimuth",0) > ReadingsNum("$NAME","mySunAzimuthLeft",0)) {"True"} else {"False"}},\
myShadingPASS_LowerSunAzimuthRight {if (ReadingsNum("$NAME","mySunAzimuth",0) < ReadingsNum("$NAME","mySunAzimuthRight",0)) {"True"} else {"False"}},\
myShadingPASS_GreaterSunElevationMin {if (ReadingsNum("$NAME","mySunElevation",0) > ReadingsNum("$NAME","mySunElevationForShadingMin",0)) {"True"} else {"False"}},\
myShadingPASS_LowerSunElevationMax {if (ReadingsNum("$NAME","mySunElevation",0) < ReadingsNum("$NAME","mySunElevationForShadingMax",0)) {"True"} else {"False"}},\
myShadingPASS_GreaterTemperatureExternMin {if (ReadingsNum("$NAME","myTemperatureExtern",0) > ReadingsNum("$NAME","myTemperatureExternForShadingMin",0)) {"True"} else {"False"}}
attr Rollo_WZ webCmd :open:close:half:stop:pct

setstate Rollo_WZ \
Online\
\
50
setstate Rollo_WZ 2020-06-25 11:50:46 .ASC_AttrUpdateChanges_v0.10.1 1
setstate Rollo_WZ 2020-08-05 12:28:36 ANALOG_A0 119
setstate Rollo_WZ 2019-12-31 22:48:04 ASC_Enable on
setstate Rollo_WZ 2020-08-05 12:30:11 ASC_ShadingMessage INFO: current shading status is 'in' - next check in 20m
setstate Rollo_WZ 2020-08-05 11:29:28 ASC_ShuttersLastDrive shading in
setstate Rollo_WZ 2020-08-05 09:30:01 ASC_Time_DriveDown  5.08.2020 - 22:30
setstate Rollo_WZ 2020-08-05 09:30:01 ASC_Time_DriveUp  6.08.2020 - 09:30
setstate Rollo_WZ 2020-08-05 09:30:01 ASC_Time_PrivacyDriveDown  5.08.2020 - 22:15
setstate Rollo_WZ 2020-01-18 20:59:22 ButtonTopic 0
setstate Rollo_WZ 2020-01-17 21:51:30 DeepSleepTime 0
setstate Rollo_WZ 2020-07-08 09:08:24 FallbackTopic cmnd/DVES_2AD515_fb/
setstate Rollo_WZ 2020-07-08 09:08:24 GroupTopic cmnd/sonoffs/
setstate Rollo_WZ 2019-12-31 22:43:31 Groups 1,2
setstate Rollo_WZ 2020-08-05 12:28:36 Heap 27
setstate Rollo_WZ 2020-07-08 09:08:24 Hostname sonoff_rollo_wohnzimmer-5397
setstate Rollo_WZ 2020-07-08 09:08:24 IPAddress 192.168.178.140
setstate Rollo_WZ 2020-03-04 21:31:28 IPAddress1 192.168.178.140 (192.168.178.44)
setstate Rollo_WZ 2019-12-31 22:43:31 Interlock on
setstate Rollo_WZ 2020-08-05 08:45:43 LWT Online
setstate Rollo_WZ 2019-12-31 22:43:31 LedState 2
setstate Rollo_WZ 2020-08-05 12:28:36 LoadAvg 20
setstate Rollo_WZ 2020-07-08 09:08:24 Module Generic
setstate Rollo_WZ 2020-08-05 12:28:36 MqttCount 61
setstate Rollo_WZ 2020-07-04 20:23:31 MqttRetry 600
setstate Rollo_WZ 2020-01-17 21:40:18 OtaUrl http://thehackbox.org/tasmota/release/sonoff.bin
setstate Rollo_WZ 2020-08-03 20:36:58 POWER
setstate Rollo_WZ 2020-08-05 12:28:36 POWER1 off
setstate Rollo_WZ 2020-08-05 12:28:36 POWER2 off
setstate Rollo_WZ 2020-08-05 12:28:36 POWER3 off
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime1_Remaining 0
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime1_Set 0
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime2_Remaining 0
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime2_Set 0
setstate Rollo_WZ 2019-12-31 22:43:29 Restart Restarting
setstate Rollo_WZ 2020-07-08 09:08:24 RestartReason Software/System restart
setstate Rollo_WZ 2019-12-31 22:43:49 SaveData on
setstate Rollo_WZ 2019-12-31 22:43:30 SetOption26 on
setstate Rollo_WZ 2019-12-31 22:43:31 SetOption80 on
setstate Rollo_WZ 2019-12-31 22:43:31 SetOption81 on
setstate Rollo_WZ 2020-08-05 12:28:36 Shutter1_Direction 0
setstate Rollo_WZ 2020-08-05 12:28:36 Shutter1_Position 50
setstate Rollo_WZ 2020-08-05 12:28:36 Shutter1_Target 50
setstate Rollo_WZ 2020-05-04 21:14:11 Shutter1_direction 0
setstate Rollo_WZ 2020-07-30 22:08:14 ShutterClose1 100
setstate Rollo_WZ 2019-12-31 22:43:49 ShutterCloseDuration1 20.0
setstate Rollo_WZ 2019-12-31 22:43:49 ShutterInvert1 1
setstate Rollo_WZ 2020-08-05 06:37:25 ShutterOpen1 0
setstate Rollo_WZ 2020-04-16 09:17:38 ShutterOpenDuration1 21.0
setstate Rollo_WZ 2020-08-05 11:29:12 ShutterPosition1 50
setstate Rollo_WZ 2020-01-21 08:59:24 ShutterStop Done
setstate Rollo_WZ 2020-08-05 12:28:36 Sleep 50
setstate Rollo_WZ 2020-08-05 12:28:36 SleepMode Dynamic
setstate Rollo_WZ 2020-01-17 21:45:04 Sleep_0_Active 0
setstate Rollo_WZ 2020-01-17 21:45:12 Sleep_50_Active 50
setstate Rollo_WZ 2019-12-31 22:43:29 StateText1 off
setstate Rollo_WZ 2019-12-31 22:43:30 StateText2 on
setstate Rollo_WZ 2019-12-31 22:43:30 StateText3 toggle
setstate Rollo_WZ 2019-12-31 22:43:30 StateText4 hold
setstate Rollo_WZ 2019-12-31 22:43:32 SwitchMode1 3
setstate Rollo_WZ 2019-12-31 22:43:32 SwitchMode2 3
setstate Rollo_WZ 2020-08-05 12:28:36 Time 2020-08-05T11:28:37
setstate Rollo_WZ 2020-01-17 21:40:32 Upgrade Failed File Not Found (404)
setstate Rollo_WZ 2020-08-05 12:28:36 Uptime 28T03:20:34
setstate Rollo_WZ 2020-08-05 12:28:36 UptimeSec 2431234
setstate Rollo_WZ 2020-05-05 10:53:04 Vcc 3.418
setstate Rollo_WZ 2020-07-08 09:08:24 Version 8.2.0.6(f5bc8d1-tasmota)
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_1 #eaeaea
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_10 #faffff
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_11 #1fa3ec
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_12 #0e70a4
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_13 #d43535
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_14 #931f1f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_15 #47c266
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_16 #5aaf6f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_17 #faffff
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_18 #999999
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_19 #eaeaea
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_2 #252525
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_3 #4f4f4f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_4 #000000
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_5 #dddddd
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_6 #65c115
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_7 #1f1f1f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_8 #ff5661
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_9 #008000
setstate Rollo_WZ 2020-07-08 09:08:24 WebServerMode Admin
setstate Rollo_WZ 2020-05-14 13:09:59 WifiConfig_2 WifiManager
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_AP 1
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_BSSId 5C:49:79:DC:24:A5
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_Channel 6
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_Downtime 0T00:09:34
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_LinkCount 45
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_RSSI 72
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_SSId FRITZ!Box EF 2,4 GHz
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_Signal -64
setstate Rollo_WZ 2020-08-05 08:45:29 associatedWith ASC
setstate Rollo_WZ 2020-08-05 12:30:11 myBrightness 78953
setstate Rollo_WZ 2020-08-05 12:30:11 myBrightnessForShadingCloudy 20000
setstate Rollo_WZ 2020-08-05 12:30:11 myBrightnessForShadingSunny 72000
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterBrightnessSunny True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterSunAzimuthLeft True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterSunElevationMin True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterTemperatureExternMin True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_LowerBrightnessCloudy True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_LowerSunAzimuthRight True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_LowerSunElevationMax True
setstate Rollo_WZ 2020-08-05 12:30:11 mySunAzimuth 139
setstate Rollo_WZ 2020-08-05 12:30:11 mySunAzimuthLeft 100
setstate Rollo_WZ 2020-08-05 12:30:11 mySunAzimuthRight 255
setstate Rollo_WZ 2020-08-05 12:30:11 mySunElevation 48.2
setstate Rollo_WZ 2020-08-05 12:30:11 mySunElevationForShadingMax 100.0
setstate Rollo_WZ 2020-08-05 12:30:11 mySunElevationForShadingMin 25.0
setstate Rollo_WZ 2020-08-05 12:30:11 myTemperatureExtern 25
setstate Rollo_WZ 2020-08-05 12:30:11 myTemperatureExternForShadingMin 22
setstate Rollo_WZ 2020-08-05 11:29:26 pct 50
setstate Rollo_WZ 2020-08-05 11:29:27 state 50
setstate Rollo_WZ 2020-06-29 13:30:38 subscriptions cmnd/DVES_2AD515_fb/# cmnd/sonoff_rollo_wohnzimmer/# cmnd/sonoffs/#
Ich würde mich  freuen, wenn du meinen Einladungscode für Tibber, der Stromanbieter, der dir hilft, deinen Stromverbrauch zu verstehen und zu reduzieren, nutzt: https://invite.tibber.com/5fc08jbs. So bekommen wir beide 50 Euro und 100 % Ökostrom / https://geld-fuer-eauto.de/ref/334561880

muede

Hallo zusammen,

da ich leider weiterhin das Problem habe, dass mein ASC trotz richtiger Ausgabe IsWE keine Wochen- und Urlaubssteuerung macht, kommt nun noch ein weiterer Fehler hinzu. Mit dem letzten Update des ASC stürzt fhem mit folgender Fehlermeldung ab:
undefined subroutine &FHEM::Automation::ShuttersControl::_IsDay called at lib/FHEM/Automation/ShuttersControl/Shutters.pm line 526.

Die Rolladensteuerung funktioniert bis auf das shading out bei geöffnet Fenstern, wenn RolloLüften < RolloBeschattung und der Wochenendfunktion fehöerfrei. Die Markisensteuerung ist Glückssache und erfolgt nicht wirklich immer in Abhängigkeit der eingestellten Helligkeitswerte.
Ich habe das ASC bereits mehrfach neu eingerichtet und die SD-Karte gewechselt, da ich vermutet habe, dass altersbedingt hier vielleicht einige Sektoren defekt wären. Aber auch mit der neuen SD-Karte und sehr alten Backups war keine Änderung zu erzielen.

Hat jemand eine Idee, wo der Fehler im System liegen könnte?

Herzlichen Dank vorab.

LG,
muede

BOFH

Ich hätte da auch noch ein Problem. In einer alten Version ging es.

Ich komme heim und alle Rollos fahren in ihre Position...
sprich hoch bzw. in die shading pos. eenn die Werte passen.

Aktuell fahre nur alle Rollos hoch, dessen shading Werte nicht mehr greifen und die anderen bleiben unten und fahren nicht in die shading Position.
Im shadingmessage steht shading in.
Gibts neue Parameter die ich übersehen?

Danke dir.
RasPi 4
ZWave.me ZME_UZB (Fibaro Auge Gen.2)/ HM-USB2 (Thermostat | Hutschienen Relais | 1-/2fach Schalter) / Enigma2 / PhilipsTV / Philips HUE (GO|Bulb|Stripe (plus)) / Somfy IO Rollos / BOSCH HSG636XS6 / SONOS (P1, P3, P5 2.Gen, SUB, Bar)

amenomade

Zitat von: flummy1978 am 04 August 2020, 19:05:40
@amenomade: Schau mal in #422 das ist es doch was Du meinst oder nicht ?

Ohje, das habe ich verpasst! Danke dir. Ja das ist was ich immer haben wollte. Jetzt kann ich vernünftig meine Automatisierung machen.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Borkk

Hallo CoolTux,

Ich habe vor ein paar Tagen das Update auf 0.10.5 gemacht und jetzt fängt ASC an, sehr merkwürdige Dinge zu machen.

So melden die Rollos nun in ASC_ShadingMessage:
INFO: shading active, global temp sensor is set, but shutters temperature sensor is not set

Ich hatte bisher nur den Globalen TempSensor und das sollte eigentlich auch so bleiben?!?!

Was ich auch nicht verstehe, ist das sich eine ReadingsGroup über die ich ASC Attribute einstellen kann, in die Readings der ASC _Device reinmogelt??
(Siehe Anhang).

Im Log habe hunderte von diesen Einträgen:

ERROR: empty name in readingsBeginUpdate
2020.08.05 22:20:56 1: stacktrace:
2020.08.05 22:20:56 1:     main::readingsBeginUpdate           called by fhem.pl (4971)
2020.08.05 22:20:56 1:     main::readingsSingleUpdate          called by lib/FHEM/Automation/ShuttersControl.pm (890)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::UserAttributs_Readings_ForShutters called by lib/FHEM/Automation/ShuttersControl.pm (381)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::Undef called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (1473)
2020.08.05 22:20:56 1:     main::CommandRereadCfg              called by fhem.pl (1254)
2020.08.05 22:20:56 1:     main::AnalyzeCommand                called by fhem.pl (1105)
2020.08.05 22:20:56 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2717)
2020.08.05 22:20:56 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (2502)
2020.08.05 22:20:56 1:     main::FW_style                      called by ./FHEM/01_FHEMWEB.pm (1160)
2020.08.05 22:20:56 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (592)
2020.08.05 22:20:56 1:     main::FW_Read                       called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (762)
2020.08.05 22:20:56 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at fhem.pl line 4826.
2020.08.05 22:20:56 1: readingsUpdate(,associatedWith,myASControl,none) missed to call readingsBeginUpdate first.
2020.08.05 22:20:56 1: stacktrace:
2020.08.05 22:20:56 1:     main::readingsBulkUpdate            called by fhem.pl (4972)
2020.08.05 22:20:56 1:     main::readingsSingleUpdate          called by lib/FHEM/Automation/ShuttersControl.pm (890)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::UserAttributs_Readings_ForShutters called by lib/FHEM/Automation/ShuttersControl.pm (381)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::Undef called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (1473)
2020.08.05 22:20:56 1:     main::CommandRereadCfg              called by fhem.pl (1254)
2020.08.05 22:20:56 1:     main::AnalyzeCommand                called by fhem.pl (1105)
2020.08.05 22:20:56 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2717)
2020.08.05 22:20:56 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (2502)
2020.08.05 22:20:56 1:     main::FW_style                      called by ./FHEM/01_FHEMWEB.pm (1160)
2020.08.05 22:20:56 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (592)
2020.08.05 22:20:56 1:     main::FW_Read                       called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (762)
2020.08.05 22:20:56 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4579.
2020.08.05 22:20:56 1: ERROR: empty name in readingsBeginUpdate
2020.08.05 22:20:56 1: stacktrace:
2020.08.05 22:20:56 1:     main::readingsBeginUpdate           called by fhem.pl (4971)
2020.08.05 22:20:56 1:     main::readingsSingleUpdate          called by lib/FHEM/Automation/ShuttersControl.pm (890)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::UserAttributs_Readings_ForShutters called by lib/FHEM/Automation/ShuttersControl.pm (381)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::Undef called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (1473)
2020.08.05 22:20:56 1:     main::CommandRereadCfg              called by fhem.pl (1254)
2020.08.05 22:20:56 1:     main::AnalyzeCommand                called by fhem.pl (1105)
2020.08.05 22:20:56 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2717)
2020.08.05 22:20:56 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (2502)
2020.08.05 22:20:56 1:     main::FW_style                      called by ./FHEM/01_FHEMWEB.pm (1160)
2020.08.05 22:20:56 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (592)
2020.08.05 22:20:56 1:     main::FW_Read                       called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (762)
2020.08.05 22:20:56 1: readingsUpdate(,associatedWith,myASControl,none) missed to call readingsBeginUpdate first.
2020.08.05 22:20:56 1: stacktrace:
2020.08.05 22:20:56 1:     main::readingsBulkUpdate            called by fhem.pl (4972)
2020.08.05 22:20:56 1:     main::readingsSingleUpdate          called by lib/FHEM/Automation/ShuttersControl.pm (890)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::UserAttributs_Readings_ForShutters called by lib/FHEM/Automation/ShuttersControl.pm (381)
2020.08.05 22:20:56 1:     FHEM::Automation::ShuttersControl::Undef called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (1473)
2020.08.05 22:20:56 1:     main::CommandRereadCfg              called by fhem.pl (1254)
2020.08.05 22:20:56 1:     main::AnalyzeCommand                called by fhem.pl (1105)
2020.08.05 22:20:56 1:     main::AnalyzeCommandChain           called by ./FHEM/01_FHEMWEB.pm (2717)
2020.08.05 22:20:56 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (2502)
2020.08.05 22:20:56 1:     main::FW_style                      called by ./FHEM/01_FHEMWEB.pm (1160)
2020.08.05 22:20:56 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (592)
2020.08.05 22:20:56 1:     main::FW_Read                       called by fhem.pl (3806)
2020.08.05 22:20:56 1:     main::CallFn                        called by fhem.pl (762)


Bevor ich hier Listings und Logfiles poste, wollte ich dich erst mal fragen ob du eine Idee hast und was du für Daten brauchst.

Ich habe ausser dem Update an der Konfiguration nichts verändert.
Docker@DS220+ FHEM, ConBeeII, Homebridge, Nginx ReverseProxy, ConfigDB, MQTT, NodeRed, InfluxDB, Grafana,
Raspberrymatic@Raspi3: HmIP Akt- /Sensoren, Shelly´s, Tibber Puls, Alexa, ASC, Gardena, Netatmo, E-Paper, FritzBox; Tado°, HOMEMODE, iBeacon, OLED ; ESP32/8266, SwitchBot ...

Borkk

Hallo CoolTux,

Die Meldungen erscheint nach einen Restart und verschwinden scheinbar nach der eingestellten Zeit in "ASC_Shading_WaitingPeriod".
INFO: shading active, global temp sensor is set, but shutters temperature sensor is not set

Die oben erwähnte ReadingsGroup hat irgendwann alles was im Attribut "commands" steht als Reading ins ASC Device geschrieben (das macht gar keinen Sinn). Egal was da gelaufen ist, es hat FHEM stark ausgelastet. Ich habe die ReadingsGroup jetzt gelöscht und dann war scheinbar der Spuk vorbei. Ich hatte vor einiger Zeit schon mal so einen Effekt gepostet, hatte aber damals keine Antwort darauf bekommen.
Docker@DS220+ FHEM, ConBeeII, Homebridge, Nginx ReverseProxy, ConfigDB, MQTT, NodeRed, InfluxDB, Grafana,
Raspberrymatic@Raspi3: HmIP Akt- /Sensoren, Shelly´s, Tibber Puls, Alexa, ASC, Gardena, Netatmo, E-Paper, FritzBox; Tado°, HOMEMODE, iBeacon, OLED ; ESP32/8266, SwitchBot ...

CoolTux

Zitat von: muede am 05 August 2020, 18:28:43
Hallo zusammen,

da ich leider weiterhin das Problem habe, dass mein ASC trotz richtiger Ausgabe IsWE keine Wochen- und Urlaubssteuerung macht, kommt nun noch ein weiterer Fehler hinzu. Mit dem letzten Update des ASC stürzt fhem mit folgender Fehlermeldung ab:
undefined subroutine &FHEM::Automation::ShuttersControl::_IsDay called at lib/FHEM/Automation/ShuttersControl/Shutters.pm line 526.

Die Rolladensteuerung funktioniert bis auf das shading out bei geöffnet Fenstern, wenn RolloLüften < RolloBeschattung und der Wochenendfunktion fehöerfrei. Die Markisensteuerung ist Glückssache und erfolgt nicht wirklich immer in Abhängigkeit der eingestellten Helligkeitswerte.
Ich habe das ASC bereits mehrfach neu eingerichtet und die SD-Karte gewechselt, da ich vermutet habe, dass altersbedingt hier vielleicht einige Sektoren defekt wären. Aber auch mit der neuen SD-Karte und sehr alten Backups war keine Änderung zu erzielen.

Hat jemand eine Idee, wo der Fehler im System liegen könnte?

Herzlichen Dank vorab.

LG,
muede

Kannst du nochmal ein Update all oder so machen. _IsDay befindet sich eigentlich nun in der lib/FHEM/Automation/ShuttersControl/Helper.pm
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zitat von: xerion am 05 August 2020, 12:31:40
Hi CoolTux,

hier ein list -r von einem der betroffenen Rollos.

define Rollo_WZ MQTT2_DEVICE DVES_2AD515
attr Rollo_WZ 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 room_map structexclude
attr Rollo_WZ ASC 1
attr Rollo_WZ ASC_BrightnessSensor Wemos_Daemmerung:Lux
attr Rollo_WZ ASC_Down brightness
attr Rollo_WZ ASC_Mode_Up home
attr Rollo_WZ ASC_Pos_Reading pct
attr Rollo_WZ ASC_PrivacyDownValue_beforeNightClose 900:45
attr Rollo_WZ ASC_PrivacyDown_Pos 40
attr Rollo_WZ ASC_Shading_InOutAzimuth 100:255
attr Rollo_WZ ASC_Shading_MinMax_Elevation 25.0:100.0
attr Rollo_WZ ASC_Shading_Min_OutsideTemperature 22
attr Rollo_WZ ASC_Shading_Mode always
attr Rollo_WZ ASC_Shading_Pos {(ReadingsVal("Temperatur_draussen","temperature",0) >= 29 ? 100:50)}
attr Rollo_WZ ASC_Shading_StateChange_SunnyCloudy 72000:20000
attr Rollo_WZ ASC_Shading_WaitingPeriod 1200
attr Rollo_WZ ASC_TempSensor Temperatur_draussen
attr Rollo_WZ ASC_Time_Down_Late 22:30
attr Rollo_WZ ASC_Time_Up_Early 06:00
attr Rollo_WZ ASC_Time_Up_Late 09:30
attr Rollo_WZ ASC_Time_Up_WE_Holiday 08:00
attr Rollo_WZ ASC_Up brightness
attr Rollo_WZ ASC_WindowRec wohnzimmer_fenster
attr Rollo_WZ DbLogExclude .*
attr Rollo_WZ IODev Mosquitto_Broker
attr Rollo_WZ alexaName Rollo Wohnzimmer
attr Rollo_WZ alias Rollo Wohnzimmer
attr Rollo_WZ autocreate 1
attr Rollo_WZ cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
attr Rollo_WZ comment After applying the template set "ShutterOpenDuration1" and "ShutterCloseDuration1" first.\
Use the "set x_configuration" Option. Example: "set x_configuration ShutterOpenDuration1 35"\
Shutter specific commands available: ShutterOpenDuration1, ShutterCloseDuration1, ShutterRelay1, ShutterSetHalfway1, ShutterSetClose1, ShutterInvert1, ShutterMotordelay1, ShutterCalibration1;; you may use this for general setOptions in tasmota also.\
commands may need restart to take effect.\
For calibration, use of more than one shutter device and further information on the available commands see Tasmota wiki.
attr Rollo_WZ devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red Online:10px-kreis-gruen Offline:10px-kreis-rot 100:fts_shutter_100 0:fts_shutter_10 9\d.*:fts_shutter_90 8\d.*:fts_shutter_80 7\d.*:fts_shutter_70 6\d.*:fts_shutter_60 5\d.*:fts_shutter_50 4\d.*:fts_shutter_40 3\d.*:fts_shutter_30 2\d.*:fts_shutter_20 1\d.*:fts_shutter_10 \b\d\b.*:fts_shutter_10 set_.*:fts_shutter_updown
attr Rollo_WZ event-on-change-reading ASC_.*,pct,state,Shutter.*,POWER.*,LWT,my.*
attr Rollo_WZ group Rollos
attr Rollo_WZ icon scene_livingroom
attr Rollo_WZ model tasmota_2ch_shutter_invert_1
attr Rollo_WZ readingList tele/sonoff_rollo_wohnzimmer/LWT:.* LWT\
   stat/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }\
   stat/sonoff_rollo_wohnzimmer/POWER1:.* POWER1\
   stat/sonoff_rollo_wohnzimmer/POWER1:on {{'state' => 'opening'}}\
   stat/sonoff_rollo_wohnzimmer/POWER2:.* POWER2\
   stat/sonoff_rollo_wohnzimmer/POWER2:on {{'state' => 'closing'}}\
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* state\
   stat/sonoff_rollo_wohnzimmer/SHUTTER1:.* pct\
   tele/sonoff_rollo_wohnzimmer/RESULT:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/STATE:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/SENSOR:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/INFO.:.* { json2nameValue($EVENT) }\
   tele/sonoff_rollo_wohnzimmer/UPTIME:.* { json2nameValue($EVENT) }\
   cmnd/sonoff_rollo_wohnzimmer/ShutterPosition1:.* ShutterPosition1\
   cmnd/sonoff_rollo_wohnzimmer/ShutterClose1:.* ShutterClose1\
   cmnd/sonoff_rollo_wohnzimmer/ShutterOpen1:.* ShutterOpen1\
   cmnd/sonoff_rollo_wohnzimmer/POWER:.* POWER
attr Rollo_WZ room ASC,Rollos,Tasmota,Wohnzimmer
attr Rollo_WZ setList close:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterClose1\
   open:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterOpen1\
   half:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetHalfway1 50\
   pct:slider,0,1,100 cmnd/sonoff_rollo_wohnzimmer/ShutterPosition1 $EVTPART1\
   stop:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterStop1\
   resetClose:noArg cmnd/sonoff_rollo_wohnzimmer/ShutterSetClose1\
   x_configuration cmnd/sonoff_rollo_wohnzimmer/$EVTPART1 $EVTPART2
attr Rollo_WZ setStateList open close half stop pct
attr Rollo_WZ stateFormat \
LWT\
\
state
attr Rollo_WZ userReadings myBrightness {ascAPIget('BrightnessAverage',$NAME)},\
myBrightnessForShadingCloudy {ascAPIget('ShadingStateChangeCloudy',$NAME)},\
myBrightnessForShadingSunny {ascAPIget('ShadingStateChangeSunny',$NAME)},\
myTemperatureExtern {ascAPIget('OutTemp',$NAME)},\
myTemperatureExternForShadingMin {AttrVal("$NAME", "ASC_Shading_Min_OutsideTemperature","")},\
mySunAzimuth {ascAPIget('Azimuth')},\
mySunAzimuthLeft {ascAPIget('ShadingAzimuthLeft',$NAME)},\
mySunAzimuthRight {ascAPIget('ShadingAzimuthRight',$NAME)},\
mySunElevation {ascAPIget('Elevation')},\
mySunElevationForShadingMin {ascAPIget('ShadingMinElevation',$NAME)},\
mySunElevationForShadingMax {ascAPIget('ShadingMaxElevation',$NAME)},\
myShadingPASS_GreaterBrightnessSunny {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingSunny",0)) {"True"} else {"False"}},\
myShadingPASS_LowerBrightnessCloudy {if (ReadingsNum("$NAME","myBrightness",0) > ReadingsNum("$NAME","myBrightnessForShadingCloudy",0)) {"True"} else {"False"}},\
myShadingPASS_GreaterSunAzimuthLeft {if (ReadingsNum("$NAME","mySunAzimuth",0) > ReadingsNum("$NAME","mySunAzimuthLeft",0)) {"True"} else {"False"}},\
myShadingPASS_LowerSunAzimuthRight {if (ReadingsNum("$NAME","mySunAzimuth",0) < ReadingsNum("$NAME","mySunAzimuthRight",0)) {"True"} else {"False"}},\
myShadingPASS_GreaterSunElevationMin {if (ReadingsNum("$NAME","mySunElevation",0) > ReadingsNum("$NAME","mySunElevationForShadingMin",0)) {"True"} else {"False"}},\
myShadingPASS_LowerSunElevationMax {if (ReadingsNum("$NAME","mySunElevation",0) < ReadingsNum("$NAME","mySunElevationForShadingMax",0)) {"True"} else {"False"}},\
myShadingPASS_GreaterTemperatureExternMin {if (ReadingsNum("$NAME","myTemperatureExtern",0) > ReadingsNum("$NAME","myTemperatureExternForShadingMin",0)) {"True"} else {"False"}}
attr Rollo_WZ webCmd :open:close:half:stop:pct

setstate Rollo_WZ \
Online\
\
50
setstate Rollo_WZ 2020-06-25 11:50:46 .ASC_AttrUpdateChanges_v0.10.1 1
setstate Rollo_WZ 2020-08-05 12:28:36 ANALOG_A0 119
setstate Rollo_WZ 2019-12-31 22:48:04 ASC_Enable on
setstate Rollo_WZ 2020-08-05 12:30:11 ASC_ShadingMessage INFO: current shading status is 'in' - next check in 20m
setstate Rollo_WZ 2020-08-05 11:29:28 ASC_ShuttersLastDrive shading in
setstate Rollo_WZ 2020-08-05 09:30:01 ASC_Time_DriveDown  5.08.2020 - 22:30
setstate Rollo_WZ 2020-08-05 09:30:01 ASC_Time_DriveUp  6.08.2020 - 09:30
setstate Rollo_WZ 2020-08-05 09:30:01 ASC_Time_PrivacyDriveDown  5.08.2020 - 22:15
setstate Rollo_WZ 2020-01-18 20:59:22 ButtonTopic 0
setstate Rollo_WZ 2020-01-17 21:51:30 DeepSleepTime 0
setstate Rollo_WZ 2020-07-08 09:08:24 FallbackTopic cmnd/DVES_2AD515_fb/
setstate Rollo_WZ 2020-07-08 09:08:24 GroupTopic cmnd/sonoffs/
setstate Rollo_WZ 2019-12-31 22:43:31 Groups 1,2
setstate Rollo_WZ 2020-08-05 12:28:36 Heap 27
setstate Rollo_WZ 2020-07-08 09:08:24 Hostname sonoff_rollo_wohnzimmer-5397
setstate Rollo_WZ 2020-07-08 09:08:24 IPAddress 192.168.178.140
setstate Rollo_WZ 2020-03-04 21:31:28 IPAddress1 192.168.178.140 (192.168.178.44)
setstate Rollo_WZ 2019-12-31 22:43:31 Interlock on
setstate Rollo_WZ 2020-08-05 08:45:43 LWT Online
setstate Rollo_WZ 2019-12-31 22:43:31 LedState 2
setstate Rollo_WZ 2020-08-05 12:28:36 LoadAvg 20
setstate Rollo_WZ 2020-07-08 09:08:24 Module Generic
setstate Rollo_WZ 2020-08-05 12:28:36 MqttCount 61
setstate Rollo_WZ 2020-07-04 20:23:31 MqttRetry 600
setstate Rollo_WZ 2020-01-17 21:40:18 OtaUrl http://thehackbox.org/tasmota/release/sonoff.bin
setstate Rollo_WZ 2020-08-03 20:36:58 POWER
setstate Rollo_WZ 2020-08-05 12:28:36 POWER1 off
setstate Rollo_WZ 2020-08-05 12:28:36 POWER2 off
setstate Rollo_WZ 2020-08-05 12:28:36 POWER3 off
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime1_Remaining 0
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime1_Set 0
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime2_Remaining 0
setstate Rollo_WZ 2019-12-31 22:43:32 PulseTime2_Set 0
setstate Rollo_WZ 2019-12-31 22:43:29 Restart Restarting
setstate Rollo_WZ 2020-07-08 09:08:24 RestartReason Software/System restart
setstate Rollo_WZ 2019-12-31 22:43:49 SaveData on
setstate Rollo_WZ 2019-12-31 22:43:30 SetOption26 on
setstate Rollo_WZ 2019-12-31 22:43:31 SetOption80 on
setstate Rollo_WZ 2019-12-31 22:43:31 SetOption81 on
setstate Rollo_WZ 2020-08-05 12:28:36 Shutter1_Direction 0
setstate Rollo_WZ 2020-08-05 12:28:36 Shutter1_Position 50
setstate Rollo_WZ 2020-08-05 12:28:36 Shutter1_Target 50
setstate Rollo_WZ 2020-05-04 21:14:11 Shutter1_direction 0
setstate Rollo_WZ 2020-07-30 22:08:14 ShutterClose1 100
setstate Rollo_WZ 2019-12-31 22:43:49 ShutterCloseDuration1 20.0
setstate Rollo_WZ 2019-12-31 22:43:49 ShutterInvert1 1
setstate Rollo_WZ 2020-08-05 06:37:25 ShutterOpen1 0
setstate Rollo_WZ 2020-04-16 09:17:38 ShutterOpenDuration1 21.0
setstate Rollo_WZ 2020-08-05 11:29:12 ShutterPosition1 50
setstate Rollo_WZ 2020-01-21 08:59:24 ShutterStop Done
setstate Rollo_WZ 2020-08-05 12:28:36 Sleep 50
setstate Rollo_WZ 2020-08-05 12:28:36 SleepMode Dynamic
setstate Rollo_WZ 2020-01-17 21:45:04 Sleep_0_Active 0
setstate Rollo_WZ 2020-01-17 21:45:12 Sleep_50_Active 50
setstate Rollo_WZ 2019-12-31 22:43:29 StateText1 off
setstate Rollo_WZ 2019-12-31 22:43:30 StateText2 on
setstate Rollo_WZ 2019-12-31 22:43:30 StateText3 toggle
setstate Rollo_WZ 2019-12-31 22:43:30 StateText4 hold
setstate Rollo_WZ 2019-12-31 22:43:32 SwitchMode1 3
setstate Rollo_WZ 2019-12-31 22:43:32 SwitchMode2 3
setstate Rollo_WZ 2020-08-05 12:28:36 Time 2020-08-05T11:28:37
setstate Rollo_WZ 2020-01-17 21:40:32 Upgrade Failed File Not Found (404)
setstate Rollo_WZ 2020-08-05 12:28:36 Uptime 28T03:20:34
setstate Rollo_WZ 2020-08-05 12:28:36 UptimeSec 2431234
setstate Rollo_WZ 2020-05-05 10:53:04 Vcc 3.418
setstate Rollo_WZ 2020-07-08 09:08:24 Version 8.2.0.6(f5bc8d1-tasmota)
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_1 #eaeaea
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_10 #faffff
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_11 #1fa3ec
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_12 #0e70a4
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_13 #d43535
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_14 #931f1f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_15 #47c266
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_16 #5aaf6f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_17 #faffff
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_18 #999999
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_19 #eaeaea
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_2 #252525
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_3 #4f4f4f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_4 #000000
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_5 #dddddd
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_6 #65c115
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_7 #1f1f1f
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_8 #ff5661
setstate Rollo_WZ 2020-01-17 21:53:20 WebColor_9 #008000
setstate Rollo_WZ 2020-07-08 09:08:24 WebServerMode Admin
setstate Rollo_WZ 2020-05-14 13:09:59 WifiConfig_2 WifiManager
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_AP 1
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_BSSId 5C:49:79:DC:24:A5
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_Channel 6
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_Downtime 0T00:09:34
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_LinkCount 45
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_RSSI 72
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_SSId FRITZ!Box EF 2,4 GHz
setstate Rollo_WZ 2020-08-05 12:28:36 Wifi_Signal -64
setstate Rollo_WZ 2020-08-05 08:45:29 associatedWith ASC
setstate Rollo_WZ 2020-08-05 12:30:11 myBrightness 78953
setstate Rollo_WZ 2020-08-05 12:30:11 myBrightnessForShadingCloudy 20000
setstate Rollo_WZ 2020-08-05 12:30:11 myBrightnessForShadingSunny 72000
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterBrightnessSunny True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterSunAzimuthLeft True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterSunElevationMin True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_GreaterTemperatureExternMin True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_LowerBrightnessCloudy True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_LowerSunAzimuthRight True
setstate Rollo_WZ 2020-08-05 12:30:11 myShadingPASS_LowerSunElevationMax True
setstate Rollo_WZ 2020-08-05 12:30:11 mySunAzimuth 139
setstate Rollo_WZ 2020-08-05 12:30:11 mySunAzimuthLeft 100
setstate Rollo_WZ 2020-08-05 12:30:11 mySunAzimuthRight 255
setstate Rollo_WZ 2020-08-05 12:30:11 mySunElevation 48.2
setstate Rollo_WZ 2020-08-05 12:30:11 mySunElevationForShadingMax 100.0
setstate Rollo_WZ 2020-08-05 12:30:11 mySunElevationForShadingMin 25.0
setstate Rollo_WZ 2020-08-05 12:30:11 myTemperatureExtern 25
setstate Rollo_WZ 2020-08-05 12:30:11 myTemperatureExternForShadingMin 22
setstate Rollo_WZ 2020-08-05 11:29:26 pct 50
setstate Rollo_WZ 2020-08-05 11:29:27 state 50
setstate Rollo_WZ 2020-06-29 13:30:38 subscriptions cmnd/DVES_2AD515_fb/# cmnd/sonoff_rollo_wohnzimmer/# cmnd/sonoffs/#


Ich weiß nicht wieso aber er kann das Reading .ASC_AttrUpdateChanges_v0.10.1 1 nicht korrekt setzen. Sollte ja nun .ASC_AttrUpdateChanges_v0.10.5 1 heißen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zitat von: Borkk am 05 August 2020, 23:09:25
Hallo CoolTux,

Die Meldungen erscheint nach einen Restart und verschwinden scheinbar nach der eingestellten Zeit in "ASC_Shading_WaitingPeriod".
INFO: shading active, global temp sensor is set, but shutters temperature sensor is not set

Die oben erwähnte ReadingsGroup hat irgendwann alles was im Attribut "commands" steht als Reading ins ASC Device geschrieben (das macht gar keinen Sinn). Egal was da gelaufen ist, es hat FHEM stark ausgelastet. Ich habe die ReadingsGroup jetzt gelöscht und dann war scheinbar der Spuk vorbei. Ich hatte vor einiger Zeit schon mal so einen Effekt gepostet, hatte aber damals keine Antwort darauf bekommen.

Mit der ReadingsGroup habe ich nichts zu tun. Sorry. Eventuell kann da ein anderer helfen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

CoolTux

Zitat von: BOFH am 05 August 2020, 18:38:44
Ich hätte da auch noch ein Problem. In einer alten Version ging es.

Ich komme heim und alle Rollos fahren in ihre Position...
sprich hoch bzw. in die shading pos. eenn die Werte passen.

Aktuell fahre nur alle Rollos hoch, dessen shading Werte nicht mehr greifen und die anderen bleiben unten und fahren nicht in die shading Position.
Im shadingmessage steht shading in.
Gibts neue Parameter die ich übersehen?

Danke dir.

Danke für die Meldung. In der Tat war dies vor Version 0.10.5 möglich, aber nicht gewollt. Das jetzige Verhalten ist da korrekt.

Die Antwort war Unsinn. Die Änderung sollte mit Residenz home nichts zu tun haben.
Das muss ich mir anschauen.

Hat doch etwas damit zu tun, da zum fahren die ShadingDriveCommand Routine verwendet wird und ich da eingetragen habe das bei ClosedPos nicht gefahren werden soll. Das ist ja so eigentlich Unsinn in Verbindung mit coming home.
Ich schaue
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

xerion

Zitat von: CoolTux am 05 August 2020, 23:38:04
Ich weiß nicht wieso aber er kann das Reading .ASC_AttrUpdateChanges_v0.10.1 1 nicht korrekt setzen. Sollte ja nun .ASC_AttrUpdateChanges_v0.10.5 1 heißen.

Ich konnte das Problem lösen. Lag daran das FHEM zu lange nach einen Neustart braucht. Das hatten wir schon mal und es liegt bei mir am INSTALLER Modul bzw. am perl::PrereqScanner::NotQuiteLite. Habe das deinstalliert und nun klappt das setzen der Attribute auch wieder.

Ich habe aber noch ein anderes Problem und zwar mit der IsDay Funktion. Wenn die Rollläden morgen nach Brightness und Residents Home erfolgreich hochgefahren sind, dann steht Sunset auf 0 und Sunrise auch auf 1. Aber IsDay bleibt auf 0 was zu Folge hat, wenn ich in dieser Zeit ein Fenster öffne und danach wieder schließe, wird das wegen "window closed at night" geschlossen.
Sobald ASC_Time_Up_Late vorbei ist, wird auch IsDay gesetzt. Auch funktioniert innerhalb dieser Zeit meine morgendliche Beschattung nicht, da ASC wohl denkt das es noch Nacht ist.

list ASC

Internals:
   FUUID      5e04f80a-f33f-26f5-faac-90e209b6de535a9c
   FVERSION   73_AutoShuttersControl.pm:v0.10.5-s22473/2020-07-26 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  ASC,Daemmerungswert,ESP_Easy_Helligkeit,Regensor,Sonoff_Daemmerung,Wemos_Daemmerung,fenster_badezimmer,global,kuechen_fenster_carport,kuechen_fenster_strasse,rgr_asc,rr_Badezimmer,schlafzimmer_fenster,terrassen_tuer,test_fenster,wc_fenster,wohnzimmer_fenster,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_BZ,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ
   NR         263
   NTFY_ORDER 51-ASC
   STATE      window closed at night
   TYPE       AutoShuttersControl
   VERSION    v0.10.5
   OLDREADINGS:
   READINGS:
     2020-08-04 17:00:39   Rollo_ASC2_PosValue 0
     2020-08-05 21:44:12   Rollo_ASC2_lastDelayPosValue 70
     2020-08-06 06:00:18   Rollo_ASC2_lastPosValue 0
     2020-08-05 22:30:01   Rollo_ASC2_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-04 19:58:54   Rollo_ASC_PosValue 0
     2020-08-06 06:00:01   Rollo_ASC_lastPosValue 0
     2020-08-05 22:30:01   Rollo_ASC_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:32   Rollo_Anbau_PosValue 0
     2020-05-08 21:30:51   Rollo_Anbau_lastDelayPosValue 70
     2020-08-06 06:00:01   Rollo_Anbau_lastPosValue 100
     2020-08-05 22:30:01   Rollo_Anbau_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-04 07:07:10   Rollo_BZ_PosValue 0
     2020-08-05 22:00:01   Rollo_BZ_lastDelayPosValue 10
     2020-08-03 22:00:01   Rollo_BZ_lastPosValue 0
     2020-08-05 22:00:01   Rollo_BZ_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 05:28:51   Rollo_Kueche_Carport_PosValue 0
     2020-06-28 22:15:01   Rollo_Kueche_Carport_lastDelayPosValue 10
     2020-08-06 05:28:42   Rollo_Kueche_Carport_lastPosValue 40
     2020-08-05 22:30:01   Rollo_Kueche_Carport_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 07:27:40   Rollo_Kueche_Strasse_PosValue 100
     2020-08-05 21:43:42   Rollo_Kueche_Strasse_lastDelayPosValue 10
     2020-08-06 05:28:42   Rollo_Kueche_Strasse_lastPosValue 20
     2020-08-05 22:30:01   Rollo_Kueche_Strasse_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:24   Rollo_SZ_PosValue 0
     2020-06-27 22:30:01   Rollo_SZ_lastDelayPosValue 70
     2020-08-06 06:00:01   Rollo_SZ_lastPosValue 100
     2020-08-05 22:30:01   Rollo_SZ_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:22   Rollo_WC_PosValue 0
     2020-08-05 21:43:42   Rollo_WC_lastDelayPosValue 70
     2020-08-06 06:00:02   Rollo_WC_lastPosValue 100
     2020-08-05 22:30:01   Rollo_WC_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:39   Rollo_WZ_PosValue 0
     2020-08-05 21:44:12   Rollo_WZ_lastDelayPosValue 70
     2020-08-06 06:00:18   Rollo_WZ_lastPosValue 100
     2020-08-05 22:30:01   Rollo_WZ_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-04-05 20:35:04   ascEnable       on
     2020-08-05 21:18:28   controlShading  on
     2020-03-30 09:08:41   hardLockOut     off
     2020-04-05 20:50:27   partyMode       off
     2020-08-05 21:18:13   room_ASC_Badezimmer_Rollos_Tasmota Rollo_BZ
     2020-08-05 21:18:13   room_ASC_Rollos_Tasmota_WC Rollo_WC
     2020-08-05 21:18:13   room_ASC_Rollos_Tasmota_Wohnzimmer Rollo_WZ
     2020-08-05 21:18:13   room_Tasmota_ASC_Rollos Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ
     2020-08-05 21:18:13   room_Test-Umgebung Rollo_ASC,Rollo_ASC2
     2020-06-02 12:16:45   selfDefense     on
     2020-08-06 07:27:40   state           window closed at night
     2020-07-20 06:34:04   sunriseTimeWeHoliday off
     2020-08-05 21:18:13   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_BZ
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     Daemmerungswert:
       ASC        ASC_twilightDevice
     ESP_Easy_Helligkeit:
       Rollo_BZ   ASC_BrightnessSensor
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
     Regensor:
       ASC        ASC_rainSensor
     Rollo_Anbau:
     Rollo_BZ:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
     Wemos_Daemmerung:
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     fenster_badezimmer:
       Rollo_BZ   ASC_WindowRec
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_asc:
       ASC        ASC_residentsDev
     rr_Badezimmer:
       Rollo_BZ   ASC_Roommate_Device
     schlafzimmer_fenster:
       Rollo_SZ   ASC_WindowRec
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     test_fenster:
       Rollo_ASC  ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_ASC2 ASC_WindowRec
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 12:4
   ASC_debug  0
   ASC_expert 1
   ASC_rainSensor Regensor:ASC_Value rain 45
   ASC_residentsDev rgr_asc:state
   ASC_tempSensor Temperatur_draussen
   ASC_twilightDevice Daemmerungswert
   DbLogExclude .*
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC,ASC-Beschattung,Rollos
   verbose    3
Ich würde mich  freuen, wenn du meinen Einladungscode für Tibber, der Stromanbieter, der dir hilft, deinen Stromverbrauch zu verstehen und zu reduzieren, nutzt: https://invite.tibber.com/5fc08jbs. So bekommen wir beide 50 Euro und 100 % Ökostrom / https://geld-fuer-eauto.de/ref/334561880

CoolTux

Zitat von: xerion am 06 August 2020, 07:32:01
Ich konnte das Problem lösen. Lag daran das FHEM zu lange nach einen Neustart braucht. Das hatten wir schon mal und es liegt bei mir am INSTALLER Modul bzw. am perl::PrereqScanner::NotQuiteLite. Habe das deinstalliert und nun klappt das setzen der Attribute auch wieder.

Ich habe aber noch ein anderes Problem und zwar mit der IsDay Funktion. Wenn die Rollläden morgen nach Brightness und Residents Home erfolgreich hochgefahren sind, dann steht Sunset auf 0 und Sunrise auch auf 1. Aber IsDay bleibt auf 0 was zu Folge hat, wenn ich in dieser Zeit ein Fenster öffne und danach wieder schließe, wird das wegen "window closed at night" geschlossen.
Sobald ASC_Time_Up_Late vorbei ist, wird auch IsDay gesetzt. Auch funktioniert innerhalb dieser Zeit meine morgendliche Beschattung nicht, da ASC wohl denkt das es noch Nacht ist.

list ASC

Internals:
   FUUID      5e04f80a-f33f-26f5-faac-90e209b6de535a9c
   FVERSION   73_AutoShuttersControl.pm:v0.10.5-s22473/2020-07-26 TESTING
   MID        da39a3ee5e6b4b0d3255bfef95601890afd80709
   NAME       ASC
   NOTIFYDEV  ASC,Daemmerungswert,ESP_Easy_Helligkeit,Regensor,Sonoff_Daemmerung,Wemos_Daemmerung,fenster_badezimmer,global,kuechen_fenster_carport,kuechen_fenster_strasse,rgr_asc,rr_Badezimmer,schlafzimmer_fenster,terrassen_tuer,test_fenster,wc_fenster,wohnzimmer_fenster,Rollo_ASC,Rollo_ASC2,Rollo_Anbau,Rollo_BZ,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ,Rollo_WC,Rollo_WZ
   NR         263
   NTFY_ORDER 51-ASC
   STATE      window closed at night
   TYPE       AutoShuttersControl
   VERSION    v0.10.5
   OLDREADINGS:
   READINGS:
     2020-08-04 17:00:39   Rollo_ASC2_PosValue 0
     2020-08-05 21:44:12   Rollo_ASC2_lastDelayPosValue 70
     2020-08-06 06:00:18   Rollo_ASC2_lastPosValue 0
     2020-08-05 22:30:01   Rollo_ASC2_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-04 19:58:54   Rollo_ASC_PosValue 0
     2020-08-06 06:00:01   Rollo_ASC_lastPosValue 0
     2020-08-05 22:30:01   Rollo_ASC_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:32   Rollo_Anbau_PosValue 0
     2020-05-08 21:30:51   Rollo_Anbau_lastDelayPosValue 70
     2020-08-06 06:00:01   Rollo_Anbau_lastPosValue 100
     2020-08-05 22:30:01   Rollo_Anbau_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-04 07:07:10   Rollo_BZ_PosValue 0
     2020-08-05 22:00:01   Rollo_BZ_lastDelayPosValue 10
     2020-08-03 22:00:01   Rollo_BZ_lastPosValue 0
     2020-08-05 22:00:01   Rollo_BZ_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 05:28:51   Rollo_Kueche_Carport_PosValue 0
     2020-06-28 22:15:01   Rollo_Kueche_Carport_lastDelayPosValue 10
     2020-08-06 05:28:42   Rollo_Kueche_Carport_lastPosValue 40
     2020-08-05 22:30:01   Rollo_Kueche_Carport_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 07:27:40   Rollo_Kueche_Strasse_PosValue 100
     2020-08-05 21:43:42   Rollo_Kueche_Strasse_lastDelayPosValue 10
     2020-08-06 05:28:42   Rollo_Kueche_Strasse_lastPosValue 20
     2020-08-05 22:30:01   Rollo_Kueche_Strasse_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:24   Rollo_SZ_PosValue 0
     2020-06-27 22:30:01   Rollo_SZ_lastDelayPosValue 70
     2020-08-06 06:00:01   Rollo_SZ_lastPosValue 100
     2020-08-05 22:30:01   Rollo_SZ_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:22   Rollo_WC_PosValue 0
     2020-08-05 21:43:42   Rollo_WC_lastDelayPosValue 70
     2020-08-06 06:00:02   Rollo_WC_lastPosValue 100
     2020-08-05 22:30:01   Rollo_WC_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-08-06 06:00:39   Rollo_WZ_PosValue 0
     2020-08-05 21:44:12   Rollo_WZ_lastDelayPosValue 70
     2020-08-06 06:00:18   Rollo_WZ_lastPosValue 100
     2020-08-05 22:30:01   Rollo_WZ_nextAstroTimeEvent  6.08.2020 - 09:30
     2020-04-05 20:35:04   ascEnable       on
     2020-08-05 21:18:28   controlShading  on
     2020-03-30 09:08:41   hardLockOut     off
     2020-04-05 20:50:27   partyMode       off
     2020-08-05 21:18:13   room_ASC_Badezimmer_Rollos_Tasmota Rollo_BZ
     2020-08-05 21:18:13   room_ASC_Rollos_Tasmota_WC Rollo_WC
     2020-08-05 21:18:13   room_ASC_Rollos_Tasmota_Wohnzimmer Rollo_WZ
     2020-08-05 21:18:13   room_Tasmota_ASC_Rollos Rollo_Anbau,Rollo_Kueche_Carport,Rollo_Kueche_Strasse,Rollo_SZ
     2020-08-05 21:18:13   room_Test-Umgebung Rollo_ASC,Rollo_ASC2
     2020-06-02 12:16:45   selfDefense     on
     2020-08-06 07:27:40   state           window closed at night
     2020-07-20 06:34:04   sunriseTimeWeHoliday off
     2020-08-05 21:18:13   userAttrList    rolled out
   helper:
     shuttersList:
       Rollo_ASC
       Rollo_ASC2
       Rollo_Anbau
       Rollo_BZ
       Rollo_Kueche_Carport
       Rollo_Kueche_Strasse
       Rollo_SZ
       Rollo_WC
       Rollo_WZ
   monitoredDevs:
     Daemmerungswert:
       ASC        ASC_twilightDevice
     ESP_Easy_Helligkeit:
       Rollo_BZ   ASC_BrightnessSensor
       Rollo_Kueche_Carport ASC_BrightnessSensor
       Rollo_Kueche_Strasse ASC_BrightnessSensor
       Rollo_WC   ASC_BrightnessSensor
     Regensor:
       ASC        ASC_rainSensor
     Rollo_Anbau:
     Rollo_BZ:
     Rollo_Kueche_Carport:
     Rollo_Kueche_Strasse:
     Rollo_SZ:
     Rollo_WC:
     Rollo_WZ:
     Sonoff_Daemmerung:
       Rollo_ASC  ASC_BrightnessSensor
       Rollo_Anbau ASC_BrightnessSensor
       Rollo_SZ   ASC_BrightnessSensor
     Wemos_Daemmerung:
       Rollo_ASC2 ASC_BrightnessSensor
       Rollo_WZ   ASC_BrightnessSensor
     fenster_badezimmer:
       Rollo_BZ   ASC_WindowRec
     kuechen_fenster_carport:
       Rollo_Kueche_Carport ASC_WindowRec
     kuechen_fenster_strasse:
       Rollo_Kueche_Strasse ASC_WindowRec
     rgr_asc:
       ASC        ASC_residentsDev
     rr_Badezimmer:
       Rollo_BZ   ASC_Roommate_Device
     schlafzimmer_fenster:
       Rollo_SZ   ASC_WindowRec
     terrassen_tuer:
       Rollo_Anbau ASC_WindowRec
     test_fenster:
       Rollo_ASC  ASC_WindowRec
     wc_fenster:
       Rollo_WC   ASC_WindowRec
     wohnzimmer_fenster:
       Rollo_ASC2 ASC_WindowRec
       Rollo_WZ   ASC_WindowRec
Attributes:
   ASC_brightnessDriveUpDown 12:4
   ASC_debug  0
   ASC_expert 1
   ASC_rainSensor Regensor:ASC_Value rain 45
   ASC_residentsDev rgr_asc:state
   ASC_tempSensor Temperatur_draussen
   ASC_twilightDevice Daemmerungswert
   DbLogExclude .*
   devStateIcon { ShuttersControl_DevStateIcon($name) }
   icon       fts_shutter_automatic
   room       ASC,ASC-Beschattung,Rollos
   verbose    3


Dachte eigentlich ich hätte das durchgetestet. Muss ich mir wohl noch mal anschauen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

FunkOdyssey

Hallo CoolTux, könntest du bitte dieses Ticket wieder öffnen?
Ich habe vor ein paar Tagen Ergänzungen vorgenommen.

https://github.com/fhem/AutoShuttersControl/issues/75

flummy1978

Zitat von: amenomade am 05 August 2020, 20:31:21
Ohje, das habe ich verpasst! Danke dir. Ja das ist was ich immer haben wollte. Jetzt kann ich vernünftig meine Automatisierung machen.

Wobei Du Dir dau auch den separaten Thread anschauen solltest ..... scheint leider noch nicht so ganz ausgereift zu sein  :-\