Page 9 of 23

Re: Opentherm Gateway

Posted: Sun Nov 04, 2012 11:09 pm
by vossie
Nice work, looking great.

Re: Opentherm Gateway

Posted: Sun Nov 04, 2012 11:57 pm
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... :-(

Re: Opentherm Gateway

Posted: Mon Nov 05, 2012 12:24 am
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...?

Re: Opentherm Gateway

Posted: Mon Nov 05, 2012 12:32 am
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.

Re: Opentherm Gateway

Posted: Mon Nov 05, 2012 12:58 am
by Digit
So do you get invalid frames then?
What do they look like, can you post some samples?

Re: Opentherm Gateway

Posted: Mon Nov 05, 2012 1:18 am
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.

Re: Opentherm Gateway

Posted: Mon Nov 05, 2012 9:37 am
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?

Re: Opentherm Gateway

Posted: Tue Nov 06, 2012 12:18 pm
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

Re: Opentherm Gateway

Posted: Tue Nov 06, 2012 10:49 pm
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.

Re: Opentherm Gateway

Posted: Thu Nov 08, 2012 11:57 pm
by FoRMaTC
Just moved the gateway to the attic and fiddled around with some google graphing and some perl code:

Re: Opentherm Gateway

Posted: Sun Nov 11, 2012 5:27 pm
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.

Re: Opentherm Gateway

Posted: Sun Nov 11, 2012 11:42 pm
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!

Re: Opentherm Gateway

Posted: Mon Nov 12, 2012 4:31 pm
by blb
Hi Digit,

Do you have the GW now connected via Ethernet or still via RS232?

Re: Opentherm Gateway

Posted: Mon Nov 12, 2012 4:41 pm
by Digit
Ethernet; here's a picture on which you can see how.

Re: Opentherm Gateway

Posted: Mon Nov 12, 2012 9:48 pm
by blb
Nice job! a bit too much for me, I'll stay with RS232