Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - Backend eingeschlafen

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    - √ - Backend eingeschlafen

    Hallo, bei mir ist heute das Backend eingeschlafen - nicht komplett aber die Logiken werden nicht mehr getriggert.


    Marcus, könntest Du Dir bitte einmal den Log ansehen

    Code:
    2013-12-11 20:07:34,807 ERROR    Dummy-375    Unhandled exception: [Errno 5] Input/output error
    <class 'IOError'>
      File "/usr/lib/python3.2/threading.py", line 713, in _bootstrap
        self._bootstrap_inner()
      File "/usr/lib/python3.2/threading.py", line 753, in _bootstrap_inner
        (self.name, _format_exc()))
     -- smarthome.py:_excepthook:494
    Kurz nach diesem Eintrag wird es sehr, sehr ruhig.
    Der Dummy -375 ist mir bislang nicht untergekommen.


    Gruß Stephan
    Angehängte Dateien

    #2
    Hallo Stephan,

    Code:
    2013-12-11 19:52:13,326 INFO     Scheduler    Threads: pingit: 1, comfoair: 1, Main: 1, Scheduler: 1, ComfoAir-cyclic-reads: 357
    das ComfoAir-Plugin braucht alle Ressourcen auf.

    Bis bald

    Marcus

    Kommentar


      #3
      Danke Dir Marcus,

      Was ist Deine Empfehlung?
      Würde es reichen das Plugin seltener aufzurufen? ( ist momentan noch auf sehr kurze Zyklen eingestellt da im Test) - oder vermutest Du ein Problem im Comfoair plugin selbst ? Was sagt Deine Glaskugel

      Gruß Stephan

      Kommentar


        #4
        Zitat von shs2 Beitrag anzeigen
        Danke Dir Marcus,

        Was ist Deine Empfehlung?
        Würde es reichen das Plugin seltener aufzurufen? ( ist momentan noch auf sehr kurze Zyklen eingestellt da im Test) - oder vermutest Du ein Problem im Comfoair plugin selbst ? Was sagt Deine Glaskugel

        Gruß Stephan
        Ich denke, da gibts noch einen Bug im ComfoAir Plugin (hab eh einen von einem anderen User offen), wo die Threads nicht beendet werden. Schau ich mir die Tage an.
        Kannst du mir vielleicht ein Log von der Zeit vor dem Auftreten zur Verfügung stellen? Das wäre hilfreich!
        Ich vermute, es hat was mit dem "Decoding" der 07er Werte zu tun, welche angeblich laut Protokoll verdoppelt von der ComfoAir kommen sollen, es meiner Meinung nach aber nicht tun.

        LG Stefan

        Kommentar


          #5
          Danke Dir Stefan,

          wenn ich zur Diagnose etwas beitragen kann- gerne.

          Habe zur Zeit an der Schnittstelle ja noch einen Notebook hängen , der uns ggf. hilft. Auch wenn Du die Logfiles der letzten Tage benötigst, lass es mich wissen.

          Gestern war einer der ersten Tage seit Langem an dem ich das Backend nicht neu gestartet hatte - dadurch ist es offenbar vorher nicht aufgefallen

          Gruß Stephan

          P.S Log vom ganzen Tag findest Du oben als ZIP File ( Ausfall war gegen 20:00 +)

          Kommentar


            #6
            Zitat von shs2 Beitrag anzeigen
            wenn ich zur Diagnose etwas beitragen kann- gerne.
            Vielen Dank!
            War eh schnell gefunden, Erklärung und Fix im Hauptthread:
            https://knx-user-forum.de/smarthome-...tml#post359795

            Bitte probiers mal.

            LG Stefan

            Kommentar


              #7
              @ Stefan

              Code:
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,395 INFO ComfoAir-cyclic-reads ComfoAir: Preparing command ReadComfortTemperature with value None (transformed to value byte '') to be sent. -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,399 INFO ComfoAir-cyclic-reads ComfoAir: Successfully sent packet: 07:f0:00:8b:00:38:07:0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,404 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: f7:ff:ff -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,407 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: ff:ff -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,417 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: fd:fa:be:ff:ff:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f3:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f3:f7:ff:ff:df:ff:5f:c5:7a:2a:03:1a:4c:07:0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,461 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:f3 -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,474 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:f0:00:8a:0a:5f:54:4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,482 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 36:54:2c:0f:2a:03:1a:4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,488 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:56,902 DEBUG Scheduler ComfoAir-cyclic-reads next time: 2013-12-11 13:49:26+01:00 -- scheduler.py:_next_time:289[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:57,042 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:f0:00:8a:0a:5f:54:4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:57,050 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 36:54:2c:0f:2a:03:1a:4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:57,056 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:57,611 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:f0:00:8a:0a:5f:54:4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:57,620 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 36:54:2c:0f:2a:03:1a:4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:57,626 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,182 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07:f0:00:8a:0a:5f:54:4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,192 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 36:54:2c:0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,196 INFO ComfoAir-cyclic-reads ComfoAir: Extended packet length because of encoded characters. -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,200 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 2a -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,204 INFO ComfoAir-cyclic-reads ComfoAir: Extended packet length because of encoded characters. -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,208 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 03 -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,211 INFO ComfoAir-cyclic-reads ComfoAir: Extended packet length because of encoded characters. -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,215 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 1a -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,219 INFO ComfoAir-cyclic-reads ComfoAir: Extended packet length because of encoded characters. -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,222 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 4c -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,226 INFO ComfoAir-cyclic-reads ComfoAir: Extended packet length because of encoded characters. -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,230 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 07 -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,234 INFO ComfoAir-cyclic-reads ComfoAir: Extended packet length because of encoded characters. -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,237 INFO ComfoAir-cyclic-reads ComfoAir: Received chunk of response: 0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,250 INFO ComfoAir-cyclic-reads ComfoAir: Successfully received response: f7:ff:ff:ff:ff:fd:fa:be:ff:ff:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f3:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f0:00:86:0b:34:32:a7:9e:31:00:10:00:01:01:00:2c:07:0f:07:f3:f7:ff:ff:df:ff:5f:c5:7a:2a:03:1a:4c:07:0f:07:f3:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f:07:f0:00:8a:0a:5f:54:4c:36:54:2c:0f:2a:03:1a:4c:07:0f -- __init__.py:log_info:486[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]2013-12-11 13:48:58,254 ERROR ComfoAir-cyclic-reads Method ComfoAir-cyclic-reads exception: byte must be in range(0, 256) -- scheduler.py:_task:348[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]Traceback (most recent call last):[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]File "/usr/smarthome/lib/scheduler.py", line 344, in _task[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]obj()[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]File "/usr/smarthome/plugins/comfoair/__init__.py", line 263, in handle_cyclic_cmds[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]self.send_command(commandname)[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]File "/usr/smarthome/plugins/comfoair/__init__.py", line 370, in send_command[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]self.parse_response(packet)[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]File "/usr/smarthome/plugins/comfoair/__init__.py", line 381, in parse_response[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]commandcodebytes[1] -= self._reponsecommandinc # The request command of this response is -1 (for comfoair 350)[/FONT][/COLOR][/SIZE]
              [SIZE=3][COLOR=#000000][FONT=Calibri]ValueError: byte must be in range(0, 256)[/FONT][/COLOR][/SIZE]
              Wenn ich das richtig lese, geht es hier um 13:48:58 mit dem Ressourcenfressen los und es finden auch keine Abfragen mehr statt- um 20:07 geht dann nix mehr .

              Und wieder haben wir die FF im Stream ( Mit dem Aufbau, der seit Tagen stabil läuft )

              Gruß Stephan

              Kommentar


                #8
                Probierst du es mal bitte mit der gepatchten Version?
                Und nur zur Sicherheit: Du hast eh keine CC Ease parallel draufhängen, oder?? :-)

                LG Stefan

                Kommentar


                  #9
                  Danke Dir Stefan, nein die cc ease passt bei mir nicht und meine KWL hatte auch nie mehr als einen 3-Stufenschalter bis ich dies über KNX gelöst habe.

                  Neue Version hab ich jetzt am Laufen - berichte ob es jetzt problemlos klappt

                  Gruss Stephan

                  Kommentar

                  Lädt...
                  X