RE: Guntamatic Modbus TCP or JSON

217 views
Skip to first unread message
Message has been deleted

g...@camleyphotographic.com

unread,
Mar 22, 2023, 4:53:12 AM3/22/23
to breizhnos, Loxone English

Sending HTTP commands looks the way to go. If you share how you have it configured, then someone maybe able to suggest what is going wrong.

 

I have a HTTP POST commands configured like this:

 

 

 

From: loxone-...@googlegroups.com <loxone-...@googlegroups.com> On Behalf Of breizhnos
Sent: 22 March 2023 08:09
To: Loxone English <loxone-...@googlegroups.com>
Subject: Guntamatic Modbus TCP or JSON

 

Hello to all,
I am trying to set up a bi-directional communication between my Guntamatic THERM10 and Loxone boiler.
Gunta has documented this in a very cursory manner.
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

 

secret key is provided by Gunta and does not change.

HK201 : corresponds to heating, and Value 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.

br.

 

--
You received this message because you are subscribed to the Google Groups "Loxone English" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loxone-englis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loxone-english/aa1480cd-1817-44d3-b544-310397ab4e2an%40googlegroups.com.

image001.png
image002.png
Message has been deleted
Message has been deleted

Tico

unread,
Mar 22, 2023, 10:40:00 PM3/22/23
to Loxone English
It's always challlenging to find exactly what Loxone prefers as a format.... and not necessarily scientific.

You will need to have http:// in the Address, so -


The browser command looks more like a GET request. I would try 'HTTP Method for ON' as GET.

It that doesn't work, you could also try URL encoding the entire 'Command for ON'.


Your example of /ext/parset.cgi?syn=HK201&value=0&key=XYZ will become %2Fext%2Fparset.cgi%3Fsyn%3DHK201%26value%3D0%26key%3DXYZ

On Wednesday, 22 March 2023 at 7:48:51 pm UTC+8 Arnaud wrote:
so i've done it quite like you ... with no result...
i think the 'SECRETKEY' should appear at the Boiler level, not the commands ..



Le mercredi 22 mars 2023 à 12:06:35 UTC+1, breizhnos a écrit :
ok thanks for that.
i haven't configured it in loxone config because too much parameters that i don't understand.
i will try following your inspiration.
tks.

g...@camleyphotographic.com

unread,
Mar 23, 2023, 4:14:34 AM3/23/23
to Tico, Loxone English

You can use a curl command to test and refine the command. This command is available on your windows computer in the command terminal.

 

This saves time as you do not need to repeatedly change and restart your miniserver.

Message has been deleted
Message has been deleted
Message has been deleted

breizhnos

unread,
Nov 13, 2023, 6:50:41 AM11/13/23
to Loxone English
good morning,
I'm back on the subject; with the help of Loxone, I've managed to retrieve variables from the boiler via JSON.
The response from the boiler is in this form:
[14.99,36.95,38.47,100.00,120.00,9.15,23,95,0,51,120.00 ... ]
so, in the http command detection, we look for the variable after x comma.
ex : \i[\i\i,\i\v (search for the variable after the bracket and 1 comma)
It's tedious, but it works.
the problem is that it only works for variables, not for integers or boleans.

but errors, for example, are sent in words and not with a code ... for example: "empty the ashes". ...

if anyone knows how to retrieve text and not a variable, thank you for your help.

Le jeudi 30 mars 2023 à 18:21:43 UTC+2, Arnaud a écrit :
hello All,
i don 't understand, i have published two messages but i don't find them.

i said it's ok, i've sucessfully configured virtual http input and output in order to communicate with my Gunta.
thanks.

Tico

unread,
Nov 13, 2023, 8:15:35 AM11/13/23
to Loxone English
Loxone will retrieve a decimal ASCII value for text characters.


So if you point the search term at the "empty the ashes", you will receive the values 101 (e), 109 (m), 112 (p), 116 (t) 121 (y) etc.

But you need a Virtual Input that points to each letter (5 Virtual Inputs for 5 characters). The conversion from ASCII decimal back to text is relatively straight-forward. This link refers -


If you post the full text surrounding the error message, that will help in constructing the Virtual Inputs required to search the text field.

breizhnos

unread,
Nov 14, 2023, 11:16:22 AM11/14/23
to Loxone English
yes i saw the wiki after my message.
it s all right now thanks.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages