Ankündigung

Einklappen
Keine Ankündigung bisher.

Develop KNX software in C#

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

    KNX/EIB Develop KNX software in C#

    Hi all,

    I have just started to develop some codes for controlling my KNX/EIB devices in Visual Studio 2010.

    Anyone more doing this? Maybe we can exchange experiences?

    So why am I doing this? Many of you are like me, using *nix as well as windows, but there is people that thinks that *nix is messy, to hard and way out of their competence. After setting up a ubuntu server with eibd, linknx and knxweb2 and showed that to a neighbour he asked if there was a windows version for that that he could put on his windows homeserver.
    As a software developer I thought "How hard could that be" and started to play around, and its not so hard actually.

    My goal is to make a windows version of eibd in VS 2010 C#, would this be interesting for more than just my neighbour?

    /Martin

    #2
    I think there is no need for EibD on Widows. Such a Project is just a waste of time.

    Kommentar


      #3
      Hi Martin,

      there are a few requests here for options to talk to the knx bus from Windows. In my opinion it could be an interessting thing if it works well. I'm very comfortable with the dotnet framework, so I'm looking forward to such an implementation to do some stuff in a good known language. Would I let a windows server control my house? This is another question which I can't answer till I tried it myself.
      Mit freundlichen Grüßen
      Niko Will

      Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
      - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

      Kommentar


        #4
        there has been done a approach by m.dehof, a german...

        His project, "leibnix" can be found on his hoempage, and as the code is opensource you can use it. (he developed an ocx)
        I've done it a few years ago and it has been working good and reliant.

        The connection is over FT1.2 - a standard coupler

        my EIB projects

        hth
        EPIX
        ...und möge der Saft mit euch sein...
        Getippt von meinen Zeigefingern auf einer QWERTZ Tastatur

        Kommentar


          #5
          Hi,

          be aware of .net Version. On Windows we've got 1.1, 2.0, 3 and 4. On *nix Mono is on Version 2, as far as I know.

          I've also looked at eibd sources and wanted to adapt in on .net. The only problem is and was: time.

          On windows eibd should work with cgywin (for your neighbour :-)

          regards
          CometVisu 0.10.2 (0.11.0 im Test), EIBD auf RaspberryPi A, sowie auf SYNOLOGY DSM 6.2 nativ mit linknx.

          Kommentar


            #6
            I have made a lot of conversions from *nix software to windows, and it always ends up with that's it better to start from scratch and just look at the functionallity.

            One other thing thats make me wanna do it is that I will learn something, and ofcourse it easier to get just the functions that I want to have

            /Martin

            Kommentar


              #7
              You know that there is the "Falcon Toolkit 2.0" available directly from the KNX Association free of charge? Falcon supports KNX-access via IP, USB and RS232 and it is well documented and supported through the technical support department of the KNX Association. In fact, ETS4 uses Falcon 2.0 to access KNX.

              You can register for a KNX Online Shop account, Falcon can be downloaded from the shop https://onlineshop.knx.org/login

              Kommentar


                #8
                Yes Markuss, I'm building on the EIBA.Falcon.Interop DLL from Falcon 2.0
                /Martin

                Kommentar


                  #9
                  Zitat von tellblom Beitrag anzeigen
                  One other thing thats make me wanna do it is that I will learn something, and ofcourse it easier to get just the functions that I want to have

                  /Martin
                  Hi Martin,
                  as MarkusS posted before you can use the Falcon Framework
                  to communicate withe KNX System.
                  But you won't get just some functions.... you will be oblieged
                  to understand and handle the philosophy/regulations of KNX bus communication.

                  If you're just about to do somekind of controlling (sending write commands) this is not of any concern to you.

                  Tricky thoughts are needed if you are trying to realize somekind of
                  "status visualization".
                  Emitting an read request to obtain an "group address value" may lead to a
                  horrible busload and strange side ecffects.

                  But I'm not here to disencourage you!
                  .just to throw in the missing questions.

                  greetings from Gamma!
                  Never stop thinkin´

                  Kommentar


                    #10
                    Hi tellblom,

                    my house is also built with KNX and I'm working daily with c#.
                    Maybe we can work together on your project?

                    Regards,
                    Sascha

                    Kommentar


                      #11
                      It seems like a good Idea

                      I have come so foor that i can send and read package on the network (i.e I can read the status of the attached devices and set some of the datya (that is I can light up a lamp and turn it of again ))

                      Kommentar


                        #12
                        Could you please post your c# code?

                        Kommentar

                        Lädt...
                        X