Opentherm Gateway

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

Moderator: hvxl

User avatar
vossie
Starting Member
Starting Member
Posts: 20
Joined: Tue Jan 13, 2009 12:25 pm
Location: Netherlands
Contact:

Re: Opentherm Gateway

Post by vossie »

Nice work, looking great.
Templar
Member
Member
Posts: 178
Joined: Fri Mar 18, 2011 8:49 pm
Location: Netherlands

Re: Opentherm Gateway

Post by Templar »

It isn't perfect though, yesterday evening and this evening a gateway crash occured. This resulted in a communications fault, wich forced the boiler in maximum heat demand... :-(
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Opentherm Gateway

Post by Digit »

Strange. I've had my first gateway running for weeks without a glitch.
Although that's an older PCB version (November 2011) with the PIC 16F628A and MAX232 connected to Serial > Ethernet server.
And what do you mean with a crash, suddenly no more OT frames being sent by the gateway, or ??

I'm interested, cause I'm also going to ditch the MAX232 and connect the gateway to Ethernet (and do some 'extras' along the way :wink: )
Maybe it's smart to see how it performs the way it was meant to be, i.e. with MAX232...?
Templar
Member
Member
Posts: 178
Joined: Fri Mar 18, 2011 8:49 pm
Location: Netherlands

Re: Opentherm Gateway

Post by Templar »

Digit wrote: And what do you mean with a crash, suddenly no more OT frames being sent by the gateway, or ??
I mean by that no more (valid) frames. If OT communication is halted, the boiler goes to short-circuit state.
PS. yesterday OT communication failed, connected with the PC via a USB BUB. Today OT communication failed connected with the bluetooth module.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Opentherm Gateway

Post by Digit »

So do you get invalid frames then?
What do they look like, can you post some samples?
Templar
Member
Member
Posts: 178
Joined: Fri Mar 18, 2011 8:49 pm
Location: Netherlands

Re: Opentherm Gateway

Post by Templar »

Digit wrote:So do you get invalid frames then?
What do they look like, can you post some samples?
I guess so, but I haven't got any proof. The gateway didn't log any messages anymore. I should have checked the amount and the type of errors before I pulled the plug. I was in a little hurry because my radiators became red hot and room temperature went up over 22 degrees celsius...

I will give it another try this week.
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Re: Opentherm Gateway

Post by Rene »

I am running the OT gateway on the new pcb, including the MAX232, for more than 3 weeks now without any problem. So probably it is not the pcb at fault, but maybe a loose contact or a faulty component. Did you perform the test measurements as described on the OT web site?
Rene.
User avatar
vossie
Starting Member
Starting Member
Posts: 20
Joined: Tue Jan 13, 2009 12:25 pm
Location: Netherlands
Contact:

Re: Opentherm Gateway

Post by vossie »

Also have the gateway running for 4 weeks now.
server is upstairs in the attic and the gateway down in the metercabinet connected via serial
no problems at all
hvxl
Senior Member
Senior Member
Posts: 1967
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Opentherm Gateway

Post by hvxl »

Templar wrote:It isn't perfect though, yesterday evening and this evening a gateway crash occured. This resulted in a communications fault, wich forced the boiler in maximum heat demand... :-(
I haven't had any reports from other users with issues like this. And even if the code somehow took a wrong turn somewhere, the watchdog timer should kick in and put the device into a fail-safe state where no code is required to allow communication between the thermostat and boiler.

I did get a suggestion from someone that it would be good to put a 0.1 uF ceramic decoupling capacitor between the power pins of the PIC. Without it, a bad or aging C2 could cause erratic behavior. As you appear to be experiencing erratic behavior, you may want to check your C2 (correct value, correct polarity, proper soldering) and possibly add such a decoupling capacitor.
Schelte
FoRMaTC
Member
Member
Posts: 89
Joined: Fri Sep 26, 2008 1:50 am
Location: Netherlands

Re: Opentherm Gateway

Post by FoRMaTC »

Just moved the gateway to the attic and fiddled around with some google graphing and some perl code:
Attachments
Capture.PNG
Capture.PNG (33.25 KiB) Viewed 9091 times
hvxl
Senior Member
Senior Member
Posts: 1967
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: Opentherm Gateway

Post by hvxl »

My gateway would occasionally fall back to fail-safe mode due to a watchdog timeout. Even though nobody else reported any similar problems, it bothered me. The problem was hard to diagnose because it happened so infrequently, but I think I have found the cause and fixed it in firmware version 3.3.

Knowing the cause of the problem now I'm even more surprised nobody else reported running into this issue. I suggest everyone using a PIC16F88 based gateway for more than just monitoring purposes to upgrade.
Schelte
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Opentherm Gateway

Post by Digit »

Got my Opentherm Gateway operational now.
Also created a webpage for it, to show (off) how it's performing, real-time (not with IE).
Finally I have both OpenTherm and the means to control the thermostat from my system 8)

A really big thanks to Schelte for all his work!
blb
Member
Member
Posts: 145
Joined: Fri Nov 19, 2010 2:01 pm

Re: Opentherm Gateway

Post by blb »

Hi Digit,

Do you have the GW now connected via Ethernet or still via RS232?
Bernard
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Opentherm Gateway

Post by Digit »

Ethernet; here's a picture on which you can see how.
blb
Member
Member
Posts: 145
Joined: Fri Nov 19, 2010 2:01 pm

Re: Opentherm Gateway

Post by blb »

Nice job! a bit too much for me, I'll stay with RS232
Bernard
Post Reply

Return to “Opentherm Gateway Forum”