Ankündigung

Einklappen
Keine Ankündigung bisher.

neue Version Linknx erschienen

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

    #31
    Hallo,

    Fehler gefunden: Ein
    Code:
    bcuaddrtab usb:2:2:1:0 -w 0
    war nötig

    Gute Nacht

    sand

    Kommentar


      #32
      Hallo, habe LinKnx 0.0.1.23 unter Cygwin laufen und nun versucht die neue Version 0.0.1.25 zu kompilieren. Habe vorher auch noch Cygwin upgedatet...
      Leider bekomme ich folgenden Fehler:
      Code:
       
      $ make
      make  all-recursive
      make[1]: Entering directory `/home/administrator/linknx-0.0.1.25'
      Making all in ticpp
      make[2]: Entering directory `/home/administrator/linknx-0.0.1.25/ticpp'
      make[2]: Nothing to be done for `all'.
      make[2]: Leaving directory `/home/administrator/linknx-0.0.1.25/ticpp'
      Making all in src
      make[2]: Entering directory `/home/administrator/linknx-0.0.1.25/src'
      if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../ticpp -I/usr/local/includ
      e    -g -O2 -MT timermanager.o -MD -MP -MF ".deps/timermanager.Tpo" -c -o timerm
      anager.o timermanager.cpp; \
              then mv -f ".deps/timermanager.Tpo" ".deps/timermanager.Po"; else rm -f
      ".deps/timermanager.Tpo"; exit 1; fi
      timermanager.cpp: In member function `time_t PeriodicTask::findNext(time_t, Time
      Spec*)':
      timermanager.cpp:438: error: 'struct tm' has no member named 'tm_gmtoff'
      make[2]: *** [timermanager.o] Error 1
      make[2]: Leaving directory `/home/administrator/linknx-0.0.1.25/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/administrator/linknx-0.0.1.25'
      make: *** [all] Error 2
      Ich weiß leider nicht wie und ob ich die tm struct updaten sollte damit es geht? Bitte um einen Tip...Danke!
      Luigi01

      Kommentar


        #33
        Hallo,

        Eine lösung für dieses Problem gibt's schon auf sourceforge forum:
        http://sourceforge.net/forum/forum.p...orum_id=743669

        Du musst folgende Datei ersetzen:
        linknx/src/suncalc.cpp durch
        http://linknx.cvs.sourceforge.net/*c...p?revision=1.4

        linknx/src/suncalc.h durch
        http://linknx.cvs.sourceforge.net/*c...h?revision=1.4

        linknx/src/timermanager.cpp durch
        http://linknx.cvs.sourceforge.net/*c...p?revision=1.7

        linknx/src/timermanager.h durch
        http://linknx.cvs.sourceforge.net/*c...h?revision=1.7

        und linknx/configure.ac durch
        http://linknx.cvs.sourceforge.net/*c...?revision=1.13

        Gruss,

        Jean-François

        Kommentar


          #34
          Vielen Dank Jean-François!
          Das war die Lösung.
          Luigi

          Kommentar


            #35
            Wünsche ans Christkind =Jeff ;-)

            Hallo Jeff!

            Ich würde es als sinnvoll finden, wenn man die Eingabemöglichkeit bei den Kontrollobjekten "sperren" könnte....
            (Traumhaft ware natürlich eine unterschiedliche Definition für Guest, user, Admin))

            zB bei der Anzeige eines "Wetter-GAD's" ist es nicht sinnvoll, wenn man die Anzeige durch klicken andern kann, dies betrifft auch den zB Multischalter...
            Es sollte ein Flag geben "nur Anzeige" oder "Bedienung sperren" - was meint der Rest der "Webknx-Gemeinde" dazu?
            EPIX
            ...und möge der Saft mit euch sein...
            Getippt von meinen Zeigefingern auf einer QWERTZ Tastatur

            Kommentar


              #36
              MySQL anbindung...

              Ich möchte meine logs auf einer MySQL Datenbank auf einen anderen Host speichern

              Linknx lauft auf 192.168.1.180

              Dazu habe ich folgende Konfigurationszeile erstellt:
              Code:
              <persistence type="mysql" host="192.168.1.99" user="linknx" pass="" db="eiblog" table="" logtable="log" />
              Es gibt die Datenbank eiblog und die Tabelle log:
              Code:
              [IMG]http://192.168.1.99/phpmyadmin/themes/original/img/item_ltr.png[/IMG] [URL="http://192.168.1.99/phpmyadmin/db_structure.php?db=eiblog&token=c694a20d7ec413b7b3dd734c1321c837"]        [IMG]http://192.168.1.99/phpmyadmin/themes/original/img/s_db.png[/IMG]  Datenbank: eiblog[/URL]     
                 log  
              MyISAM 
              latin1_general_ci
              1 Tabellen               
              Gesamt     0  Bytes
              ich erhalte jedoch als Fehlermeldung
              Code:
              PersistentStorage: storage type not supported: 'mysql'
              Hat jemand einen Tip?
              EPIX
              ...und möge der Saft mit euch sein...
              Getippt von meinen Zeigefingern auf einer QWERTZ Tastatur

              Kommentar


                #37
                Zitat von EPIX Beitrag anzeigen
                ich erhalte jedoch als Fehlermeldung
                Code:
                PersistentStorage: storage type not supported: 'mysql'
                Hat jemand einen Tip?
                Hallo,

                Mysql support is available in the linkx source code, but for the binary packages that I compile, I don't include it because it's very dependent on the libmysql.so library that the user has on his device and I don't want to spend my time investigating this kind of issue for every user.

                Regards,

                Jean-François

                Kommentar


                  #38
                  OK, danke für die rasche Antwort....
                  EPIX
                  ...und möge der Saft mit euch sein...
                  Getippt von meinen Zeigefingern auf einer QWERTZ Tastatur

                  Kommentar


                    #39
                    Linknx mit Ubuntu 8.04 SMTP Fehler

                    Hat jemand eine Idee?

                    <emailserver type="smtp" host="mail.domai.ch:25" from=martin@domain.ch login="web46_martin" pass="passord"/>

                    Ich habe immer den Fehler
                    "Gateway type smtp not supportet, libesmtp not available"

                    Ich habe sudo apt-get install libc6 libesmtp5 gemacht

                    Welche Lib muss ich auf dem Ubuntu 8.04 installieren um SMTP verwneden zu können?

                    Danke für einen Tipp

                    Kommentar


                      #40
                      Zitat von mwfv Beitrag anzeigen
                      Welche Lib muss ich auf dem Ubuntu 8.04 installieren um SMTP verwneden zu können?
                      Hallo,

                      Du musst libesmtp-dev und libesmtp installieren. Dann linknx neu kompilieren.
                      (in Ausgang von configure Skript musst du etwas wie "checking whether to use libesmtp yes" finden)

                      Gruss,

                      Jean-François

                      Kommentar


                        #41
                        Ubuntu 8.04 und libesmtp?

                        Zitat von jef2000 Beitrag anzeigen
                        Hallo,

                        Du musst libesmtp-dev und libesmtp installieren. Dann linknx neu kompilieren.
                        (in Ausgang von configure Skript musst du etwas wie "checking whether to use libesmtp yes" finden)

                        Gruss,

                        Jean-François
                        Leider finde ich unter Ubuntu die libesmtp nicht. Wenn ich die dafür die libesmtp5 installiere funktionierts auch nicht.
                        OK ist nicht so wichtig, dann geht halt das Mailversenden nicht, währe aber schön gewesen.
                        Hat jemand Linknx mit Ubuntu 8.04 am laufen?

                        "SMS sending using www.clickatell.com" habe auch nicht intergriert bekommen

                        währe für eine paar Tipps dankbar.

                        Kommentar


                          #42
                          @mwvf:
                          a) Hast du denn "libesmtp5" sowie "libesmtp-dev" installiert? (System-> Systemverwaltung-> Synaptic-Paketverwaltung , dort "Suche" libesmtp , haben beide Packete ein grünes Kästchen?)
                          b) Hast du danach nochmals das Configure script von Linknx laufen lassen und dort, wie von Jean-François geschrieben, die Meldung "checking whether to use libesmtp yes" bekommen?
                          c) Hast du dann Linknx neu übersetzt?

                          Man bräuchte schon eine etwas detailiertere Statusbeschreibung um das Problem einzugrenzen.

                          Gruß,
                          Marc
                          Gruß,
                          Marc

                          Kommentar


                            #43
                            Bin jetzt fast zum ende gekommen / Ubuntu 8.04 Howto

                            Jetzt lauft fast alles ... habe noch diesen kleinen Fehler Siehe unten:

                            Mein kleines Howto

                            Ubuntu 8.04.1, EIBD, Linknx

                            alles mit SUDO

                            EIBD
                            ----

                            Code:
                             
                            nano /etc/apt/sources.list
                            deb [URL]http://www.auto.tuwien.ac.at/~mkoegler/debian[/URL] eib main
                            deb-src [URL]http://www.auto.tuwien.ac.at/~mkoegler/debian[/URL] eib main
                             
                            cd ~root
                            nano qw  (Key einfügen und speicher)
                            [URL]https://www.auto.tuwien.ac.at/~mkoegler/index.php/eibdeb[/URL]
                             
                            apt-key add qw
                            apt-get update
                            apt-get install bcusdk
                            apt-get install pthsem-dev
                            Aufruf EIBD mit IP Adapter

                            eibd -D -T -S -d -i ipt:192.168.0.62 (z.B.)



                            Für Linknx ein paar Zusatze installieren
                            -------------------------------------

                            Code:
                            apt-get install build-essential bin86 libesmtp5 libesmtp-dev libcppunit-dev libcurl4-openssl-dev

                            Linknx
                            ------
                            linknx-0.0.1.25.tar.gz (runterladen)

                            Code:
                             
                            tar -xzf linknx-0.0.1.25.tar.gz
                            cd linknx-0.0.1.25
                            ./configure
                            make
                            make install
                            make check
                            ln -s /usr/local/share/doc/linknx /var/lib/linknx
                            Im Ordner /var/lib/linknx noch einen Ordner
                            Code:
                            mkdir persist
                            erstellen (weis nicht wozu)

                            linknx.xml anpassen
                            Code:
                            <knxconnection url="ip:127.0.0.1" />
                            usw.


                            Meine Fehlermeldung nach ./configure
                            -------------------------------------

                            Code:
                            checking for a BSD-compatible install... /usr/bin/install -c
                            checking whether build environment is sane... yes
                            checking for gawk... no
                            checking for mawk... mawk
                            checking whether make sets $(MAKE)... yes
                            checking for g++... g++
                            checking for C++ compiler default output file name... a.out
                            checking whether the C++ compiler works... yes
                            checking whether we are cross compiling... no
                            checking for suffix of executables... 
                            checking for suffix of object files... o
                            checking whether we are using the GNU C++ compiler... yes
                            checking whether g++ accepts -g... yes
                            checking for style of include used by make... GNU
                            checking dependency style of g++... gcc3
                            checking for gcc... gcc
                            checking whether we are using the GNU C compiler... yes
                            checking whether gcc accepts -g... yes
                            checking for gcc option to accept ISO C89... none needed
                            checking dependency style of gcc... gcc3
                            checking for ranlib... ranlib
                            checking how to run the C preprocessor... gcc -E
                            checking for GNU Pth... version 2.0.7, installed under /usr
                            checking for grep that handles long lines and -e... /bin/grep
                            checking for egrep... /bin/grep -E
                            checking for ANSI C header files... yes
                            checking for sys/types.h... yes
                            checking for sys/stat.h... yes
                            checking for stdlib.h... yes
                            checking for string.h... yes
                            checking for memory.h... yes
                            checking for strings.h... yes
                            checking for inttypes.h... yes
                            checking for stdint.h... yes
                            checking for unistd.h... yes
                            checking argp.h usability... yes
                            checking argp.h presence... yes
                            checking for argp.h... yes
                            checking for library containing argp_parse... none required
                            checking for cppunit-config... /usr/bin/cppunit-config
                            checking for Cppunit - version >= 1.9.6... 1.12.0
                            checking for gawk... (cached) mawk
                            checking for curl-config... /usr/bin/curl-config
                            checking for the version of libcurl... 7.18.0
                            checking for libcurl >= version 7.14.0... yes
                            checking whether libcurl is usable... yes
                            checking for curl_free... yes
                            checking for ANSI C header files... (cached) yes
                            checking fcntl.h usability... yes
                            checking fcntl.h presence... yes
                            checking for fcntl.h... yes
                            checking stddef.h usability... yes
                            checking stddef.h presence... yes
                            checking for stddef.h... yes
                            checking for stdlib.h... (cached) yes
                            checking for unistd.h... (cached) yes
                            checking for mysql_config executable... not found
                            checking libesmtp.h usability... yes
                            checking libesmtp.h presence... yes
                            checking for libesmtp.h... yes
                            checking whether to use libesmtp... yes
                            checking for stdbool.h that conforms to C99... yes
                            checking for _Bool... yes
                            checking for an ANSI C-conforming const... yes
                            checking for inline... inline
                            checking for int16_t... yes
                            checking for size_t... yes
                            checking for uint16_t... yes
                            checking for uint8_t... yes
                            checking for ptrdiff_t... yes
                            checking for pid_t... yes
                            checking vfork.h usability... no
                            checking vfork.h presence... no
                            checking for vfork.h... no
                            checking for fork... yes
                            checking for vfork... yes
                            checking for working fork... yes
                            checking for working vfork... (cached) yes
                            checking return type of signal handlers... void
                            checking for vprintf... yes
                            checking for _doprnt... no
                            checking for dup2... yes
                            checking for memmove... yes
                            checking for memset... yes
                            checking for strchr... yes
                            configure: creating ./config.status
                            config.status: creating Makefile
                            config.status: creating src/Makefile
                            config.status: creating ticpp/Makefile
                            config.status: creating include/Makefile
                            config.status: creating test/Makefile
                            config.status: creating conf/Makefile
                            config.status: creating config.h
                            config.status: executing depfiles commands

                            Meine Fehlermeldung nach make check
                            --------------------------------------

                            Code:
                             
                            ExceptionDays: 2009-4-1 is an exception day!
                            Services: stopping services
                            ExceptionDays: DELETE
                             
                             
                            ObjectTest.cpp:1040:Assertion
                            Test name: ObjectTest::testValueObject32Write
                            assertion failed
                            - Expression: v.getValue() == "3.1415"
                             
                            Failures !!!
                            Run: 108   Failure total: 1   Failures: 1   Errors: 0
                            FAIL: testmain
                            =================================
                            1 of 1 tests failed
                            Please report to [EMAIL="linknx@ouaye.net"]linknx@ouaye.net[/EMAIL]
                            =================================
                            make[2]: *** [check-TESTS] Fehler 1
                            make[2]: Verlasse Verzeichnis '/home/mwfv/Desktop/linknx-0.0.1.25/test'
                            make[1]: *** [check-am] Fehler 2
                            make[1]: Verlasse Verzeichnis '/home/mwfv/Desktop/linknx-0.0.1.25/test'
                            make: *** [check-recursive] Fehler 1
                            root@1d0sx040ub:/home/mwfv/Desktop/linknx-0.0.1.25#

                            Kommentar


                              #44
                              Hallo,

                              ich möchte von meiner Wetterstation über dil eletzten m minuten den Maximalwert ermtitteln. Ich verwende LUA scripting aber ich hab irgendwo gefunden dass man auf Conditions mit Skripten nicht triggern kann.
                              Der 1s timer knallt mir aber unnötiug das Logfile voll deshalb wäre ich ihn gerne los.

                              Code:
                               
                                      <rule id="WindMax">
                                          <condition type="and"> 
                                              <condition type="timer" trigger="true"> 
                                                  <every>1s</every> 
                                              </condition> 
                                              <condition type="script" trigger="true"> 
                                                  return tonumber(obj("z_windgeschwindigkeit")) > tonumber(obj("z_wind_max"));
                                              </condition> 
                                          </condition> 
                                          <actionlist>
                                              <action type="copy-value" from="z_windgeschwindigkeit" to="z_wind_max"/> 
                                          </actionlist>
                                      </rule>
                              Hat jemand eine bessere idee dazu? Kann man auf eine Werteänderung triggern?

                              Danke!

                              Kommentar


                                #45
                                Triggern auf

                                Hallo,

                                ich möchte von meiner Wetterstation über die letzten x Minuten den Maximalwert ermtitteln. Ich verwende LUA scripting aber ich hab irgendwo gefunden dass man auf Conditions mit Skripten nicht triggern kann.
                                Der 1s Timer funktioniert, knallt mir aber unnötiug das Logfile voll deshalb wäre ich ihn gerne los.

                                Code:
                                 
                                        <rule id="WindMax">
                                            <condition type="and"> 
                                                <condition type="timer" trigger="true"> 
                                                    <every>1s</every> 
                                                </condition> 
                                                <condition type="script" trigger="true"> 
                                                    return tonumber(obj("z_windgeschwindigkeit")) > tonumber(obj("z_wind_max"));
                                                </condition> 
                                            </condition> 
                                            <actionlist>
                                                <action type="copy-value" from="z_windgeschwindigkeit" to="z_wind_max"/> 
                                            </actionlist>
                                        </rule>
                                Hat jemand eine bessere Idee dazu? Kann man irgendwie auf eine Werteänderung triggern?

                                Danke!

                                Kommentar

                                Lädt...
                                X