Hallo Zusammen,
habe drei Rollos mit AutoShuttersControl eingerichtet. Zwei Rollos werden über ein SONOFF-4CH mit Tasmota angesteuert. Jeweils zwei Relaiskanäle sind mit einem ROLLO-Modul verbunden.
Das funktioniert bei Sonnenauf/untergang und Beschattung sehr gut. Ein Rollo läuft über ein Shelly2.5 (originalFirmware). Sonnenauf- und Untergang funktioniert auch gut.
Die Beschattung fährt bei entsprechender Helligkeit herunter, fährt jedoch bei zunehmender Dunkelheit nicht wieder hoch.
Habe in myASControl ASC_debug auf 1 gesetzt und ASC_Logs eines Tages angehängt.
Was kann man noch zum debuggen machen.
List der Devices
List myASControl:
Internals:
FUUID 5d1e4504-f33f-3e29-1d7f-d419d8cc9cb1f9ce
FVERSION 73_AutoShuttersControl.pm:v0.6.21-s19814/2019-07-10 UNDER DEVELOP
MID da39a3ee5e6b4b0d3255bfef95601890afd80709
NAME myASControl
NOTIFYDEV global,myASControl,RolloWZ_169,rRolloCZ,rRolloSZ,TagesLicht,RolloWZ_169,Klima_170
NR 134
NTFY_ORDER 51-myASControl
STATE manual
TYPE AutoShuttersControl
VERSION v0.6.21
Helper:
DBLOG:
RolloWZ_169_PosValue:
DBLogging:
TIME 1564932186.47823
VALUE 100
RolloWZ_169_lastPosValue:
DBLogging:
TIME 1564917494.4133
VALUE 100
RolloWZ_169_nextAstroTimeEvent:
DBLogging:
TIME 1564889671.71992
VALUE 4.08.2019 - 20:50
rRolloCZ_PosValue:
DBLogging:
TIME 1564889709.16727
VALUE 100
rRolloCZ_lastPosValue:
DBLogging:
TIME 1564889673.24799
VALUE 0
rRolloCZ_nextAstroTimeEvent:
DBLogging:
TIME 1564889673.4491
VALUE 4.08.2019 - 20:50
rRolloSZ_PosValue:
DBLogging:
TIME 1564929215.21979
VALUE 100
rRolloSZ_lastPosValue:
DBLogging:
TIME 1564929196.50248
VALUE 50
rRolloSZ_nextAstroTimeEvent:
DBLogging:
TIME 1564893902.5425
VALUE 4.08.2019 - 20:50
state:
DBLogging:
TIME 1564932186.74904
VALUE manual
OLDREADINGS:
READINGS:
2019-08-04 17:23:06 RolloWZ_169_PosValue 100
2019-08-04 13:18:14 RolloWZ_169_lastPosValue 100
2019-08-04 05:34:31 RolloWZ_169_nextAstroTimeEvent 4.08.2019 - 20:50
2019-07-04 20:27:18 ascEnable on
2019-07-05 09:33:01 controlShading on
2019-07-04 20:27:18 hardLockOut off
2019-08-04 05:35:09 rRolloCZ_PosValue 100
2019-08-04 05:34:33 rRolloCZ_lastPosValue 0
2019-08-04 05:34:33 rRolloCZ_nextAstroTimeEvent 4.08.2019 - 20:50
2019-08-04 16:33:35 rRolloSZ_PosValue 100
2019-08-04 16:33:16 rRolloSZ_lastPosValue 50
2019-08-04 06:45:02 rRolloSZ_nextAstroTimeEvent 4.08.2019 - 20:50
2019-07-29 22:38:04 room_ASC_Schlafzimmer rRolloCZ,rRolloSZ
2019-07-29 22:38:04 room_ASC_Wohnzimmer RolloWZ_169
2019-07-04 20:27:18 selfDefense off
2019-08-04 17:23:06 state manual
2019-07-04 20:27:18 sunriseTimeWeHoliday off
2019-07-29 22:38:04 userAttrList rolled out
helper:
shuttersList:
RolloWZ_169
rRolloCZ
rRolloSZ
monitoredDevs:
Klima_170:
RolloWZ_169 ASC_BrightnessSensor
rRolloCZ ASC_BrightnessSensor
rRolloSZ ASC_BrightnessSensor
RolloWZ_169:
TagesLicht:
myASControl ASC_twilightDevice
rRolloCZ:
rRolloSZ:
Attributes:
ASC_autoAstroModeEvening REAL
ASC_autoAstroModeMorning REAL
ASC_autoShuttersControlComfort off
ASC_autoShuttersControlEvening on
ASC_autoShuttersControlMorning on
ASC_debug 1
ASC_expert 1
ASC_freezeTemp -5
ASC_shuttersDriveOffset 180
ASC_tempSensor Klima_161:TempK
ASC_twilightDevice TagesLicht
devStateIcon selfeDefense.terrace:fts_door_tilt created.new.drive.timer:clock .*asleep:scene_sleeping roommate.(awoken|home):user_available residents.(home|awoken):status_available manual:fts_shutter_manual selfeDefense.active:status_locked selfeDefense.inactive:status_open day.open:scene_day night.close:scene_night shading.in:weather_sun shading.out:weather_cloudy
icon fts_shutter_automatic
room ASC
List RolloWZ_169:
Internals:
CHANGED
DEF 192.168.10.169
DURATION 0
FUUID 5d2db632-f33f-3e29-7130-a72d96b732561acc
INTERVAL 60
MOVING stopped
NAME RolloWZ_169
NR 144
STATE stopped
TARGETPCT 40
TCPIP 192.168.10.169
TYPE Shelly
Helper:
DBLOG:
ASC_ShuttersLastDrive:
DBLogging:
TIME 1564932186.97953
VALUE manual
energy:
DBLogging:
TIME 1564917496.76674
VALUE 26.5
last_dir:
DBLogging:
TIME 1564932186.25843
VALUE up
network:
DBLogging:
TIME 1564813365.6154
VALUE <html>connected to <a href="http://192.168.10.169">192.168.10.169</a></html>
pct:
DBLogging:
TIME 1564932186.25843
VALUE 100
position:
DBLogging:
TIME 1564932186.25843
VALUE open
power:
DBLogging:
TIME 1564917496.53862
VALUE 0
state:
DBLogging:
TIME 1564917511.86345
VALUE stopped
READINGS:
2019-07-16 13:47:57 ASC_Enable on
2019-08-04 17:23:06 ASC_ShuttersLastDrive manual
2019-08-04 05:34:31 ASC_Time_DriveDown 4.08.2019 - 20:50
2019-08-04 05:34:31 ASC_Time_DriveUp 5.08.2019 - 05:36
2019-07-29 22:38:04 associatedWith myASControl
2019-07-16 13:34:10 cloud disabled
2019-07-16 13:40:41 config maxtime= [channel s]
2019-08-04 13:18:16 energy 26.5
2019-07-16 13:34:10 firmware v1.5.0-hotfix4
2019-08-04 17:23:06 last_dir up
2019-08-03 08:22:45 network <html>connected to <a href="http://192.168.10.169">192.168.10.169</a></html>
2019-08-04 17:23:06 pct 100
2019-08-04 17:23:06 position open
2019-08-04 13:18:16 power 0
2019-08-04 13:18:31 state stopped
2019-07-16 13:38:11 stop_reason normal
Attributes:
ASC 2
ASC_Antifreeze soft
ASC_Antifreeze_Pos 90
ASC_BrightnessSensor Klima_170:LUX -1:-1
ASC_Closed_Pos 0
ASC_Down astro
ASC_DriveUpMaxDuration 35
ASC_Mode_Down always
ASC_Mode_Up always
ASC_Open_Pos 100
ASC_Pos_Reading pct
ASC_Shading_Angle_Left 75
ASC_Shading_Angle_Right 65
ASC_Shading_Direction 240
ASC_Shading_MinMax_Elevation 30
ASC_Shading_Min_OutsideTemperature 12
ASC_Shading_Mode always
ASC_Shading_Pos 40
ASC_Shading_StateChange_Cloudy 16000
ASC_Shading_StateChange_Sunny 20000
ASC_Shading_WaitingPeriod 600
ASC_ShuttersPlace window
ASC_Up astro
ASC_Ventilate_Pos 70
alias Rollo-Wohnzimmer
cmdIcon open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
devStateIcon open:fts_shutter_10:closed closed:fts_shutter_100:open half:fts_shutter_50:closed drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_10:open pct-90:fts_shutter_10:closed pct-80:fts_shutter_20:closed pct-70:fts_shutter_30:closed pct-60:fts_shutter_40:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_60:open pct-30:fts_shutter_70:open pct-20:fts_shutter_80:open pct-10:fts_shutter_90:open pct-0:fts_shutter_100:closed
group Rollo
maxtime 26
mode roller
model shelly2
pct100 open
room ASC,Wohnzimmer
userattr 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 ASC_DriveUpMaxDuration ASC_Drive_Offset ASC_Drive_OffsetStart 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_PrivacyDownTime_beforNightClose ASC_PrivacyDown_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction 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_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_WaitingPeriod ASC_ShuttersPlace:window,terrace 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 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_subType:twostate,threestate
webCmd open:closed:half:stop:pct
List rRolloSZ:
Internals:
FUUID 5d28dbc0-f33f-3e29-c5f2-6a7632defb3700df
NAME rRolloSZ
NR 135
STATE open
TYPE ROLLO
stoptime 1564929215
Helper:
DBLOG:
ASC_ShuttersLastDrive:
DBLogging:
TIME 1564929216.73235
VALUE shading out
command:
DBLogging:
TIME 1564929195.37586
VALUE pct-0
desired_pct:
DBLogging:
TIME 1564929195.37586
VALUE 0
drive-type:
DBLogging:
TIME 1564929195.78309
VALUE modul
last_drive:
DBLogging:
TIME 1564929195.57581
VALUE drive-up
pct:
DBLogging:
TIME 1564929215.00281
VALUE 100
state:
DBLogging:
TIME 1564929216.09075
VALUE open
READINGS:
2019-07-15 13:57:27 ASC_Enable on
2019-08-04 16:33:36 ASC_ShuttersLastDrive shading out
2019-08-04 06:45:02 ASC_Time_DriveDown 4.08.2019 - 20:50
2019-08-04 06:45:02 ASC_Time_DriveUp 5.08.2019 - 06:45
2019-07-29 22:38:04 associatedWith myASControl
2019-08-04 16:33:15 command pct-0
2019-08-04 16:33:15 desired_pct 0
2019-08-04 16:33:15 drive-type modul
2019-08-04 16:33:15 last_drive drive-up
2019-08-04 16:33:35 pct 100
2019-08-04 16:33:36 state open
Attributes:
ASC 2
ASC_Antifreeze soft
ASC_Antifreeze_Pos 90
ASC_AutoAstroModeMorning HORIZON
ASC_AutoAstroModeMorningHorizon 9
ASC_BrightnessSensor Klima_170:LUX -1:-1
ASC_Closed_Pos 0
ASC_Down astro
ASC_Open_Pos 100
ASC_Pos_Reading pct
ASC_Shading_Angle_Left 85
ASC_Shading_Angle_Right 85
ASC_Shading_Direction 240
ASC_Shading_MinMax_Elevation 30
ASC_Shading_Min_OutsideTemperature 18
ASC_Shading_Mode always
ASC_Shading_Pos 50
ASC_Shading_StateChange_Cloudy 10000
ASC_Shading_StateChange_Sunny 20000
ASC_Shading_WaitingPeriod 600
ASC_ShuttersPlace window
ASC_Time_Up_Early 6:45
ASC_Time_Up_Late 7:30
ASC_Time_Up_WE_Holiday 8:00
ASC_Up time
ASC_Ventilate_Pos 60
alias Rollo-Schlafzimmer
cmdIcon open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
devStateIcon open:fts_shutter_10:closed closed:fts_shutter_100:open half:fts_shutter_50:closed drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_shutter_10:open pct-90:fts_shutter_10:closed pct-80:fts_shutter_20:closed pct-70:fts_shutter_30:closed pct-60:fts_shutter_40:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_60:open pct-30:fts_shutter_70:open pct-20:fts_shutter_80:open pct-10:fts_shutter_90:open pct-0:fts_shutter_100:closed
group Rollo
rl_autoStop 0
rl_commandDown set RolloSZ1_145 ON
rl_commandStopDown set RolloSZ1_145 OFF
rl_commandStopUp set RolloSZ2_145 OFF
rl_commandUp set RolloSZ2_145 ON
rl_excessBottom 2
rl_excessTop 0
rl_forceDrive 1
rl_reactionTime 1
rl_resetTime 2
rl_secondsDown 30
rl_secondsUp 31
rl_switchTime 2
rl_type HomeKit
room ASC,Schlafzimmer
userattr 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 ASC_DriveUpMaxDuration ASC_Drive_Offset ASC_Drive_OffsetStart 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_PrivacyDownTime_beforNightClose ASC_PrivacyDown_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Exclude:on,off ASC_Self_Defense_Mode:absent,gone ASC_Shading_Angle_Left ASC_Shading_Angle_Right ASC_Shading_Direction 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_Cloudy ASC_Shading_StateChange_Sunny ASC_Shading_WaitingPeriod ASC_ShuttersPlace:window,terrace 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 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_subType:twostate,threestate
webCmd open:closed:half:stop:pct
Ich gehe davon aus das die abgefahrener Position nicht korrekt als Reading wiedergegeben wird. Beschatten auf 70 z.B. und das Rollo sagt 71, dadurch denkt ASC das keine Beschattung aktiv ist und muss diese auch nicht verlassen.
Hallo CoolTux
Vielen Dank für die schnelle Antwort. Habe versucht das in den Logs nachzuvollziehen. Leider ohne Erfolg.
Aber es ist so, der Shelly2.5 (20190711-084118/v1.5.0-hotfix4@3b4f7414) ist mit seinem "Positioning Controls" nicht besonders präzise. Er landet eigendlich immer etwas daneben. Wenn er auf 40 fahren soll landet er auf 41 oder 39. Es ist fast unmöglich genau die 40 zu treffen.
Kann man AutoShuttersControl dazu bewegen hier etwas toleranter zu sein.
Vielen Dank.
Zitat von: Fuchsbau am 05 August 2019, 16:20:06
Hallo CoolTux
Vielen Dank für die schnelle Antwort. Habe versucht das in den Logs nachzuvollziehen. Leider ohne Erfolg.
Aber es ist so, der Shelly2.5 (20190711-084118/v1.5.0-hotfix4@3b4f7414) ist mit seinem "Positioning Controls" nicht besonders präzise. Er landet eigendlich immer etwas daneben. Wenn er auf 40 fahren soll landet er auf 41 oder 39. Es ist fast unmöglich genau die 40 zu treffen.
Kann man AutoShuttersControl dazu bewegen hier etwas toleranter zu sein.
Vielen Dank.
Du müsstest es aber kontrollieren können. Wenn er z.B. Beschattet dann hast Du ja eine Position dafür angegeben. Die kontrollierst Du einfach wenn er in die Beschattung gefahren ist. Was steht dann im entsprechenden Reading für die Position.
Dieses Thema hatten wir schon oft. Ich kann und will hier nichts machen. Solche Unzulänglichkeiten sollten immer im entsprechenden Modul abgearbeitet werden. Bei einem Modul haben wir es bereits erfolgreich geschafft.
Du verwendest das Shelly Modul? Eventuell auf mqtt umbauen?
Hallo CoolTux,
das ging ja wieder fix, vielen Dank.
Das Reading habe ich schon konntrollieren können. Wie gesagt der Shelly ist da ungenau. Ich stimme Dir zu, das Problem muss an der Quelle behoben werden.
Ich werde mal eine Mail an den Shellysupport senden. Diese Ungenauigkeit kann auch im Webinterface des Shelly nachvollzogen weden.
Wenn ich da weitergekommen bin, melde ich mich hier noch mal.
Bis bald.
Zitat von: Fuchsbau am 05 August 2019, 18:29:48
Das Reading habe ich schon konntrollieren können. Wie gesagt der Shelly ist da ungenau. Ich stimme Dir zu, das Problem muss an der Quelle behoben werden.
Ich werde mal eine Mail an den Shellysupport senden. Diese Ungenauigkeit kann auch im Webinterface des Shelly nachvollzogen weden.
Wenn ich da weitergekommen bin, melde ich mich hier noch mal.
Hallo!
Das ist sehr seltsam. Ich habe mit dem Shelly 2 und Shelly 2.5 getestet. Weit über 20 Fahrten und kein Fehler gefunden. Auf, Zu, Zwischenposition und von Zwischenposition zu Zwischenposition, es wurde immer korrekt angefahren und auch so gemeldet. Selbst im Shelly WebIf.
Bei mir sind sie allerdings über MQTT2 angebunden!
Hast du auch eine Kalibrierungsfahrt gemacht? Oder selbst Fahrzeiten vergeben?
Gruß
Ich habe gerade in dem anderen Thread https://forum.fhem.de/index.php/topic,99980.msg964786.html#msg964786 (https://forum.fhem.de/index.php/topic,99980.msg964786.html#msg964786) das gleiche Problem wieder angesprochen, da es mich seit ein paar Wochen nervt.
Ich habe 6 Shelly 2.5 und einen Shelly 2 für meine Rolladen. Der 2er geht, aber alle 2.5er zeigen die ungenauen Werte, obwohl ich schon mehrfach kalibriert habe.
Auch den Tipp mit MQTT habe ich schon gehabt und jetzt schon 2 Wochen 2 Shellys damit gefahren. Die Ungenauigkeit liegt in den Shellys und nicht im Modul. Dei Firmware Version 1.5.1 soll besser kalibrieren, aber wann sie kommt ist ungewiss. Vielleicht ist da der Sommer und das Beschattungsproblem vorbei.
In einem anderen Thread habe ich gelesen, dass EnOcean Aktoren anscheinend auch ungenau fahren, es in diesem Modul ein Attribut accuracy gibt, mit dem das Problem behoben wird.
Hallo Kabanett,
welche Firmwareversion haben deine Shelly's.
Gruß
Hallo,
wie gewünscht ;)
20190711-084118/v1.5.0-hotfix4@3b4f7414