Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - knx_init - Nicht alle items werden aktualisiert

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

    #16
    Hier das neue DebugLog File:

    Code:
    2013-08-12 22:14:34,192 SmartHome.py INFO     Start SmartHome.py 0.9-10-g63eb637+ -- smarthome.py:__init__:192
    2013-08-12 22:14:34,197 SmartHome.py DEBUG    Python 2.7.3 -- smarthome.py:__init__:193
    2013-08-12 22:14:34,203 SmartHome.py INFO     Init Scheduler -- scheduler.py:__init__:53
    2013-08-12 22:14:34,209 SmartHome.py INFO     Init Plugins -- smarthome.py:__init__:208
    2013-08-12 22:14:34,217 Scheduler    DEBUG    creating 5 workers -- scheduler.py:run:59
    2013-08-12 22:14:34,232 SmartHome.py DEBUG    Plugin: knx -- plugin.py:__init__:42
    2013-08-12 22:14:34,276 SmartHome.py DEBUG    Plugin: ow -- plugin.py:__init__:42
    2013-08-12 22:14:34,291 SmartHome.py ERROR    Onewire: could not connect to 127.0.0.1:4304: [Errno 111] Connection refused -- __init__.py:connect:62
    2013-08-12 22:14:34,297 SmartHome.py DEBUG    Plugin: cli -- plugin.py:__init__:42
    2013-08-12 22:14:34,310 SmartHome.py DEBUG    Plugin: visu -- plugin.py:__init__:42
    2013-08-12 22:14:34,391 SmartHome.py DEBUG    Plugin: sql -- plugin.py:__init__:42
    2013-08-12 22:14:34,418 SmartHome.py DEBUG    SQLite 3.7.13 -- __init__.py:__init__:60
    2013-08-12 22:14:34,445 SmartHome.py DEBUG    sqlite next time: 2013-08-13 03:02:00+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:34,449 SmartHome.py DEBUG    Plugin: rrd -- plugin.py:__init__:42
    2013-08-12 22:14:34,550 SmartHome.py INFO     Init Items -- smarthome.py:__init__:210
    2013-08-12 22:14:34,735 SmartHome.py DEBUG    knx: second.sleeping.light.level listen on 3/2/14 -- __init__.py:parse_item:243
    2013-08-12 22:14:35,225 SmartHome.py DEBUG    knx: Light listen on 3/2/12 -- __init__.py:parse_item:243
    2013-08-12 22:14:35,345 SmartHome.py DEBUG    knx: room1.bel1 listen on and init with 13/3/17 -- __init__.py:parse_item:252
    2013-08-12 22:14:35,355 SmartHome.py DEBUG    knx: room1.bel2 listen on and init with 13/3/18 -- __init__.py:parse_item:252
    2013-08-12 22:14:35,363 SmartHome.py DEBUG    knx: room1.bel3 listen on and init with 13/3/19 -- __init__.py:parse_item:252
    2013-08-12 22:14:35,372 SmartHome.py DEBUG    knx: room1.bel4 listen on and init with 13/3/20 -- __init__.py:parse_item:252
    2013-08-12 22:14:35,494 SmartHome.py INFO     Start Plugins -- plugin.py:start:63
    2013-08-12 22:14:35,504 ow           DEBUG    1w-disc next time: 2013-08-12 22:14:35+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:35,524 SmartHome.py INFO     Start Logics -- logic.py:__init__:32
    2013-08-12 22:14:35,528 SmartHome.py DEBUG    reading logics from /usr/smarthome/etc/logic.conf -- logic.py:__init__:38
    2013-08-12 22:14:35,533 rrd          DEBUG    rrd next time: 2013-08-12 22:16:15+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:35,545 SmartHome.py DEBUG    Logic: hello -- logic.py:__init__:45
    2013-08-12 22:14:35,591 SmartHome.py DEBUG    Logic: dummy -- logic.py:__init__:45
    2013-08-12 22:14:35,601 SmartHome.py DEBUG    dummy next time: 2013-08-12 22:14:44+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:35,652 sh.con       DEBUG    knx: enable group monitor -- __init__.py:handle_connect:119
    2013-08-12 22:14:35,666 sh.con       DEBUG    knx: init read -- __init__.py:handle_connect:125
    2013-08-12 22:14:35,714 sh.con       INFO     KNX: connected to 127.0.0.1:6720 -- my_asynchat.py:connect:69
    2013-08-12 22:14:35,791 Scheduler    DEBUG    1w-disc next time: 2013-08-12 22:24:35+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:35,862 sh.gc        DEBUG    Garbage collector: collected 903 objects. -- smarthome.py:_garbage_collection:345
    2013-08-12 22:14:36,016 Scheduler    DEBUG    sh.gc next time: 2013-08-13 02:04:00+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:36,611 SmartHome.py DEBUG    typ: 112, len: 2, telegram: 0 70 -- __init__.py:parse_telegram:166
    2013-08-12 22:14:36,615 SmartHome.py DEBUG    typ: 38, len: 2, telegram: 0 26 -- __init__.py:parse_telegram:166
    2013-08-12 22:14:36,620 SmartHome.py DEBUG    0.0.0 read 13/3/17 -- __init__.py:parse_telegram:211
    2013-08-12 22:14:36,624 SmartHome.py DEBUG    0.0.0 read 13/3/18 -- __init__.py:parse_telegram:211
    2013-08-12 22:14:36,631 SmartHome.py DEBUG    0.0.0 read 13/3/19 -- __init__.py:parse_telegram:211
    2013-08-12 22:14:36,636 SmartHome.py DEBUG    0.0.0 read 13/3/20 -- __init__.py:parse_telegram:211
    2013-08-12 22:14:36,641 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/17 to True -- __init__.py:parse_telegram:198
    2013-08-12 22:14:36,646 SmartHome.py DEBUG    room1.bel1 = True via KNX 1.1.50 -- item.py:_update:219
    2013-08-12 22:14:36,654 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/18 to True -- __init__.py:parse_telegram:198
    2013-08-12 22:14:36,659 SmartHome.py DEBUG    room1.bel2 = True via KNX 1.1.50 -- item.py:_update:219
    2013-08-12 22:14:36,667 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/20 to True -- __init__.py:parse_telegram:198
    2013-08-12 22:14:36,671 SmartHome.py DEBUG    room1.bel4 = True via KNX 1.1.50 -- item.py:_update:219
    2013-08-12 22:14:37,923 visu         DEBUG    series next time: 2013-08-12 22:14:43+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:39,091 hello        INFO     Hello World! -- hello.py:<module>:3
    2013-08-12 22:14:43,293 Scheduler    DEBUG    series next time: 2013-08-12 22:14:53+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:44,128 dummy        DEBUG    first.living.temperature = 20 via Logic None -- item.py:_update:219
    2013-08-12 22:14:44,319 Scheduler    DEBUG    dummy next time: 2013-08-12 22:19:44+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:45,830 dummy        DEBUG    first.living.humidity = 47 via Logic None -- item.py:_update:219
    2013-08-12 22:14:47,759 dummy        DEBUG    second.sleeping.temperature = 20 via Logic None -- item.py:_update:219
    2013-08-12 22:14:50,668 dummy        DEBUG    second.bath.temperature = 23 via Logic None -- item.py:_update:219
    2013-08-12 22:14:52,792 SmartHome.py INFO     WebSocket: incoming connection from 192.168.1.32:56891 -- __init__.py:handle_accept:115
    2013-08-12 22:14:53,090 SmartHome.py DEBUG    192.168.1.32:56891 sent '{"cmd":"proto","ver":2}' -- __init__.py:json_parse:257
    2013-08-12 22:14:53,283 Scheduler    DEBUG    series next time: 2013-08-12 22:15:03+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:14:56,508 SmartHome.py DEBUG    192.168.1.32:56891 sent '{"cmd":"monitor","items":["room1.bel1","room1.bel2","room1.bel3","room1.bel4"]}' -- __init__.py:json_parse:257
    2013-08-12 22:15:03,388 Scheduler    DEBUG    series next time: 2013-08-12 22:15:13+02:00 -- scheduler.py:_next_time:238
    2013-08-12 22:15:04,135 SmartHome.py DEBUG    WebSocket: closing connection to 192.168.1.32:56891. -- __init__.py:rfc6455_parse:380
    2013-08-12 22:15:13,289 Scheduler    DEBUG    series next time: 2013-08-12 22:15:23+02:00 -- scheduler.py:_next_time:238

    Kommentar


      #17
      Benötigt Ihr hier noch Vergleichsdaten?
      Ich initialisiere beim Start auch sehr viele Objekte (setzen und lesen), das Verhalten ist mir bei mir aber noch nicht aufgefallen...
      Ich habe einen Enertex-Router am laufen. Zuvor ein Busware TUL, aber auch da hab' ich das nie festgestellt (ohne explizit drauf geachtet zu haben).

      Gruss
      Jochen.

      Kommentar


        #18
        Hallo Robert,

        kannst Du einen Fehler erkennen?
        Für mich sieht es so aus als ob der eibd die Telegramme verschickt, aber sie kommen nicht beim Plugin an.

        Nächster Schritt, tcpdump? Und dann mit Wireshark auswerten?

        Ich muss jetzt erst mal schlafen.

        Gute Nacht

        Marcus

        Kommentar


          #19
          Hi Marcus!

          Sind die Typen "112" und "38" denn bekannt und ok?

          Ansonsten Mutmaßung:
          Könnte sich asynchat an schnell aufeinander folgenden Telegrammen verschlucken? Evtl. "eins identifiziert, Rest weggeworfen"?

          Morgen noch mal überlegen.

          Grüße
          Robert

          Kommentar


            #20
            Hallo Jochen,

            Zitat von Dragonos2000 Beitrag anzeigen
            Benötigt Ihr hier noch Vergleichsdaten
            danke für das Angebot. Es wäre schöne wenn Du einmal das Verhalten bei Dir nach dem Start beobachtest und checkst ob alle angefragten Items auch aktualisiert werden.

            Bis bald

            Marcus

            Kommentar


              #21
              Hi Robert,

              Zitat von Robert Beitrag anzeigen
              Sind die Typen "112" und "38" denn bekannt und ok?
              sind quasi bekannt. Die habe ich aus der ursprünglichen eibd-API übernommen. Es ist auch OK das die beiden Telegramme verworfen werden.

              So recht mag ich es nicht glauben das sich asynchat an Telegrammen verschluckt.

              Bis bald

              Marcus

              Kommentar


                #22
                Hi Guido,

                bist Du noch Willens?
                Ja? Super, ab Zeile 128 (plugin/knx/__init__.py) wird die Methode collect_incoming_data definiert. Diese ist auskommentiert. Ersetze bitte die '#' durch ' ' und poste das Log erneut?

                btw. wie wohl fühlst Du Dich auf der Kommandozeile? Wenn das collect_incoming_data keine neuen Erkenntnisse bringt, bräuchte ich ein tcpdump. Da würde ich Dir aber helfen.

                Bis bald

                Marcus

                Kommentar


                  #23
                  Hallo Marcus,

                  ich habe die Zeilen geändert und smarthome.py mit der Option -n neu gestartet.

                  Mit Unterstützung komme ich hoffentlich auch mit der Kommandozeile klar.

                  Code:
                  2013-08-13 08:54:23 SmartHome.py INFO     Start Logics
                  2013-08-13 08:54:23 sh.con       INFO     KNX: connected to 127.0.0.1:6720
                  2013-08-13 08:54:27 hello        INFO     Hello World!
                  2013-08-13 18:04:29,672 SmartHome.py INFO     Start SmartHome.py 0.9-10-g63eb637+ -- smarthome.py:__init__:192
                  2013-08-13 18:04:29,679 SmartHome.py DEBUG    Python 2.7.3 -- smarthome.py:__init__:193
                  2013-08-13 18:04:29,685 SmartHome.py INFO     Init Scheduler -- scheduler.py:__init__:53
                  2013-08-13 18:04:29,690 SmartHome.py INFO     Init Plugins -- smarthome.py:__init__:208
                  2013-08-13 18:04:29,696 Scheduler    DEBUG    creating 5 workers -- scheduler.py:run:59
                  2013-08-13 18:04:29,713 SmartHome.py DEBUG    Plugin: knx -- plugin.py:__init__:42
                  2013-08-13 18:04:29,816 SmartHome.py DEBUG    Plugin: ow -- plugin.py:__init__:42
                  2013-08-13 18:04:29,841 SmartHome.py ERROR    Onewire: could not connect to 127.0.0.1:4304: [Errno 111] Connection refused -- __init__.py:connect:62
                  2013-08-13 18:04:29,848 SmartHome.py DEBUG    Plugin: cli -- plugin.py:__init__:42
                  2013-08-13 18:04:29,862 SmartHome.py DEBUG    Plugin: visu -- plugin.py:__init__:42
                  2013-08-13 18:04:29,963 SmartHome.py DEBUG    Plugin: sql -- plugin.py:__init__:42
                  2013-08-13 18:04:30,015 SmartHome.py DEBUG    SQLite 3.7.13 -- __init__.py:__init__:60
                  2013-08-13 18:04:30,059 SmartHome.py DEBUG    sqlite next time: 2013-08-14 03:02:00+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:30,065 SmartHome.py DEBUG    Plugin: rrd -- plugin.py:__init__:42
                  2013-08-13 18:04:30,338 SmartHome.py INFO     Init Items -- smarthome.py:__init__:210
                  2013-08-13 18:04:30,526 SmartHome.py DEBUG    knx: second.sleeping.light.level listen on 3/2/14 -- __init__.py:parse_item:243
                  2013-08-13 18:04:30,531 SmartHome.py DEBUG    knx: Light listen on 3/2/12 -- __init__.py:parse_item:243
                  2013-08-13 18:04:30,640 SmartHome.py DEBUG    knx: room1.bel1 listen on and init with 13/3/17 -- __init__.py:parse_item:252
                  2013-08-13 18:04:30,648 SmartHome.py DEBUG    knx: room1.bel2 listen on and init with 13/3/18 -- __init__.py:parse_item:252
                  2013-08-13 18:04:30,655 SmartHome.py DEBUG    knx: room1.bel3 listen on and init with 13/3/19 -- __init__.py:parse_item:252
                  2013-08-13 18:04:30,664 SmartHome.py DEBUG    knx: room1.bel4 listen on and init with 13/3/20 -- __init__.py:parse_item:252
                  2013-08-13 18:04:30,779 SmartHome.py INFO     Start Plugins -- plugin.py:start:63
                  2013-08-13 18:04:30,791 ow           DEBUG    1w-disc next time: 2013-08-13 18:04:30+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:30,828 SmartHome.py INFO     Start Logics -- logic.py:__init__:32
                  2013-08-13 18:04:30,832 SmartHome.py DEBUG    reading logics from /usr/smarthome/etc/logic.conf -- logic.py:__init__:38
                  2013-08-13 18:04:30,847 rrd          DEBUG    rrd next time: 2013-08-13 18:06:10+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:30,868 SmartHome.py DEBUG    Logic: hello -- logic.py:__init__:45
                  2013-08-13 18:04:30,927 SmartHome.py DEBUG    Logic: dummy -- logic.py:__init__:45
                  2013-08-13 18:04:30,959 SmartHome.py DEBUG    dummy next time: 2013-08-13 18:04:42+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:30,991 sh.con       DEBUG    knx: enable group monitor -- __init__.py:handle_connect:119
                  2013-08-13 18:04:31,000 visu         DEBUG    series next time: 2013-08-13 18:04:40+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:31,011 sh.con       DEBUG    knx: init read -- __init__.py:handle_connect:125
                  2013-08-13 18:04:31,058 sh.con       INFO     KNX: connected to 127.0.0.1:6720 -- my_asynchat.py:connect:69
                  2013-08-13 18:04:31,168 Scheduler    DEBUG    1w-disc next time: 2013-08-13 18:14:31+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:31,232 sh.gc        DEBUG    Garbage collector: collected 903 objects. -- smarthome.py:_garbage_collection:345
                  2013-08-13 18:04:31,393 Scheduler    DEBUG    sh.gc next time: 2013-08-14 02:04:00+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:31,976 SmartHome.py DEBUG    typ: 112, len: 2, telegram: 0 70 -- __init__.py:parse_telegram:166
                  2013-08-13 18:04:31,990 SmartHome.py DEBUG    typ: 38, len: 2, telegram: 0 26 -- __init__.py:parse_telegram:166
                  2013-08-13 18:04:32,013 SmartHome.py DEBUG    0.0.0 read 13/3/17 -- __init__.py:parse_telegram:211
                  2013-08-13 18:04:32,028 SmartHome.py DEBUG    0.0.0 read 13/3/18 -- __init__.py:parse_telegram:211
                  2013-08-13 18:04:32,044 SmartHome.py DEBUG    0.0.0 read 13/3/19 -- __init__.py:parse_telegram:211
                  2013-08-13 18:04:32,062 SmartHome.py DEBUG    0.0.0 read 13/3/20 -- __init__.py:parse_telegram:211
                  2013-08-13 18:04:32,079 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/17 to True -- __init__.py:parse_telegram:198
                  2013-08-13 18:04:32,084 SmartHome.py DEBUG    room1.bel1 = True via KNX 1.1.50 -- item.py:_update:219
                  2013-08-13 18:04:32,105 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/18 to True -- __init__.py:parse_telegram:198
                  2013-08-13 18:04:32,110 SmartHome.py DEBUG    room1.bel2 = True via KNX 1.1.50 -- item.py:_update:219
                  2013-08-13 18:04:32,127 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/20 to True -- __init__.py:parse_telegram:198
                  2013-08-13 18:04:32,132 SmartHome.py DEBUG    room1.bel4 = True via KNX 1.1.50 -- item.py:_update:219
                  2013-08-13 18:04:34,033 hello        INFO     Hello World! -- hello.py:<module>:3
                  2013-08-13 18:04:40,273 Scheduler    DEBUG    series next time: 2013-08-13 18:04:50+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:42,116 dummy        DEBUG    first.living.temperature = 22 via Logic None -- item.py:_update:219
                  2013-08-13 18:04:42,298 Scheduler    DEBUG    dummy next time: 2013-08-13 18:09:42+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:44,051 dummy        DEBUG    first.living.humidity = 46 via Logic None -- item.py:_update:219
                  2013-08-13 18:04:45,036 dummy        DEBUG    second.sleeping.temperature = 21 via Logic None -- item.py:_update:219
                  2013-08-13 18:04:46,019 dummy        DEBUG    second.bath.temperature = 22 via Logic None -- item.py:_update:219
                  2013-08-13 18:04:50,380 Scheduler    DEBUG    series next time: 2013-08-13 18:05:00+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:04:59,903 SmartHome.py INFO     WebSocket: incoming connection from 192.168.1.32:56619 -- __init__.py:handle_accept:115
                  2013-08-13 18:05:00,225 SmartHome.py DEBUG    192.168.1.32:56619 sent '{"cmd":"proto","ver":2}' -- __init__.py:json_parse:257
                  2013-08-13 18:05:00,282 Scheduler    DEBUG    series next time: 2013-08-13 18:05:10+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:05:04,170 SmartHome.py DEBUG    192.168.1.32:56619 sent '{"cmd":"monitor","items":["room1.bel1","room1.bel2","room1.bel3","room1.bel4"]}' -- __init__.py:json_parse:257
                  2013-08-13 18:05:07,554 SmartHome.py DEBUG    WebSocket: closing connection to 192.168.1.32:56619. -- __init__.py:rfc6455_parse:380
                  2013-08-13 18:05:10,388 Scheduler    DEBUG    series next time: 2013-08-13 18:05:20+02:00 -- scheduler.py:_next_time:238
                  2013-08-13 18:05:20,283 Scheduler    DEBUG    series next time: 2013-08-13 18:05:30+02:00 -- scheduler.py:_next_time:238

                  Kommentar


                    #24
                    Hi Guido,

                    Zitat von gth Beitrag anzeigen
                    ich habe die Zeilen geändert und smarthome.py mit der Option -n neu gestartet.
                    bist Du sicher? Nicht abgespeichert?
                    Eigentlich kommt da von Anfang an mehr Output raus. z.B. so was

                    Code:
                    #  bin   h  d
                    00000000 00 00
                    00000010 02 02
                    #  bin   h  d
                    00000000 00 00
                    01110000 70 112
                    #  bin   h  d
                    00000000 00 00
                    00000010 02 02
                    #  bin   h  d
                    00000000 00 00
                    00100110 26 38
                    Bis bald

                    Marcus

                    Kommentar


                      #25
                      Habe jetzt mit Putty 'Copy all to clipboard' folgende Daten, bin mir nicht sicher, ob die vollständig sind. Die werden anscheinend nicht in der smarthome.log gespeichert.

                      Code:
                      9:36+02:00 -- scheduler.py:_next_time:238
                      2013-08-13 18:29:36,360 Scheduler    DEBUG    sh.gc next time: 2013-08-14 02:04:00+02:00 -- scheduler.py:_next_time:238
                      #  bin   h  d
                      00000000 00 00
                      00000010 02 02
                      #  bin   h  d
                      00000000 00 00
                      01110000 70 112
                      2013-08-13 18:29:37,124 SmartHome.py DEBUG    typ: 112, len: 2, telegram: 0 70 -- __init__.py:parse_telegram:166
                      #  bin   h  d
                      00000000 00 00
                      00000010 02 02
                      #  bin   h  d
                      00000000 00 00
                      00100110 26 38
                      2013-08-13 18:29:37,625 SmartHome.py DEBUG    typ: 38, len: 2, telegram: 0 26 -- __init__.py:parse_telegram:166
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00000000 00 00
                      00000000 00 00
                      01101011 6b 107
                      00010001 11 17
                      00000000 00 00
                      00000000 00 00
                      2013-08-13 18:29:37,643 SmartHome.py DEBUG    0.0.0 read 13/3/17 -- __init__.py:parse_telegram:211
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00000000 00 00
                      00000000 00 00
                      01101011 6b 107
                      00010010 12 18
                      00000000 00 00
                      00000000 00 00
                      2013-08-13 18:29:37,661 SmartHome.py DEBUG    0.0.0 read 13/3/18 -- __init__.py:parse_telegram:211
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00110010 32 50
                      01101011 6b 107
                      00010001 11 17
                      00000000 00 00
                      01000001 41 65
                      2013-08-13 18:29:37,678 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/17 to True -- __init__.py:parse_telegram:198
                      2013-08-13 18:29:37,683 SmartHome.py DEBUG    room1.bel1 = True via KNX 1.1.50 -- item.py:_update:219
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00000000 00 00
                      00000000 00 00
                      01101011 6b 107
                      00010011 13 19
                      00000000 00 00
                      00000000 00 00
                      2013-08-13 18:29:37,702 SmartHome.py DEBUG    0.0.0 read 13/3/19 -- __init__.py:parse_telegram:211
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00000000 00 00
                      00000000 00 00
                      01101011 6b 107
                      00010100 14 20
                      00000000 00 00
                      00000000 00 00
                      2013-08-13 18:29:37,719 SmartHome.py DEBUG    0.0.0 read 13/3/20 -- __init__.py:parse_telegram:211
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00110010 32 50
                      01101011 6b 107
                      00010010 12 18
                      00000000 00 00
                      01000001 41 65
                      2013-08-13 18:29:37,739 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/18 to True -- __init__.py:parse_telegram:198
                      2013-08-13 18:29:37,743 SmartHome.py DEBUG    room1.bel2 = True via KNX 1.1.50 -- item.py:_update:219
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00110010 32 50
                      01101011 6b 107
                      00010011 13 19
                      00000000 00 00
                      01000001 41 65
                      2013-08-13 18:29:37,771 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/19 to True -- __init__.py:parse_telegram:198
                      2013-08-13 18:29:37,779 SmartHome.py DEBUG    room1.bel3 = True via KNX 1.1.50 -- item.py:_update:219
                      #  bin   h  d
                      00000000 00 00
                      00001000 08 08
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00110010 32 50
                      01101011 6b 107
                      00010100 14 20
                      00000000 00 00
                      01000001 41 65
                      2013-08-13 18:29:37,801 SmartHome.py DEBUG    knx: 1.1.50 set 13/3/20 to True -- __init__.py:parse_telegram:198
                      2013-08-13 18:29:37,806 SmartHome.py DEBUG    room1.bel4 = True via KNX 1.1.50 -- item.py:_update:219
                      #  bin   h  d
                      00000000 00 00
                      00001010 0a 10
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00111000 38 56
                      01100010 62 98
                      00000011 03 03
                      00000000 00 00
                      10000000 80 128
                      00000010 02 02
                      10111100 bc 188
                      2013-08-13 18:29:39,923 SmartHome.py DEBUG    knx: 1.1.56 set 12/2/3 to 2 bc -- __init__.py:parse_telegram:189
                      2013-08-13 18:29:40,201 hello        INFO     Hello World! -- hello.py:<module>:3
                      2013-08-13 18:29:43,025 dummy        DEBUG    first.living.humidity = 49 via Logic None -- item.py:_update:219
                      2013-08-13 18:29:43,225 Scheduler    DEBUG    dummy next time: 2013-08-13 18:34:43+02:00 -- scheduler.py:_next_time:238
                      2013-08-13 18:29:44,239 Scheduler    DEBUG    series next time: 2013-08-13 18:29:54+02:00 -- scheduler.py:_next_time:238
                      2013-08-13 18:29:44,966 dummy        DEBUG    second.sleeping.temperature = 19 via Logic None -- item.py:_update:219
                      2013-08-13 18:29:46,181 dummy        DEBUG    second.bath.temperature = 23 via Logic None -- item.py:_update:219
                      #  bin   h  d
                      00000000 00 00
                      00001010 0a 10
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00111000 38 56
                      01100010 62 98
                      00000010 02 02
                      00000000 00 00
                      10000000 80 128
                      00000000 00 00
                      01100100 64 100
                      2013-08-13 18:29:47,920 SmartHome.py DEBUG    knx: 1.1.56 set 12/2/2 to 0 64 -- __init__.py:parse_telegram:189
                      2013-08-13 18:29:54,334 Scheduler    DEBUG    series next time: 2013-08-13 18:30:04+02:00 -- scheduler.py:_next_time:238
                      #  bin   h  d
                      00000000 00 00
                      00001010 0a 10
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00111000 38 56
                      01100010 62 98
                      00000101 05 05
                      00000000 00 00
                      10000000 80 128
                      00000011 03 03
                      10000100 84 132
                      2013-08-13 18:30:01,922 SmartHome.py DEBUG    knx: 1.1.56 set 12/2/5 to 3 84 -- __init__.py:parse_telegram:189
                      #  bin   h  d
                      00000000 00 00
                      00001010 0a 10
                      #  bin   h  d
                      00000000 00 00
                      00100111 27 39
                      00010001 11 17
                      00111000 38 56
                      01100010 62 98
                      00000100 04 04
                      00000000 00 00
                      10000000 80 128
                      00000011 03 03
                      10000100 84 132
                      2013-08-13 18:30:01,956 SmartHome.py DEBUG    knx: 1.1.56 set 12/2/4 to 3 84 -- __init__.py:parse_telegram:189
                      2013-08-13 18:30:04,228 Scheduler    DEBUG    series next time: 2013-08-13 18:30:14+02:00 -- scheduler.py:_next_time:238
                      2013-08-13 18:30:14,326 Scheduler    DEBUG    series next time: 2013-08-13 18:30:24+02:00 -- scheduler.py:_next_time:238
                      2013-08-13 18:30:24,221 Scheduler    DEBUG    series next time: 2013-08-13 18:30:34+02:00 -- scheduler.py:_next_time:238

                      Kommentar


                        #26
                        "Schade" - hier scheint ja alles geklappt zu haben... Noch mal bitte!

                        Kommentar


                          #27
                          Hi Guido,

                          OK. Wie befürchtet nichts von der Antwort des eibd zu sehen.

                          Mal kucken was die Kommunikation SH.py <-> eibd <-> KNX Router macht.

                          Erst einmal tcpdump installieren:
                          Code:
                          sudo apt-get update
                          sudo apt-get install tcpdump
                          Dann tcpdump starten, dabei bitte noch die IP des KNX Routers eintragen.

                          Code:
                          sudo tcpdump port 6720 or host <IP-KNX-ROUTER> -w knx.pcap
                          Dann wird ein File knx.pcap erzeugt. Lasse mir das bitte per Mail zukommen. Ich schick Dir gleich eine PN mit meiner Adresse.

                          Edit: Robert hat Recht.

                          Danke

                          Marcus

                          Kommentar


                            #28
                            Habe die Datei gerade per Mail verschickt.

                            Kommentar


                              #29
                              Hallo Guido,

                              es ist ja nicht nur bei einer Mail geblieben...

                              Ich konnte das Problem nachvollziehen.

                              Der eibd schickt einen read request z.B. an die 13/3/18. Die IP Schnittstelle empfängt ihn nicht oder leitet ihn nicht weiter.
                              Normalerweise bekommt der eibd nämlich seine Anfrage wieder zurück gespiegelt (als Bus-Verkehr). Das bleibt aber hier aus.

                              Entweder hast Du ein Netzwerk-Problem das Deine UDP-Packete verschluckt, oder die IP Schnittstelle ignoriert die Telegramme.
                              Du kannst mal das Netzwerk checken oder Dir eine anderer Schnittstelle besorgen.

                              Bis bald

                              Marcus

                              P.S. mach bitte ein gelöst Haken wenn es für Dich soweit in Ordnung ist

                              Kommentar


                                #30
                                knx_init - Nicht alle items werden aktualisiert

                                Achtung, Insider: Mal ein Beispiel für eine nicht "vollgasfeste" Schnittstelle

                                SCNR
                                Mit freundlichen Grüßen
                                Niko Will

                                Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
                                - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

                                Kommentar

                                Lädt...
                                X