Ankündigung

Einklappen
Keine Ankündigung bisher.

EibLib/Ip & EibNet/IP

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

    EibLib/Ip & EibNet/IP

    Hi,

    I would like to learn more about those protocols.
    Can someone point me to some reading about the topic, please ?
    I've read many posts here and in the other forum, still no clue.




    So far, my tentative conclusions are:
    • EibLib/IP is a more "older" protocol
    • EibNet/IP is a more "modern" protocol, OSI compliant, uses broadcast, can be used for routing & tunneling
    • ETS uses either EibLib/IP or EibNet/IP
    • iETS ???
    • The HS uses only EibLib/IP (no other option available, )
    • eibd uses only EibNet/IP (either routing or tunneling, no EibLib/IP )
    Thank you for putting me right.

    PS: I guess the admins will sent me to the Wiki, but the pointer to the Wiki is gone from the forum Toolbar ?

    #2
    Wiki was replaced by lexikon :-)

    First: HS uses Eibnet/Ip!
    Gruß Matthias
    EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
    - PN nur für PERSÖNLICHES!

    Kommentar


      #3
      Zitat von MatthiasS Beitrag anzeigen
      HS uses Eibnet/Ip!
      This is rather good news
      From a recent post, I understood that it is not possible to use the HS as an IP gateway, from eibd to the bus.
      But if both speak the same protocol, EibNet/IP, it should be possible ?
      I miss something here ?

      Also, In my case, I've configured ETS for EibLib/IP and I use the HS as gateway to program my KNX devices.

      I might be wrong but I guess the HS uses also EibLib/IP ? maybe both ? maybe it is configurable somewhere ?

      Thank you for shading some light in my darkness

      Kommentar


        #4
        Correct, HS can use KNXnet/IP Routing to access the bus, but it does not provide an KNXnet/IP Server for other IP-devices.

        In any case (independently which Interface the HS uses for bus-access) it provides an EIBLib/IP Server which can be used with with ETS3 to access the bus.

        ETS 3.0f now also supports KNXnet/IP Routing to access the bus, previous versions only support KNXnet/IP Tunneling or EIBLib/IP.
        Means an IP-Router might be shared by i.e. ETS30f,HS,eibd.

        Finally, EIBNet/IP = KNXnet/IP and iETS is AFAIK only another wording for using an EIBLib/IP Server to access the Bus with ETS..


        Makki
        EIB/KNX & WireGate & HS3, Russound,mpd,vdr,DM8000, DALI, DMX
        -> Bitte KEINE PNs!

        Kommentar


          #5
          Zitat von makki Beitrag anzeigen
          HS can use KNXnet/IP Routing to access the bus, but it does not provide an KNXnet/IP Server for other IP-devices.
          Aah, the missing link !
          So far, I've seen serious contradictions in several posts, about this topic.
          All clear now, thank you.

          If I get you right, we only miss the Server part of KNXnet/IP on the HS.
          Wouldn't that be a good idea for our friends of DaCom , to put it on their "to do list" (I mean .... on top of the list , and push that QC in a black hole )
          In such case, it wouldn't be needed for HS owners to buy yet another IP interface (N148 163€ ) but rather make the HS a valuable investment

          I'm sure you guessed the question is still in the context of the Cisco/eibd project mentionned here (yes, I'm a bit of a "hard neck" )
          Now, it all boils down to a "no go"
          A pitty. So far I'm able to switch a lamp On/off from the phone, but to make a decent application I need some primitives. The only php samples I've found are about EibNet/IP.

          Kommentar


            #6
            Zitat von Warichet Beitrag anzeigen
            In such case, it wouldn't be needed for HS owners to buy yet another IP interface (N148 163€ ).
            Sorry, i do not understand. With my HS I can use ETS for programming KNX devices and at the same time the hs does its own work. With just ONE interface.

            So, the missing "server", what is it good for?
            Gruß Matthias
            EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
            - PN nur für PERSÖNLICHES!

            Kommentar


              #7
              Zitat von MatthiasS Beitrag anzeigen
              So, the missing "server", what is it good for?
              Sorry, I should have been more explicit.

              My reasoning is based on Makki's reply
              HS can use KNXnet/IP Routing to access the bus, but it does not provide an KNXnet/IP Server for other IP-devices.
              Let me elaborate a bit.
              I'm busy with a project where I want to use a Cisco phone (VoIP) as a KNX Visu. I need a way (primitives and API) to read/write to the bus, and I thought eibd would do it. Indeed, so far I can switch a lamp On/Off with the phone's TouchScreen.
              But in order to have a decent Visu, I need to develop some PHP code on the eibd server.
              So far, I've only found PHP code for the EibNet protocol.
              I thought the HS could fullfill the function of IP gateway for all other IP devices (which is my understanding of a gateway).
              It turns out that my expectations are wrong, hence I either
              • drop the project
              • buy a N148


              Please note that I'm a newbee in the field of KNX programming. So it might very well be that one of my base assumptions is wrong, in which case, bardaff

              Pssst: a Visu in each room ? with a TouchScreen ? any taker ?

              Kommentar


                #8
                Zitat von Warichet Beitrag anzeigen
                But in order to have a decent Visu, I need to develop some PHP code on the eibd server.
                You could use linknx and knxweb. No PHP programming required for a normal Visu IIRC. (And special XML stuff can be done by using only the XML protocol of linknx and the usual XML transformations)
                Zitat von Warichet Beitrag anzeigen
                I thought the HS could fullfill the function of IP gateway for all other IP devices (which is my understanding of a gateway).
                It turns out that my expectations are wrong
                That's my understanding as well.
                TS2, B.IQ, DALI, WireGate für 1wire so wie Server für Logik und als KNX Visu die CometVisu auf HomeCockpit Minor. - Bitte keine PNs, Fragen gehören in das Forum, damit jeder was von den Antworten hat!

                Kommentar


                  #9
                  Warichet, I was struggling around with exactly the same, maybe the reason I can follow you

                  Anyway, indeed the following options are left:
                  - use the KO-Gateway of HS
                  - i.e. use the "4 Werte aus/in XML" Baustein as "Interface"
                  Probably not what I'd call the most clever way (specific to HS, inflexible and hard to code)

                  So left is indeed buying a separate IP-Router (N148 etc.) or get a TP-UART interface for the eibd. Its ~50 EUR and really works like a charm, also gives an independent bus-access and at least a "basic" IP-Router.
                  I'll further dig on using eibd with IP-Routing enabled as Interface for the HS sometime, as it should theoretically work. In real life my first tests failed as mentioned with scan-errors, the remainder worked during my tests (1 day)..

                  Edit: and as we're probably two out of 5 people asking for this at all, I would understand if this won't make it on the Top10-asked features for the HS

                  Makki
                  EIB/KNX & WireGate & HS3, Russound,mpd,vdr,DM8000, DALI, DMX
                  -> Bitte KEINE PNs!

                  Kommentar


                    #10
                    Zitat von makki Beitrag anzeigen
                    - use the KO-Gateway of HS
                    - i.e. use the "4 Werte aus/in XML" Baustein as "Interface"
                    No, thanks

                    Zitat von makki Beitrag anzeigen
                    I'll further dig on using eibd with IP-Routing enabled as Interface for the HS sometime, as it should theoretically work.
                    It would be nice if you could share your findings

                    Zitat von makki Beitrag anzeigen
                    as we're probably two out of 5 people asking for this at all, I would understand if this won't make it on the Top10-asked features for the HS
                    Oh well, one dummy could save the bunch
                    Also, some projet managers do have a visionary approach (as opposed to just bug fixing). They are able to identify the market needs, years ahead .....

                    One day, IP will rule the world (might not be be v4)

                    Kommentar


                      #11
                      @makki
                      Kannst du mir als Laien mal in einfachen Worten erklären (in ganz einfachen bitte), was der HS lernen muss, damit Warichets Anforderunegn erfüllt werden können? Das erschließt sich mir überhaupt nicht.
                      Gruß Matthias
                      EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
                      - PN nur für PERSÖNLICHES!

                      Kommentar


                        #12
                        @Matthias: EIBnet/IP als "Server".
                        Also eine zusätzliche Option, die - genau wie die iETS-Funktion auch - anderen IP-Geräten den Buszugriff über den HS ermöglicht. Nur eben mit EIBnet/IP (Routing) statt EIBlib/IP.

                        Das macht natürlich nur Sinn wenn der HS selbst z.B. mit einer FT1.2 an den Bus angebunden ist, damit man keinen zusätzlichen IP-Router á la N146 und keine weitere BCU für (z.B.) den eibd benötigt.

                        Wie aufwändig das ist, k.A., aber das Protokoll ist ja "clientseitig" schon im HS implementiert.

                        Das mit dem Laien nehm ich Dir aber nicht ab

                        Makki
                        EIB/KNX & WireGate & HS3, Russound,mpd,vdr,DM8000, DALI, DMX
                        -> Bitte KEINE PNs!

                        Kommentar


                          #13
                          Zitat von Warichet Beitrag anzeigen
                          But in order to have a decent Visu, I need to develop some PHP code on the eibd server.
                          So far, I've only found PHP code for the EibNet protocol.
                          Hi,

                          I don't understand what the PHP code has to do with EIBlib or EIBNet.
                          The advantage of eibd is to be able to access the bus using the eibd client library (available for C, java and PHP), whatever bus connection type is used (serial, usb, EIBnet/IP tunneling or routing, tpuart).

                          I never used the PHP version of the client library, but it looks like a PHP mapping of the C client library.

                          Regards,

                          Jean-François

                          Kommentar


                            #14
                            Zitat von jef2000 Beitrag anzeigen
                            I don't understand what the PHP code has to do with EIBlib or EIBNet.
                            As such ? nothing !
                            It's a personal choice. Not being a professional developper, I found it easier to learn than C.

                            Zitat von jef2000 Beitrag anzeigen
                            (available for C, java and PHP)
                            Pointing me to a piece of PHP code, with a practical example of the client library usage would be appreciated, especially the syntax of using a BCU1.
                            So far, I've only found PHP samples making use of IP.

                            Kommentar


                              #15
                              Zitat von Warichet Beitrag anzeigen
                              Pointing me to a piece of PHP code, with a practical example of the client library usage would be appreciated, especially the syntax of using a BCU1.
                              So far, I've only found PHP samples making use of IP.
                              That's what I'm saying. If you use the client library of EIBD, the syntax of the PHP code is the same. There is no difference wether you use BCU1 or EIBNet/IP. The only difference you will see is on the command line when you start eibd.

                              For example, with eibd, you can use the command "groupswrite ip:127.0.0.1 0/1/31 1". The fact that your EIB bus is connected using a BCU1 serial interface, USB or EIBnet/IP interface makes no difference. The differences between different bus interfaces are hidden inside eibd and the client library used by groupswrite is independent of the bus interface you use.

                              Jean-François

                              Kommentar

                              Lädt...
                              X