Ankündigung

Einklappen
Keine Ankündigung bisher.

Loxone and KONNEKTING

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

    Loxone and KONNEKTING

    Hello everyone,

    I am very new to this arduino and KNX stuff. And it just isn't working for me. Also the German (Google) translated to Dutch isn't helping either. And half the images on this forum dont work for me.

    At the moment I just want to create extra inputs and outputs (Relay board).
    I have an Arduino Mega 2560 and a Siemens Bus coupling unit (5WG1 117-2AB12).

    I looked at different sites. But I want to try KONNEKTING.
    So I spent some time on the site and forums. But nobody works with a Mega2560?
    Ill get myself a Leonardo board tomorrow. Just to make it easy.

    So I launched the suite to try the knx connection.
    On a mac ... auto-detect ... It spits out some code. And hangs. Is it supposed to work?

    On a windows it finds the Loxone miniserver but I get the following:

    Code:
    Fehler beim Öffnen der KNX Verbindung: TUNNELING
    de.root1.slicknx.KnxException: Error connecting to KNX: error response from control endpoint /192.168.1.77:3671: could not accept new connection (maximum reached)
        at de.root1.slicknx.Knx.<init>(Knx.java:308)
        at de.konnekting.suite.Main.connectKnx(Main.java:247)
        at de.konnekting.suite.Main.access$100(Main.java:77)
        at de.konnekting.suite.Main$2.run(Main.java:169)
        at java.lang.Thread.run(Thread.java:745)
        at de.konnekting.suite.BackgroundTask$1.run(BackgroundTask.java:59)
    Caused by: tuwien.auto.calimero.exception.KNXRemoteException: error response from control endpoint /192.168.1.77:3671: could not accept new connection (maximum reached)
        at tuwien.auto.calimero.knxnetip.ClientConnection.connect(ClientConnection.java:190)
        at tuwien.auto.calimero.knxnetip.KNXnetIPTunnel.<init>(KNXnetIPTunnel.java:131)
        at tuwien.auto.calimero.link.KNXNetworkLinkIP.<init>(KNXNetworkLinkIP.java:142)
        at tuwien.auto.calimero.link.KNXNetworkLinkIP.<init>(KNXNetworkLinkIP.java:180)
        at de.root1.slicknx.Knx.<init>(Knx.java:301)
        ... 5 more
    Can someone help me out?

    Does anyone have a simple program with an input and output that I can try?

    #2
    First oft all, MEGA2560 current consuption is to high for Siemens BCU, it can be unstable. Leonardo works fine.

    Suite says:
    HTML-Code:
      error response from control endpoint /192.168.1.77:3671: could not accept new connection (maximum reached)
    that means, that your KNX Interface (Loxone?) can't accept more connections. Plesse check settings in Loxxone vor usw another interface.

    Kommentar


      #3
      I have been running an Arduino Mega 2560 for some time, but I supplied it with a separate power source using the ADUM1201 to separate the circuits.

      https://knx-user-forum.de/forum/proj...l-power-supply

      e.g. https://www.ebay.de/itm/ADUM1201-ADU...w/272511644049

      Have you been running the ETS in parallel, operating with the Bus/Groupmonitor or is there any visu running? Issue is with some KNX-IP-Interfaces that they only accept one connection at a time, so if you have ETS open and the connection occupied, you cannot have the Suite open a second channel. Loxone is not very popular here in this forum, btw ;-)

      Kommentar


        #4
        - So the error response is solved. I rebooted everything and it was ok.
        - What are the differences in ADumM 1201? I ordered tow of each BRZ CRZ WSRZ and WURZ. But no ARZ like your link.

        I got myself the Leonardo today. Can I plug in the usb and knx bus at the same time? It doesnt look like I am gonna get a working setup.

        I was trying the DS18B20, Com test and demo. Suite went into programming mode but did not respond to the programming button.

        Really dont know what I am doing wrong.

        Angehängte Dateien

        Kommentar


          #5
          I don‘t about the differences between the editions. But with the galvanic separation provided with ADUM1201 you can definetely have both USB and KNX connected at the same time.

          Looking at the picture I am not sure if your approagh is correct:
          - Use Arduino to flash the sketch to the board.
          - Then use the suite via KNX to transfer the configuration of your device.
          Tip: If your sketch is set to debug-mode, the suite has to be started in debug-mode as well...

          Kommentar


            #6
            What do you mean with
            Looking at the picture I am not sure if your approagh is correct:
            Thats how I am doing it? Plug in the usb to flash. Unplug the usb, plugin knx and use suite? Or do you mean I should disconnect the entire KNX module?

            However the debug tip kinda did it.
            I did get a lot of Time out errors though. But eventually it went through.
            Code:
             Waiting for answer of type de.konnekting.mgnt.protocol0x00.MsgAck timed out
            Success: 29*C?(I guess) Schermafbeelding 2018-03-31 om 11.23.50.png

            Now I just need to figure out how to make a simple in and output board. My relay board is 16ch though.
            Angehängte Dateien

            Kommentar


              #7
              Actually no. You are just seeing that the suite is trying to contact a device, which doesn‘t respond as the suite is saying.

              Have you been succesful in running any non-Konnekting Arduino KNX sketch? So, e.g. my first try was to just have the Arduino switching the light of my Workshop every 5 seconds on and off. Just sending messages to KNX. Blink Big :-D

              I had left KNX and USB connected during that time. Then I introduced the ADUM, then I played with the next type of library, then, later I fell in love with Konnekting...

              Kommentar


                #8
                The ARZ BRZ etc. are the different qualities in regards of maximum data-rate. Just check the datasheet. The „worst“ is 1MBit/s, which is already far beyond 9.6kBit/s of KNX or the 19.2kBit/s of the Siemens UART line.

                Kommentar


                  #9
                  Normal arduino sketches worked fine. Tried the DS18B20 first without KNX and saw the values on the serial monitor.
                  Then I tried the sketch with knx. And when the upload from the suite was succesfull I got the values on the KNX bus.
                  https://knx-user-forum.de/filedata/fetch?id=1217232
                  Thats from the KNX monitor on my Loxone Miniserver. And under "waarde" where it says value 29,00 is what was measured. I put it in my mouth and it went up to 36. Now its steady at 20,8.
                  It has to be working then?

                  Code:
                  [Programming] 1.1.20 KONNEKTING Temperatur DS18B20
                  [Programming] Initialize ...
                  [Programming] Reading com-objects ...
                  [Programming] Reading parameters ...
                  [Programming] Progress: 1/16
                  [Programming] Please press 'program' button...
                  [Programming] Progress: 2/16
                  [Programming] Starting programming...
                  [Programming] Progress: 3/16
                  [Programming] Writing comobject #0 / active=true
                  [Programming] Progress: 4/16
                  [Programming] Writing comobject #1 / active=false
                  [Programming] Progress: 5/16
                  [Programming] Writing comobject #2 / active=false
                  [Programming] Progress: 6/16
                  [Programming] Writing parameter #0
                  [Programming] Progress: 7/16
                  [Programming] Writing parameter #1
                  [Programming] Progress: 8/16
                  [Programming] Writing parameter #2
                  [Programming] Progress: 9/16
                  [Programming] Writing parameter #3
                  [Programming] Progress: 10/16
                  [Programming] Writing parameter #4
                  [Programming] Progress: 11/16
                  [Programming] Writing parameter #5
                  [Programming] Progress: 12/16
                  [Programming] Writing parameter #6
                  [Programming] Progress: 13/16
                  [Programming] Writing parameter #7
                  [Programming] Progress: 14/16
                  [Programming] Stopping programming...
                  [Programming] Progress: 15/16
                  [Programming] Triggering device restart...
                  [Programming] Progress: 16/16
                  [Programming] Done!
                  [Programming] Progress: 16/16
                  [Programming] Done! Duration: 9578 ms

                  Ok so all the ones Im getting are fine.
                  Zuletzt geändert von RobinL; 31.03.2018, 14:08.

                  Kommentar


                    #10
                    So al is working now. Thanks for the help!

                    Kommentar

                    Lädt...
                    X