RettungsTim / fhem-rollo

7 stars 3 forks source link

Die Laufzeit greift nicht für die position 0 und position 100. #5

Open RettungsTim opened 8 years ago

RettungsTim commented 8 years ago

Aus dem FHEM Forum von Burny4600: https://forum.fhem.de/index.php/topic,47202.msg475317.html#msg475317

Habe mit dem überarbeiteten Modul Probleme. Die Laufzeit greift nicht für die position 0 und position 100. Dies ist für die Grundeinstellung der Laufzeit der Rollläden aber sehr hilfreich. Die Funktion closed und open würden eigendlich reichen um auf die Endanschläge zu fahren wenn dies notwendig ist.

Auch das Fahren mit den Tasten up und down macht Probleme. Für meine Aktoren FS20 und IT sieht die Grundkonfigurierung gleich aus.

commandDown set R_OG2_BUE_NO off commandStopDown set R_OG2_BUE_NO off commandStopUp set R_OG2_BUE_NO on commandUp set R_OG2_BUE_NO on

Wenn ich zb. den Rollladen mit down herunter fahre und nicht nochmals down drücke sondern up fährt der Rollladen weiter herunter. Drücke ich im Anschluß down bleibt der Rollladen stehen. Drücke ich jetzt wieder up tut sich nichts. Auch wenn ich nochmals up betätige tut sich nichts. Ich muss nochmals down betätigen um herunter zu fahren und nochmals down um anzuhalten. Passt ja noch. Betätige ich jetzt up fährt der Rollladen kurz herunter und dann erst hinauf. Die Config des ROLLO Moduls sieht so aus

define R_OG2_BUE_NO_P ROLLO attr R_OG2_BUE_NO_P alias OG2 Büro 1 - Rollladen attr R_OG2_BUE_NO_P autoStop 1 attr R_OG2_BUE_NO_P automatic-enabled off attr R_OG2_BUE_NO_P blockMode none attr R_OG2_BUE_NO_P cmdIcon half:remotecontrol/black_btn_MENUDroid open:remotecontrol/black_btn_CHUP closed:remotecontrol/black_btn_CHDOWN stop:remotecontrol/black_btn_STOP attr R_OG2_BUE_NO_P commandDown set R_OG2_BUE_NO off attr R_OG2_BUE_NO_P commandStopDown set R_OG2_BUE_NO off attr R_OG2_BUE_NO_P commandStopUp set R_OG2_BUE_NO on attr R_OG2_BUE_NO_P commandUp set R_OG2_BUE_NO on attr R_OG2_BUE_NO_P 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 position-100:fts_shutter_100:open position-90:fts_shutter_80:closed position-80:fts_shutter_80:closed position-70:fts_shutter_70:closed position-60:fts_shutter_60:closed position-50:fts_shutter_50:closed position-40:fts_shutter_40:open position-30:fts_shutter_30:open position-20:fts_shutter_20:open position-10:fts_shutter_10:open position-0:fts_shutter_10:closed attr R_OG2_BUE_NO_P excessBottom 0 attr R_OG2_BUE_NO_P excessTop 0 attr R_OG2_BUE_NO_P icon fts_shutter_updown attr R_OG2_BUE_NO_P reactionTime 0 attr R_OG2_BUE_NO_P resetTime 0 attr R_OG2_BUE_NO_P room OG2,OG2-Buero1,Rolllaeden attr R_OG2_BUE_NO_P secondsDown 18 attr R_OG2_BUE_NO_P secondsUp 19 attr R_OG2_BUE_NO_P switchTime 1 attr R_OG2_BUE_NO_P type normal attr R_OG2_BUE_NO_P webCmd position:half:open:closed:stop

Irgendwo ist da noch der Wurm drinnen. Finde aber im Commandref dazu auch nichts passendes.

thomasramm commented 8 years ago

Hallo Tim, kannst du die Änderungen durchtesten? Wenn ja sollten sie schnellstens in die master. Bei solchen Änderungen ist die Gefahr von anderen Wechselwirkungen recht groß weshalb ich sie nicht als hotfix lösen wollte.