NEWS
Daten aus einer Website mit Javascript
-
Ich werde Versuchen sobald ich etwas Zeit finde hier eine Bebilderte Anleitung zu erstellen.
-
Das wäre schön, Danke
-
OK ich habe es hinbekommen, (jipiehhhh)
Ich versuche es auchmal für andere zu erklären:
es braucht die Adapter:
-Javascript
-Parser
im Javascript müssen bei als zusätzliche NPM
Module:
xmlhttprequest,xml,jquery,xml2js,xmldom,regex
eingetragen werden.
Bild1
Dann 2 Javascripte anlegen,
Script 1 der Text aus StateMaschine , siehe Post oben.
Script 2 der Text aus Logger, siehe Post oben.
ACHTUNG, anlegen der Scripte bei Namen "ohne Gruppe"
Bild 2
Script 1 legt die Datenpunkte an
Script 2 holt die Daten.
Schon tauchen die Punkte bei Objekten auf (sollten sie zumindest)
Bild 3
Jetzt im Vis Editor ein "Value" Widget einfügen und bei ID den gewünschten Wert (hier Wasserverbrauch gestern) auswählen fertig!
Bild 4
sollte ich etwas vergessen haben bitte ich die Profis es nachzutragen.
9876_java2.jpg
9876_java.jpg
9876_datendarstellen.jpg
9876_objekt.jpg -
Passt genau so.
Dann spar ich mir die Anleitung.
-
Und für alle die sich die Arbeit sparen wollen hänge ich gleich mal mein Widget export an: (unfertig)
! [{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Wasserverbrauch.D_Y_2_01","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_append_plural":" Liter"},"style":{"left":"325px","top":"108px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"nothing_selected","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Wasserverbrauch gestern"},"style":{"left":"123px","top":"107px","color":"#ffffff","width":"200","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Allgemein.D_Y_13","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"325px","top":"188px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"Messwerte.0.SC18.Allgemein.D_Y_13","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Austauscher gestört"},"style":{"left":"123px","top":"187px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Allgemein.D_Y_13","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"325px","top":"208px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Soletank besalzen"},"style":{"left":"123px","top":"207px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Aktualwerte.D_A_1_1","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"325px","top":"228px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"Messwerte.0.SC18.Allgemein.D_Y_13","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Aktueller Druchfluss"},"style":{"left":"123px","top":"227px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Aktualwerte.D_A_1_2","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"","html_append_plural":" m³*°dH"},"style":{"left":"325px","top":"248px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"Messwerte.0.SC18.Allgemein.D_Y_13","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Restkapazität"},"style":{"left":"123px","top":"247px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Aktualwerte.D_A_3_1","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"325px","top":"268px","color":"#ffffff","width":"111px"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"Messwerte.0.SC18.Allgemein.D_Y_13","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"letzte Regeneration"},"style":{"left":"123px","top":"267px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Wasserverbrauch.D_Y_2_02","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_append_plural":" Liter"},"style":{"left":"325px","top":"128px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"nothing_selected","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Wasserverbr. vor 2 Tagen"},"style":{"left":"123px","top":"127px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Wasserverbrauch.D_Y_2_03","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_append_plural":" Liter"},"style":{"left":"325px","top":"148px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"nothing_selected","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Wasserverbr. vor 3 Tagen"},"style":{"left":"123px","top":"147px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"Messwerte.0.SC18.Wasserverbrauch.D_Y_2_04","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_append_plural":" Liter"},"style":{"left":"325px","top":"168px","color":"#ffffff","width":"111"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"nothing_selected","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Wasserverbr. vor 4 Tagen"},"style":{"left":"123px","top":"167px","color":"#ffffff","width":"180","height":"20px"},"widgetSet":"basic"},{"tpl":"tplFrame","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":true,"g_css_border":true,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","title":"","title_color":"black","title_top":"-10","title_left":"15","header_height":"0","header_color":"black","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"117px","top":"75px","width":"305px","height":"213px","border-width":"3px","border-style":"groove","z-index":0},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"nothing_selected","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Grünbeck SC18"},"style":{"left":"123px","top":"85px","color":"#f8b03a","width":"200px","height":"20px","font-weight":"bold","font-size":"large"},"widgetSet":"basic"}]
Das sollte dann so aussehen:
9876_gruenb.jpg -
Vielen lieben Dank für die Anleitung,
bei mir läuft es jetzt auch endlich
Hier und da noch was Einstellen, aber klappt.
OK ich habe es hinbekommen, (jipiehhhh)
Ich versuche es auchmal für andere zu erklären:
es braucht die Adapter:
-Javascript
-Parser
im Javascript müssen bei als zusätzliche NPM
Module:
xmlhttprequest,xml,jquery,xml2js,xmldom,regex
eingetragen werden.
Bild1
Dann 2 Javascripte anlegen,
Script 1 der Text aus StateMaschine , siehe Post oben.
Script 2 der Text aus Logger, siehe Post oben.
ACHTUNG, anlegen der Scripte bei Namen "ohne Gruppe"
Bild 2
Script 1 legt die Datenpunkte an
Script 2 holt die Daten.
Schon tauchen die Punkte bei Objekten auf (sollten sie zumindest)
Bild 3
Jetzt im Vis Editor ein "Value" Widget einfügen und bei ID den gewünschten Wert (hier Wasserverbrauch gestern) auswählen fertig!
Bild 4
sollte ich etwas vergessen haben bitte ich die Profis es nachzutragen. `
9941_gr_nbeck.jpg -
Hallo zusammen,
leider bekomme ich es nicht hin. Kann mir hier jemand helfen? Installation habe ich exakt nach der Vorgabe gemacht, IP-Adresse wurde eingetragen etc.
LOG zeigt:
javascript.0 2018-11-30 16:31:07.483 warn at process._tickCallback (internal/process/next_tick.js:180:9)
javascript.0 2018-11-30 16:31:07.483 warn at _combinedTickCallback (internal/process/next_tick.js:138:11)
javascript.0 2018-11-30 16:31:07.483 warn at endReadableNT (_stream_readable.js:1064:12)
javascript.0 2018-11-30 16:31:07.482 warn at IncomingMessage.emit (events.js:208:7)
javascript.0 2018-11-30 16:31:07.482 warn at emitNone (events.js:111:20)
javascript.0 2018-11-30 16:31:07.482 warn at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
javascript.0 2018-11-30 16:31:07.481 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14)
javascript.0 2018-11-30 16:31:07.481 warn at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
javascript.0 2018-11-30 16:31:07.480 warn at exports.XMLHttpRequest.Interval.xhr.onreadystatechange (script.js.Datenholen:74:33)
javascript.0 2018-11-30 16:31:07.478 warn State "Messwerte.0.SC18.Allgemein.D_C_4_1" not found
javascript.0 2018-11-30 16:31:07.477 warn at process._tickCallback (internal/process/next_tick.js:180:9)
javascript.0 2018-11-30 16:31:07.477 warn at _combinedTickCallback (internal/process/next_tick.js:138:11)
javascript.0 2018-11-30 16:31:07.477 warn at endReadableNT (_stream_readable.js:1064:12)
javascript.0 2018-11-30 16:31:07.476 warn at IncomingMessage.emit (events.js:208:7)
javascript.0 2018-11-30 16:31:07.476 warn at emitNone (events.js:111:20)
javascript.0 2018-11-30 16:31:07.476 warn at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
javascript.0 2018-11-30 16:31:07.475 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14)
javascript.0 2018-11-30 16:31:07.475 warn at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
javascript.0 2018-11-30 16:31:07.474 warn at exports.XMLHttpRequest.Interval.xhr.onreadystatechange (script.js.Datenholen:72:33)
javascript.0 2018-11-30 16:31:07.472 warn Wrong type of Messwerte.0.SC18.Allgemein.D_C_5_2: "string". Please fix, while deprecated and will not work in next versions.
javascript.0 2018-11-30 16:31:05.055 info script.js.Datenholen: Request 2 ausgeführt
javascript.0 2018-11-30 16:31:02.050 info script.js.Datenholen: Request 1 ausgeführt
javascript.0 2018-11-30 16:30:59.045 info script.js.Datenholen: Request 5 ausgeführt
javascript.0 2018-11-30 16:30:56.041 info script.js.Datenholen: Request 4 ausgeführt
javascript.0 2018-11-30 16:30:53.039 info script.js.Datenholen: Request 3 ausgeführt</anonymous></anonymous>
-
laufen beide Scripte bei dir?
Stop mal das Statemaschine Script…
-
Hallo Fangemeinde vom IO-Broker,
ich bin seit 5 Tagen auch endlich glücklicher Besitzer eines Raspberry und habe mich dank des guten Image sofort für den IO-Broker als Smarthome Projekt entschieden. Neben dem PI-Hole läuft derzeit aktiv nur der IO-Broker.
Ich habe auch eine SC18 Enthärtung, die ja per App viel zu sagen hat, aber eben sehr kryptisch.
Zunächst ein Dank an diesen Beitrag, ich habe es in kurzer Zeit ohne besondere Vorkenntnisse zum Laufen bekommen.
Durch meine derzeit aktuelle Version vom IO-Broker (3.5.10) sind die hier hinterlegten Bilder auch schon wieder veraltet,
z.B. Javascribt Ablageverzeichnis.
Ich habe die Scribts derzeit ins Root-Verzeichnis gespeichert, da ich das Verzeichnis Global oder Common als falsch erachtet habe.
Weiterhin habe ich es so verstanden, dass im Scribt 1 eigentlich nur einmalig die Datenfelder wie im Bild 3 dargestellt angelegt werden.
Somit muss dieses Scribt nur einmal ausgeführt werden. Richtig ?
Mit dem Logger werden jetzt die Daten permanent befüllt, die aus der SC18 entnommern werden.
Somit liest er fortlaufend die aktuellen Anlagedaten in den Parser.
Wichtig zu erwähnen für alle Anfänger (wie mich) -im Scribt 2 in der Zeile 15 ist die IP-Adresse der eigenen Anlage fest einzutragen
( Keine Constante im Kopf des Scribt festgelegt).
Meine Anlage wird ab sofort ausgelesen und ich bin echt begeistert, wie schnell ich meine ersten Lösungen im IO-Broker dank Euch fertig habe.!
Besten Dank - nun nur noch die Visualisierung und die 2. VIS ist nach dem tankerkönig online.
Zusätzlich bin ich beim Überlegen die Messwerte z.B. für Verbrauch als Metadaten auch in den SQL-Server zu schreiben und dort zu archivieren.
Wie schreiben uns weiter !
-
Kurze Frage zum Wasserverbrauch.
Ist der nicht eigentlich pauschal falsch dadurch dass es ja immer einen Verschnitt gibt der nicht gemessen wird?
Eigentlich müsste man also z.b 10 Liter Zapfen und dann sehen was die Anlage anzeigt und daraus einen Multiplikator berechnen oder habe ich hier einen Denkfehler?
-
noch etwas (unabhängig von der Frage nach dem Wasserverbrauch oben):
Ich bekomme beim Request 2 immer folgende Fehlermeldung:
javascript.0 2019-01-12 19:07:56.092 info script.js.Gruenbeck_Logger: Request 5 ausgeführt javascript.0 2019-01-12 19:07:53.088 info script.js.Gruenbeck_Logger: Request 4 ausgeführt javascript.0 2019-01-12 19:07:50.087 info script.js.Gruenbeck_Logger: Request 3 ausgeführt javascript.0 2019-01-12 19:07:49.617 warn at process._tickCallback (internal/process/next_tick.js:181:9) javascript.0 2019-01-12 19:07:49.617 warn at _combinedTickCallback (internal/process/next_tick.js:139:11) javascript.0 2019-01-12 19:07:49.617 warn at endReadableNT (_stream_readable.js:1064:12) javascript.0 2019-01-12 19:07:49.617 warn at IncomingMessage.emit (events.js:208:7) javascript.0 2019-01-12 19:07:49.617 warn at emitNone (events.js:111:20) javascript.0 2019-01-12 19:07:49.616 warn at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13) javascript.0 2019-01-12 19:07:49.616 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14) javascript.0 2019-01-12 19:07:49.616 warn at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25) javascript.0 2019-01-12 19:07:49.616 warn at exports.XMLHttpRequest.Interval.xhr.onreadystatechange (script.js.Gruenbeck_Logger:74:33) javascript.0 2019-01-12 19:07:49.616 warn State "Messwerte.0.SC18.Allgemein.D_C_4_1" not found javascript.0 2019-01-12 19:07:49.615 warn at process._tickCallback (internal/process/next_tick.js:181:9) javascript.0 2019-01-12 19:07:49.615 warn at _combinedTickCallback (internal/process/next_tick.js:139:11) javascript.0 2019-01-12 19:07:49.615 warn at endReadableNT (_stream_readable.js:1064:12) javascript.0 2019-01-12 19:07:49.615 warn at IncomingMessage.emit (events.js:208:7) javascript.0 2019-01-12 19:07:49.615 warn at emitNone (events.js:111:20) javascript.0 2019-01-12 19:07:49.614 warn at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13) javascript.0 2019-01-12 19:07:49.614 warn at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14) javascript.0 2019-01-12 19:07:49.614 warn at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25) javascript.0 2019-01-12 19:07:49.614 warn at exports.XMLHttpRequest.Interval.xhr.onreadystatechange (script.js.Gruenbeck_Logger:72:33) javascript.0 2019-01-12 19:07:49.613 warn Wrong type of Messwerte.0.SC18.Allgemein.D_C_5_2: "string". Please fix, while deprecated and will not work in next versions. javascript.0 2019-01-12 19:07:47.083 info script.js.Gruenbeck_Logger: Request 2 ausgeführt javascript.0 2019-01-12 19:07:44.082 info script.js.Gruenbeck_Logger: Request 1 ausgeführt</anonymous></anonymous>
und ab und zu (relativ oft) bekomme ich noch bei den unterschiedlichsten Requests:
javascript.0 2019-01-12 19:07:32.076 error at Timer.listOnTimeout (timers.js:290:5) javascript.0 2019-01-12 19:07:32.075 error at tryOnTimeout (timers.js:323:5) javascript.0 2019-01-12 19:07:32.075 error at ontimeout (timers.js:511:34) javascript.0 2019-01-12 19:07:32.075 error at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1762:34) javascript.0 2019-01-12 19:07:32.075 error at Object.Interval (script.js.Gruenbeck_Logger:16:5) javascript.0 2019-01-12 19:07:32.075 error at exports.XMLHttpRequest.setRequestHeader (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:201:13) javascript.0 2019-01-12 19:07:32.075 error Error in callback: Error: INVALID_STATE_ERR: send flag is true javascript.0 2019-01-12 19:07:29.074 info script.js.Gruenbeck_Logger: Request 3 ausgeführt javascript.0 2019-01-12 19:07:26.071 info script.js.Gruenbeck_Logger: Request 3 ausgeführt
was muss / sollte ich hier noch anpassen?
Das Script liesst ja auch die "Uhrzeit" aus, aber die ist ja mal füllig von der rolle. Ich habe aber auch in der SC18 nirgends eine Möglichkeit gefunden einen Uhrzeit einzustellen.. Ist das bei Euch auch so?
-
Hallo SC18 Nutzer,
hier mal ein praktischer Ansatz. Ich habe eine SC18 von Grünbeck seit einem jahr im Einsatz.
Dank des hier im Forum sehr gut beschriebenen Js-Scribt liest der IO-Broker jetzt permanent meinen aktuellen Status aus.
Mit ein wenig Mathematik lässt sich sogar die Verbrauchsanzeige in Liter/Minute darstellen.
Mein aktuelles Vis sieht so aus:
Die Felder aus den Messdaten im VIS-Editor einbinden ist simpel.Es gibt aber einen Multiplikator in den erweiterten Einstellungen.
Damit kannst du dann die Restkapazität der Anlage in Liter zumindest annähernd anzeigen lassen.
Das Scribt ist auch so schnell, dass innerhalb von wenigen Sekunden der aktuelle Verbrauch gleich unten auf der VIS-Seite angezeigt wird.
Z.B. bei der WC-Spülung sieht man sehr schön den Durchfluss oder wenn die Waschmaschine läuft.
Ich habe auch den letzten Time-Stempel dafür extra eingebaut.
Bitte stellt Eure Anlage zumindest auf Regenarationszeitpunkt Fest ein.
Nur so kann auch die Uhrzeit in der Anlage per App gestellt werden. (warum holt die sich das nicht vom Router ? :roll:
Wen es variable bleibt, wird es amlaufenden Tag gemacht.
Diese Brühe sorgt dann für die Ablagerungen auf den Armaturen, die sich sehr hartnäckig gegen Reiniger wehren können !!!
Deshalb unbedingt die Regeneration auf Fest einstellen.
-
Hallo,
ich habe das Script nochmals überarbeitet.
Alles was zum einstellen ist ist jetzt in den ersten Zeilen zu finden.
Es hat jetzt eine Verbindungsüberwachung integriert und die Aktualisierungszeit ist auch einstellbar.
Es sollten diejenigen die Fehlermeldungen bekommen die Aktualisierungsrate verringern.
Post auf Seite 1 wurde aktualisiert.
Ist es möglich das diejenigen die so schöne Widgets erstellt haben diese für alle zur Verfügung stellen?
-
Hallo,
ich habe das Script nochmals überarbeitet.
Alles was zum einstellen ist ist jetzt in den ersten Zeilen zu finden.
Es hat jetzt eine Verbindungsüberwachung integriert und die Aktualisierungszeit ist auch einstellbar.
Es sollten diejenigen die Fehlermeldungen bekommen die Aktualisierungsrate verringern.
Post auf Seite 1 wurde aktualisiert.
Ist es möglich das diejenigen die so schöne Widgets erstellt haben diese für alle zur Verfügung stellen? `
Hi
nun sind bei mir auch die Fehler scheinbar weg. Danke!
Eine Frage noch:
Die Werte D_Y_4_xx haben einen "Namen" von "Prozentsatz Regeneration 1vor aktueller". Abgesehen von dem Fehlenden Leerzeichen zwischen der Zahl und dem Wort "vor" bekomme ich hier als Werte allerdings Stunden / Minuten angezeigt ??!?!?!?!
-
Hi
nun sind bei mir auch die Fehler scheinbar weg. Danke!
Eine Frage noch:
Die Werte D_Y_4_xx haben einen "Namen" von "Prozentsatz Regeneration 1vor aktueller". Abgesehen von dem Fehlenden Leerzeichen zwischen der Zahl und dem Wort "vor" bekomme ich hier als Werte allerdings Stunden / Minuten angezeigt ??!?!?!?! `
Ja, da ist noch ein Fehler enthalten.
D_Y_4_xx ist die Zeit von Regeneration zu Regeneration und D_A_3_2_xx sollte die Prozentangabe der Regeneration sein.
Du kanns entweder den Text ändern oder das Script anpassen.
-
Erst mal danke an alle für das Script und die Anleitung.
Habe auch als Laie, was Java Script angeht, alles soweit hinbekommen.
Weiss jemand wie man eine manuelle Regeneration über IO Brocker auslösen kann ?
-
Für alle die was kopieren wollen habe mein View Gruenbeck eingefügt
10332_21_gruenbeck.txt
10332_gr_nbeck.png -
Ich hatte heute etwas Zeit um mich mit dem Thema zu beschäftigen.
Ich habe die Enthärtungsanlage softliQ:SC18 und bei mir erhalte ich
bei folgenden Abfragen keine vernüftige Rückmeldungen:
D_C_5_2 Datum (kein Wert)
D_C_5_3 Sommer/Winterzeit (kein Wert)
D_Y_13 wird bei mir Wert 0 angezeigt was nach der Austauscher gestört bedeutet, obwohl keine Störung vorliegt.
D_A_3_2_1-14 wird bei allen Werten nur der Prozentsatz der letzten Regeneration angezeigt und nicht der letzten 14 Regenerationen
D-A-3_1 sollte nach der Schnittstellenbeschreibung ein String sein (TT.MM.JJJ HH:MM) ist aber die Zeit der letzten Regeneration in h
Meine Frage ist, ob das bei allen so ist, oder jemand mit der SC18 da was Sinnvolles angezeigt bekommt ?
-
D_C_5_2 Datum (kein Wert)
=> Anfrage liefert keinen Wert => Wert ist aber eigentlich auch uninteressant => wurde entfernt
D_C_5_3 Sommer/Winterzeit (kein Wert)
=> Anfrage liefert keinen Wert => Wert ist aber eigentlich auch uninteressant => wurde entfernt
D_Y_13 wird bei mir Wert 0 angezeigt was nach der Austauscher gestört bedeutet, obwohl keine Störung vorliegt.
=> Da hast du eigentlich recht. Ist bei meiner Anlage auch so. Nicht gestört oder in Regeneration und 0 :shock:
D_A_3_2_1-14
=> Auch hier hast du recht. Ist bei meiner Anlage auch so. :shock:
D_A_3_1
=> Auch hier hast du recht. Ist bei meiner Anlage auch so. :shock:
Ich habe das Script nochmals überarbeitet.
siehe Seite 1
6543_gruenbeck_webserver_dokumentation.pdf -
Ich muss nochmals meine Frage zum Wasserverbrauch aufgreifen.
Da die meisten mit einem Verschnitt arbeiten (wer will schon eine Härte von 0), muss der Wasserverbrauch doch berechnet werden, da ein Teil des Wassers ja an der Anlage vorbei geht, oder sehe ich das hier komplett falsch?