[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: joshi am 02 Mai 2021, 12:19:08
    Hallo CoolTux,

    ich habe eine Markise die trotz "Shading in" nicht fährt.

    Das Ziel ist folgendes:

    • Nachts geschlossen (daher Mode_Down / Mode_Up off)
    • Shading aktiv
    • Bei Wind und Regen soll die Markise eingefahren werden (ASC_Closed_Pos 100)
    • Bei Shading vollständig schließen (ASC_Shading_Pos 0)
    das lässt sich über das Dropdown nicht einstellen
    [/list]

    Internals:
       DEF        192.168.178.28
       DURATION   0
       FUUID      5fe3b276-f33f-5727-3e8c-fbf421f126074424
       FVERSION   36_Shelly.pm:v3.3.0-s24222/2021-04-11
       INTERVAL   60
       MOVING     stopped
       NAME       wiga_markise
       NR         59
       SHELLYID   shellyswitch25-68C63AF92489
       STATE      stopped
       TARGETPCT  100
       TCPIP      192.168.178.28
       TYPE       Shelly
       READINGS:
         2021-05-02 08:29:10   ASC_Enable      on
         2021-05-02 10:24:59   ASC_ShadingMessage INFO: current shading status is 'in' - next check in 20m
         2021-05-02 08:29:59   ASC_ShuttersLastDrive none
         2021-05-02 09:07:43   ASC_Time_DriveDown 02.05.2021 - 20:39
         2021-05-02 09:07:43   ASC_Time_DriveUp 03.05.2021 - 06:06
         2021-05-02 09:07:40   associatedWith  ASC
         2020-12-23 22:11:18   cloud           disabled
         2021-01-13 09:40:57   config          mode=roller [channel s]
         2021-05-02 08:28:59   energy_0        11.9
         2021-04-25 16:41:22   firmware        v1.10.3
         2021-05-02 08:29:59   last_dir        up
         2021-04-28 22:07:57   network         <html>connected to <a href="http://192.168.178.28">192.168.178.28</a></html>
         2021-05-02 08:29:59   pct             100
         2021-05-02 08:29:59   position        open
         2021-05-02 08:29:59   power           0
         2021-05-02 08:28:59   power_0         0
         2021-05-02 08:29:59   state           stopped
         2021-01-13 09:41:24   stop_reason     normal
    Attributes:
       ASC        2
       ASC_BrightnessSensor HmIP_SLO:1.AVERAGE_ILLUMINATION
       ASC_Closed_Pos 100
       ASC_Mode_Down off
       ASC_Mode_Up off
       ASC_Pos_Reading pct
       ASC_RainProtection on
       ASC_Shading_InOutAzimuth 90:220
       ASC_Shading_MinMax_Elevation 20:90
       ASC_Shading_Min_OutsideTemperature 23
       ASC_Shading_Mode always
       ASC_Shading_Pos 0
       ASC_TempSensor Wiga_temp:temperature
       ASC_WindProtection on
       mode       roller
       model      shelly2.5


    Setze mal das Attribut ShutteraPlace auf Markise.
    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: flummy1978 am 02 Mai 2021, 11:51:21
    Einmal das Rollo mit Britghtness
    Internals:
       FUUID      5c46de22-f33f-bea8-979f-89a2e7ebbf80d514
       NAME       Rollo_EG_BAD
       NR         55
       STATE      <pre>
    read1:open

    read2:open

    read3:open
    </pre>
       TYPE       ROLLO
       stoptime   1619931619
       .attraggr:
       .attreour:
         state
          ASC_ShadingMessage
          ASC_Shading_WaitingPeriod
          ASC_ShuttersLastDrive
         pct
         ASC_BrightnessAverage
       .attrminint:
       .userReadings:
         HASH(0x19d7870)
       READINGS:
         2021-04-04 13:15:28   .ASC_AttrUpdateChanges_v0.10.12 1
         2021-05-02 11:42:23   ASC_BrightnessAverage 33838
         2020-11-09 10:09:51   ASC_Enable      on
         2021-05-02 11:42:23   ASC_ShadingMessage INFO: current shading status is 'out' - next check in 5m
         2021-05-02 07:00:19   ASC_ShuttersLastDrive day open
         2021-05-02 07:00:02   ASC_Time_DriveDown 02.05.2021 - 21:00
         2021-05-02 07:00:02   ASC_Time_DriveUp 03.05.2021 - 07:00
         2021-04-25 23:56:14   associatedWith  AUTO_RolloSteuerung
         2021-05-02 07:00:02   command         pct-0
         2021-05-02 07:00:02   desired_pct     0
         2021-05-02 07:00:02   drive-type      modul
         2021-05-02 07:00:02   last_drive      drive-up
         2021-05-02 07:00:19   pct             0
         2021-05-02 07:00:19   state           open
    Attributes:
       ASC        1
       ASC_Antifreeze off
       ASC_Antifreeze_Pos 95
       ASC_AutoAstroModeEvening none
       ASC_AutoAstroModeEveningHorizon none
       ASC_AutoAstroModeMorning none
       ASC_AutoAstroModeMorningHorizon none
       ASC_BlockingTime_afterManual 3600
       ASC_BlockingTime_beforDayOpen 0
       ASC_BlockingTime_beforNightClose 3600
       ASC_BrightnessSensor dev_EG_BD_LUX:illuminance
       ASC_Closed_Pos 100
       ASC_ComfortOpen_Pos 20
       ASC_Down   astro
       ASC_Drive_Delay -1
       ASC_Drive_DelayStart -1
       ASC_GuestRoom none
       ASC_LockOut off
       ASC_LockOut_Cmd none
       ASC_Mode_Down always
       ASC_Mode_Up always
       ASC_Open_Pos 0
       ASC_Partymode off
       ASC_Pos_Reading pct
       ASC_PrivacyDown_Pos 70
       ASC_Roommate_Device none
       ASC_Roommate_Reading state
       ASC_Shading_InOutAzimuth 50:155
       ASC_Shading_MinMax_Elevation 2:140
       ASC_Shading_Min_OutsideTemperature 10
       ASC_Shading_Mode always
       ASC_Shading_Pos 60
       ASC_Shading_StateChange_SunnyCloudy 45000:17000 2
       ASC_Shading_WaitingPeriod 600
       ASC_Time_Down_Early 19:00
       ASC_Time_Down_Late 21:00
       ASC_Time_Up_Early 07:00
       ASC_Time_Up_Late 09:30
       ASC_Time_Up_WE_Holiday 10:00
       ASC_Up     astro
       ASC_Ventilate_Pos 40
       ASC_Ventilate_Window_Open on
       ASC_WiggleValue 5
       ASC_WindowRec none
       ASC_WindowRec_subType twostate
       DbLogExclude .*
       alias      Rollo Bad
       automatic-enabled on
       cmdIcon    open:fts_shutter_up closed:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
       devStateIcon read1.drive-up:rc_UP@red:stop .*read1..*:rc_UP@green:open read2.open:fts_shutter_10@green:stop read2..*10:fts_shutter_10@Crimson:stop read2..*20:fts_shutter_20@Crimson:stop read2..*30:fts_shutter_30@Crimson:stop read2..*40:fts_shutter_40@Crimson:stop read2.(.*50|half):fts_shutter_50@Crimson:stop read2..*60:fts_shutter_60@Crimson:stop read2..*70:fts_shutter_70@Crimson:stop read2..*80:fts_shutter_80@Crimson:stop read2..*90:fts_shutter_90@Crimson:stop read2.closed:fts_shutter_100@Crimson:stop read2.drive.*:fts_shutter@Crimson:stop read3.drive-down:rc_DOWN@red:stop read3..*:rc_DOWN@red:closed
       event-on-update-reading state, ASC_ShadingMessage, ASC_Shading_WaitingPeriod, ASC_ShuttersLastDrive,pct,ASC_BrightnessAverage
       group      Fenster
       rl_autoStop 0
       rl_blockMode none
       rl_commandDown set EG_BAD_RO_ROLLO_AUF off; set EG_BAD_RO_ROLLO_ZU on
       rl_commandStop set EG_BAD_RO_ROLLO_AUF off;set EG_BAD_RO_ROLLO_ZU off
       rl_commandUp set EG_BAD_RO_ROLLO_ZU off;set EG_BAD_RO_ROLLO_AUF on
       rl_resetTime 2
       rl_secondsDown 14
       rl_secondsUp 15
       rl_switchTime 3
       rl_type    normal
       room       Bad
       stateFormat <pre>
    read1:state

    read2:state

    read3:state
    </pre>
       userReadings ASC_BrightnessAverage { ascAPIget('BrightnessAverage',$name) }
       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
       webCmd     pct


    Und das ohne zum Test (das hatte ich zuletzt sogar noch mal  neu angelegt)
    Internals:
       CFGFN     
       FUUID      6085d6fc-f33f-6adc-a40c-e2364cc6a3926a45
       NAME       dum_JALOU_Gang
       NR         236088
       STATE      pct-90
       TYPE       ROLLO
       stoptime   1619943067
       .attraggr:
       .attreocr:
         .*
       .attrminint:
       OLDREADINGS:
       READINGS:
         2021-04-25 22:54:51   ASC_Enable      on
         2021-05-02 11:47:10   ASC_ShadingMessage INFO: current shading status is 'in' - next check in 10m
         2021-05-02 10:11:07   ASC_ShuttersLastDrive shading in
         2021-05-02 05:00:01   ASC_Time_DriveDown 02.05.2021 - 21:34
         2021-05-02 05:00:01   ASC_Time_DriveUp 03.05.2021 - 05:00
         2021-04-25 23:56:14   associatedWith  AUTO_RolloSteuerung
         2021-05-02 10:10:54   command         pct-90
         2021-05-02 10:10:54   desired_pct     90
         2021-05-02 10:10:54   drive-type      modul
         2021-05-02 10:10:54   last_drive      drive-down
         2021-05-02 10:11:07   pct             90
         2021-05-02 10:11:07   state           pct-90
    Attributes:
       ASC        1
       ASC_BlockingTime_afterManual 10
       ASC_BrightnessSensor Wetterstation:luminosity
       ASC_ComfortOpen_Pos 80
       ASC_Pos_Reading pct
       ASC_RainProtection on
       ASC_Shading_InOutAzimuth 110:315
       ASC_Shading_MinMax_Elevation 5:125
       ASC_Shading_Min_OutsideTemperature 2
       ASC_Shading_Mode always
       ASC_Shading_Pos 90
       ASC_Shading_StateChange_SunnyCloudy 800:200 2
       ASC_Shading_WaitingPeriod 600
       ASC_TempSensor dev_EG_WZ_innen_temperatur:temperature
       ASC_Time_Down_Early 16:30
       ASC_Time_Up_Late 14:00
       ASC_Time_Up_WE_Holiday 11:00
       ASC_Up     time
       ASC_WindParameters 85:30 0
       ASC_WindProtection on
       ASC_WindowRec_PosAfterDayClosed lastManual
       ASC_WindowRec_subType threestate
       DbLogExclude .*
       alias      DummyRollo zum testen
       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_100:open pct-90:fts_shutter_80:closed pct-80:fts_shutter_80:closed pct-70:fts_shutter_70:closed pct-60:fts_shutter_60:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_40:open pct-30:fts_shutter_30:open pct-20:fts_shutter_20:open pct-10:fts_shutter_10:open pct-0:fts_shutter_10:closed
       event-on-change-reading .*
       group      Systemautomatik
       rl_autoStop 0
       rl_excessBottom 2
       rl_excessTop 4
       rl_secondsDown 10
       rl_secondsUp 10
       rl_switchTime 1
       rl_type    normal
       room       System->Rollosteuerung
       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
       webCmd     open:closed:half:stop:pct



    Das Reading kommt nicht von ASC sondern ist ein userreadings von Dir
    userReadings ASC_BrightnessAverage { ascAPIget('BrightnessAverage',$name) }
    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: nagelreo am 02 Mai 2021, 08:29:23
    Hallo CoolTux,

    vielen Dank für, die schnelle Antwort.
    So habe ich das auch verstanden.
    Letzte Woche habe ich das mehrfach probiert, ohne Erfolg und daraufhin "ASC_Mode_Down und Up" auf "off" gestellt.
    Gestern Abend, nach Deiner Antwort, habe ich mit dem "shutterASCEnableToggle" nochmals gespielt und dabei im device Readings "down" bzw. "up" (beides in roter Schrift) beobachtet, nach dem erneuten Öffnen vom device änderte sich das Readings in "on" bzw. "off".
    2021-05-01 22:04:00 SOMFY Bad ASC_Enable: up
    2021-05-01 22:04:00 AutoShuttersControl Somfy_Controls shutterASCenableToggle Bad
    2021-05-01 22:05:01 SOMFY Bad ASC_Enable: down
    2021-05-01 22:05:01 AutoShuttersControl Somfy_Controls shutterASCenableToggle Bad


    Das war letzte Woche so nicht. Ich vermute, dass es durch die vorherige Deaktivierung vom ASC (attribut ASC 0) in Kombination mit dem set "scannForShutters" und erneute Aktivierung von ASC ausgelöst wurde. Das habe ich nur für einen Rollo durchgeführt.
    Nun funktioniert das toggeln bei allen Rollos, die Rollos werden wie gewünscht durch ASC gesteuert (öffnen/schließen).

    Hast du eine Erklärung dafür?

    Gruß
    Rolf

    Eine Erklärung habe ich dafür leider nicht. Laut Code sollte nur ausschließlich on und off kommen.
    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

    h-man-kl

    Hallo zusammen,
    ich habe noch ein wenig an meinem Problem gebastelt und versuche daher nochmal einen Anlauf mit der Hoffnung auf eine Lösung:
    Da sich ja in meinen neuen HM Rollladenaktoren keine ASC Attribute eintragen habe ich nun zum testen mal ein Gerät vom Typ ROLLO neu hinzugefügt => selbes Problem, außer dem Attribut ASC 0/1/2 passiert nichts.
    Meine alten ROLLO-Devices und meine alten HM-Aktoren haben alle keine Probleme.
    Kann man irgendwie diese Attribute händisch eintragen? Braucht ihr noch weitere Infos?
    Es wäre super, wenn ich dieses tolle Modul weiterhin benutzen könnte....
    Nochmals Danke und Gruß
    H-man
    RasPi 3 mit MaxCube für FS20 , HM-Urart, HM-LAN, MiLight, HUE, Lightify, SONOS, Harmony, Unifi, FritzBox 7490... :-)
    Ganz nach dem Motto: Normal? Normal is langweilig....

    CoolTux

    Zitat von: h-man-kl am 02 Mai 2021, 14:08:54
    Hallo zusammen,
    ich habe noch ein wenig an meinem Problem gebastelt und versuche daher nochmal einen Anlauf mit der Hoffnung auf eine Lösung:
    Da sich ja in meinen neuen HM Rollladenaktoren keine ASC Attribute eintragen habe ich nun zum testen mal ein Gerät vom Typ ROLLO neu hinzugefügt => selbes Problem, außer dem Attribut ASC 0/1/2 passiert nichts.
    Meine alten ROLLO-Devices und meine alten HM-Aktoren haben alle keine Probleme.
    Kann man irgendwie diese Attribute händisch eintragen? Braucht ihr noch weitere Infos?
    Es wäre super, wenn ich dieses tolle Modul weiterhin benutzen könnte....
    Nochmals Danke und Gruß
    H-man

    Ich schaue heute Abend oder morgen noch mal in den Code wo eventuell Probleme auftauchen könnten beim setzen.
    Dein FHEM ist komplett aktuell?
    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

    nagelreo

    Hallo CoolTux

    ZitatEine Erklärung habe ich dafür leider nicht. Laut Code sollte nur ausschließlich on und off kommen.

    ich konnte das Reading "ASC_Enable" zuordnen, es wird die Definition für "on" bzw. "off" aus dem attr eventMap vom device übernommen.


    2021-05-02 18:17:55 Global global ATTR Bad eventMap on:down stop:go-my off:up1
    2021-05-02 18:18:17 SOMFY Bad ASC_Enable: up1

    2021-05-02 18:19:12 Global global ATTR Bad eventMap on:down stop:go-my off:up
    2021-05-02 18:19:40 SOMFY Bad ASC_Enable: up


    Gruß
    Rolf

    CoolTux

    Das ist natürlich Mist. Ich muss mal schauen wie ich das umgehen kann
    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: h-man-kl am 02 Mai 2021, 14:08:54
    Hallo zusammen,
    ich habe noch ein wenig an meinem Problem gebastelt und versuche daher nochmal einen Anlauf mit der Hoffnung auf eine Lösung:
    Da sich ja in meinen neuen HM Rollladenaktoren keine ASC Attribute eintragen habe ich nun zum testen mal ein Gerät vom Typ ROLLO neu hinzugefügt => selbes Problem, außer dem Attribut ASC 0/1/2 passiert nichts.
    Meine alten ROLLO-Devices und meine alten HM-Aktoren haben alle keine Probleme.
    Kann man irgendwie diese Attribute händisch eintragen? Braucht ihr noch weitere Infos?
    Es wäre super, wenn ich dieses tolle Modul weiterhin benutzen könnte....
    Nochmals Danke und Gruß
    H-man

    Kannst Du bitte einmal schauen ob Du ein Event bekommst
    userAttrList: rolled.out
    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

    flummy1978

    Zitat von: CoolTux am 02 Mai 2021, 13:27:42
    Das Reading kommt nicht von ASC sondern ist ein userreadings von Dir
    userReadings ASC_BrightnessAverage { ascAPIget('BrightnessAverage',$name) }

    Oh mann ... Wie peinlich  ??? :o

    Das kommt davon wenn man vor Ewigkeiten mal sowas eingebaut hat und das dann nicht mehr im Kopf hat.... Nichts destotrotz hätte ich es aber sehen müssen. Sorry für die Mühe die ich damit gemacht hab.

    CoolTux

    Zitat von: flummy1978 am 03 Mai 2021, 11:31:07
    Oh mann ... Wie peinlich  ??? :o

    Das kommt davon wenn man vor Ewigkeiten mal sowas eingebaut hat und das dann nicht mehr im Kopf hat.... Nichts destotrotz hätte ich es aber sehen müssen. Sorry für die Mühe die ich damit gemacht hab.

    Ging mir nicht anders. Ich musste selber erstmal sicher gehen und habe ne Weile gesucht. Bin dann irgendwann drauf gekommen das es unmöglich von mir sein kann da ich rein gar nichts im Code gefunden habe.
    Aber Du siehst ich konnte es auch nicht sofort sagen  ;D
    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

    flummy1978

    Zitat von: CoolTux am 03 Mai 2021, 11:39:12
    Ging mir nicht anders. Ich musste selber erstmal sicher gehen und habe ne Weile gesucht. Bin dann irgendwann drauf gekommen das es unmöglich von mir sein kann da ich rein gar nichts im Code gefunden habe.
    Aber Du siehst ich konnte es auch nicht sofort sagen  ;D

    Immerhin :D Hoffe das Suchen danach war nicht zu viel Arbeit ;)

    Zu der Fahren bei / nach Regen Verzögerungsgeschichte hast Du noch nicht gefunden bzw gemacht oder ?

    CoolTux

    Zitat von: flummy1978 am 03 Mai 2021, 11:56:11
    Immerhin :D Hoffe das Suchen danach war nicht zu viel Arbeit ;)

    Zu der Fahren bei / nach Regen Verzögerungsgeschichte hast Du noch nicht gefunden bzw gemacht oder ?

    Da bin dran und baue das ganze entsprechend um. Wird aber etwas dauern und eine etwas größere Aktion.

    https://git.cooltux.net/FHEM/mod-AutoShuttersControl/src/branch/patch-rainprotection
    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

    flummy1978

    Aaaahhh der Gerät wird getrennt und bekommt quasi ein eigenes Modulteil ?

    Wenn ich da irgendwie bei Tests behilflich sein kann (in meiner Version) sag bescheid - Zur Not auch PN - lese hier nicht unbedingt immer jeden Beitrag einzeln, wenn ich grad nichts offen hab.


    CoolTux

    Zitat von: flummy1978 am 03 Mai 2021, 13:04:57
    Aaaahhh der Gerät wird getrennt und bekommt quasi ein eigenes Modulteil ?

    Wenn ich da irgendwie bei Tests behilflich sein kann (in meiner Version) sag bescheid - Zur Not auch PN - lese hier nicht unbedingt immer jeden Beitrag einzeln, wenn ich grad nichts offen hab.

    Kann ich gerne machen. Wird aber noch etwas dauern.
    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

    Wolle02

    Seit ein paar tagen habe ich regelmäßig morgens und abends folgende Fehlermeldungen im Logfile.

    2021.05.02 22:00:09 1: AutoShuttersControl (Rollladensteuerung) - Error in function  CreateSunRiseSetShuttersTimer. No shuttersDevHash given
    2021.05.02 22:00:09 1: ERROR: empty name in readingsBeginUpdate
    2021.05.02 22:00:09 1: stacktrace:
    2021.05.02 22:00:09 1:     main::readingsBeginUpdate           called by lib/FHEM/Automation/ShuttersControl.pm (1076)
    2021.05.02 22:00:09 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1407)
    2021.05.02 22:00:09 1:     FHEM::Automation::ShuttersControl::SunSetShuttersAfterTimerFn called by fhem.pl (3420)
    2021.05.02 22:00:09 1:     main::HandleTimeout                 called by fhem.pl (695)
    2021.05.02 22:00:09 1: readingsUpdate(,ASC_Time_DriveDown,03.05.2021 - 22:00) missed to call readingsBeginUpdate first.
    2021.05.02 22:00:09 1: stacktrace:
    2021.05.02 22:00:09 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1077)
    2021.05.02 22:00:09 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1407)
    2021.05.02 22:00:09 1:     FHEM::Automation::ShuttersControl::SunSetShuttersAfterTimerFn called by fhem.pl (3420)
    2021.05.02 22:00:09 1:     main::HandleTimeout                 called by fhem.pl (695)
    2021.05.02 22:00:09 1: readingsUpdate(,ASC_Time_DriveUp,03.05.2021 - 05:47) missed to call readingsBeginUpdate first.
    2021.05.02 22:00:09 1: stacktrace:
    2021.05.02 22:00:09 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1091)
    2021.05.02 22:00:09 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1407)
    2021.05.02 22:00:09 1:     FHEM::Automation::ShuttersControl::SunSetShuttersAfterTimerFn called by fhem.pl (3420)
    2021.05.02 22:00:09 1:     main::HandleTimeout                 called by fhem.pl (695)


    2021.05.03 05:47:41 1: AutoShuttersControl (Rollladensteuerung) - Error in function  CreateSunRiseSetShuttersTimer. No shuttersDevHash given
    2021.05.03 05:47:41 1: ERROR: empty name in readingsBeginUpdate
    2021.05.03 05:47:41 1: stacktrace:
    2021.05.03 05:47:41 1:     main::readingsBeginUpdate           called by lib/FHEM/Automation/ShuttersControl.pm (1076)
    2021.05.03 05:47:41 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1509)
    2021.05.03 05:47:41 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3420)
    2021.05.03 05:47:41 1:     main::HandleTimeout                 called by fhem.pl (695)
    2021.05.03 05:47:41 1: readingsUpdate(,ASC_Time_DriveDown,03.05.2021 - 22:00) missed to call readingsBeginUpdate first.
    2021.05.03 05:47:41 1: stacktrace:
    2021.05.03 05:47:41 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1077)
    2021.05.03 05:47:41 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1509)
    2021.05.03 05:47:41 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3420)
    2021.05.03 05:47:41 1:     main::HandleTimeout                 called by fhem.pl (695)
    2021.05.03 05:47:41 1: readingsUpdate(,ASC_Time_DriveUp,04.05.2021 - 05:45) missed to call readingsBeginUpdate first.
    2021.05.03 05:47:41 1: stacktrace:
    2021.05.03 05:47:41 1:     main::readingsBulkUpdate            called by lib/FHEM/Automation/ShuttersControl.pm (1091)
    2021.05.03 05:47:41 1:     FHEM::Automation::ShuttersControl::CreateSunRiseSetShuttersTimer called by lib/FHEM/Automation/ShuttersControl.pm (1509)
    2021.05.03 05:47:41 1:     FHEM::Automation::ShuttersControl::SunRiseShuttersAfterTimerFn called by fhem.pl (3420)
    2021.05.03 05:47:41 1:     main::HandleTimeout                 called by fhem.pl (695)



    Ich kann nicht genau sagen, wann das angefangen hat; ebenfall habe ich bei den morgendlichen uns abendlichen Fahrten keine Unregelmäßigkeiten festgestellt.