XSL for Recom(Remeha) configuration and language XML files

Forum about Opentherm, Hvac, House heating, Boilers

Moderator: hvxl

XSL for Recom(Remeha) configuration and language XML files

Postby fmartens » Sun Feb 19, 2012 11:06 am

Hi all,

My plan is to connect an Arduino to a Remeha Avanta to get the heater diagnostics data via the serial interface into the MySQL database on my Synology NAS. The hardest part is understanding what the Remeha sends. I already looked on this forum and the Blog and I saw that a lot of work already has been done. I took some time to create an XML stylesheet (XSL) to make the XML configuration files, that come with the Recom software, easier to read. My first version is attached to this post. To make it work, you need to do the following:
1) Copy the attachment into the Recom configuration folder.
2) Add the following to all XML configuration files:
Code: Select all
<?xml-stylesheet type="text/xsl" href="remeha.xsl"?>

When you double click the XML, after making the change, the file is displayed as 'friendly' HTML using simple tables. Another nice feature is that the XSL also uses the language files (in this example the dutch one) to translate the codes to readable text. Another thing the XSL does is proper processing the 'node-ref' elements.

I hope you will find it is useful. You can modify the XSL to suit your needs, the current version is enough for me to get started on my project.

(1.91 KiB) Downloaded 190 times

Starting Member
Starting Member
Posts: 1
Joined: February 2012

Re: XSL for Recom(Remeha) configuration and language XML files

Postby Digit » Sun Feb 19, 2012 2:31 pm

Thanks Freddy,
I tried it and it works perfectly... I should have had this xsl much earlier! :)
Below a very small part of how the xml is displayed with use of the xsl:

Capture_01 2012.02.19 14.25.36.jpg
Capture_01 2012.02.19 14.25.36.jpg (75.43 KiB) Viewed 2113 times
User avatar
Global Moderator
Global Moderator
Posts: 3388
Joined: March 2006
Location: Netherlands

Re: XSL for Recom(Remeha) configuration and language XML files

Postby mjl » Sun Oct 20, 2013 11:25 am

Hi Freddy,

this is very useful, thank you very much!

Tip: if your system has the xsltproc utility (available on OS X, Linux, BSD etc.) you don't even need to edit the config XML files, but you can simply run

Code: Select all
$ xsltproc remeha.xslt PCU-03_P5.xml > PCU-03_P5.html

in the config directory to generate the human readable version in HTML
Starting Member
Starting Member
Posts: 2
Joined: July 2013

Return to Hvac, Heating Opentherm Forum

Who is online

Users browsing this forum: No registered users and 1 guest