Update of source files to version 4.2.5

This Forum is about the Opentherm gateway (OTG) from Schelte

Moderator: hvxl

Update of source files to version 4.2.5

Postby bmellink » Thu Oct 20, 2016 12:42 pm

When rebuilding the source files I noticed the hex file on the site does not match the file generated by the sources. I seems the source files on http://otgw.tclcode.com/download.html are version 4.2.4 where the downloadable hex file is version 4.2.5. Would you please be so kind to update the source files to 4.2.5?

Thank you

Bart
bmellink
Starting Member
Starting Member
 
Posts: 6
Joined: October 2016

Re: Update of source files to version 4.2.5

Postby hvxl » Thu Oct 20, 2016 2:46 pm

Unfortunately this is a bad time to ask. I won't be able to do that for 3 weeks or so.

The only addition in 4.2.5 was a command to obtain the current state of the GPIO input pins. Since you're going to modify the GPIO pin functions anyway, you can probably do without that. Or you can add a command to report information more appropriate to your situation.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1084
Joined: June 2010

Re: Update of source files to version 4.2.5

Postby bmellink » Thu Oct 20, 2016 3:26 pm

Can you send me the latest (4.2.5) version by email? Then I will use that as base, and may send back usefull changes back to you. I plan to add the 2 new GA/GB commands described in my latest reply in viewtopic.php?f=75&t=11419
bmellink
Starting Member
Starting Member
 
Posts: 6
Joined: October 2016

Re: Update of source files to version 4.2.5

Postby dr.knor » Tue Nov 21, 2017 1:29 pm

Hi Bart,

I have implemented your modified firmware of viewtopic.php?f=75&t=11419 in my 2-zone setup (ATAG i36EC boiler, Honeywell Round Connected thermostat) and it appears to work nicely! (So the setting of the controlsetpoint a with a thermostat-controlled relay connected to the GPIO B pin, in my case.)

Have you eventually managed to apply the modification to the latest 4.2.5. firmware as well?

Reason I ask this is that the PR=I command is not suported in 4.2.4. It would be nice to be able to monitor the state of pin with the setback input. Actually, Domoticz has native support for this already, but for 4.2.4 it gives PR=BV (bad value).

Or is the code for the PR=I command available somewhere else? I may try to include it myself, although I am hesitant to do this as I have no experience in modifying/compiling Assembly.

Tom
dr.knor
Starting Member
Starting Member
 
Posts: 2
Joined: November 2017

Re: Update of source files to version 4.2.5

Postby hvxl » Sun Dec 03, 2017 1:38 pm

The change between FW 4.2.4 and 4.2.5 is really small. I have attached the diff, which you can apply (at least on linux) with the patch command:
Code: Select all
gunzip otgw-4.2.5.patch.gz
patch gateway.asm otgw-4.2.5.patch
Attachments
otgw-4.2.5.patch.gz
Diff between 4.2.4 and 4.2.5
(607 Bytes) Downloaded 40 times
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1084
Joined: June 2010

Re: Update of source files to version 4.2.5

Postby dr.knor » Thu Dec 14, 2017 2:22 pm

Thanks for providing the diff. Much appreciated!

Tom
dr.knor
Starting Member
Starting Member
 
Posts: 2
Joined: November 2017


Return to Opentherm Gateway Forum

Who is online

Users browsing this forum: hvxl and 1 guest