Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - Kein Schalten aus der Visu heraus, groupswrite funktioniert

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

    - √ - Kein Schalten aus der Visu heraus, groupswrite funktioniert

    Hallo Speziallisten!
    erstmal muss ich loswerden, dass ihr hier spitzenmäßige Arbeit leistet! Das ist echt ein geiles Forum und ich lese mich hier seit ein paar Tagen mit voller Begeisterung so durch.

    Trotzdem scheitere ich schon an einfachen Dingen und konnte dazu auch noch keine richtige Lösung finden. Ich muss dazu sagen, dass dies meine ersten Gehversuche in Sachen KNX+Visu sind.
    Ich habe mir ein „Testbrett“ zusammengebaut und probiere mich gerade in den einfachsten Dingen.

    Im Spätsommer nächsten Jahres möchte ich alles umbauen und die Thematik bis dahin irgendwie halbwegs verstanden haben.

    Ich habe mir also einen RasPi angeschafft plus die ROT Extension.
    Euer aktuellstes Image habe ich gerade nochmal „frisch“ installiert.

    Mein Browser ist ein Internet Explorer 10 auf Win 7.
    Auf meinem Testbrett befinden sich ein Schaltaktor, eine Tasterschnittstelle und eine Lampe.
    Die mit der ETS programmierten Funktionen machen auch das was sie sollen.

    Gemäß HowTo habe ich auf dem RasPi alles eingerichtet.
    Sogar das groupswrite funktioniert und ich kann alles über die Konsole schalten.

    Ich scheitere jedoch daran, das ganze über die Visu zu schalten.
    Anbei mal meine Konfiguration und das Log in der Hoffnung mir kann hier jemand auf die Sprünge helfen.

    Viele Grüße,

    Mark

    /usr/smarthome/items/smartvisu.conf

    Code:
    [FONT=Arial][SIZE=3][COLOR=#000000][first][/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000] [[hallway]][/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]     name = Hallway[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]     sv_page = room[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]     sv_img = scene_stairs.png[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]     [[[light]]][/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]         name = Light[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]         type = bool[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]         visu_acl = rw[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]         sv_widget = {{ basic.switch('item', 'item') }}[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]knx_dpt = 1[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]         knx_listen = 1/0/1[/COLOR][/SIZE][/FONT]
    [FONT=Arial][SIZE=3][COLOR=#000000]         knx_send = 1/0/1[/COLOR][/SIZE][/FONT]

    /usr/smarthome/etc/plugin.conf

    Code:
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3][knx][/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]class_name = KNX[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]class_path = plugins.knx[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   host = 127.0.0.1[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   port = 6720[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   send_time = 600 # update date/time every 600 seconds, default none[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   time_ga = 1/1/1 # default none[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   date_ga = 1/1/2 # default none[/SIZE][/FONT][/COLOR][/B][/I]
     
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3][visu][/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3] class_name = WebSocket[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3] class_path = plugins.visu[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   ip='0.0.0.0'[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   port=2424[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#   acl = ro[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]smartvisu_dir = /var/www/smartvisu[/SIZE][/FONT][/COLOR][/B][/I]
     
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3][cli][/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]class_name = CLI[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3] class_path = plugins.cli[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3] ip = 0.0.0.0[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3] update = True[/SIZE][/FONT][/COLOR][/B][/I]
     
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3][sql][/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3] class_name = SQL[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3] class_path = plugins.sqlite[/SIZE][/FONT][/COLOR][/B][/I]
     
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#[ow][/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#    class_name = OneWire[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#    class_path = plugins.onewire[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#    host = 127.0.0.1[/SIZE][/FONT][/COLOR][/B][/I]
    [I][B][COLOR=#000000][FONT=Arial][SIZE=3]#    port = 4304[/SIZE][/FONT][/COLOR][/B][/I]
    /var/log/smarthome.log

    Code:
    [B][I][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:11:57,942 DEBUG    Connections  KNX: connected to 127.0.0.1:6720 -- connection.py:connect:384[/COLOR][/SIZE][/FONT][/I][/B]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:11:57,978 DEBUG    Connections  KNX: enable group monitor -- __init__.py:handle_connect:117[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:11:57,973 DEBUG    Main         Logic: env_stat -- logic.py:__init__:44[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:11:58,009 DEBUG    Connections  WebSocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:160[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:11:58,053 DEBUG    Connections  CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:160[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:11:58,048 DEBUG    Main         env_stat next time: 2013-11-16 17:12:11+01:00 -- scheduler.py:_next_time:289[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:11:58,098 DEBUG    Main         Logic: env_loc -- logic.py:__init__:44[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,248 DEBUG    env_loc      Item env.location.sunrise = 2013-11-17 07:38:03.060315+01:00 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,256 INFO     hello        Hello World! -- hello.py:<module>:3[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,259 DEBUG    env_init     Item env.core.version = 0.9-495-g98dbb4b via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,260 DEBUG    sh.gc        Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:498[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,309 DEBUG    env_init     Item env.core.start = 2013-11-16 17:12:03.305714+01:00 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,354 DEBUG    env_loc      Item env.location.sunset = 2013-11-17 16:27:48.523630+01:00 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,361 DEBUG    env_init     Item env.system.name = smarthome.local via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,446 DEBUG    env_init     Item env.system.start = 2013-11-16 13:27:37.442541+01:00 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,492 DEBUG    env_loc      Item env.location.moonrise = 2013-11-17 16:33:02.623240+01:00 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,587 DEBUG    env_loc      Item env.location.moonset = 2013-11-17 07:14:38.140459+01:00 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,636 DEBUG    env_loc      Item env.location.moonphase = 4 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,696 DEBUG    sh.gc        Object references: 9136 -- smarthome.py:_maintenance:490[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,723 DEBUG    env_loc      Item env.location.night = True via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,812 DEBUG    Scheduler    env_loc next time: 2013-11-16 16:12:39.407218+00:00 -- scheduler.py:_next_time:289[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:03,841 DEBUG    Scheduler    sh.gc next time: 2013-11-17 02:04:00+01:00 -- scheduler.py:_next_time:289[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:11,474 DEBUG    env_stat     Item env.core.memory = 13332480 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:11,492 DEBUG    env_stat     Item env.system.load = 0.11 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:11,508 DEBUG    env_stat     Item env.location.moonlight = 99 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:11,921 DEBUG    Scheduler    env_stat next time: 2013-11-16 17:17:11+01:00 -- scheduler.py:_next_time:289[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:12,444 DEBUG    dummy        Item first.living.temperature = 20 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:12,460 DEBUG    dummy        Item first.living.humidity = 51 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:12,476 DEBUG    dummy        Item second.sleeping.temperature = 21 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:12,491 DEBUG    dummy        Item second.bath.temperature = 24 via Logic None None -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:12,949 DEBUG    Scheduler    dummy next time: 2013-11-16 17:17:12+01:00 -- scheduler.py:_next_time:289[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:40,209 DEBUG    Scheduler    env_loc next time: 2013-11-16 17:42:40+01:00 -- scheduler.py:_next_time:289[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:46,580 DEBUG    Main         knx: 1.1.2 set 1/0/1 to True -- __init__.py:parse_telegram:190[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:46,592 DEBUG    Main         Item first.hallway.light = True via KNX 1.1.2 1/0/1 -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:53,089 DEBUG    Main         knx: 1.1.2 set 1/0/1 to False -- __init__.py:parse_telegram:190[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:53,102 DEBUG    Main         Item first.hallway.light = False via KNX 1.1.2 1/0/1 -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:57,636 DEBUG    Main         knx: 0.0.1 set 1/0/1 to True -- __init__.py:parse_telegram:190[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:12:57,649 DEBUG    Main         Item first.hallway.light = True via KNX 0.0.1 1/0/1 -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:13:02,892 DEBUG    Main         knx: 0.0.1 set 1/0/1 to False -- __init__.py:parse_telegram:190[/COLOR][/SIZE][/FONT][/B][/I]
    [I][B][FONT=Arial][SIZE=3][COLOR=#000000]2013-11-16 17:13:02,905 DEBUG    Main         Item first.hallway.light = False via KNX 0.0.1 1/0/1 -- item.py:__update:363[/COLOR][/SIZE][/FONT][/B][/I]

    #2
    Hi Mark,

    willkommen hier im Forum und als Nutzer.

    Sieht alles soweit in Ordnung aus, nur sehe ich im Log keinen Verbindungsaufbau.
    Mit unserem Image sollte eigentlich alles funktionieren.

    Probier mal die IP-Adresse in der smartVISU Config einzutragen, oder probier mal Chrome.

    Bis bald

    Marcus

    Kommentar


      #3
      Hallo Marcus,

      vielen Dank für deine Hilfe!!!
      Mit Chrome funktioniert es einwandfrei!

      Ist der Internet Explorer grundsätzlich nicht besonders geeignet oder habe ich da irgendwo eine Konfiguration die nicht passt?

      Jetzt funktioniert ja schon mal die grundlegende Kommunikation und ich kann mich mal in Ruhe ausprobieren!

      Vielen herzlichen Dank!

      Grüße,

      Mark

      Kommentar


        #4
        Hi Mark,

        Zitat von mhoeftx Beitrag anzeigen
        Ist der Internet Explorer grundsätzlich nicht besonders geeignet
        ja, das kann man generell so sagen. Nicht nur auf die smartVISU bezogen.

        Bis bald

        Marcus

        Kommentar

        Lädt...
        X