Guntamatic Heizkessel mit Modbus/TCP verbinden

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • stefan.schneiderbauer
    Dumb Home'r
    • 02.11.2017
    • 16

    #1

    Guntamatic Heizkessel mit Modbus/TCP verbinden

    Hallo liebe Forumsmitglieder,

    Ich hätte ein Anliegen zur Anbindung meines Heizkessels der Fa. Guntamatic mittels Modbus TCP

    Mein Problem hierbei ist, das ich zur Verbindungsherstellung einen Schlüssel senden muss (den ich von der Herstellerfirma schon erhalten habe), um eine Verbindung zum Kessel zu bekommen.

    Leider habe ich nicht wirklich Ahnung von Modbus, eine Abfrage würde ich glaube noch hinbekommen, aber wie sende ich diesen Code?
    Weiters noch die Screenshots meiner akutellen Konfiguration.
    Die Mappingtabelle habe ich von der Steuerung schon auslesen können.

    Vielleicht kann mir hier wer weiterhelfen!

    Danke!



  • Gast

    #2
    Hallo Loxone Gemeinde!
    Ähnlich wie Stefan hat auch mich Guntamatic dazu bewegt nun endlich einen Account in diesem wirklich tollen Forum anzulegen. Ich lese schon oft darin, doch nun stehe ich vor demselben Problem wie Stefan vor fast exakt 4 Jahren.
    Wie kann man via Modbus TCP einen Schlüssel, der aus 36 Zeichen besteht übertragen?
    Laut Anleitung des Herstellers müssen die 36 Zeichen des Schlüssels in hex-ASCII Codes konvertiert und dann je zwei aufeinanderfolgende HEX Codes in fortlaufende Register ab Adresse 0x0100 geschrieben werden und zuletzt ein Register als Endekennung 0x0000 (d.h. insgesamt 19 Register). Die Übertragung wird dann per Befehl 16 - Preset multiple register geschrieben.

    Vielleicht stehe ich ja auf der Leitung aber im Moment habe ich keine Idee dazu diesen Schlüssel zu übertragen und freue mich über jeden Hinweis.
    Danke und LG!
    Analogaktor
    Angehängte Dateien

    Kommentar

    • Gast

      #3
      hmmmm... kann hier wirklich niemand helfen?

      Kommentar

      • Schlauder
        Smart Home'r
        • 27.03.2022
        • 32

        #4
        Servus,
        habt Ihr eine Lösung gefunden ?
        Habe ebenfalls einen Heizkessel von Guntamatic...

        Kommentar

        • arnaud
          Dumb Home'r
          • 14.11.2017
          • 10

          #5
          Hello,
          do you finally succeed to communicate with your Gunta ?
          i have a THERM10 now, and i realy want to drive it into Loxone.

          Kommentar

          • arnaud
            Dumb Home'r
            • 14.11.2017
            • 10

            #6

            Hello to all,
            i don't give upo !!!

            I am making progress little by little.
            I can change the operating mode of the boiler from my browser (from ON to OFF for example)
            but I have no idea how to translate this into Loxone.

            here are the 3 requests I send to set the boiler to OFF, Normal, Heating only.

            http://BOILER_IP/ext/parset.cgi?syn=HK201&value=0&key=SECRETKEY
            http://BOILER_IP/ext/parset.cgi?syn=HK201&value=1&key=SECRETKEY
            http://BOILER_IP/ext/parset.cgi?syn=HK201&value=2&key=SECRETKEY

            HK201 : corresponds to heating, and Value change the mode.

            i have no idea how to configure that in loxone config. i've watched to virtual outpout http ... but it's chineese for me.

            if someone can explain to me how i can find the right configuration.
            i don't understand how to find those informations.

            br.

            Kommentar

            • Christian Fenzl
              Lebende Foren Legende
              • 31.08.2015
              • 11238

              #7
              Virtual Output:
              Code:
              http://192.168.220.56
              Virtual Output Command:
              Command for ON: /ext/parset.cgi?syn=HK201&value=0&key=….

              Another Virtual Output Command:
              Command for ON: /ext/parset.cgi?syn=HK201&value=1&key=….

              and another for value=2

              Don’t forget to insert your key.

              Christian
              Zuletzt geändert von Christian Fenzl; 24.03.2023, 05:13.
              Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

              Kommentar

              • arnaud
                Dumb Home'r
                • 14.11.2017
                • 10

                #8
                thank you for your answers I will test all this when I have a few minutes and I will make a return here to advance the science :-)

                Kommentar

                • arnaud
                  Dumb Home'r
                  • 14.11.2017
                  • 10

                  #9
                  hallo,
                  unofrtunaly, it does nothing.
                  look at the attachements here is my conf.
                  Klicke auf die Grafik für eine vergrößerte Ansicht

Name: 1-2023-03-24 17_08_25-Window.png
Ansichten: 738
Größe: 35,1 KB
ID: 384143



                  ​​

                  the complete synthax of the ON command is : /ext/parset.cgi?syn=HK201&value=2&key=SECRETKEY
                  Zuletzt geändert von arnaud; 24.03.2023, 16:16.

                  Kommentar

                  • arnaud
                    Dumb Home'r
                    • 14.11.2017
                    • 10

                    #10
                    Klicke auf die Grafik für eine vergrößerte Ansicht

Name: 2-2023-03-24 17_07_05-Window.png
Ansichten: 731
Größe: 31,6 KB
ID: 384145

                    Kommentar

                    • Christian Fenzl
                      Lebende Foren Legende
                      • 31.08.2015
                      • 11238

                      #11
                      Have you had to do any authentication via the browser?
                      Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

                      Kommentar

                      • arnaud
                        Dumb Home'r
                        • 14.11.2017
                        • 10

                        #12
                        hello Christian,
                        no, nothing, i think the SecretKey is the method to authenticate and grant privileges.
                        when i send the entire command with explorer, it successful change the boiler mode.
                        http://192.168.220.56/ext/parset.cgi?syn=HK201&value=2&key=SECRETKEY​​

                        Kommentar

                        • Christian Fenzl
                          Lebende Foren Legende
                          • 31.08.2015
                          • 11238

                          #13
                          Then, something is wrong in your output command.
                          Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

                          Kommentar

                          • arnaud
                            Dumb Home'r
                            • 14.11.2017
                            • 10

                            #14
                            hummm. Sur .. it's why i'm here :-)
                            i don't understand what option / parameter i have to change / activate (http header for on, close connection, method) don't mean nothing for me.

                            i'm just able to understand how to create the entire URL request, but not how to configure it into loxon config

                            Kommentar

                            • arnaud
                              Dumb Home'r
                              • 14.11.2017
                              • 10

                              #15

                              hello,


                              Loxone helped me to understand how to talk with my Gunta with the pseudo JSON mode...
                              here is my feed back if it can help. (Loxone promise me to come back with modbus responses in few days...)

                              FIRST STEEP TO RECIEVE VALUES FROM Gunta to Loxone.

                              In order to recieve values from Gunta like : temperature, operating mode, current power, etc.

                              i have to first enter this request in order to know the correpondance ids / informations :



                              the result look like this :
                              [{"id":1,,"name":"temp.exterieure","type":"float "," unit":"\u00B0C"},{"id":3,,"name":"Temp.chaudi\u00E 8re","type":"float","unit":"\u00B0C"},
                              each IDs are in '{ }' and separate with ',' it's important.

                              Now, in Google Chrome with JSON Viewer extension installed, i launch :

                              and the result look like this :



                              [ 15.47,
                              46.65,
                              61.46,
                              83.54,
                              120.00,
                              8.54,
                              0,
                              83,
                              0,



                              We have now the values and the meaning, let's start with Loxone config.

                              First, i create an http virtual input like this : http://kessel0001.home.lan/ext/daqda...ey=mysecretkey


                              and after, one http virtual input command by value i want to recieve,
                              the important part here, is the command recognition settings.

                              remember, the 'pseduo' JSON start with [ and after, each value are coma separated.
                              so for the first id, external temperature, here is the command recognition parameters :

                              \i[\i\v
                              mean litteraly : send the first value after [

                              and for the next value we are looking for comas.

                              example for Boiler temperature, here is the command : \i[\i\i,\i\v (we looking for the value after the first coma)

                              en for last exemple, for ECS 0 temperature, here is my command : \i[\i\i,\i\i,\i\i,\i\i,\i\i,\i\i,\i\i,\i\i,\i\i,\i\i, \i\i,\i\i,\i\i,\i\v

                              I agree that it has a rebarbative side, especially since there are about 90 values on my boiler model, but not all of them interest me.

                              by the way it will be interesting to compare our daqdesc in order to understand is there is a common basis or not.

                              This method could be apply to retrieve Integer or boleane values, but i don't understand who to do that yet.

                              SECOND PART, SEND ACTIONS TON Gunta From Loxone.

                              this is A method, i'm quite sure with ModBus it can be more simple.

                              first, we need to send this command : http://kessel0001.home.lan/par.cgi
                              at this time, the navigator download a file named : par.cgi that can be opened with notepad,

                              it look like that :

                              ++SteuerungsInfo++
                              Thaurus Therm;V3.2;------;serial;------
                              ++SteuerungsInfo_End++

                              ++Parameterdaten++
                              ANL04;8;NAME; _0123456789 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX YZàáâæçèéêëîïôùúûÿÀÁÂÆÇÈÉÊËÎÏÔÙÚÛ »?@;Nom chaudière;
                              PR001;6;1;8;0;0;0;0;program.;OFF;NORMAL;EC;CHAUFFA GE;DIMIN.;DIMIN.JUSQ...;Recharge ECS;NETTOY.GRILLE;FONCT.MANUEL;
                              HK001;6;1;4;1;0;0;0;Programme CH0;OFF;NORMAL;CHAUFFAGE;DIMIN.;DIMIN.JUSQ...;
                              HK002;6;0;2;0;0;0;0;pompe fonct.;AUTO;OFF;DUREE;
                              HK002a;6;1;3;1;0;0;0;Météo;AUTO;froid;doux;chaud;​

                              and so we can send commands like this :


                              this command configure the boiler in Normal Mode (versus ECS only, or Heating only, or OFF, or Manual Mode)

                              i don't know how to explain this file better, but with lot of test (changing one parameter a time, and donwload the file each time, i've finaly find parameters i was looking for).

                              Now, let do it in Loxone Config.

                              fisrt, create an http virtual output with this url : http://boiler.ip.adress/

                              an create the http virtual oupout commands with this parameter : /ext/parset.cgi?syn=PR001&value=1&key=MyPrivateKey

                              the only this to adjust when calling the same parameter (here PR001) is value=0 , 1 , 2 ....

                              and finaly, slide the tow virtual relay to operate from applications​
                              note : it's not a good idea to turn off the boiler, it s better to turn off an individuel heating track.

                              see you.

                              Kommentar

                              Lädt...