OpenTherm Monitor Program

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

Moderator: hvxl

ReneZuidam
Starting Member
Starting Member
Posts: 6
Joined: Wed Jan 30, 2013 5:44 pm

OpenTherm Monitor Program

Post by ReneZuidam »

Hi,

I'm using the Opentherm Monitor program and Opentherm Gateway (By TLC) to monitor My CV installation recently
The Program generates OTdata.txt i can use to parse the Data to my ASP Page.
I'm having trouble identifying the Correct field outputted in the file..

Does anyone have the right field Names order for below sentence..
0;0;0;1;0;0;;23.00;23.00;;55.17;;10.00;;90.04;100.00

I already got the below setup but i seem not to get it quite right specially the first four status Bits are puzzling me and might be wrong.. .

Flame Status;Central Heating Mode;Domestic Hot Water Mode;Domestic Hot Water Enable;Diag;Fault;Outside Temp;RoomTemp;Room Setpoint;Rel Modulation LvL;

Does anyone have made an other type of logger (Via Telnet) that outputs Readable data in an Text file Per day or so..
I'm might make an plugin to Eventghost myself but don't want to make the decoding all over again if somebody got an good start point already..

I'm using an Daalderop 32/80+ in combination with an ICY Smart thermostaat (This Thermostat unfortunately support only limited Open Therm Commands/features)

thanks

Rene
hvxl
Senior Member
Senior Member
Posts: 1966
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OpenTherm Monitor Program

Post by hvxl »

The order of the fields is: flame, dhwmode, chmode, dhwenable, diag, fault, outside, inside, setpoint, modulation, boilertemp, returntemp, controlsp, dhwsetpoint, chwsetpoint.
Schelte
ReneZuidam
Starting Member
Starting Member
Posts: 6
Joined: Wed Jan 30, 2013 5:44 pm

Re: OpenTherm Monitor Program

Post by ReneZuidam »

Dear Schelte,

Thank you for the feedback and confirmation of the Fields..

I have one additional question have you heard about problems with the Honeywell Modulation Wireless CMT957M1011.
I have this one now the Gateway keeps on giving Error 3 and Error 2 regardless if i go from 3 VR to 1 VR or 5 VR also
some times the Gateway come with an WRT message and all stops working (After changes in VR) (PCB via Webshop)

Also the Chronotherm wireless seems not to transmit the Room Temp and this one is now fixed at 20 Degrees,
but i guess this is the price i will have to pay for having the Thermostat at an location more suitable for me..

Thanks Rene,

Using The Gateway in Monitor now with Daalderop Combifort 32/80+ Classic and Chronotherm CMT957M1011.
via an wired TCP connection with the TP=Link..
hvxl
Senior Member
Senior Member
Posts: 1966
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OpenTherm Monitor Program

Post by hvxl »

I have not heard about problems with a Honeywell Modulation Wireless thermostat before. But you say it works in Monitor mode. Is that with VR=3? Don't you still get a lot of errors? If the gateway doesn't understand the messages in gateway mode, it won't understand them in monitor mode either. But in monitor mode the logical levels get passed on directly to the boiler, so the gateway doesn't have to understand the messages, as long as the boiler does. And if the boiler sends back a better opentherm signal, the gateway will be able to understand the responses.

But even in monitor mode, the gateway has to detect the logical levels. So if that works, it proves that the reference voltage level is fine. The timings must just be off. It might be interesting to run Test #2 of the diagnostics firmware. That should reveal exactly what is wrong. With that information, there may be something that can be tweaked in the firmware to make it work.
Schelte
ReneZuidam
Starting Member
Starting Member
Posts: 6
Joined: Wed Jan 30, 2013 5:44 pm

Re: OpenTherm Monitor Program

Post by ReneZuidam »

Dear Schelte,

thanks for the info,

I'm willing to give it a go with the Diagnostic firmware but have an problem with flashing via
opentherm monitor program after uploading the firmware (tried your last Beta 4.0a4) it says reset gateway but when i
do this it will give an error not able to switch to programming mode.. I'm using
the profilic USB to serial ttl cable can you guide me little more so i can load the diag firmware
and upload this one to you at the website..

thanks rene,,,
hvxl
Senior Member
Senior Member
Posts: 1966
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OpenTherm Monitor Program

Post by hvxl »

Let me explain a bit how flashing the firmware works: The otmonitor utility sends a break condition on the serial line. The gateway detects this and jumps to the self programming code, which transmits a special character to indicate it is ready to receive self programming instructions. If it doesn't receive instructions within one second, self programming mode is abandoned and the normal gateway program restarts.

When you power up the gateway, it also first jumps to the self programming code. But as indicated, if it doesn't receive valid self programming instructions, it will continue with the normal program after a one second timeout.

Entering self-programming mode via the break signal doesn't always work and you get the message "Please manually reset the OpenTherm Gateway". If you think it should work (because it has worked before with the same setup), you can click Cancel and then click Program again to retry.

If you use a simple ethernet-serial device or a buggy usb-serial driver that is unable to send a break condition, you can reset (power-down/power-up) the gateway yourself. When you get the "Please manually reset the OpenTherm Gateway" message, suppress your reflex to click Cancel or anything else. Just follow the instructions and unplug the gateway and plug it back in. As described, the gateway will enter self-programming mode on power-up, so the upgrade should start as soon as you connect the gateway to mains power. Note that there is a 1 minute timeout for you to do this. I guess that should be enough unless you have to climb up two flights of stairs to the attic to do it.

Doing a bit of googling, it seems the prolific usb-serial device is perfectly able to send a break condition when used with linux. If you use a different OS, you may need to look for an updated driver. Otherwise try a few more times to power-up the gateway at the "Please manually reset the OpenTherm Gateway" prompt. You can also try to unplug the gateway, click program, then plug the gateway back in. Or maybe actually providing a reset signal works better for you. Give that a try if all else fails.
Schelte
ReneZuidam
Starting Member
Starting Member
Posts: 6
Joined: Wed Jan 30, 2013 5:44 pm

Re: OpenTherm Monitor Program

Post by ReneZuidam »

Dear Schelte,

I will give flashing another try thanks for the tips & Trick.

Will add the LED's for diagnostics and Reset pushbutton just to make sure,
Also will change to the EZ70 Serial to USB module as done by Bwired..
The TP wireless link proved to be to unstable when connected to wireless
and now have it hooked up thru Powerlink Ethernet Adapter stays up fine.

Now i will also start on programming an deamon loggin to an Small Mdb database.. or SQL server,,

Rene
ReneZuidam
Starting Member
Starting Member
Posts: 6
Joined: Wed Jan 30, 2013 5:44 pm

Re: OpenTherm Monitor Program

Post by ReneZuidam »

Dear Schelte,

Can you take a look into my Diagnostic log ..

I get still frequent Error 01 and error 03
Not sure if this impact the correct working of the System,
Extra observed the Roomtemp Always stays 20 degrees and Modulation Level only sometimes is logged correctly..
Currently the Voltage reference is set to 5.... Using the chronotherm Wireless CMT957M1011

thanks..
Attachments
diaglog10-02-13.zip
Log via Diagnostic Hex and 4.03a3 Software...
(25.66 KiB) Downloaded 337 times
rtenklooster
Starting Member
Starting Member
Posts: 22
Joined: Tue Oct 01, 2013 3:27 pm

Re: OpenTherm Monitor Program

Post by rtenklooster »

hvxl wrote:The order of the fields is: flame, dhwmode, chmode, dhwenable, diag, fault, outside, inside, setpoint, modulation, boilertemp, returntemp, controlsp, dhwsetpoint, chwsetpoint.
After the last update, a lot of fields are removed from the datafile, the fields above are now the only values in the file.
I am missing the water presure and override setpoint value.
Could you please add those values, because they are of much use for me.
hvxl
Senior Member
Senior Member
Posts: 1966
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OpenTherm Monitor Program

Post by hvxl »

While the previous version of otmonitor might produce more values than the ones listed above, the order of the additional fields was undefined. So there was no guarantee that a certain field position would always contain the water pressure. For this reason I have made the documented fields the default set in the latest version. If you want more or other fields, you can configure them via Options->Logging->Datafile->Configure.
Schelte
rtenklooster
Starting Member
Starting Member
Posts: 22
Joined: Tue Oct 01, 2013 3:27 pm

Re: OpenTherm Monitor Program

Post by rtenklooster »

hvxl wrote:While the previous version of otmonitor might produce more values than the ones listed above, the order of the additional fields was undefined. So there was no guarantee that a certain field position would always contain the water pressure. For this reason I have made the documented fields the default set in the latest version. If you want more or other fields, you can configure them via Options->Logging->Datafile->Configure.
Great! Thanks for the tip! Love the program :-)
embee
Starting Member
Starting Member
Posts: 2
Joined: Sat Dec 06, 2014 10:50 pm

Re: OpenTherm Monitor Program

Post by embee »

Hi,
Did anyone experience the same problem I have when I try to connect through the serial port using the OpenTherm Monitor 4.1? When I go to Options -> Connection -> select serial port and press 'Connect', I Always get 'Connection failed: Serial device does not exist'. With 4.1b2 and previous versions it worked and still works OK.
Using Windows 8.1 with a Prolific USB-to-Serial Comm Port adaptor. Tried it also on another computer with Windows 7 and a different USB to serial adaptor -> same result. Haven't been able to try a TCP connection yet. I'll report back when I have.
Will I run into trouble if I use OT Monitor 4.1b2 with the gateway running 4.1?

MB
hvxl
Senior Member
Senior Member
Posts: 1966
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OpenTherm Monitor Program

Post by hvxl »

Now that you mention it, I've heard about a small change in accepted serial port name formats on windows in the Tcl version I started using lately. I have adapted the code so it uses an accepted format again. Try otmonitor 4.1.1.

While this was only a problem on windows, I fixed some other issues that users reported since the release of 4.1 as well. That's why there are also new versions for other platforms.

To answer your other question: There is no requirement for the otmonitor version to match the otgw firmware version. You may just not be able to use some of the new features.
Schelte
embee
Starting Member
Starting Member
Posts: 2
Joined: Sat Dec 06, 2014 10:50 pm

Re: OpenTherm Monitor Program

Post by embee »

Thanks for the fast response! I can confirm that the serial port issue in windows is fixed.

MB
nsn
Starting Member
Starting Member
Posts: 2
Joined: Mon Dec 08, 2014 9:44 pm

Re: OpenTherm Monitor Program

Post by nsn »

Hello,
I just connected the OTMON program but getting "rubish".
Having a Brink Allure B-16B in combination with a Brink Chromotherm.
The logfile contains:
21:36:29.466151 405,659,405,659,405,659,404,660,404,1137,414,648,415,649,415,648,417,648,416,648,994,656,408,656,408,1135,415,648,993,1140,415,650,414,650,414,651,413,652,412,651,413,651,412,651,420,650,414,649,415,648,416,648,416,647,417,647,416,648,416,648,982.
21:36:30.449323 404,1136,992,1134,994,1133,416,648,416,648,416,647,996,657,407,1135,415,648,415,649,993,658,406,1137,418,651,413,651,413,651,990,1136,414,649,415,649,415,648,423,648,416,647,417,648,994,1134,415,649,415,648,416,649,981.
21:36:31.532754 408,656,407,658,406,1135,415,649,415,649,415,649,415,649,415,650,414,651,414,650,413,651,413,651,413,650,414,649,415,648,416,647,422,648,416,647,416,648,416,648,416,648,416,649,993,657,406,1142,415,651,413,651,413,651,991,1137,991,1135,980.
21:36:32.439542 403,660,404,659,405,1135,993,1134,416,647,417,646,418,646,418,648,416,648,416,648,416,648,416,648,416,648,416,649,992,1142,413,652,990,1137,991,658,406,668,406,1134,423,648,416,647,417,647,416,648,416,649,415,649,415,648,416,649,980.
21:36:33.619058 408,1133,995,1134,415,648,416,649,415,649,415,650,414,650,415,651,413,651,413,651,990,659,405,1135,1003,1135,420,647,417,647,995,1135,993,657,406,658,406,1134,423,650,414,650,414,651,413,651,413,651,413,651,413,649,415,649,980.
21:36:34.646367 408,655,408,657,407,1134,416,648,416,648,416,649,415,649,415,650,415,651,412,651,413,652,990,658,406,658,406,1135,415,648,421,647,417,647,995,657,406,658,406,1136,415,648,415,650,421,650,414,650,414,651,413,651,413,652,412,651,413,650,413,650,990.
21:36:35.430323 407,657,407,657,407,658,405,660,404,1138,413,651,413,651,412,650,415,650,414,648,994,657,407,657,407,1134,994,1134,421,649,415,648,416,648,415,649,415,650,414,650,414,651,413,651,420,651,413,651,413,649,415,649,415,647,416,649,415,648,416,648,982.
21:36:36.610114 407,657,407,656,408,1134,416,648,416,649,415,650,414,650,413,651,414,652,412,650,414,650,992,1135,415,648,416,648,993,1139,416,649,993,1135,993,656,407,1136,992,1144,413,651,413,651,413,650,414,650,414,649,415,648,425,649,981.
21:36:37.642307 407,656,408,657,407,1134,416,648,416,648,416,649,415,649,415,650,415,651,413,650,414,651,412,650,415,649,415,648,416,648,415,648,421,648,416,648,416,647,417,648,416,648,416,649,993,657,407,1142,415,650,414,651,413,651,990,1137,991,1136,980.
21:36:38.453844 406,656,408,656,408,1134,994,1135,415,649,415,648,416,649,416,649,415,650,414,650,414,651,413,650,414,650,413,650,992,1150,415,648,994,1133,995,657,406,658,406,1136,421,649,415,649,415,650,414,650,414,651,413,651,413,652,412,651,978.
21:36:39.559848 408,656,407,657,407,658,406,1134,416,649,415,649,415,650,414,650,415,651,413,651,413,651,990,658,406,1135,1003,657,407,662,407,656,408,1134,994,657,406,658,406,1135,415,649,422,650,414,650,414,651,413,651,413,651,412,652,412,650,414,650,990.
21:36:40.538016 408,1135,993,1134,416,647,417,648,416,649,415,649,415,650,414,651,413,652,412,651,991,659,405,1135,415,648,994,1138,417,647,994,656,408,657,407,1134,416,649,993,1142,415,650,414,651,413,651,412,652,412,652,412,650,414,650,980.
21:36:41.455634 406,658,406,658,406,1136,992,1137,413,650,414,649,414,649,426,648,416,648,994,657,407,656,408,1134,416,647,416,650,419,648,416,649,993,658,406,659,405,659,404,1138,412,651,420,652,412,650,414,649,415,647,417,648,416,647,417,647,417,647,982.
21:36:42.472539 408,655,408,657,407,657,407,658,406,1134,416,649,415,649,415,650,415,650,414,651,990,659,405,660,404,1135,423,648,994,1139,416,647,417,647,416,648,417,647,416,650,414,648,416,648,423,649,415,650,414,650,414,651,412,652,412,651,413,652,412,650,980.
21:36:43.406366 405,1137,991,1137,991,1135,415,648,416,648,416,647,996,656,407,1134,416,649,415,648,994,657,407,1135,420,649,415,650,414,651,990,1138,412,651,413,651,413,649,422,649,415,648,416,648,994,1133,417,647,417,647,417,648,981.
21:36:44.470824 408,656,407,657,407,1135,415,648,416,649,415,648,416,650,414,650,415,651,413,650,413,652,412,651,413,650,414,649,415,648,416,648,421,647,417,648,416,647,416,649,415,649,415,650,992,657,406,1143,415,649,415,651,412,651,991,1137,991,1135,980.
21:36:45.406516 406,658,406,667,407,1134,994,1133,417,647,417,648,415,648,417,648,416,648,416,648,416,649,415,650,414,651,412,651,991,1142,413,650,992,1134,994,656,408,657,406,1134,424,648,416,648,415,650,414,649,415,649,415,649,415,650,414,650,979.
21:36:46.443098 408,1133,995,1134,416,647,416,649,415,649,415,650,414,650,415,651,413,651,413,651,991,658,405,1145,984,1134,420,648,416,648,994,657,407,1135,415,649,415,649,415,648,423,649,414,650,414,652,412,651,413,652,412,652,412,650,414,649,991.
21:36:47.452562 407,656,408,657,407,1134,416,648,416,648,416,649,415,649,415,650,414,651,413,652,412,651,991,658,406,658,406,1144,415,648,421,648,416,647,995,657,407,657,407,1134,994,658,405,1143,414,651,413,651,413,652,412,651,413,652,412,649,414,650,988.
21:36:48.448472 408,655,408,656,408,656,408,657,407,1134,416,648,416,649,414,649,416,650,414,651,990,661,403,661,403,1138,990,1135,430,649,415,648,416,648,416,647,417,648,416,647,417,648,415,649,422,649,415,649,415,649,415,650,414,651,413,651,412,652,412,652,978.
21:36:49.759324 406,1134,994,1134,416,648,416,649,415,650,414,650,414,651,413,653,411,651,413,650,992,1135,415,648,416,648,994,1138,416,648,994,1135,415,648,994,1135,992,1144,413,652,412,651,413,651,413,650,414,649,415,648,415,648,982.
21:36:50.596721 408,656,408,656,408,1135,415,648,416,649,415,649,415,649,414,651,414,651,413,652,412,650,414,650,414,649,415,649,425,648,415,648,421,648,416,647,417,648,416,647,417,649,415,649,993,657,406,1143,414,651,413,651,413,652,990,1138,990,1136,980.
21:36:51.447599 405,658,405,660,404,1138,990,1136,414,649,421,648,416,648,417,647,417,647,417,647,417,647,417,647,416,649,415,648,994,1140,415,649,992,660,404,1138,412,651,413,651,413,650,421,649,415,648,416,647,416,649,415,648,416,648,416,648,416,649,981.
21:36:54.793463 408,656,408,656,407,658,406,1134,416,649,415,649,415,650,414,650,415,650,414,650,413,651,991,658,406,1134,1004,657,406,663,407,656,407,1135,993,658,406,658,406,1135,415,647,424,649,415,649,414,651,413,651,413,652,412,652,412,649,415,649,980.
21:36:54.805660 408,657,407,656,408,1134,416,647,417,647,417,648,415,650,414,650,415,651,413,651,413,651,990,658,406,1145,415,648,994,1138,416,648,994,656,408,657,406,658,406,1135,993,1143,414,650,414,651,412,652,412,652,412,652,412,650,414,649,980.
21:36:55.410874 406,658,406,656,408,1133,995,1133,417,647,417,647,416,648,417,649,415,648,994,657,406,659,405,1137,413,652,412,651,418,651,413,651,990,659,405,667,411,653,407,1134,416,647,424,648,416,648,416,648,415,649,415,649,415,649,415,650,414,650,979.
21:36:56.535434 406,658,406,659,405,660,403,660,404,1137,413,649,415,649,415,647,418,648,416,647,995,656,407,657,407,1134,416,649,993,1139,416,649,415,649,415,650,414,650,413,652,412,651,413,651,420,650,414,649,415,648,416,648,416,647,417,647,416,648,416,648,982.
21:36:57.393440 404,1137,991,1135,993,1134,426,648,416,647,417,647,995,656,408,1134,416,648,416,649,993,657,406,1136,419,650,414,651,413,651,991,1137,413,650,414,649,415,648,423,647,416,649,415,648,994,1134,416,648,416,649,415,649,980.
21:36:58.609814 408,656,408,656,407,1135,415,648,416,649,415,649,415,650,414,650,415,651,413,651,413,651,412,651,413,650,414,650,414,649,415,648,421,648,416,648,416,647,417,648,416,648,416,649,993,656,407,1143,414,650,414,651,413,651,991,1137,991,1136,980.
21:37:00.439786 406,658,406,656,408,1134,994,1133,417,646,418,647,416,648,417,648,416,648,416,648,416,649,415,649,414,651,413,651,991,1142,413,650,991,658,406,1135,415,648,416,648,416,647,424,648,416,646,418,648,415,648,416,648,416,648,416,650,414,650,979.
21:37:01.636829 408,656,408,656,408,1134,416,647,417,649,415,649,415,649,414,651,414,651,413,651,413,651,991,658,406,1134,1004,1134,420,648,416,648,994,656,408,1135,415,649,415,649,993,1143,413,651,413,651,413,651,413,652,412,652,412,650,414,649,981.
21:37:02.612277 407,1134,994,1134,416,648,416,648,416,649,414,650,414,651,414,651,413,651,413,651,991,658,405,658,406,1135,415,648,421,648,416,647,995,657,407,656,407,658,406,657,407,658,406,1142,415,650,414,651,412,652,412,652,412,651,413,650,414,649,980.
21:37:05.429274 404,660,404,659,405,659,405,658,406,1134,416,647,417,647,417,646,418,648,416,647,995,657,407,657,406,1135,993,1136,419,650,414,651,413,651,413,651,412,651,413,650,414,649,415,648,423,648,416,647,417,647,417,647,416,648,416,648,416,649,415,648,981.
21:37:06.699423 407,657,407,656,407,1135,416,648,415,650,414,650,414,651,413,651,414,650,414,650,414,649,992,1135,415,648,416,648,994,1138,417,648,994,1135,415,648,994,1135,414,650,421,651,413,651,413,652,412,651,413,651,413,649,415,649,414,648,982.
21:37:07.561256 408,656,408,656,408,1134,415,648,416,649,415,649,415,650,414,650,415,6

Who can help me out ??
Post Reply

Return to “Opentherm Gateway Forum”