Hello,
I hav a problem with http binding and OH3:
I read sensors with http1 and xslt:
{ http="<[http://192.168.32.3/xml:50000:XSLT(Temp_Stube.xsl)]"}
Response from web:
xs1
Energiezaehler
0.0
Energie_Spitze
0.0
Gas
0.0
Aussentemperatur
0.0
Luftfeuchte
0.0
Wind
0.0
Temp_Stube
26.4
…
my problem with OH3 http2:
Thing http:url:EZ_Stube “EZ_Stube” [ baseURL=“http://192.168.32.3/xml”, refresh=10] {
Channels:
Type number : Temperatur [ stateTransformation=“XSLT:Temp_Stube.xsl” ]
}
???
I have here a error:
2020-12-30 19:49:16.862 [WARN ] [.transform.SingleValueTransformation] - Transformation service XSL for pattern Temp_Stube.xsl not found!
Can you help me? XSLT-transformations is installed.
my xsl-file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><xsl:stylesheet xmlns:xsl=“http://www.w3.org/1999/XSL/Transform” version=“1.0”>
<xsl:output indent=“yes” method=“xml” encoding=“UTF-8” omit-xml-declaration=“yes”/>
<xsl:template match="/">
<xsl:value-of select=“xml/data/*[text()=‘Temp_Stube’]/following-sibling::node()”/>
</xsl:template>
</xsl:stylesheet>
Thanks