summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ebusSpecification.html95
-rw-r--r--doc/ebusSpecification.xml35
-rw-r--r--doc/spec2html.xslt59
3 files changed, 189 insertions, 0 deletions
diff --git a/doc/ebusSpecification.html b/doc/ebusSpecification.html
new file mode 100644
index 0000000..0fdb65b
--- /dev/null
+++ b/doc/ebusSpecification.html
@@ -0,0 +1,95 @@
+<html><body>
+<h2>Ebus Geräte</h2>
+<table border="1">
+<tr bgcolor="#9acd32">
+<th>Adresse</th>
+<th>Gerät</th>
+<th>Typ</th>
+</tr>
+<tr>
+<td>0x03</td>
+<td>Feuerungsautomat</td>
+<td>master</td>
+</tr>
+<tr>
+<td>0x10</td>
+<td>Heizungsregler #2</td>
+<td>master</td>
+</tr>
+<tr>
+<td>0x30</td>
+<td>Heizkreisregler #1</td>
+<td>master</td>
+</tr>
+</table>
+<h2>Ebus Packete</h2>
+<table border="1">
+<tr bgcolor="#9acd32">
+<th>Primary command</th>
+<th>Secondary command</th>
+<th>Description</th>
+<th>Content</th>
+</tr>
+<tr>
+<td>0x05</td>
+<td>0x03</td>
+<td>Betriebsdaten des Feuerungsautomaten an den Regler Block1</td>
+<td></td>
+</tr>
+<tr>
+<td>0x05</td>
+<td>0x07</td>
+<td>Betriebsdaten des Reglers an den Feuerungsautomaten</td>
+<td>
+<table>
+<tr>
+<th>name</th>
+<th>typ</th>
+<th>offset</th>
+</tr>
+<tr>
+<td>betriebszustand</td>
+<td>byteEnum</td>
+<td>0</td>
+</tr>
+</table>
+<table>
+<tr>
+<th>name</th>
+<th>typ</th>
+<th>offset</th>
+</tr>
+<tr>
+<td>aktion</td>
+<td>byteEnum</td>
+<td>1</td>
+</tr>
+</table>
+<table>
+<tr>
+<th>name</th>
+<th>typ</th>
+<th>offset</th>
+</tr>
+<tr>
+<td>kesselSollwertTemperatur</td>
+<td>data2c</td>
+<td>2</td>
+</tr>
+</table>
+<table>
+<tr>
+<th>name</th>
+<th>typ</th>
+<th>offset</th>
+</tr>
+<tr>
+<td>kesselSollwertDruck</td>
+<td>data2b</td>
+<td>4</td>
+</tr>
+</table>
+</td>
+</tr>
+</table>
+</body></html>
diff --git a/doc/ebusSpecification.xml b/doc/ebusSpecification.xml
new file mode 100644
index 0000000..006bcb1
--- /dev/null
+++ b/doc/ebusSpecification.xml
@@ -0,0 +1,35 @@
+<ebus>
+ <devices>
+ <device address="0x03" type="master">Feuerungsautomat</device>
+ <device address="0x10" type="master">Heizungsregler #2</device>
+ <device address="0x30" type="master">Heizkreisregler #1</device>
+ </devices>
+ <packets>
+ <packet primary="0x05" secondary="0x03" description="Betriebsdaten des Feuerungsautomaten an den Regler Block1"/>
+ <packet primary="0x05" secondary="0x07" description="Betriebsdaten des Reglers an den Feuerungsautomaten">
+ <fields>
+ <byteEnum offset="0" name="betriebszustand">
+ <option value="0x00">Brenner Abschalten</option>
+ <option value="0x01">Keine Aktion</option>
+ <option value="0x55">Brauchwasserbereitung</option>
+ <option value="0xaa">Heizbetrieb</option>
+ <option value="0xcc">Emissionskontrolle</option>
+ <option value="0xdd">TÜV Funktion</option>
+ <option value="0xee">Regler Stopp</option>
+ <option value="0x66">Brauchwasserbereitung bei Reglerstoppfunktion</option>
+ <option value="0xbb">Brauchwasserbereitung bei Heizbetrieb</option>
+ <option value="0x44">Reglerstoppfunktion bei stufigem Betrieb</option>
+ </byteEnum>
+ <byteEnum offset="1" name="aktion">
+ <option value="0x00">Keine Aktion</option>
+ <option value="0x01">Ausschalten Kesselpumpe</option>
+ <option value="0x02">Einschalten Kesselpumpe</option>
+ <option value="0x03">Ausschalten variable Verbraucher</option>
+ <option value="0x04">Einschalten variable Verbraucher</option>
+ </byteEnum>
+ <data2c offset="2" name="kesselSollwertTemperatur"/>
+ <data2b offset="4" name="kesselSollwertDruck"/>
+ </fields>
+ </packet>
+ </packets>
+</ebus>
diff --git a/doc/spec2html.xslt b/doc/spec2html.xslt
new file mode 100644
index 0000000..a18127e
--- /dev/null
+++ b/doc/spec2html.xslt
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template match="/">
+ <html>
+ <body>
+ <h2>Ebus Geräte</h2>
+ <table border="1">
+ <tr bgcolor="#9acd32">
+ <th>Adresse</th>
+ <th>Gerät</th>
+ <th>Typ</th>
+ </tr>
+ <xsl:for-each select="ebus/devices/device">
+ <tr>
+ <td>
+ <!-- anchor -->
+ <xsl:value-of select="@address"/>
+ </td>
+ <td><xsl:value-of select="text()"/></td>
+ <td><xsl:value-of select="@type"/></td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ <h2>Ebus Packete</h2>
+ <table border="1">
+ <tr bgcolor="#9acd32">
+ <th>Primary command</th>
+ <th>Secondary command</th>
+ <th>Description</th>
+ <th>Content</th>
+ </tr>
+ <xsl:for-each select="ebus/packets/packet">
+ <tr>
+ <td><xsl:value-of select="@primary"/></td>
+ <td><xsl:value-of select="@secondary"/></td>
+ <td><xsl:value-of select="@description"/></td>
+ <td>
+ <xsl:for-each select="fields/*">
+ <table>
+ <tr><th>name</th><th>typ</th><th>offset</th></tr>
+ <tr>
+ <td><xsl:value-of select="@name"/></td>
+ <td><xsl:value-of select="name()"/></td>
+ <td><xsl:value-of select="@offset"/></td>
+ </tr>
+ </table>
+ </xsl:for-each>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </body>
+ </html>
+</xsl:template>
+
+</xsl:stylesheet>