Neues Modul readingsGroup

Begonnen von Niko, 24 August 2013, 11:59:11

Vorheriges Thema - Nächstes Thema

PEPITO82

@fhemfreund: Genau das gleiche Problem habe ich auch. Siehe hier: https://forum.fhem.de/index.php/topic,59209.0.html .

Bei mir sind seit dem Update am 9.10. die Werte mit HTML-Tags versehen.

justme1968

@fhemfreund: dein fhem ist nicht komplett aktuell. hast du das update auf alles gemacht?

@PEPITO82: dein problem bist nicht das gleiche. hier geht es um die darstellung.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

fhemfreund

@Andre - ja habe ich komplett via 'update' gemacht. Gibt es noch eine andere Möglichkeit? Oder eine Art 'force'? Andreas

justme1968

zeig mal was auf der javascript console steht wenn sich ein reading ändert.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

fhemfreund

Hier mal ein Auszug nach einem Readings Update (geloggt via Chrome)

Andreas


22:09:00.098 Longpoll with filter room=System%20Temperatur
22:09:28.252 Rcvd:
22:09:28.252 Rcvd: ["rg_battery-LaCrosse_02.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.5</div></html>","<html><div style=\u0022t...(179)
22:09:28.254 Rcvd: ["rg_battery-LaCrosse_02.dewpoint-ts","2016-10-24 22:09:20","2016-10-24 22:09:20"]
22:09:28.254 Rcvd: ["rg_battery-LaCrosse_02.temperature","<html><div style=\u0022text-align:right\u0022\u000a>19.2&deg;C</div></html>","<html><div styl...(194)
22:09:28.255 Rcvd: ["rg_battery-LaCrosse_02.temperature-ts","2016-10-24 22:09:20","2016-10-24 22:09:20"]
22:09:33.954 Rcvd: ["rg_battery-LaCrosse_02.temperature","<html><div style=\u0022text-align:right\u0022\u000a>19.3&deg;C</div></html>","<html><div styl...(194)
22:09:33.955 Rcvd: ["rg_battery-LaCrosse_02.temperature-ts","2016-10-24 22:09:25","2016-10-24 22:09:25"]
22:09:33.955 Rcvd: ["rg_battery-LaCrosse_02.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.6</div></html>","<html><div style=\u0022t...(179)
22:09:33.956 Rcvd: ["rg_battery-LaCrosse_02.dewpoint-ts","2016-10-24 22:09:25","2016-10-24 22:09:25"]
22:09:39.780 Rcvd: ["rg_battery-LaCrosse_02.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.3</div></html>","<html><div style=\u0022t...(179)
22:09:39.781 Rcvd: ["rg_battery-LaCrosse_02.dewpoint-ts","2016-10-24 22:09:30","2016-10-24 22:09:30"]
22:09:39.781 Rcvd: ["rg_battery-LaCrosse_02.humidity","<html><div style=\u0022text-align:right\u0022\u000a>60.0 %</div></html>","<html><div style=\u002...(183)
22:09:39.781 Rcvd: ["rg_battery-LaCrosse_02.humidity-ts","2016-10-24 22:09:30","2016-10-24 22:09:30"]
22:09:39.782 Rcvd: ["rg_battery-LaCrosse_02.temperature","<html><div style=\u0022text-align:right\u0022\u000a>19.2&deg;C</div></html>","<html><div styl...(194)
22:09:39.782 Rcvd: ["rg_battery-LaCrosse_02.temperature-ts","2016-10-24 22:09:30","2016-10-24 22:09:30"]
22:09:45.589 Rcvd: ["rg_battery-LaCrosse_02.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.5</div></html>","<html><div style=\u0022t...(179)
22:09:45.590 Rcvd: ["rg_battery-LaCrosse_02.dewpoint-ts","2016-10-24 22:09:35","2016-10-24 22:09:35"]
22:09:45.590 Rcvd: ["rg_battery-LaCrosse_02.humidity","<html><div style=\u0022text-align:right\u0022\u000a>61.0 %</div></html>","<html><div style=\u002...(183)
22:09:45.590 Rcvd: ["rg_battery-LaCrosse_02.humidity-ts","2016-10-24 22:09:35","2016-10-24 22:09:35"]
22:09:56.559 Rcvd: ["rg_battery-LaCrosse_31.battery","<html><svg class=\u0022icon measure_battery_100 white\u0022 data-txt=\u0022ok\u0022    xmlns:dc=\...(14234)
22:09:56.559 Rcvd: ["rg_battery-LaCrosse_31.battery-ts","2016-10-24 22:09:45","2016-10-24 22:09:45"]
22:09:56.559 Rcvd: ["rg_battery-LaCrosse_31.humidity","<html><div style=\u0022text-align:right\u0022\u000a>54.0 %</div></html>","<html><div style=\u002...(183)
22:09:56.559 Rcvd: ["rg_battery-LaCrosse_31.humidity-ts","2016-10-24 22:09:45","2016-10-24 22:09:45"]
22:09:56.559 Rcvd: ["rg_battery-LaCrosse_31.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>13.1</div></html>","<html><div style=\u0022t...(179)
22:09:56.559 Rcvd: ["rg_battery-LaCrosse_31.dewpoint-ts","2016-10-24 22:09:45","2016-10-24 22:09:45"]
22:10:24.554 Rcvd: ["rg_battery-LaCrosse_02.humidity","<html><div style=\u0022text-align:right\u0022\u000a>60.0 %</div></html>","<html><div style=\u002...(183)
22:10:24.554 Rcvd: ["rg_battery-LaCrosse_02.humidity-ts","2016-10-24 22:10:25","2016-10-24 22:10:25"]
22:10:24.554 Rcvd: ["rg_battery-LaCrosse_02.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.3</div></html>","<html><div style=\u0022t...(179)
22:10:24.554 Rcvd: ["rg_battery-LaCrosse_02.dewpoint-ts","2016-10-24 22:10:25","2016-10-24 22:10:25"]
22:10:39.740 Rcvd: ["rg_battery-LaCrosse_02.humidity","<html><div style=\u0022text-align:right\u0022\u000a>61.0 %</div></html>","<html><div style=\u002...(183)
22:10:39.741 Rcvd: ["rg_battery-LaCrosse_02.humidity-ts","2016-10-24 22:10:40","2016-10-24 22:10:40"]
22:10:39.742 Rcvd: ["rg_battery-LaCrosse_02.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.5</div></html>","<html><div style=\u0022t...(179)
22:10:39.742 Rcvd: ["rg_battery-LaCrosse_02.dewpoint-ts","2016-10-24 22:10:40","2016-10-24 22:10:40"]


justme1968

das schaut korrekt aus.

dein fhemweb ist vermutlich nicht aktuell bzw. dein browser verwendet noch eine alte version.

bitte verglich mal die version in www/pgm2 mit der svn version und mit der version die dein browser geladen hat.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

fhemfreund

Habe gerade eben nochmal ein FHEM Update gemacht - gleicher Fehler. Meine aktuellen Versions-# sind:

$Id: 01_FHEMWEB.pm 12416 2016-10-24 06:21:37Z rudolfkoenig $
$Id: fhem.pl 12423 2016-10-24 17:30:37Z rudolfkoenig $

Die fhemweb.js Version in www/pgm2 wurde auch mit upgedated (sehe ich am Datum). Leider kann ich die Versionen nicht checken, da ich im js-File keine Versionierung sehe. Gibt es da noch einen Trick?

Andreas

justme1968

#1597
in fhemweb.js in zeile 707 passiert die verarbeitung der events.

zuerst das einschliessen in <pre> wenn es ein newline in der nachricht gibt.  kommentiere mal bitte zeile 708 und 709 in fhemweb.js aus. ist das problem dann weg? wenn nicht kommt das <pre> woanders her. ich habe aber keine idee woher. laut deiner js console wird es nicht mit gesendet.

im folgenden wird auch der inhalt zwischen den <html>...</html> extrahiert und dann gesetzt. hier könnte auch etwas schief gehen wenn die <html> stehen bleiben.

du kannst mal zwischen zeile 711 und 712 einconsole.log( "'" + d[2] + "'" );
console.log( ma );
einbauen und auf die js console schauen.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

fhemfreund

#1598
Ok - habe jetzt

1. die <pre> verarbeitung auskommentiert. Ergebnis: siehe Anhang. <pre> taucht nicht mehr auf - der Fehler ist aber der gleiche.
2. deine 2 Code-Zeilen habe ich in die fhemweb.js eingefügt - dabei aber die original Version genommen, sprich Zeilen 708+709 nicht auskommentiert

Andreas

P.S. danke für deine Unterstützung!


15:35:46.994 Longpoll with filter room=System%20Temperatur
15:35:54.656 Rcvd:
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.battery","<html><svg class=\u0022icon measure_battery_100 white\u0022 data-txt=\u0022ok\u0022    xmlns:dc=\...(14234)
'<html><svg class="icon measure_battery_100 white" data-txt="ok"    xmlns:dc="http://purl.org/dc/elements/1.1/"    xmlns:cc="http://creativecommons.org/ns#"    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"    xmlns:svg="http://www.w3.org/2000/svg"    xmlns="http://www.w3.org/2000/svg"    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"    version="1.1"    x="0px"    y="0px"    width="361px"    height="361px"    viewBox="0 0 361 361"    style="enable-background:new 0 0 361 361;"    xml:space="preserve"    id="svg2"    inkscape:version="0.48.5 r10040"    sodipodi:docname="measure_battery_100.svg"><metadata    id="metadata36"><rdf:RDF><cc:Work        rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type          rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs    id="defs34" /><sodipodi:namedview    pagecolor="#ffffff"    bordercolor="#666666"    borderopacity="1"    objecttolerance="10"    gridtolerance="10"    guidetolerance="10"    inkscape:pageopacity="0"    inkscape:pageshadow="2"    inkscape:window-width="779"    inkscape:window-height="480"    id="namedview32"    showgrid="false"    inkscape:zoom="0.65373961"    inkscape:cx="180.5"    inkscape:cy="180.5"    inkscape:window-x="0"    inkscape:window-y="0"    inkscape:window-maximized="0"    inkscape:current-layer="svg2" /> <g    id="measure_x5F_battery_x5F_100"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> <g    id="g5"    style="stroke:#000000;stroke-opacity:1"> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 134.65625,89.15625 c -6.01649,0 -11,4.983509 -11,11 l 0,180 c 0,6.01649 4.98351,11 11,11 l 95.5,0 c 6.01631,0 11,-4.9825 11,-11 l 0,-180 c 0,-6.016491 -4.98351,-11 -11,-11 l -95.5,0 z m 0,10 95.5,0 c 0.60951,0 1,0.390491 1,1 l 0,180 c 0,0.6085 -0.39231,1 -1,1 l -95.5,0 c -0.60951,0 -1,-0.39049 -1,-1 l 0,-180 c 0,-0.609509 0.39049,-1 1,-1 z"    id="path7"    inkscape:connector-curvature="0" /> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 169.625,69.65625 c -6.01649,0 -11,4.983509 -11,11 l 0,14 10,0 0,-14 c 0,-0.609509 0.39049,-1 1,-1 l 25.5,0 c 0.60951,0 1,0.390491 1,1 l 0,14 10,0 0,-14 c 0,-6.016491 -4.98351,-11 -11,-11 l -25.5,0 z"    id="path9"    inkscape:connector-curvature="0" /> </g> <g    style="stroke:#000000;stroke-opacity:1;display:none"    id="g11"> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path13"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path15"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path17"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path19"    inkscape:connector-curvature="0" /> </g> <g    id="g21"    style="fill:white;fill-opacity:1;stroke:none"> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path23"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path25"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path27"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path29"    inkscape:connector-curvature="0" /> </g> </g> <g    id="Ebene_1"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> </g> </svg></html>'
Array[2]
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.battery-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.temperature","<html><div style=\u0022text-align:right\u0022\u000a>22.2&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>22.2&deg;C</div></html></pre>'
null
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.temperature-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.humidity","<html><div style=\u0022text-align:right\u0022\u000a>56.0 %</div></html>","<html><div style=\u002...(183)
'<pre><html><div style="text-align:right"
>56.0 %</div></html></pre>'
null
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.humidity-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>13.0</div></html>","<html><div style=\u0022t...(179)
'<pre><html><div style="text-align:right"
>13.0</div></html></pre>'
null
15:35:54.832 Rcvd: ["rg_battery-LaCrosse_31.dewpoint-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.battery","<html><svg class=\u0022icon measure_battery_100 white\u0022 data-txt=\u0022ok\u0022    xmlns:dc=\...(14234)
'<html><svg class="icon measure_battery_100 white" data-txt="ok"    xmlns:dc="http://purl.org/dc/elements/1.1/"    xmlns:cc="http://creativecommons.org/ns#"    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"    xmlns:svg="http://www.w3.org/2000/svg"    xmlns="http://www.w3.org/2000/svg"    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"    version="1.1"    x="0px"    y="0px"    width="361px"    height="361px"    viewBox="0 0 361 361"    style="enable-background:new 0 0 361 361;"    xml:space="preserve"    id="svg2"    inkscape:version="0.48.5 r10040"    sodipodi:docname="measure_battery_100.svg"><metadata    id="metadata36"><rdf:RDF><cc:Work        rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type          rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs    id="defs34" /><sodipodi:namedview    pagecolor="#ffffff"    bordercolor="#666666"    borderopacity="1"    objecttolerance="10"    gridtolerance="10"    guidetolerance="10"    inkscape:pageopacity="0"    inkscape:pageshadow="2"    inkscape:window-width="779"    inkscape:window-height="480"    id="namedview32"    showgrid="false"    inkscape:zoom="0.65373961"    inkscape:cx="180.5"    inkscape:cy="180.5"    inkscape:window-x="0"    inkscape:window-y="0"    inkscape:window-maximized="0"    inkscape:current-layer="svg2" /> <g    id="measure_x5F_battery_x5F_100"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> <g    id="g5"    style="stroke:#000000;stroke-opacity:1"> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 134.65625,89.15625 c -6.01649,0 -11,4.983509 -11,11 l 0,180 c 0,6.01649 4.98351,11 11,11 l 95.5,0 c 6.01631,0 11,-4.9825 11,-11 l 0,-180 c 0,-6.016491 -4.98351,-11 -11,-11 l -95.5,0 z m 0,10 95.5,0 c 0.60951,0 1,0.390491 1,1 l 0,180 c 0,0.6085 -0.39231,1 -1,1 l -95.5,0 c -0.60951,0 -1,-0.39049 -1,-1 l 0,-180 c 0,-0.609509 0.39049,-1 1,-1 z"    id="path7"    inkscape:connector-curvature="0" /> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 169.625,69.65625 c -6.01649,0 -11,4.983509 -11,11 l 0,14 10,0 0,-14 c 0,-0.609509 0.39049,-1 1,-1 l 25.5,0 c 0.60951,0 1,0.390491 1,1 l 0,14 10,0 0,-14 c 0,-6.016491 -4.98351,-11 -11,-11 l -25.5,0 z"    id="path9"    inkscape:connector-curvature="0" /> </g> <g    style="stroke:#000000;stroke-opacity:1;display:none"    id="g11"> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path13"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path15"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path17"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path19"    inkscape:connector-curvature="0" /> </g> <g    id="g21"    style="fill:white;fill-opacity:1;stroke:none"> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path23"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path25"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path27"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path29"    inkscape:connector-curvature="0" /> </g> </g> <g    id="Ebene_1"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> </g> </svg></html>'
Array[2]
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.battery-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>13.2</div></html>","<html><div style=\u0022t...(179)
'<pre><html><div style="text-align:right"
>13.2</div></html></pre>'
null
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.dewpoint-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.humidity","<html><div style=\u0022text-align:right\u0022\u000a>66.0 %</div></html>","<html><div style=\u002...(183)
'<pre><html><div style="text-align:right"
>66.0 %</div></html></pre>'
null
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.humidity-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.temperature","<html><div style=\u0022text-align:right\u0022\u000a>19.7&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>19.7&deg;C</div></html></pre>'
null
15:35:55.071 Rcvd: ["rg_battery-LaCrosse_2E.temperature-ts","2016-10-25 15:35:55","2016-10-25 15:35:55"]
15:35:55.694 Rcvd: ["rg_battery-LaCrosse_39.battery","<html><svg class=\u0022icon measure_battery_100 white\u0022 data-txt=\u0022ok\u0022    xmlns:dc=\...(14234)
'<html><svg class="icon measure_battery_100 white" data-txt="ok"    xmlns:dc="http://purl.org/dc/elements/1.1/"    xmlns:cc="http://creativecommons.org/ns#"    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"    xmlns:svg="http://www.w3.org/2000/svg"    xmlns="http://www.w3.org/2000/svg"    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"    version="1.1"    x="0px"    y="0px"    width="361px"    height="361px"    viewBox="0 0 361 361"    style="enable-background:new 0 0 361 361;"    xml:space="preserve"    id="svg2"    inkscape:version="0.48.5 r10040"    sodipodi:docname="measure_battery_100.svg"><metadata    id="metadata36"><rdf:RDF><cc:Work        rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type          rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs    id="defs34" /><sodipodi:namedview    pagecolor="#ffffff"    bordercolor="#666666"    borderopacity="1"    objecttolerance="10"    gridtolerance="10"    guidetolerance="10"    inkscape:pageopacity="0"    inkscape:pageshadow="2"    inkscape:window-width="779"    inkscape:window-height="480"    id="namedview32"    showgrid="false"    inkscape:zoom="0.65373961"    inkscape:cx="180.5"    inkscape:cy="180.5"    inkscape:window-x="0"    inkscape:window-y="0"    inkscape:window-maximized="0"    inkscape:current-layer="svg2" /> <g    id="measure_x5F_battery_x5F_100"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> <g    id="g5"    style="stroke:#000000;stroke-opacity:1"> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 134.65625,89.15625 c -6.01649,0 -11,4.983509 -11,11 l 0,180 c 0,6.01649 4.98351,11 11,11 l 95.5,0 c 6.01631,0 11,-4.9825 11,-11 l 0,-180 c 0,-6.016491 -4.98351,-11 -11,-11 l -95.5,0 z m 0,10 95.5,0 c 0.60951,0 1,0.390491 1,1 l 0,180 c 0,0.6085 -0.39231,1 -1,1 l -95.5,0 c -0.60951,0 -1,-0.39049 -1,-1 l 0,-180 c 0,-0.609509 0.39049,-1 1,-1 z"    id="path7"    inkscape:connector-curvature="0" /> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 169.625,69.65625 c -6.01649,0 -11,4.983509 -11,11 l 0,14 10,0 0,-14 c 0,-0.609509 0.39049,-1 1,-1 l 25.5,0 c 0.60951,0 1,0.390491 1,1 l 0,14 10,0 0,-14 c 0,-6.016491 -4.98351,-11 -11,-11 l -25.5,0 z"    id="path9"    inkscape:connector-curvature="0" /> </g> <g    style="stroke:#000000;stroke-opacity:1;display:none"    id="g11"> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path13"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path15"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path17"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path19"    inkscape:connector-curvature="0" /> </g> <g    id="g21"    style="fill:white;fill-opacity:1;stroke:none"> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path23"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path25"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path27"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path29"    inkscape:connector-curvature="0" /> </g> </g> <g    id="Ebene_1"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> </g> </svg></html>'
Array[2]
15:35:55.694 Rcvd: ["rg_battery-LaCrosse_39.battery-ts","2016-10-25 15:35:56","2016-10-25 15:35:56"]
15:35:55.694 Rcvd: ["rg_battery-LaCrosse_39.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>10.2</div></html>","<html><div style=\u0022t...(179)
'<pre><html><div style="text-align:right"
>10.2</div></html></pre>'
null
15:35:55.694 Rcvd: ["rg_battery-LaCrosse_39.dewpoint-ts","2016-10-25 15:35:56","2016-10-25 15:35:56"]
15:35:55.745 Rcvd: ["rg_battery-LaCrosse_39.temperature","<html><div style=\u0022text-align:right\u0022\u000a>23.1&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>23.1&deg;C</div></html></pre>'
null
15:35:55.746 Rcvd: ["rg_battery-LaCrosse_39.temperature-ts","2016-10-25 15:35:56","2016-10-25 15:35:56"]
15:35:55.746 Rcvd: ["rg_battery-LaCrosse_39.humidity","<html><div style=\u0022text-align:right\u0022\u000a>44.0 %</div></html>","<html><div style=\u002...(183)
'<pre><html><div style="text-align:right"
>44.0 %</div></html></pre>'
null
15:35:55.746 Rcvd: ["rg_battery-LaCrosse_39.humidity-ts","2016-10-25 15:35:56","2016-10-25 15:35:56"]
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.battery","<html><svg class=\u0022icon measure_battery_100 white\u0022 data-txt=\u0022ok\u0022    xmlns:dc=\...(14234)
'<html><svg class="icon measure_battery_100 white" data-txt="ok"    xmlns:dc="http://purl.org/dc/elements/1.1/"    xmlns:cc="http://creativecommons.org/ns#"    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"    xmlns:svg="http://www.w3.org/2000/svg"    xmlns="http://www.w3.org/2000/svg"    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"    version="1.1"    x="0px"    y="0px"    width="361px"    height="361px"    viewBox="0 0 361 361"    style="enable-background:new 0 0 361 361;"    xml:space="preserve"    id="svg2"    inkscape:version="0.48.5 r10040"    sodipodi:docname="measure_battery_100.svg"><metadata    id="metadata36"><rdf:RDF><cc:Work        rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type          rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs    id="defs34" /><sodipodi:namedview    pagecolor="#ffffff"    bordercolor="#666666"    borderopacity="1"    objecttolerance="10"    gridtolerance="10"    guidetolerance="10"    inkscape:pageopacity="0"    inkscape:pageshadow="2"    inkscape:window-width="779"    inkscape:window-height="480"    id="namedview32"    showgrid="false"    inkscape:zoom="0.65373961"    inkscape:cx="180.5"    inkscape:cy="180.5"    inkscape:window-x="0"    inkscape:window-y="0"    inkscape:window-maximized="0"    inkscape:current-layer="svg2" /> <g    id="measure_x5F_battery_x5F_100"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> <g    id="g5"    style="stroke:#000000;stroke-opacity:1"> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 134.65625,89.15625 c -6.01649,0 -11,4.983509 -11,11 l 0,180 c 0,6.01649 4.98351,11 11,11 l 95.5,0 c 6.01631,0 11,-4.9825 11,-11 l 0,-180 c 0,-6.016491 -4.98351,-11 -11,-11 l -95.5,0 z m 0,10 95.5,0 c 0.60951,0 1,0.390491 1,1 l 0,180 c 0,0.6085 -0.39231,1 -1,1 l -95.5,0 c -0.60951,0 -1,-0.39049 -1,-1 l 0,-180 c 0,-0.609509 0.39049,-1 1,-1 z"    id="path7"    inkscape:connector-curvature="0" /> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 169.625,69.65625 c -6.01649,0 -11,4.983509 -11,11 l 0,14 10,0 0,-14 c 0,-0.609509 0.39049,-1 1,-1 l 25.5,0 c 0.60951,0 1,0.390491 1,1 l 0,14 10,0 0,-14 c 0,-6.016491 -4.98351,-11 -11,-11 l -25.5,0 z"    id="path9"    inkscape:connector-curvature="0" /> </g> <g    style="stroke:#000000;stroke-opacity:1;display:none"    id="g11"> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path13"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path15"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path17"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path19"    inkscape:connector-curvature="0" /> </g> <g    id="g21"    style="fill:white;fill-opacity:1;stroke:none"> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path23"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path25"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path27"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path29"    inkscape:connector-curvature="0" /> </g> </g> <g    id="Ebene_1"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> </g> </svg></html>'
Array[2]
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.battery-ts","2016-10-25 15:36:00","2016-10-25 15:36:00"]
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.humidity","<html><div style=\u0022text-align:right\u0022\u000a>63.0 %</div></html>","<html><div style=\u002...(183)
'<pre><html><div style="text-align:right"
>63.0 %</div></html></pre>'
null
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.humidity-ts","2016-10-25 15:36:00","2016-10-25 15:36:00"]
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.temperature","<html><div style=\u0022text-align:right\u0022\u000a>19.6&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>19.6&deg;C</div></html></pre>'
null
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.temperature-ts","2016-10-25 15:36:00","2016-10-25 15:36:00"]
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>12.4</div></html>","<html><div style=\u0022t...(179)
'<pre><html><div style="text-align:right"
>12.4</div></html></pre>'
null
15:36:00.374 Rcvd: ["rg_battery-LaCrosse_02.dewpoint-ts","2016-10-25 15:36:00","2016-10-25 15:36:00"]
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.battery","<html><svg class=\u0022icon measure_battery_100 white\u0022 data-txt=\u0022ok\u0022    xmlns:dc=\...(14234)
'<html><svg class="icon measure_battery_100 white" data-txt="ok"    xmlns:dc="http://purl.org/dc/elements/1.1/"    xmlns:cc="http://creativecommons.org/ns#"    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"    xmlns:svg="http://www.w3.org/2000/svg"    xmlns="http://www.w3.org/2000/svg"    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"    version="1.1"    x="0px"    y="0px"    width="361px"    height="361px"    viewBox="0 0 361 361"    style="enable-background:new 0 0 361 361;"    xml:space="preserve"    id="svg2"    inkscape:version="0.48.5 r10040"    sodipodi:docname="measure_battery_100.svg"><metadata    id="metadata36"><rdf:RDF><cc:Work        rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type          rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs    id="defs34" /><sodipodi:namedview    pagecolor="#ffffff"    bordercolor="#666666"    borderopacity="1"    objecttolerance="10"    gridtolerance="10"    guidetolerance="10"    inkscape:pageopacity="0"    inkscape:pageshadow="2"    inkscape:window-width="779"    inkscape:window-height="480"    id="namedview32"    showgrid="false"    inkscape:zoom="0.65373961"    inkscape:cx="180.5"    inkscape:cy="180.5"    inkscape:window-x="0"    inkscape:window-y="0"    inkscape:window-maximized="0"    inkscape:current-layer="svg2" /> <g    id="measure_x5F_battery_x5F_100"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> <g    id="g5"    style="stroke:#000000;stroke-opacity:1"> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 134.65625,89.15625 c -6.01649,0 -11,4.983509 -11,11 l 0,180 c 0,6.01649 4.98351,11 11,11 l 95.5,0 c 6.01631,0 11,-4.9825 11,-11 l 0,-180 c 0,-6.016491 -4.98351,-11 -11,-11 l -95.5,0 z m 0,10 95.5,0 c 0.60951,0 1,0.390491 1,1 l 0,180 c 0,0.6085 -0.39231,1 -1,1 l -95.5,0 c -0.60951,0 -1,-0.39049 -1,-1 l 0,-180 c 0,-0.609509 0.39049,-1 1,-1 z"    id="path7"    inkscape:connector-curvature="0" /> <path    style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:white;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"    d="m 169.625,69.65625 c -6.01649,0 -11,4.983509 -11,11 l 0,14 10,0 0,-14 c 0,-0.609509 0.39049,-1 1,-1 l 25.5,0 c 0.60951,0 1,0.390491 1,1 l 0,14 10,0 0,-14 c 0,-6.016491 -4.98351,-11 -11,-11 l -25.5,0 z"    id="path9"    inkscape:connector-curvature="0" /> </g> <g    style="stroke:#000000;stroke-opacity:1;display:none"    id="g11"> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path13"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path15"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path17"    inkscape:connector-curvature="0" /> <path    style="fill:none;stroke:#000000;stroke-width:10;stroke-opacity:1;display:inline"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path19"    inkscape:connector-curvature="0" /> </g> <g    id="g21"    style="fill:white;fill-opacity:1;stroke:none"> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,266.334 c 0,3.313 -2.688,6 -6,6 h -65.5 c -3.313,0 -6,-2.688 -6,-6 v -6 c 0,-3.314 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.686 6,6 v 26 z"    id="path23"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,166.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path25"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,120 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -26 c 0,-3.313 2.687,-6 6,-6 h 65.5 c 3.313,0 6,2.687 6,6 v 6 z"    id="path27"    inkscape:connector-curvature="0" /> <path    style="fill:white;fill-opacity:1;stroke:none"    d="m 221.141,213.667 c 0,3.313 -2.688,6 -6,6 l -65.5,20 c -3.313,0 -6,-2.687 -6,-6 v -20 c 0,-3.313 2.687,-6 6,-6 l 65.5,-20 c 3.313,0 6,2.687 6,6 v 20 z"    id="path29"    inkscape:connector-curvature="0" /> </g> </g> <g    id="Ebene_1"    style="stroke:#000000;stroke-opacity:1"    transform="matrix(1.6146267,0,0,1.6146267,-112.50812,-110.12429)"> </g> </svg></html>'
Array[2]
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.battery-ts","2016-10-25 15:36:01","2016-10-25 15:36:01"]
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>9.4</div></html>","<html><div style=\u0022te...(177)
'<pre><html><div style="text-align:right"
>9.4</div></html></pre>'
null
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.dewpoint-ts","2016-10-25 15:36:01","2016-10-25 15:36:01"]
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.temperature","<html><div style=\u0022text-align:right\u0022\u000a>13.1&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>13.1&deg;C</div></html></pre>'
null
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.temperature-ts","2016-10-25 15:36:01","2016-10-25 15:36:01"]
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.humidity","<html><div style=\u0022text-align:right\u0022\u000a>78.0 %</div></html>","<html><div style=\u002...(183)
'<pre><html><div style="text-align:right"
>78.0 %</div></html></pre>'
null
15:36:00.871 Rcvd: ["rg_battery-LaCrosse_2F.humidity-ts","2016-10-25 15:36:01","2016-10-25 15:36:01"]
15:36:02.838 Rcvd: ["#FHEMWEB:WEB_192.168.0.201_49452","$('#saveCheck').css('visibility','hidden')",""]
15:36:04.989 Rcvd: ["rg_battery-LaCrosse_2E.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>13.3</div></html>","<html><div style=\u0022t...(179)
'<pre><html><div style="text-align:right"
>13.3</div></html></pre>'
null
15:36:04.989 Rcvd: ["rg_battery-LaCrosse_2E.dewpoint-ts","2016-10-25 15:36:05","2016-10-25 15:36:05"]
15:36:04.989 Rcvd: ["rg_battery-LaCrosse_2E.temperature","<html><div style=\u0022text-align:right\u0022\u000a>19.8&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>19.8&deg;C</div></html></pre>'
null
15:36:04.989 Rcvd: ["rg_battery-LaCrosse_2E.temperature-ts","2016-10-25 15:36:05","2016-10-25 15:36:05"]
15:36:05.276 Rcvd: ["rg_battery-GT_WT_02_121.humidity","<html><div style=\u0022text-align:right\u0022\u000a>49.0 %</div></html>","<html><div style=\u00...(184)
'<pre><html><div style="text-align:right"
>49.0 %</div></html></pre>'
null
15:36:05.277 Rcvd: ["rg_battery-GT_WT_02_121.humidity-ts","2016-10-25 15:36:05","2016-10-25 15:36:05"]
15:36:05.277 Rcvd: ["rg_battery-GT_WT_02_121.temperature","<html><div style=\u0022text-align:right\u0022\u000a>22.6&deg;C</div></html>","<html><div sty...(195)
'<pre><html><div style="text-align:right"
>22.6&deg;C</div></html></pre>'
null
15:36:05.278 Rcvd: ["rg_battery-GT_WT_02_121.temperature-ts","2016-10-25 15:36:05","2016-10-25 15:36:05"]
15:36:05.278 Rcvd: ["rg_battery-GT_WT_02_121.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.4</div></html>","<html><div style=\u0022...(180)
'<pre><html><div style="text-align:right"
>11.4</div></html></pre>'
null
15:36:05.279 Rcvd: ["rg_battery-GT_WT_02_121.dewpoint-ts","2016-10-25 15:36:05","2016-10-25 15:36:05"]
15:36:06.207 Rcvd: ["rg_battery-GT_WT_02_27.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>9.4</div></html>","<html><div style=\u0022te...(177)
'<pre><html><div style="text-align:right"
>9.4</div></html></pre>'
null
15:36:06.208 Rcvd: ["rg_battery-GT_WT_02_27.dewpoint-ts","2016-10-25 15:36:06","2016-10-25 15:36:06"]
15:36:06.208 Rcvd: ["rg_battery-GT_WT_02_27.humidity","<html><div style=\u0022text-align:right\u0022\u000a>44.0 %</div></html>","<html><div style=\u002...(183)
'<pre><html><div style="text-align:right"
>44.0 %</div></html></pre>'
null
15:36:06.209 Rcvd: ["rg_battery-GT_WT_02_27.humidity-ts","2016-10-25 15:36:06","2016-10-25 15:36:06"]
15:36:06.209 Rcvd: ["rg_battery-GT_WT_02_27.temperature","<html><div style=\u0022text-align:right\u0022\u000a>22.2&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>22.2&deg;C</div></html></pre>'
null
15:36:06.209 Rcvd: ["rg_battery-GT_WT_02_27.temperature-ts","2016-10-25 15:36:06","2016-10-25 15:36:06"]
15:36:09.572 Rcvd: ["rg_battery-GT_WT_02_117.temperature","<html><div style=\u0022text-align:right\u0022\u000a>20.7&deg;C</div></html>","<html><div sty...(195)
'<pre><html><div style="text-align:right"
>20.7&deg;C</div></html></pre>'
null
15:36:09.572 Rcvd: ["rg_battery-GT_WT_02_117.temperature-ts","2016-10-25 15:36:10","2016-10-25 15:36:10"]
15:36:09.572 Rcvd: ["rg_battery-GT_WT_02_117.humidity","<html><div style=\u0022text-align:right\u0022\u000a>54.0 %</div></html>","<html><div style=\u00...(184)
'<pre><html><div style="text-align:right"
>54.0 %</div></html></pre>'
null
15:36:09.572 Rcvd: ["rg_battery-GT_WT_02_117.humidity-ts","2016-10-25 15:36:10","2016-10-25 15:36:10"]
15:36:09.572 Rcvd: ["rg_battery-GT_WT_02_117.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>11.1</div></html>","<html><div style=\u0022...(180)
'<pre><html><div style="text-align:right"
>11.1</div></html></pre>'
null
15:36:09.572 Rcvd: ["rg_battery-GT_WT_02_117.dewpoint-ts","2016-10-25 15:36:10","2016-10-25 15:36:10"]
15:36:10.183 Rcvd: ["rg_battery-LaCrosse_2E.dewpoint","<html><div style=\u0022text-align:right\u0022\u000a>13.2</div></html>","<html><div style=\u0022t...(179)
'<pre><html><div style="text-align:right"
>13.2</div></html></pre>'
null
15:36:10.184 Rcvd: ["rg_battery-LaCrosse_2E.dewpoint-ts","2016-10-25 15:36:10","2016-10-25 15:36:10"]
15:36:10.184 Rcvd: ["rg_battery-LaCrosse_2E.temperature","<html><div style=\u0022text-align:right\u0022\u000a>19.7&deg;C</div></html>","<html><div styl...(194)
'<pre><html><div style="text-align:right"
>19.7&deg;C</div></html></pre>'
null
15:36:10.184 Rcvd: ["rg_battery-LaCrosse_2E.temperature-ts","2016-10-25 15:36:10","2016-10-25 15:36:10"]

fhemfreund

Habe jetzt nochmal etwas probiert - hatte bisher das Attribut


valueStyle   style="text-align:right"


verwendet. Sobald ich dieses lösche tritt der Fehler nicht mehr auf.

Andreas

Elektrolurch

Hallo Andre,

wenn in einer readingsGroup ein reading den Wert undef hat, so wird es nicht angezeigt. Ausnahme: Wenn das reading eine Werteliste (Einblendliste/Menü) hat. Die wird trotz undef angezeigt.
Ich habe an zwei Stellen eine kleine Ergänzung eingebaut:
Das Attribut commands kann auch einen perl-Code beinhalten, der dann den String für ein command zurückliefert.
Beispiel:
attr Alle_Thermostate_rg commands {'Hk2-Betriebsart' => 'Hk2-Betriebsart:','Hk2-Normal-VL-Soll' => '{(ReadingsVal($DEVICE,"Hk2-Betriebsart",0) eq "Normal") ? "Hk2-Normal-VL-Soll:": undef}',

Nur wenn die Betriebsart der Heizung auf "normal" steht wird das Menü für die Vorlauftemp angezeigt.

Es gibt eine Reihe von Fällen, wo das ganz nützlich ist.
Ich habe die Änderungen mit "Elektrolurch" gekennzeichnet und hänge die Datei an. Bitte übernehmen.

Danke.

Elektrolurch
configDB und Windows befreite Zone!

dev0

Hi Andre,

ich versuche gerade eine readingsGroup, mit klickbaren Icons, zu erstellen. Grundsätzlich funtioniert das:

DEF        <%sani_heating>,<%rc_0>,<%rc_1>,<%rc_2> KE_PUMP:Relay,Led,Led@test
Attributes:
   commands   {
  'Relay.on'  => 'set $DEVICE gpio 12 off',
  'Relay.off' => 'set $DEVICE gpio 12 on',
  'Led.on'    => 'set $DEVICE gpio 13 off',
  'Led.off'   => 'set $DEVICE gpio 13 on'
}
   valueIcon  {
  'Relay.on'  => 'ios-on-green',
  'Relay.off' => 'ios-off',
  'Led.on'    => 'ios-on-green',
  'Led.off'   => 'ios-off'
}


Ich finde aber keinen Ansatz unterschiedliche Befehle zu senden, wenn in mehreren Devices identische Readingnamen verwendet werden. In dem Beispiel möchte ich zB, dass das Icon für Led@test einen anderen gpio Port schaltet. Versuche den key mit 'device:reading.value' oder 'reading@device.value' anzugeben funktionieren nicht.
Verstehst Du was ich meine und gibt es eine Möglichkeit das umzusetzen?

kvo1

#1602
Hallo Andre,
ich habe seit ewigen Zeiten eine rg für meine Heizung (modul VCONTROL) in der ich mir einfach alle Readings anzeigen lassen.

define Heizungsstatus readingsGroup <%sani_boiler_temp@red>,<Status>,<Akt.Datum> Vito200
attr Heizungsstatus mapping $READING
attr Heizungsstatus nameStyle style="color:orange;;;;font-weight:bold"
attr Heizungsstatus nolinks 1
attr Heizungsstatus room Heizung
attr Heizungsstatus style style="font-size:12px"
attr Heizungsstatus valueFormat {"Fehler1"=>"%X","Fehler2"=>"%X","Fehler3"=>"%X","Fehler4"=>"%X","Fehler5"=>"%X","Fehler6"=>"%X","Fehler7"=>"%X","Fehler8"=>"%X","Fehler9"=>"%X","Fehler10"=>"%X","BrennerStartsLastDay" =>"%.0f", "BrennerStartsToday" =>"%.0f", "BrennerStartsDayStart" =>"%.0f", "BrennerLeistung" => "%.0f %%", "Temp-Abgas" =>"%.0f°C", "Temp-Aussen" =>"%.0f°C", "Temp-Kessel-Ist"=>"%.0f°C", "Temp-Kessel-Soll"=>"%.0f°C", "Temp-WarmWasser-Ist"=> "%.0f°C", "Temp-WarmWasser-Soll"=> "%.0f°C"}


Seit einige Tagen bekam ich aber nichts mehr angezeigt (ausser den Header), habe nun mal auf eine ältere Version
(33_readingsGroup.pm    12137 2016-09-11 14:45:55Z justme1968)
eingespielt und diese funktioniert.

Hast Du eine Idee woran dies liegen könnte, hat sich am Modul etwas geändert .....

Danke für die Hilfe vorab

Klaus
RPi1: mit CUL: HM-CC-RT-DN,HM-ES-PMSw1-Pl,HM-LC-BL1-FM,HM-LC-Bl1PBU-FM,HM-LC-SW1-PL2,HM-SCI-3-FM,HM-SEC-SC-2,KFM-Sensor
RPi2: Viessmann(optolink) mit 99_VCONTROL.pm,
Cubietruck: Wheezy / Apache / Owncloud
Cubietruck: Armbian(Jessie) / fhem 5.7 / LMS 7.9
RPi3: (Test) mit 7" Touch  &  HM-MOD-RPI-PCB

justme1968

@Elektrolurch: baue ich ein. dauert aber noch etwas.

@dev0: du kannst z.b. im mapping ..., '<name>.<reading>' => '{...}', ... verwenden und im perl code dann abhängig von $VALUE den passenden schaltbefehel zurück geben.
ab morgen kannst du als key auch <name>.<reading>.<value> verwenden und den umweg über perl sparen.

@kvo1: zeig mal bitte ein list von der radingsGroup und ein jsonlist2 von der heizung.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

dev0

Zitat von: justme1968 am 11 November 2016, 09:40:29
ab morgen kannst du als key auch <name>.<reading>.<value> verwenden und den umweg über perl sparen.

Vielen Dank!