Ankündigung

Einklappen
Keine Ankündigung bisher.

Misterhouse kann EIB nicht öffnen

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

    KNX/EIB Misterhouse kann EIB nicht öffnen

    Hallo ich habe ein Problem mit Misterhouse.
    es kann beim Start kein EIB öffnen.
    beim Start kommt folgende Meldung:

    /opt/misterhouse/mh/bin/mh

    Command: mh
    Pgm path : /opt/misterhouse/mh/bin
    Pgm version: mh 2.105 Last updated: Mon Oct 13 18:51:50 2008
    Perl version: 5.010001
    OS version: linux linux
    Other : user=sam pid=28369 box= cpu=-

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

    Read parameter files: ./mh.ini ./mh.private.ini /opt/misterhouse/mh.private.ini
    Code Directories:
    - /opt/misterhouse/code
    - /opt/misterhouse/code

    Audio::Mixer not installed ... volume control is disabled

    Loading Tk modules Version 804.028
    Loading other modules
    Starting setup
    - using simple Text distance function
    - reading previous log files
    - archiving previous /opt/misterhouse/data/logs/*.log files ....
    - creating festival TTS socket on localhost:1314
    - read 1 trigger entries
    - creating http on tcp 8080 buffered
    - creating server mhsend on tcp 8084 buffered
    - creating server telnet on tcp 1234 raw
    - creating xap_send on udp 3639 send
    - creating xap_hub_listen on udp 3639 listen
    - mh in xAP Hub mode
    - creating xap_listen_core on udp 49152 listen
    - creating xap_send_49152 on udp 49152 send
    - creating xpl_send on udp 3865 send
    - creating xpl_listen on udp 49153 listen
    - creating xpl_hub_listen on udp 3865 listen
    - mh in xPL Hub mode
    - creating xpl_send_49153 on udp 49153 send
    EIB: Can't open 192.168.0.30 at /opt/misterhouse/mh/bin/../lib/EIB_Device.pm line 51.

    Wenn ich in meiner mh.ini
    den
    eib_device =
    Eintrag die IP. Adresse lösche startet Misterhouse ganz normal.

    mein EIBD läuft soweit ich das beurteilen kann ganz normal.
    Ich kann auf der Konsole Schalten und empfangen.
    Eibd starte ich als Deamon.

    Kann mir jemand ein Tip geben wie Misterhouse ans laufen bekomme.

    Vielen Dank im voraus.

    #2
    Einen eib_device Eintrag habe ich in der mh.ini nicht mal, vielleicht ist der aber irgendwann in der letzten Zeit hinzugekommen, hab mh länger nicht mehr aktualisiert.

    Bei mir gibt dafür folgenden Eintrag:
    eib_connection=ip:wiregate
    Wobei wiregate den DNS Eintrag für den Rechner ist, auf dem der eibd läuft.

    Welche mh Version verwendest Du denn? Das Archiv von der Internetseite ist ja schon ziemlich alt. Hier im Forum kursieren Verbesserungen, die aber wohl auch nicht alle im svn gelandet sind. Alles in allem ist das leider ziemlich unübersichtlich, wobei die svn Version schon mal ein guter Startpunkt ist...

    Kommentar


      #3
      Danke Jockel
      Misterhouse Startet aber ich habe meine Eib Sachen noch nicht gefunden.
      Ich werde Morgen wenn ich mehr Zeit habe noch einmal suchen.
      die Version ist mh 2.105 Last Update: Mon Oct 13 18:51:50 2008
      frisch von der Misterhouse Homepage.
      Wo finde ich die Verbesserungen gibt es die irgendwie gebündelt.

      Vielen Dank im voraus.
      M.Kolat

      Kommentar


        #4
        OK, das Archiv von der Webseite ist ziemlich veraltet, seitdem gab es gerade auch für EIB einige Änderungen. Am besten Du startest mal mit der SVN-Version

        Hier im Forum kursieren auch noch einige Änderungen, da bin ich mir nicht sicher in wieweit die vom SVN abweichen. Ich kann gerne mal die von mir verwendete Version mit dem SVN vergleichen, das werde ich aber in den nächsten Tagen nicht schaffen.

        Leider ist MH an der Stelle etwas chaotisch!

        Kommentar


          #5
          Danke Jokel,
          werde mir die Seite über die Feiertage einmal genauer anschauen.
          Ich habe Abends auch nicht so viel Zeit.
          Leider ist mein Englisch nicht ganz so gut, aber in deutsch gibt es ja leider nicht solch eine Seite.


          Ich wünsche geruhsame Feiertage.

          Markus Kolat
          E-Mail:kolma@wandbilder.net
          Webmaster von wandbilder.net

          Kommentar


            #6
            Hallo
            ich habe die SVN-Version bei mir Installiert und soweit eingestellt.
            Jetzt kämpfe ich mit folgender Fehlermeldung.

            /opt/misterhouse/mh/bin/mh

            Command: mh
            Pgm path : /opt/misterhouse/mh/bin
            Pgm version: mh 2.105 Last updated: Mon Dec 26 14:06:23 2011
            Perl version: 5.010001
            OS version: linux linux
            Other : user=sam pid=7011 box= cpu=-

            This program is free software; you can redistribute it and/or
            modify it under the terms of the GNU General Public License
            as published by the Free Software Foundation; either version 2
            of the License, or (at your option) any later version.

            This program is distributed in the hope that it will be useful,
            but WITHOUT ANY WARRANTY; without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
            GNU General Public License for more details.

            You should have received a copy of the GNU General Public License
            along with this program; if not, write to the Free Software
            Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

            Read parameter files: ./mh.ini ./mh.private.ini /opt/misterhouse/mh.private.ini
            Code Directories:
            - /opt/misterhouse/code
            - /opt/misterhouse/code

            Audio::Mixer not installed ... volume control is disabled

            Loading Tk modules Version 804.028
            Loading other modules
            Starting setup
            - using simple Text distance function
            - read 1 trigger entries
            - reading previous log files
            - archiving previous /opt/misterhouse/data/logs/*.log files ....
            - creating festival TTS socket on localhost:1314
            - creating http on tcp 8080 buffered
            - creating server mhsend on tcp 8084 buffered
            - creating server telnet on tcp 1234 raw
            - creating xap_send on udp 3639 send
            - creating xap_hub_listen on udp 3639 listen
            - mh in xAP Hub mode
            - creating xap_listen_core on udp 49152 listen
            - creating xap_send_49152 on udp 49152 send
            - creating xpl_send on udp 3865 send
            - creating xpl_listen on udp 49352 listen
            - creating xpl_hub_listen on udp 3865 listen
            - mh in xPL Hub mode
            - creating xpl_send_49352 on udp 49352 send
            - initializing EIB connection to 'ip:192.168.0.30' ...01/06/12 16:22:50 Initializing EIB connection
            ok
            - initializing state tracker ...
            - process id 7011 written to /opt/misterhouse/data/mh.pid
            - setting up the main window
            - external command file (xcmd_file): ./../house_cmd.txt
            - HTML file : /opt/misterhouse/web/ia5/index.shtml

            Error, HTML file not found: /opt/misterhouse/web//ia5/index.shtml


            Warning: password_file /opt/misterhouse/data/.password not found. Run mh/bin/set_password

            Done with setup

            01/06/12 16:22:50 Reading /opt/misterhouse/mh.private.ini and mh.ini
            html_alias alias /docs dir does not exist, dir=./../docs
            Voice names: Microsoft Mary, Microsoft Mike, Microsoft Sam
            Read 4 entries from ./../data/pronouncable_words.list
            01/06/12 16:22:50 Reading 1 .mht table files: eib_items.mht
            01/06/12 16:22:50 Translating eib_items.mht -> /opt/misterhouse/code/eib_items.mhp
            01/06/12 16:22:50 Initialized read_table_A.pl
            Reading code_dirs: /opt/misterhouse/code /opt/misterhouse/code
            01/06/12 16:22:50 Reading 11 code files
            Duplicate file.
            - Used: /opt/misterhouse/code/benchmarks.pl
            - Skipped: /opt/misterhouse/code/benchmarks.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/eliza_server.pl
            - Skipped: /opt/misterhouse/code/eliza_server.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/menu.pl
            - Skipped: /opt/misterhouse/code/menu.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/mh_control.pl
            - Skipped: /opt/misterhouse/code/mh_control.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/mh_release.pl
            - Skipped: /opt/misterhouse/code/mh_release.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/mh_sound.pl
            - Skipped: /opt/misterhouse/code/mh_sound.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/mhsend_server.pl
            - Skipped: /opt/misterhouse/code/mhsend_server.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/organizer.pl
            - Skipped: /opt/misterhouse/code/organizer.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/tk_eye.pl
            - Skipped: /opt/misterhouse/code/tk_eye.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/tk_frames.pl
            - Skipped: /opt/misterhouse/code/tk_frames.pl

            Duplicate file.
            - Used: /opt/misterhouse/code/tk_widgets.pl
            - Skipped: /opt/misterhouse/code/tk_widgets.pl

            01/06/12 16:22:50 Evaluating user code

            Error in user code file /opt/misterhouse/data/mh_temp.user_code

            01/06/12 16:22:50: Global symbol "$search_code_string" requires explicit package name at (eval 426) line 493.
            BEGIN not safe after errors--compilation aborted at (eval 426) line 646.
            Line 488: # &tk_checkbutton('Sleeping Parents', \$Save{sleeping_parents}, 'Sleeping Kids', \$Save{sleeping_kids});
            Line 489:
            Line 490: # &tk_radiobutton('Mode', \$Save{mode}, ['normal', 'mute', 'offline'], ['Normal', 'Mute', 'Offline']);
            Line 491:
            Line 492: # &tk_entry('Code Search', $search_code_string, 'Debug flag', \$config_parms{debug});
            Line 493: &tk_entry('Code Search', $search_code_string) if $config_parms{tk_system_widgets};
            Line 494:
            Line 495: # There is a menu for this, so most won't want this (File | Debug)
            Line 496: &tk_entry('Debug flag', \$config_parms{debug}) if defined $config_parms{debug_widget} and $config_parms{debug_widget};
            Line 497:
            Line 498:


            Die "mh_temp.user_code" wird beim Start von Misterhouse erzeugt und dann verarbeitet.
            Ich habe leider nicht herausgefunden Daten herhat. Auch weiß ich nicht warum M.
            das Verzeichnis opt/misterhouse/mh/web benutzt wenn ich in meiner mh-private.ini
            opt/misterhouse/web als webverzeichnis angegeben habe.

            html_dir = /opt/misterhouse/web

            gibt es eigentlich eine mh.ini mit deutschen Kommentaren?

            Vielen Dank im voraus

            Markus Kolat
            E-Mail:kolma@wandbilder.net
            Webmaster von wandbilder.net

            Kommentar


              #7
              Nutzt MH denn die richtige ini Datei? Kann es gerade nicht nachschauen, aber wenn ich mich recht entsinne liest MH den Pfad zur ini aus einer Umgebungsvariablen?! Schau mal in mein Startskript, das ich gestern im "Parallel-Thread" gepostet habe, da sollte die dann gesetzt sein.

              Merkwürdig sind auf jeden Fall auch die "Duplicate Files" Fehler, danach solltest Du mal schauen.

              Kommentar


                #8
                Nutzt MH denn die richtige ini Datei?
                Ja definitiv wenn ich an meiner etwas ändere gibt es eine Fehlermeldung darüber.
                die andere habe ich sicherheitshalber gelöscht.

                Kann es gerade nicht nachschauen, aber wenn ich mich recht entsinne liest MH den Pfad zur ini aus einer Umgebungsvariablen?!
                export mh_parms=/opt/misterhouse/mh.private.ini
                habe ich in der etc/profile

                Schau mal in mein Startskript, das ich gestern im "Parallel-Thread" gepostet habe, da sollte die dann gesetzt sein.

                habe ich als Startskript ausprobiert. Bei mir findet er die rc sachen nicht.
                ./mh: 60: rc_reset: not found
                Starting misterhouse ./mh: 209: /sbin/startproc: not found
                chown: Ändern des Eigentümers von „/tmp/mh.watchdog“: Die Operation ist nicht erlaubt
                ./mh: 209: rc_status: not found
                ./mh: 210: rc_exit: not found


                Merkwürdig sind auf jeden Fall auch die "Duplicate Files" Fehler, danach solltest Du mal schauen.
                da bin ich nicht weiter gekommen die read_table_A.pl bringt mich nicht weiter
                und wer oder was
                01/07/12 19:26:18 Reading 11 code files
                Duplicate file.
                - Used: /opt/misterhouse/code/benchmarks.pl
                - Skipped: /opt/misterhouse/code/benchmarks.pl
                das veranlasst konnte ich nicht herausbekommen

                Vielen Dank im voraus

                mitlerweile sieht die ausgabe so aus:
                /opt/misterhouse/mh/bin/mh

                Command: mh
                Pgm path : /opt/misterhouse/mh/bin
                Pgm version: mh 2.105 Last updated: Mon Dec 26 14:06:23 2011
                Perl version: 5.010001
                OS version: linux linux
                Other : user=sam pid=23500 box= cpu=-

                This program is free software; you can redistribute it and/or
                modify it under the terms of the GNU General Public License
                as published by the Free Software Foundation; either version 2
                of the License, or (at your option) any later version.

                This program is distributed in the hope that it will be useful,
                but WITHOUT ANY WARRANTY; without even the implied warranty of
                MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
                GNU General Public License for more details.

                You should have received a copy of the GNU General Public License
                along with this program; if not, write to the Free Software
                Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

                Read parameter files: ./mh.ini ./mh.private.ini /opt/misterhouse/mh.private.ini
                Code Directories:
                - /opt/misterhouse/code
                - /opt/misterhouse/code

                Audio::Mixer not installed ... volume control is disabled

                Loading Tk modules Version 804.028
                Loading other modules
                Starting setup
                - using simple Text distance function
                - read 1 trigger entries
                - reading previous log files
                - archiving previous /opt/misterhouse/data/logs/*.log files ....
                - creating festival TTS socket on localhost:1314
                - creating http on tcp 8080 buffered
                - creating server mhsend on tcp 8084 buffered
                - creating server telnet on tcp 1234 raw
                - creating xap_send on udp 3639 send
                - creating xap_hub_listen on udp 3639 listen
                - mh in xAP Hub mode
                - creating xap_listen_core on udp 49152 listen
                - creating xap_send_49152 on udp 49152 send
                - creating xpl_send on udp 3865 send
                - creating xpl_listen on udp 49352 listen
                - creating xpl_hub_listen on udp 3865 listen
                - mh in xPL Hub mode
                - creating xpl_send_49352 on udp 49352 send
                - initializing EIB connection to 'ip:192.168.0.30' ...01/07/12 20:12:30 Initializing EIB connection
                ok
                - initializing state tracker ...
                - process id 23500 written to /opt/misterhouse/data/mh.pid
                - setting up the main window
                - external command file (xcmd_file): ./../house_cmd.txt
                - HTML file : /opt/misterhouse/web/ia5/index.shtml
                Done with setup

                01/07/12 20:12:30 Reading /opt/misterhouse/mh.private.ini and mh.ini
                html_alias alias /docs dir does not exist, dir=./../docs
                Voice names: Microsoft Mary, Microsoft Mike, Microsoft Sam
                Read 4 entries from ./../data/pronouncable_words.list
                01/07/12 20:12:30 Reading 1 .mht table files: eib_items.mht
                01/07/12 20:12:30 Translating eib_items.mht -> /opt/misterhouse/code/eib_items.mhp
                01/07/12 20:12:30 Initialized read_table_A.pl
                Reading code_dirs: /opt/misterhouse/code /opt/misterhouse/code
                01/07/12 20:12:30 Reading 11 code files
                Duplicate file.
                - Used: /opt/misterhouse/code/benchmarks.pl
                - Skipped: /opt/misterhouse/code/benchmarks.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/eliza_server.pl
                - Skipped: /opt/misterhouse/code/eliza_server.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/menu.pl
                - Skipped: /opt/misterhouse/code/menu.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/mh_control.pl
                - Skipped: /opt/misterhouse/code/mh_control.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/mh_release.pl
                - Skipped: /opt/misterhouse/code/mh_release.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/mh_sound.pl
                - Skipped: /opt/misterhouse/code/mh_sound.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/mhsend_server.pl
                - Skipped: /opt/misterhouse/code/mhsend_server.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/organizer.pl
                - Skipped: /opt/misterhouse/code/organizer.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/tk_eye.pl
                - Skipped: /opt/misterhouse/code/tk_eye.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/tk_frames.pl
                - Skipped: /opt/misterhouse/code/tk_frames.pl

                Duplicate file.
                - Used: /opt/misterhouse/code/tk_widgets.pl
                - Skipped: /opt/misterhouse/code/tk_widgets.pl

                01/07/12 20:12:30 Evaluating user code

                Error in user code file /opt/misterhouse/data/mh_temp.user_code

                01/07/12 20:12:30: Global symbol "$search_code_string" requires explicit package name at (eval 426) line 493.
                BEGIN not safe after errors--compilation aborted at (eval 426) line 646.
                Line 488: # &tk_checkbutton('Sleeping Parents', \$Save{sleeping_parents}, 'Sleeping Kids', \$Save{sleeping_kids});
                Line 489:
                Line 490: # &tk_radiobutton('Mode', \$Save{mode}, ['normal', 'mute', 'offline'], ['Normal', 'Mute', 'Offline']);
                Line 491:
                Line 492: # &tk_entry('Code Search', $search_code_string, 'Debug flag', \$config_parms{debug});
                Line 493: &tk_entry('Code Search', $search_code_string) if $config_parms{tk_system_widgets};
                Line 494:
                Line 495: # There is a menu for this, so most won't want this (File | Debug)
                Line 496: &tk_entry('Debug flag', \$config_parms{debug}) if defined $config_parms{debug_widget} and $config_parms{debug_widget};
                Line 497:
                Line 498:

                Kommentar

                Lädt...
                X