Ankündigung

Einklappen
Keine Ankündigung bisher.

Network Plugin - UDP: Problem sending data

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

    Network Plugin - UDP: Problem sending data

    Hallo,

    bin gerade am Testen des Network Plugins.
    Möchte beim ändern eines KNX Items eine udp Nachricht senden:

    Es erscheint folgende Fehlermeldung im Log:
    UDP: Problem sending data to 192.168.2.21:49000: -- __init__.py:udp:147

    Was mach ich falsch?

    Gruß
    Klaus

    item.conf
    Code:
    [EG]
        [[Arbeiten]]
            [[[Deckenspots]]]
                type = bool
                knx_dpt = 1
                knx_listen = 1/0/1
                knx_send = 1/0/0
    	    nw_udp_send = 192.168.2.21:49000=Event: itemValue
    plugin.conf
    Code:
    [nw]
    	 class_name = Network
    	 class_path = plugins.network
    	 udp = yes
    Auszug Log

    Code:
    2014-01-19 19:32:29,757 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:29,764 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:30,287 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:30,318 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
    2014-01-19 19:32:30,325 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:30,332 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:30,713 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:30,744 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
    2014-01-19 19:32:30,750 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:30,757 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:31,046 DEBUG    dummy        Item first.living.temperature = 22 via Logic None None -- item.py:__update:363
    2014-01-19 19:32:31,063 DEBUG    dummy        Item first.living.humidity = 51 via Logic None None -- item.py:__update:363
    2014-01-19 19:32:31,073 DEBUG    dummy        Item second.sleeping.temperature = 19 via Logic None None -- item.py:__update:363
    2014-01-19 19:32:31,083 DEBUG    dummy        Item second.bath.temperature = 24 via Logic None None -- item.py:__update:363
    2014-01-19 19:32:31,131 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:31,154 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
    2014-01-19 19:32:31,163 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:31,176 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:31,511 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:31,543 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
    2014-01-19 19:32:31,550 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:31,562 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:31,555 DEBUG    Scheduler    dummy next time: 2014-01-19 19:37:31+01:00 -- scheduler.py:_next_time:289
    2014-01-19 19:32:31,906 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:31,927 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
    2014-01-19 19:32:31,933 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:31,940 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:32,231 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:32,259 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
    2014-01-19 19:32:32,265 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:32,273 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:32,588 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:32,620 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
    2014-01-19 19:32:32,626 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:32,634 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:32,891 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:32,920 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
    2014-01-19 19:32:32,926 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:32,933 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:33,145 DEBUG    env_stat     Item env.core.memory = 13656064 via Logic None None -- item.py:__update:363
    2014-01-19 19:32:33,155 DEBUG    env_stat     Item env.system.load = 0.05 via Logic None None -- item.py:__update:363
    2014-01-19 19:32:33,164 DEBUG    env_stat     Item env.location.moonlight = 89 via Logic None None -- item.py:__update:363
    2014-01-19 19:32:33,211 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:33,243 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
    2014-01-19 19:32:33,249 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:33,257 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:33,591 DEBUG    Scheduler    env_stat next time: 2014-01-19 19:37:33+01:00 -- scheduler.py:_next_time:289
    2014-01-19 19:32:33,616 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
    2014-01-19 19:32:33,640 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
    2014-01-19 19:32:33,646 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
    2014-01-19 19:32:33,653 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
    2014-01-19 19:32:44,160 DEBUG    Main         knx: 0.0.0 set 0/7/101 to f3202b -- __init__.py:parse_telegram:181
    2014-01-19 19:32:44,175 DEBUG    Main         knx: 0.0.0 set 0/7/100 to 13010e -- __init__.py:parse_telegram:181

    #2
    Hi Klaus,

    das ist komisch. Eigentlich müsste da noch mehr Information im Logfile stehen, wieso es nicht geklappt hat.
    Werden die Daten korrekt versendet?

    Bis bald

    Marcus

    Kommentar


      #3
      Hallo Marcus,

      nein die Daten werden nicht versendet.
      Es kommt nichts an. Per nc auf der Konsole klappt das einwandfrei.

      Hab nochmal den gesamten Log angehängt. Mir ist aber keine weiter Info ersichtlich. An den Konfig Files liegt es nicht?

      Klaus

      PS: Ist das aktuelle PI Image.

      Code:
      Last login: Sun Jan 19 17:07:04 on ttys001
      xbmc-wohnen:.ssh kb$ ssh admin@192.168.2.56
      admin@192.168.2.56's password: 
      Linux smarthome.local 3.10.18+ #596 PREEMPT Fri Nov 15 13:57:24 GMT 2013 armv6l
      
      The programs included with the Debian GNU/Linux system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
      
      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Sun Jan 19 16:34:50 2014 from 192.168.2.21
      admin@smarthome:/usr/smarthome$ smarthome.py -s
      admin@smarthome:/usr/smarthome$ smarthome.py -d
      2014-01-19 19:51:55,955 INFO     Main         Start SmartHome.py 1.0-23-g43fa9aa -- smarthome.py:__init__:231
      2014-01-19 19:51:55,961 DEBUG    Main         Python 3.2.3 -- smarthome.py:__init__:232
      2014-01-19 19:51:55,968 INFO     Main         Init Scheduler -- scheduler.py:__init__:86
      2014-01-19 19:51:55,974 INFO     Main         Init Plugins -- smarthome.py:start:274
      2014-01-19 19:51:55,991 DEBUG    Scheduler    creating 5 workers -- scheduler.py:run:93
      2014-01-19 19:51:55,999 DEBUG    Main         Plugin: knx -- plugin.py:__init__:43
      2014-01-19 19:51:56,021 DEBUG    Main         Plugin: visu -- plugin.py:__init__:43
      2014-01-19 19:51:56,120 DEBUG    Main         Plugin: cli -- plugin.py:__init__:43
      2014-01-19 19:51:56,133 DEBUG    Main         Plugin: sql -- plugin.py:__init__:43
      2014-01-19 19:51:56,166 DEBUG    Main         SQLite 3.7.13 -- __init__.py:__init__:62
      2014-01-19 19:51:56,276 DEBUG    Main         SQLite: database integrity ok -- __init__.py:__init__:78
      2014-01-19 19:51:56,303 DEBUG    Main         SQLite pack next time: 2014-01-20 03:02:00+01:00 -- scheduler.py:_next_time:289
      2014-01-19 19:51:56,310 DEBUG    Main         Plugin: nw -- plugin.py:__init__:43
      2014-01-19 19:51:56,392 DEBUG    Main         Adding listener on: udp:0.0.0.0:2727 -- __init__.py:add_listener:154
      2014-01-19 19:51:56,483 DEBUG    Main         UDPDispatcher: binding to 0.0.0.0:2727 (UDP) -- connection.py:connect:161
      2014-01-19 19:51:56,495 INFO     Main         Init Items -- smarthome.py:start:280
      2014-01-19 19:51:56,659 DEBUG    Main         Item env.core.memory = 13686614.854162138 via SQLite None None -- item.py:set:457
      2014-01-19 19:51:56,690 DEBUG    Main         Item env.core.threads = 7.0 via SQLite None None -- item.py:set:457
      2014-01-19 19:51:56,718 DEBUG    Main         Item env.core.garbage = 0.0 via SQLite None None -- item.py:set:457
      2014-01-19 19:51:56,725 DEBUG    Main         Item env.core: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,772 DEBUG    Main         Item env.location: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,807 DEBUG    Main         Item env.system.load = 0.03500326583932071 via SQLite None None -- item.py:set:457
      2014-01-19 19:51:56,819 DEBUG    Main         Item env.system: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,823 DEBUG    Main         Item env: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,841 DEBUG    Main         KNX: EG.Arbeiten.Deckenspots listen on 1/0/1 -- __init__.py:parse_item:235
      2014-01-19 19:51:56,846 DEBUG    Main         Item EG.Arbeiten: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,851 DEBUG    Main         Item EG: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,873 DEBUG    Main         Item first.hallway: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,886 DEBUG    Main         Item first.living.light: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,980 DEBUG    Main         Item first.living.blind: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:56,995 DEBUG    Main         Item first.living: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:57,000 DEBUG    Main         Item first: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:57,025 DEBUG    Main         KNX: second.sleeping.light.level listen on 3/2/14 -- __init__.py:parse_item:235
      2014-01-19 19:51:57,031 DEBUG    Main         KNX: Light listen on 3/2/12 -- __init__.py:parse_item:235
      2014-01-19 19:51:57,099 DEBUG    Main         Item second.sleeping.blind: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:57,111 DEBUG    Main         Item second.sleeping: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:57,188 DEBUG    Main         Item second.bath.blind: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:57,193 DEBUG    Main         Item second.bath: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:57,198 DEBUG    Main         Item second: no type specified. -- item.py:__init__:242
      2014-01-19 19:51:57,208 INFO     Main         Start Plugins -- plugin.py:start:65
      2014-01-19 19:51:57,289 INFO     Main         Start Logics -- logic.py:__init__:33
      2014-01-19 19:51:57,294 DEBUG    Main         Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64
      2014-01-19 19:51:57,329 DEBUG    Main         Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:64
      2014-01-19 19:51:57,348 DEBUG    Main         Logic: dummy -- logic.py:__init__:44
      2014-01-19 19:51:57,400 DEBUG    Main         dummy next time: 2014-01-19 19:52:08+01:00 -- scheduler.py:_next_time:289
      2014-01-19 19:51:57,410 DEBUG    Main         Logic: hello -- logic.py:__init__:44
      2014-01-19 19:51:57,425 DEBUG    Main         Logic: env_init -- logic.py:__init__:44
      2014-01-19 19:51:57,448 DEBUG    Main         Logic: env_stat -- logic.py:__init__:44
      2014-01-19 19:51:57,473 DEBUG    Main         env_stat next time: 2014-01-19 19:52:11+01:00 -- scheduler.py:_next_time:289
      2014-01-19 19:51:57,478 DEBUG    Main         Logic: env_loc -- logic.py:__init__:44
      2014-01-19 19:51:57,609 DEBUG    Connections  KNX: connected to 192.168.2.2:6720 -- connection.py:connect:391
      2014-01-19 19:51:57,616 DEBUG    Connections  KNX: enable group monitor -- __init__.py:handle_connect:117
      2014-01-19 19:51:57,626 DEBUG    Connections  WebSocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:161
      2014-01-19 19:51:57,633 DEBUG    Connections  CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:161
      2014-01-19 19:52:02,714 INFO     hello        Hello World! -- hello.py:<module>:3
      2014-01-19 19:52:02,715 DEBUG    sh.gc        Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:498
      2014-01-19 19:52:02,726 DEBUG    env_loc      Item env.location.sunrise = 2014-01-20 08:10:39.544341+01:00 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,719 DEBUG    env_init     Item env.core.version = 1.0-23-g43fa9aa via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,769 DEBUG    env_init     Item env.core.start = 2014-01-19 19:52:02.765831+01:00 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,784 DEBUG    env_loc      Item env.location.sunset = 2014-01-20 16:48:13.214714+01:00 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,826 DEBUG    env_init     Item env.system.name = smarthome.local via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,868 DEBUG    env_init     Item env.system.start = 2014-01-19 15:32:16.864651+01:00 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,872 DEBUG    env_loc      Item env.location.moonrise = 2014-01-19 20:36:56.363697+01:00 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,964 DEBUG    env_loc      Item env.location.moonset = 2014-01-20 09:31:57.302641+01:00 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:02,993 DEBUG    env_loc      Item env.location.moonphase = 5 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:03,060 DEBUG    env_loc      Item env.location.night = True via Logic None None -- item.py:__update:363
      2014-01-19 19:52:03,089 DEBUG    sh.gc        Object references: 9550 -- smarthome.py:_maintenance:490
      2014-01-19 19:52:03,265 DEBUG    Scheduler    env_loc next time: 2014-01-19 20:22:03+01:00 -- scheduler.py:_next_time:289
      2014-01-19 19:52:03,286 DEBUG    Scheduler    sh.gc next time: 2014-01-20 02:04:00+01:00 -- scheduler.py:_next_time:289
      2014-01-19 19:52:08,320 DEBUG    dummy        Item first.living.humidity = 46 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:08,331 DEBUG    dummy        Item second.sleeping.temperature = 19 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:08,340 DEBUG    dummy        Item second.bath.temperature = 23 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:08,827 DEBUG    Scheduler    dummy next time: 2014-01-19 19:57:08+01:00 -- scheduler.py:_next_time:289
      2014-01-19 19:52:11,411 DEBUG    env_stat     Item env.core.memory = 13643776 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:11,421 DEBUG    env_stat     Item env.system.load = 0.06 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:11,431 DEBUG    env_stat     Item env.location.moonlight = 89 via Logic None None -- item.py:__update:363
      2014-01-19 19:52:11,858 DEBUG    Scheduler    env_stat next time: 2014-01-19 19:57:11+01:00 -- scheduler.py:_next_time:289
      2014-01-19 19:52:13,034 DEBUG    Main         knx: 1.1.21 set 6/0/3 to 00 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:16,211 DEBUG    Main         knx: 1.1.6 set 6/1/1 to 00 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:16,239 DEBUG    Main         knx: 1.1.6 set 6/1/4 to 00 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:22,167 DEBUG    Main         knx: 0.0.0 set 0/7/101 to f33415 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:22,186 DEBUG    Main         knx: 0.0.0 set 0/7/100 to 13010e -- __init__.py:parse_telegram:181
      2014-01-19 19:52:27,994 DEBUG    Main         knx: 1.1.12 set 3/2/6 to 01 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:49,063 DEBUG    Main         knx: 1.1.16 set 5/2/0 to 01 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:53,163 DEBUG    Main         knx: 0.0.0 set 0/7/101 to f33434 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:53,183 DEBUG    Main         knx: 0.0.0 set 0/7/100 to 13010e -- __init__.py:parse_telegram:181
      2014-01-19 19:52:53,550 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:53,579 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
      2014-01-19 19:52:53,585 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:53,592 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:53,947 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:53,974 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
      2014-01-19 19:52:53,980 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:53,987 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:54,350 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:54,379 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
      2014-01-19 19:52:54,385 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:54,392 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:54,786 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:54,823 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
      2014-01-19 19:52:54,829 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:54,836 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:55,227 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:55,254 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
      2014-01-19 19:52:55,260 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:55,267 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:55,730 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:55,754 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
      2014-01-19 19:52:55,760 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:55,767 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:56,126 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:56,150 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
      2014-01-19 19:52:56,156 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:56,163 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:56,559 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 00 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:56,579 DEBUG    Main         knx: 1.1.4 set 1/0/1 to False -- __init__.py:parse_telegram:190
      2014-01-19 19:52:56,585 DEBUG    Main         Item EG.Arbeiten.Deckenspots = False via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:56,593 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147
      2014-01-19 19:52:57,250 DEBUG    Main         knx: 1.1.9 set 1/0/0 to 01 -- __init__.py:parse_telegram:181
      2014-01-19 19:52:57,274 DEBUG    Main         knx: 1.1.4 set 1/0/1 to True -- __init__.py:parse_telegram:190
      2014-01-19 19:52:57,280 DEBUG    Main         Item EG.Arbeiten.Deckenspots = True via KNX 1.1.4 1/0/1 -- item.py:__update:363
      2014-01-19 19:52:57,287 WARNING  Main         UDP: Problem sending data to 192.168.2.21:49000:  -- __init__.py:udp:147

      Kommentar


        #4
        Hi Klaus,

        komisch. Ich konnte das Problem nachvollziehen und bei mir stand mehr im Log...

        Egal ist in develop und master gefixt. => Update Knopf

        btw. es muss itemvalue und nicht itemValue lauten.

        Bis bald

        Marcus

        Kommentar


          #5
          Danke und schönen Restsonntag!

          Gruß
          Klaus

          Kommentar


            #6
            Danke für den fix

            Hatte schon an mir gezweifelt und am Freitag ein Mini UDP send Plugin geschrieben weil es mit dem Network Plugin einfach nicht klappen wollte.

            Gruss Stephan

            Kommentar


              #7
              udp broadcast funktioniert nicht.

              Kein Log nur eine schnelle Info.

              Gruß
              Klaus

              Kommentar


                #8
                Hallo,

                Hab aktuell auch Probleme mit dem Plugin. Ich will auf eine Adresse ein UDP Paket senden, aber dort scheint nichts anzukommen:

                Debug Log:
                Code:
                2015-04-23 14:40:21,945 DEBUG    Main         192.168.178.26:63116 sent '{"cmd":"item","id":"test.item2","val":"1"}' -- __init__.py:json_parse:270
                2015-04-23 14:40:21,946 INFO     Main         Item test.item2 = 1 via Visu 192.168.178.26:63116 None -- item.py:__update:363
                2015-04-23 14:40:21,947 DEBUG    Main         UDP: Sending data to 192.168.178.27:4806:  -- __init__.py:udp:150
                2015-04-23 14:40:25,642 DEBUG    Main         knx: 1.3.5 set 1/2/13 to 21.1 -- __init__.py:parse_telegram:190
                (nach dem 4806: kommt nichst.. kann es sein, das keine Daten übergeben werden ?)

                Plugin.conf:
                Code:
                [nw]
                    class_name = Network
                    class_path = plugins.network
                    # ip = 0.0.0.0
                    # port = 2727
                    tcp = yes
                    tcp_acl= 127.0.0.1
                    # udp = no
                    # udp_acl= *
                items.conf
                Code:
                [test]
                    [[item1]]
                        type = str
                        nw_udp_send = 192.168.178.27:4806  # sends an UDP packet with the item value as payload
                
                    [[item2]]
                        type = bool
                        visu_acl = rw
                        enforce_updates = yes
                        nw_udp_send = 192.168.178.27:4806=test  # sends an UDP packet with 'special data' as payload
                
                    [[item3]]
                        type = str
                        nw_udp_send = 192.168.178.27:4806=command: itemvalue  # sends an UDP packet with 'command: ' and the current item value as payload

                Hintergrund.. ich will mir vom SH.py auf den EibPC einen String senden.. dieser kommt dort aber nicht an.. Der EibPC hört auf Port 4806..

                Gruß Martin
                Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.

                Kommentar


                  #9
                  Hallo Martin,

                  was sagt denn tcpdump oder wireshark?

                  Bis bald

                  Marcus

                  Kommentar


                    #10
                    ich hab das mal mitgeschnitten.. bin jetzt aber nicht der Profi, wenns ans auswerten geht... ich würde behaupten, das er nicht gesendet hat, schließ aber eine fehlbedienung von Wireshark nicht aus...

                    kann morgen gern mal das Protokoll posten...

                    aber die Einstellungen müssten passen, oder ?

                    kann es an meiner Ubuntu Umgebung liegen ?
                    muss da evtl noch was installiert werden ?
                    Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.

                    Kommentar


                      #11
                      Hi Martin,

                      die Einstellungen sehen gut aus. Zusätzlich muss da auch nix installiert werden.
                      Das sollte einfach laufen.

                      Bis bald

                      Marcus

                      Kommentar


                        #12
                        so.. hab jetzt mal den Wireshark laufen lassen.. dabei fleißig auf meinen Button in der Visu gedrück..

                        Ich hab jetzt mal den Filter : ip.src == 192.168.178.38 and ip.dst == 192.168.178.27 eingestellt. src = IP Smarthome.py und dst = IP EibPC
                        leider blieb das Wiresharklog leer.

                        in SH.py Log steht aber folgendes:

                        Code:
                        2015-04-24 14:11:34,849 DEBUG    Main         192.168.178.26:49423 sent '{"cmd":"item","id":"test.item2","val":"1"}' -- __init__.py:json_parse:270
                        2015-04-24 14:11:34,850 INFO     Main         Item test.item2 = True via Visu 192.168.178.26:49423 None -- item.py:__update:363
                        2015-04-24 14:11:34,851 DEBUG    Main         UDP: Sending data to 192.168.178.27:4806:  -- __init__.py:udp:150
                        Kurz.. kann ich das überhaupt per Wireshark loggen ? bla bla, traffic über router usw..




                        Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.

                        Kommentar


                          #13
                          hmm...hab jetzt per nc -u 192.168.178.26 4806 was an meinen PC geschickt.. das ging.. muss also am EibPC liegen..
                          Somit sollte zumindest schon mal klar sein, das das schicken grundsätzlich funktioniert.. warum der EibPC das jetzt
                          nicht erkennt, find ich schon auch noch raus..

                          Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.

                          Kommentar


                            #14
                            Hi,

                            Wireshark muss schon die Möglichkeiten haben das Packet zu sehen, entweder muss es direkten Zugriff auf die verwendete Netzwerkkarte haben oder auf einem Router laufen über den der Traffic läuft.
                            tcpdump sollte aber auf Deiner Linux-Büxe laufen.

                            Viel Erfolg noch bei der Suche.

                            Bis bald

                            Marcus

                            Kommentar


                              #15
                              gibts eigentlich
                              Code:
                              nw_tcp_send = 192.168.178.27:4806=test
                              auch ?? (also TCP ? ) .. hat bei mir nicht funktioniert..
                              Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.

                              Kommentar

                              Lädt...
                              X