Ankündigung

Einklappen
Keine Ankündigung bisher.

Mehrfache 1-Wire Werte auf dem Bus

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

    Mehrfache 1-Wire Werte auf dem Bus

    Hallo.

    Ich habe bei mir beobachtet, dass die Werte der 1-Wire Sensoren immer 4 mal auf den Bus gesendet werden. Das Verhalten hab ich schon länger und wollte es nun abstellen.
    In meinem eibd.log sehe ich immer 4 identische Nachrichten:
    PHP-Code:

    2016
    -02-12 09:28:56 Write from 1.1.128 to 8/0/007 6C
    2016
    -02-12 09:28:56 Write from 1.1.128 to 8/0/007 6C
    2016
    -02-12 09:28:57 Write from 1.1.128 to 8/0/007 6C
    2016
    -02-12 09:28:57 Write from 1.1.128 to 8/0/007 6C 
    Auch in smarthome.log sieht man sie:
    PHP-Code:
    2016-02-12 09:28:56 INFO     Main         knx1.1.128 set 8/0/0 to 076c
    2016
    -02-12 09:28:56 INFO     Main         knx1.1.128 set 8/0/0 to 076c
    2016
    -02-12 09:28:56 INFO     Main         knx1.1.128 set 8/0/0 to 076c
    2016
    -02-12 09:28:57 INFO     Main         knx1.1.128 set 8/0/0 to 076c 
    Hier das Item:
    PHP-Code:
    [kwl]
       [[
    temperaturen]]
          [[[
    zuluft]]]
            
    type num
            knx_dpt 
    9
            knx_send 
    8/0/0
            ow_addr 
    28.77C44F030000
            ow_sensor 
    T
            sqlite 
    yes 
    Ich hab auch schon geschaut ob irgendwelche Prozesse mehrmals laufen. Die anderen Nachrichten auf dem Bus werden nicht mehrmals gesendet nur bei 1-wire ist das der Fall.

    Jemand eine Idee wonach ich noch schauen kann?

    Danke und Gruß
    Christian

    #2
    Hallo Christian,

    nee, normal ist das nicht. Vermutlich wird es tatsächlich von SH.py gesendet. Was sagt denn ein grep "8/0/0" *.conf ?
    Ist die Adresse evtl. mehrmals in den Config-Files?

    Welche Version setzt Du denn ein? Bitte den Support-Thread beachten und die anderen 'vollständigen' Informationen posten.

    Bis bald

    Marcus

    Kommentar


      #3
      Hallo Marcus,

      ich verwende eigentlich den master branch, da ich aber eh gerade den develop branch konfigurieren wollte, habe ich da die Konfigs abgespeckt und konnte das Verhalten dort auch reproduzieren.
      Andere Items, Logiken oder Plugins als die hier geposteten sind nicht aktiviert.
      Die Items 8/0/0-3 sind identisch, daher hab ich das weitere logging abgebrochen.

      Items:
      Code:
      [kwl]
         [[steuerung]]
            [[[stufe2]]]
               type = bool
               visu_acl = rw
               knx_dpt = 1
               knx_listen = 8/1/1
               knx_send = 8/1/0
               enforce_updates = yes
            [[[stufe3]]]
               type = bool
               visu_acl = rw
               knx_dpt = 1
               knx_listen = 8/1/3
               knx_send = 8/1/2
               enforce_updates = yes
         [[temperaturen]]
            [[[zuluft]]]
              type = num
              knx_dpt = 9
              knx_send = 8/0/0
              ow_addr = 28.77C44F030000
              ow_sensor = T
              sqlite = yes
            [[[abluft]]]
              type = num
              knx_dpt = 9
              knx_send = 8/0/1
              ow_addr = 28.64E973010000
              ow_sensor = T
              sqlite = yes
            [[[fortluft]]]
              type = num
              knx_dpt = 9
              knx_send = 8/0/2
              ow_addr = 28.FFD14F030000
              ow_sensor = T
              sqlite = yes
            [[[frischluft]]]
              type = num
              knx_dpt = 9
              knx_send = 8/0/3
              ow_addr = 28.EBEE4F030000
              ow_sensor = T
              sqlite = yes
      plugin.conf
      Code:
      # plugin.conf
      [knx]
         class_name = KNX
         class_path = plugins.knx
         host = 192.168.0.113
         port = 6720
         #   send_time = 600 # update date/time every 600 seconds, default none
         #   time_ga = 6/0/0 # default none
         #   date_ga = 6/0/1 # default none
         busmonitor = True
      [ow]
          class_name = OneWire
          class_path = plugins.onewire
          host = 192.168.0.113
          port = 4304
      [sql]
          class_name = SQL
          class_path = plugins.sqlite

      Log:
      Code:
      2016-02-12 23:48:45,666 INFO     Main         Start SmartHome.py 1.1.1006.dev -- smarthome.py:__init__:242
      2016-02-12 23:48:45,666 DEBUG    Main         Python 3.4.2 -- smarthome.py:__init__:243
      2016-02-12 23:48:45,667 INFO     Main         Init Scheduler -- scheduler.py:__init__:86
      2016-02-12 23:48:45,668 DEBUG    Scheduler    creating 5 workers -- scheduler.py:run:93
      2016-02-12 23:48:45,668 INFO     Main         Init Plugins -- smarthome.py:start:288
      2016-02-12 23:48:45,670 DEBUG    Main         Plugin: knx -- plugin.py:__init__:43
      2016-02-12 23:48:45,673 DEBUG    Main         Plugin: ow -- plugin.py:__init__:43
      2016-02-12 23:48:45,675 DEBUG    Main         Plugin: sql -- plugin.py:__init__:43
      2016-02-12 23:48:45,680 DEBUG    Main         SQLite 3.8.6 -- __init__.py:__init__:47
      2016-02-12 23:48:45,682 DEBUG    Main         SQLite: database integrity ok -- __init__.py:__init__:64
      2016-02-12 23:48:45,684 DEBUG    Main         SQLite Maintain next time: 2016-02-13 03:02:00+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:45,685 INFO     Main         Init Items -- smarthome.py:start:294
      2016-02-12 23:48:45,690 DEBUG    Main         Item env.core.memory = 22142976.0 via SQLite None None -- item.py:set:476
      2016-02-12 23:48:45,694 DEBUG    Main         Item env.core.threads = 7.0 via SQLite None None -- item.py:set:476
      2016-02-12 23:48:45,695 DEBUG    Main         Item env.core: no type specified. -- item.py:__init__:242
      2016-02-12 23:48:45,698 DEBUG    Main         Item env.location: no type specified. -- item.py:__init__:242
      2016-02-12 23:48:45,699 DEBUG    Main         Item env.system.load = 0.07 via SQLite None None -- item.py:set:476
      2016-02-12 23:48:45,700 DEBUG    Main         Item env.system: no type specified. -- item.py:__init__:242
      2016-02-12 23:48:45,701 DEBUG    Main         Item env: no type specified. -- item.py:__init__:242
      2016-02-12 23:48:45,702 DEBUG    Main         KNX: kwl.steuerung.stufe2 listen on 8/1/1 -- __init__.py:parse_item:243
      2016-02-12 23:48:45,703 DEBUG    Main         KNX: kwl.steuerung.stufe3 listen on 8/1/3 -- __init__.py:parse_item:243
      2016-02-12 23:48:45,703 DEBUG    Main         Item kwl.steuerung: no type specified. -- item.py:__init__:242
      2016-02-12 23:48:45,704 DEBUG    Main         Item kwl.temperaturen.zuluft = 20.0625 via SQLite None None -- item.py:set:476
      2016-02-12 23:48:45,706 DEBUG    Main         Item kwl.temperaturen.abluft = 22.125 via SQLite None None -- item.py:set:476
      2016-02-12 23:48:45,707 DEBUG    Main         Item kwl.temperaturen.fortluft = 9.9375 via SQLite None None -- item.py:set:476
      2016-02-12 23:48:45,709 DEBUG    Main         Item kwl.temperaturen.frischluft = 4.9375 via SQLite None None -- item.py:set:476
      2016-02-12 23:48:45,709 DEBUG    Main         Item kwl.temperaturen: no type specified. -- item.py:__init__:242
      2016-02-12 23:48:45,710 DEBUG    Main         Item kwl: no type specified. -- item.py:__init__:242
      2016-02-12 23:48:45,710 INFO     Main         Items: 31 -- smarthome.py:start:326
      2016-02-12 23:48:45,711 INFO     Main         Start Logics -- logic.py:__init__:33
      2016-02-12 23:48:45,711 DEBUG    Main         Reading Logics from /usr/local/smarthome_dev/lib/env/logic_conf -- logic.py:_read_logics:64
      2016-02-12 23:48:45,712 DEBUG    Main         Reading Logics from /usr/local/smarthome_dev/etc/logic.conf -- logic.py:_read_logics:64
      2016-02-12 23:48:45,713 DEBUG    Main         Logic: env_init -- logic.py:__init__:44
      2016-02-12 23:48:45,716 DEBUG    Main         Logic: env_daily -- logic.py:__init__:44
      2016-02-12 23:48:45,718 DEBUG    Main         env_daily next time: 2016-02-13 06:00:00+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:45,719 DEBUG    Main         Logic: env_loc -- logic.py:__init__:44
      2016-02-12 23:48:45,720 DEBUG    Main         Logic: env_stat -- logic.py:__init__:44
      2016-02-12 23:48:45,721 DEBUG    Main         env_stat next time: 2016-02-12 23:48:55+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:45,722 INFO     Main         Start Plugins -- plugin.py:start:65
      2016-02-12 23:48:45,723 DEBUG    Main         Starting knx Plugin -- plugin.py:start:67
      2016-02-12 23:48:45,723 DEBUG    Main         Starting ow Plugin -- plugin.py:start:67
      2016-02-12 23:48:45,724 DEBUG    ow           1w-disc next time: 2016-02-12 23:48:47+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:45,725 DEBUG    Main         Starting sql Plugin -- plugin.py:start:67
      2016-02-12 23:48:46,200 DEBUG    Connections  KNX: connected to 192.168.0.113:6720 -- connection.py:connect:392
      2016-02-12 23:48:46,202 DEBUG    Connections  KNX: enable group monitor -- __init__.py:handle_connect:125
      2016-02-12 23:48:46,205 INFO     Connections  1-Wire: connected to 192.168.0.113:4304 -- __init__.py:connect:51
      2016-02-12 23:48:47,545 INFO     1w-disc      1-Wire: 28.98CA4F030000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,550 INFO     1w-disc      1-Wire: 28.64E973010000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,552 INFO     1w-disc      1-Wire: 28.ACD54F030000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,555 INFO     1w-disc      1-Wire: 28.5C0650030000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,558 INFO     1w-disc      1-Wire: 28.FABD4F030000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,561 INFO     1w-disc      1-Wire: 28.EBEE4F030000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,565 INFO     1w-disc      1-Wire: 28.77C44F030000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,567 INFO     1w-disc      1-Wire: 28.FFD14F030000 with sensors: T10, T12, T, T11, T9 -- __init__.py:_discovery:425
      2016-02-12 23:48:47,570 INFO     1w-disc      1-Wire: 81.B9A92F000000 with sensors: BM -- __init__.py:_discovery:425
      2016-02-12 23:48:47,694 DEBUG    Scheduler    1w-disc next time: 2016-02-12 23:58:47+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:47,729 DEBUG    ow           1w-sen next time: 2016-02-12 23:48:47+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:48,700 DEBUG    Scheduler    1w-sen next time: 2016-02-12 23:53:48+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:51,212 DEBUG    env_loc      Item env.location.sunrise = 2016-02-13 07:41:53.150655+01:00 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,227 DEBUG    env_loc      Item env.location.sunset = 2016-02-13 17:29:04.608613+01:00 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,213 DEBUG    env_init     Item env.core.version = 1.1.1006.dev via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,231 DEBUG    env_loc      Item env.location.moonrise = 2016-02-13 09:58:05.883929+01:00 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,232 DEBUG    env_init     Item env.core.start = 2016-02-12 23:48:51.232323+01:00 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,232 DEBUG    sh.gc        Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:517
      2016-02-12 23:48:51,236 DEBUG    env_loc      Item env.location.moonset = 2016-02-14 00:04:16.374951+01:00 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,246 DEBUG    env_loc      Item env.location.moonphase = 1 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,245 DEBUG    env_init     Item env.system.name = smarthome via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,250 DEBUG    env_loc      Item env.location.night = True via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,244 DEBUG    sh.gc        Object references: 10506 -- smarthome.py:_maintenance:509
      2016-02-12 23:48:51,250 DEBUG    env_init     Item env.system.start = 2016-02-11 21:37:53.250717+01:00 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:51,714 DEBUG    Scheduler    sh.gc next time: 2016-02-13 02:04:00+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:51,724 DEBUG    Scheduler    env_loc next time: 2016-02-13 00:18:51+01:00 -- scheduler.py:_next_time:303
      2016-02-12 23:48:54,747 DEBUG    1w-sen       Item kwl.temperaturen.frischluft = 4.8125 via 1-Wire /bus.0/28.EBEE4F030000/temperature None -- item.py:__update:373
      2016-02-12 23:48:54,794 INFO     Main         knx: 1.1.128 set 8/0/3 to 01e1 -- __init__.py:parse_telegram:189
      2016-02-12 23:48:54,885 INFO     Main         knx: 1.1.128 set 8/0/3 to 01e1 -- __init__.py:parse_telegram:189
      2016-02-12 23:48:54,975 INFO     Main         knx: 1.1.128 set 8/0/3 to 01e1 -- __init__.py:parse_telegram:189
      2016-02-12 23:48:55,065 INFO     Main         knx: 1.1.128 set 8/0/3 to 01e1 -- __init__.py:parse_telegram:189
      2016-02-12 23:48:55,244 DEBUG    env_stat     Item env.core.memory = 19120128 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:55,484 DEBUG    env_stat     Item env.system.load = 0.06 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:55,717 DEBUG    env_stat     Item env.location.moonlight = 24 via Logic None None -- item.py:__update:373
      2016-02-12 23:48:55,738 DEBUG    Scheduler    env_stat next time: 2016-02-12 23:53:55+01:00 -- scheduler.py:_next_time:303
      
      2016-02-12 23:48:57,221 DEBUG    1w-sen       Item kwl.temperaturen.fortluft = 9.8125 via 1-Wire /bus.0/28.FFD14F030000/temperature None -- item.py:__update:373
      2016-02-12 23:48:57,265 INFO     Main         knx: 1.1.128 set 8/0/2 to 03d5 -- __init__.py:parse_telegram:189
      2016-02-12 23:48:57,355 INFO     Main         knx: 1.1.128 set 8/0/2 to 03d5 -- __init__.py:parse_telegram:189
      2016-02-12 23:48:57,455 INFO     Main         knx: 1.1.128 set 8/0/2 to 03d5 -- __init__.py:parse_telegram:189
      2016-02-12 23:48:57,484 DEBUG    1w-sen       1-Wire: sensor cycle takes 9.2847421169281 seconds -- __init__.py:_sensor_cycle:392
      2016-02-12 23:48:57,545 INFO     Main         knx: 1.1.128 set 8/0/2 to 03d5 -- __init__.py:parse_telegram:189
      2016-02-12 23:49:30,752 INFO     Main         Number of Threads: 7 -- smarthome.py:stop:364
      2016-02-12 23:49:30,752 INFO     Main         Stop Plugins -- plugin.py:stop:71
      2016-02-12 23:49:30,753 DEBUG    Main         Stopping knx Plugin -- plugin.py:stop:73
      2016-02-12 23:49:30,753 DEBUG    Main         Stopping ow Plugin -- plugin.py:stop:73
      2016-02-12 23:49:30,753 DEBUG    Main         Stopping sql Plugin -- plugin.py:stop:73
      2016-02-12 23:49:30,754 DEBUG    Main         KNX: closing socket 192.168.0.113:6720 -- connection.py:close:309
      2016-02-12 23:49:31,309 INFO     Main         SmartHome.py stopped -- smarthome.py:stop:388
      Danke und Grüße
      Christian

      Kommentar


        #4
        Hallo Christian,

        ich hatte ein ähnlichen Effekt als ich zusätzlich zur eibd (Wiregate) ein KNX Router auf die Linie betrieben habe. Hast Du auch ein Router an der Anlage?

        Viele Grüße,

        Jan

        Kommentar


          #5
          Hallo Jan,

          nichts derartiges. Die anderen Nachrichten von Schaltern, PM... etc. auch über die Visu veschickte sind nur ein mal auf dem Bus vorhanden. Einzig bei den 1-Wire Sensoren tritt das Verhalten auf.

          Gruß
          Christian

          Kommentar


            #6
            Hallo Christian,

            Im unterschied zu den anderen KNX-Komponenten gibt es für die 1-Wire Sensoren keinen Abnehmer der ACK sendet oder? Siehe sonnst folgender Thread:

            Nach Neustart: Telegrammwiederholungen auf dem Bus

            Jan

            Kommentar

            Lädt...
            X