XSL for Recom(Remeha) configuration and language XML files

Forum about Opentherm, Hvac, House heating, Boilers

Moderator: hvxl

Post Reply
fmartens
Starting Member
Starting Member
Posts: 1
Joined: Sat Feb 11, 2012 8:41 pm

XSL for Recom(Remeha) configuration and language XML files

Post by fmartens »

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.
remeha.zip
(1.91 KiB) Downloaded 612 times
Regards,
Freddy
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

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

Post by Digit »

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 5309 times
mjl
Starting Member
Starting Member
Posts: 2
Joined: Sun Jul 21, 2013 8:42 am

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

Post by mjl »

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
Post Reply

Return to “Hvac, Heating Opentherm Forum”