Ankündigung

Einklappen
Keine Ankündigung bisher.

eBus->USB->Plugin->KNX

Einklappen
Dieses Thema ist geschlossen.
X
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Zitat von yuhu Beitrag anzeigen
    hi,

    test your data with libebus.

    csv file:
    get;vr903_1;RoomTempAct;Raumisttemperatur;MS;1C;B5 09;3;0D0000;2;temp;sd;1,2;d2c;1.0;°C;-;Temperatur;sensor;sd;3;uch;-;-;-;Fühler;;;;;;;;;;;;;;;;

    Code:
    jaxrola@media ~/src/__github/libebus $ ./test_commands 
    Commands: 6
    found at index: 3
    D2C: [COLOR=Blue]5001[/COLOR]
    UCH: [COLOR=SeaGreen]00[/COLOR]
    result: [COLOR=Blue]21[/COLOR] [COLOR=SeaGreen]0[/COLOR]
    test your data with csv

    csv file:
    cyc;vr903_1;RoomTempAct;Raumisttemperatur;MS;1C;B5 09;3;0D0000;2;temp;sd;1,2;d2c;1.0;°C;-;Temperatur;sensor;sd;3;uch;-;-;-;Fühler;;;;;;;;;;;;;;;;
    cyc only for test necessary

    Code:
    jaxrola@media ~/src/__github/ebusd $ tools/csv ../libebus/test/.
    2014-05-06 12:41:25.832 [NOT] ../libebus/test/./command.csv
    2014-05-06 12:41:25.832 [NOT] ../libebus/test/./command.csv success
    Test command >[COLOR=Black]cyc[/COLOR] vr903_1 RoomTempAct< 
    2014-05-06 12:41:25.832 [EBH]   ff 1c b5 09 03 0d 00 00 6b 00 03 [COLOR=Blue]50 01[/COLOR] [COLOR=SeaGreen]00[/COLOR] 58 00
    2014-05-06 12:41:25.832 [NOT]  found: 1CB509030D0000 type: MS ==> id: 3
    2014-05-06 12:41:25.832 [NOT]  found: 1CB509030D0000 type: MS ==> id: 3
    2014-05-06 12:41:25.832 [DBG] id: 3 elem: 0 p1: 1 p2: 2 p3: 0 p4: 0
    2014-05-06 12:41:25.832 [DBG] buf: [COLOR=Blue]21.000000[/COLOR]
    2014-05-06 12:41:25.832 [DBG] id: 3 elem: 1 p1: 3 p2: 0 p3: 0 p4: 0
    2014-05-06 12:41:25.832 [DBG] buf: [COLOR=SeaGreen]0[/COLOR]
    tcpbuf: [COLOR=Blue]21.000000[/COLOR] [COLOR=SeaGreen]0[/COLOR]
     tcpbuflen: 12
    with both implementations i got the same, correct result.
    fisrt I don't know these two tools...

    with libebus I obtained always:
    root@ubuntunb:~/libebus# ./test_commands
    Commands: 11
    found at index: -1
    terminate called after throwing an instance of 'std::bad_alloc'
    what(): std::bad_alloc
    Annullato (core dump creato)


    with:
    root@ubuntunb:~/ebusd# tools/csv ../libebus/test/.
    2014-05-06 19:43:26.115 [NOT] ../libebus/test/./command.csv
    2014-05-06 19:43:26.115 [NOT] ../libebus/test/./command.csv success

    root@ubuntunb:~/ebusd# more ../libebus/test/command.csv
    # type;class;cmd;comment;msg type;ZZ;PBSB;NN;D1D2D3;elements;sub;part;position; datatype;factor;unit;valid;comment;sub;part;positi on;datatype;factor;unit;vali
    d;comment;sub;part;position;datatype;factor;unit;v alid;comment;sub;part;position;datatype;factor;uni t;valid;comment
    cyc;vr903_1;RoomTempAct;Raumisttemperatur;MS;1C;B5 09;3;0D0000;2;temp;sd;1,2;d2c;1.0;°C;-;Temperatur;sensor;sd;3;uch;-;-;-;Fühuh;;;;;;;;;;;;;;;;


    so for you is a bug in ebusd decode function? so how to explain to ebusd team about the bug?

    Kommentar


      Zitat von modenet Beitrag anzeigen
      so for you is a bug in ebusd decode function? so how to explain to ebusd team about the bug?
      i am the developer of this tools.

      at the moment i can't reproduce your results, so i can't find any bug.

      did you install the latest version of ebusd from github?

      maybe you can remove all csv files and install a new one with just those interesting entries.

      which software and hardware do you use?

      Kommentar


        Zitat von yuhu Beitrag anzeigen
        i am the developer of this tools.
        uaoo! excuse me but I didn't know that you was the developer of such useful tool, compliment again for your works!

        I'm using the last version of ebusd (also today I did git update to keep my version update) and as interface the usb version of eBus

        I redo the same test with a simple csv file (the unique in the directory):

        2014-05-07 00:20:06.875 [NOT] /etc/ebusd/vr903.csv
        2014-05-07 00:20:06.875 [NOT] /etc/ebusd/vr903.csv success
        2014-05-07 00:20:06.883 [INF] /dev/ttyUSB1 opened
        2014-05-07 00:20:06.883 [INF] port 7777 opened
        2014-05-07 00:20:06.884 [INF] msg queue initialized
        2014-05-07 00:20:10.072 [DBG] client [6] from 127.0.0.1 connected.
        2014-05-07 00:20:14.557 [NOT] search: get vr903_1.RoomTempAct
        2014-05-07 00:20:14.557 [NOT] found: 1CB509030D0000 type: 0 ==> id: 0
        2014-05-07 00:20:14.557 [NOT] data: -
        2014-05-07 00:20:14.557 [DBG] add: id: 0 clientfd: 6 ==> entries: 1
        2014-05-07 00:20:14.563 [DBG] del: id: 0 clientfd: 6 ==> entries: 0
        2014-05-07 00:20:28.147 [NOT] search: get vr903_2.RoomTempAct
        2014-05-07 00:20:28.147 [NOT] found: 3CB509030D0000 type: 0 ==> id: 1
        2014-05-07 00:20:28.147 [NOT] data: -
        2014-05-07 00:20:28.147 [DBG] add: id: 1 clientfd: 6 ==> entries: 1
        2014-05-07 00:20:28.190 [DBG] del: id: 1 clientfd: 6 ==> entries: 0
        2014-05-07 00:20:33.907 [INF] msg queue freeed
        2014-05-07 00:20:33.907 [INF] port 7777 closed
        2014-05-07 00:20:33.908 [INF] /dev/ttyUSB1 closed

        Kommentar


          hi modenet!

          Is it possible for you to install the C++ implementation (libebus and ebus-daemon) instead of the deprecated ebusd?

          https://knx-user-forum.de/forum/supp...wiregate/35702

          Kommentar


            great works! yes, with ebus-daemon I obtained the results:

            get vr903_2 RoomTempAct
            21.8125 0
            get vr903_3 RoomTempAct
            22.25 0
            get vr903_1 RoomTempAct
            22.5 0

            do you recommend to substitute ebusd with ebus-daemon?
            or the code of ebus-daemon will be ported to ebusd?

            Kommentar


              Zitat von modenet Beitrag anzeigen
              great works! yes, with ebus-daemon I obtained the results:

              get vr903_2 RoomTempAct
              21.8125 0
              get vr903_3 RoomTempAct
              22.25 0
              get vr903_1 RoomTempAct
              22.5 0
              great!
              Zitat von modenet Beitrag anzeigen
              do you recommend to substitute ebusd with ebus-daemon?
              or the code of ebus-daemon will be ported to ebusd?
              ebusd will no longer be maintained in future.
              ebus-daemon is an fresh implementation in C++ to communicate with ebus.
              And yes, i recommend the usage of ebus-daemon instead of ebusd.

              Kommentar


                I can't use the configuration file: see https://knx-user-forum.de/forum/supp...wiregate/35702

                have I to use also the new csvs instead of the ones included in ebusd?

                Kommentar


                  Zitat von modenet Beitrag anzeigen
                  I can't use the configuration file: see https://knx-user-forum.de/forum/supp...wiregate/35702

                  have I to use also the new csvs instead of the ones included in ebusd?
                  Yes, please use the csv files which are included to ebus-daemon.
                  Although these are almost the same, except for the byte sequence of a few data types.

                  Kommentar


                    Zitat von modenet Beitrag anzeigen
                    great works! yes, with ebus-daemon I obtained the results:

                    get vr903_2 RoomTempAct
                    21.8125 0
                    get vr903_3 RoomTempAct
                    22.25 0
                    get vr903_1 RoomTempAct
                    22.5 0
                    another question: I did a modify to ebus code to cancel all text after the first space, in order to write only the first result (the second is 0 as you can see above).
                    do you think that you could do the same on ebus-daemon? otherwise software such as vwmon will not work.

                    Kommentar


                      Zitat von modenet Beitrag anzeigen
                      another question: I did a modify to ebus code to cancel all text after the first space, in order to write only the first result (the second is 0 as you can see above).
                      do you think that you could do the same on ebus-daemon? otherwise software such as vwmon will not work.
                      hi,

                      there is no reason to modify the code to do this. it is just a matter of configuration and usage.

                      the ebus command is defined as follow.

                      get;vr903_1;RoomTempAct;Raumisttemperatur;MS;1C;B5 09;3;0D0000;2;temp;sd;1,2;d2c;1.0;°C;-;Temperatur;sensor;sd;3;uch;-;-;-;Fühler;;;;;;;;;;;;;;;;

                      2 << number of elements (sub commands)
                      temp;sd;1,2;d2c;1.0;°C;-;Temperatur << first element (sub command)
                      sensor;sd;3;uch;-;-;-;Fühler << second element (sub command)


                      if you are only interested in the first element (temperature), you need to use the command as follows

                      get vr903_1 RoomTempAct temp

                      if no sub command is given, all elements will be returned.

                      remember: type class command [sub]

                      Kommentar


                        Ebusd log Korrekt?

                        Hallo,

                        ich wollte schon immer Daten meiner Heizung loggen. Nun scheint es dank ebusd möglich zu sein. Danke!

                        Ich habe einen EBUS Koppler USB (eservice) per ebus an eine Vaillant auroMATIC 620 am seitlichen 4 poligen Stecker angeschlossen, da die Anschüsse innerhalb der auroMATIC 620 und des Gas-Wandheizgerätes ecoTEC 196/3-5 schon belegt waren. (Verbindung zueinander).

                        Der EBUS Koppler war an meinem betagten Debian-Server (600 Mhz Laptop) und ist nun am Raspberry Pi angeschlossen.

                        Bei beiden Installationen ist der EBUS-Daemon mit Speicherzugriff ausgestiegen.

                        Nach anderer Justierung der Potis läuft der Daemon stabil und das log sieht anders aus. (Anhang putty_ebusd_aktuell.log)

                        Sollte das log so aussehen?

                        Vom User "modenet" habe ich die vaillant_620.csv in das Konfig Verzeichnis kopiert.

                        Alle meine Get Befehl Versuche funktionieren nicht!

                        Gruss,
                        Michael
                        Angehängte Dateien

                        Kommentar


                          hi,

                          las dir am besten alles anzeigen. zwischen den nachrichten sollte mindestens 1x AA vorkommen.

                          cu

                          Kommentar


                            Hallo ich stehe noch ganz am Anfang und würde gerne meine Vailland Therme über EBUS steuern nur leider finde ich in diesen doch recht schon sehr langen Thread niergens eine anleitung wie man Ebusd auf einen Raspian-Pi instaliert bin leider auch nicht gerade der beste in Linux würde mich freuen wenn mir einer helfen könnte

                            Gruß

                            Christan

                            Kommentar


                              Zitat von buschmann Beitrag anzeigen
                              Hallo ich stehe noch ganz am Anfang und würde gerne meine Vailland Therme über EBUS steuern nur leider finde ich in diesen doch recht schon sehr langen Thread niergens eine anleitung wie man Ebusd auf einen Raspian-Pi instaliert bin leider auch nicht gerade der beste in Linux würde mich freuen wenn mir einer helfen könnte
                              Hallo,

                              eine Anleitung und Beschreibung für ebusd findest Du unter: Ebusd - Open Automation

                              Alternativ würde ich libebus + ebus-daemon installieren. (Anleitung siehe ReadMe.)

                              Ich habe dazu vor 2 Wochen offiziell zu einem Beta-Test eingeladen, läuft bei mir aber bereits produktiv.
                              Ein Vorteil wäre, dass dies im Gegensatz zum derzeitigen ebusd aktiv gepflegt und weiter entwickelt wird.

                              Aussicht: Wenn der ebus-daemon gereift ist könnte dieser als "ebusd Version 0.2" übergeführt werden.

                              Kommentar


                                Zitat von yuhu Beitrag anzeigen
                                Aussicht: Wenn der ebus-daemon gereift ist könnte dieser als "ebusd Version 0.2" übergeführt werden.
                                Wie angekündigt habe ich ebus-daemon in ebusd v0.2.0 übergeführt.

                                Ab nun muss libebus + ebusd installiert werden.

                                Kommentar

                                Lädt...
                                X