NEWS
[Vorlage] MDCSS v2: ioBroker Log in vis anzeigen
-
Woran liegt es wenn im VIS Editor alles gut aussieht, aber in der View nicht?
Wie stellt man eigentlich auf das Dark Theme wie in den Gif zu sehen um? -
@Stephan-Schleich Wenn du dir das MDCSS MD_Demo Projekt ansiehst: Zur Designzeit findest du im view "abar" ein Widget mit CSS Klasse "mdui-config" - dort in der "content" Zeile die Farbe eintragen. Zur Laufzeit im Menü den Punkt "Einstellungen", dort dann "content".
Du musst dein Projekt entsprechend anpassen -
@Uhula achso es geht nur mit deinem Projekt, dann hat sich's schon erledigt, das hab ich mir noch nicht richtig angesehen, hat mich beim ersten ansehen etwas erschlagen ^^
-
Nein, das geht mit jedem Projekt. Uhula hat dir nur als Beispiel sein Demoprojekt genannt damit du weißt was du bei deinem dann Einstellen/Übertragen musst
-
@Dominik-F Achso, okay, danke werd ich prüfen
-
Kein Plan was ich in meinem Projekt machen muss, ich pass es nun selber per CSS an. - Sieht auf jeden Fall gut aus
-
Ich vermute, dass du das CSS von Uhula bisher nicht nutzt. Das ist die Grundlage damit es nachher so aussieht wie in der gif. Hab dir mal den Link zu Github von seinem Projekt geschickt. Dort steht auch beschrieben was du bei dir wo einfügen musst.
-
@Dominik-F ich nutze lediglich das script.js, global.css sowie das projekt.css
-
Das ist schon mal sehr gut, dann hast du eigentlich alles was du brauchst damit es auch genauso aussieht wie in der GIF. Ich frage jetzt einfach mal Schritt für Schritt nach weil ich nicht weiß auf welchem Stand du bist.
Den Pfad zum Webfont hast du auch angepasst und die Dateien dafür befinden sich auch im Pfad?
Das Darktheme kannst du im projekt.css dort einstellen und du musst dann die dort beschriebene Zeile löschen:
-
@Dominik-F top, danke für deine Geduld, es müsste eig. alles angepasst sein.
--design-font-color: #000000; steht bei mir auf schwarz weil sonst die Schrift bei diesem Feld im Editor weiß wäre
Stell ich es aus weiß passt zwar die Schrift farbe im editor in der vis bleibt sie aber schwarz
/* (1) An Projektnamen anpassen (MD_Demo ersetzen) */ @font-face { font-family: 'Material Icons'; font-style: normal; font-weight: 400; src: url(/vis.0/Penthouse/images/MaterialIcons-Regular.eot); /* For IE6-8 */ src: url(/vis.0/Penthouse/images/MaterialIcons-Regular.woff) format('woff'), url(/vis.0/Penthouse/images/MaterialIcons-Regular.ttf) format('truetype'); } /* (2) Zur Nutung der MaterialDesignIcons (https://github.com/Templarian/MaterialDesign-Webfont/tree/master/fonts) die den @font-face Block umfassenden Kommentare entfernen und die Projektnamen (MD_) durch die eigenen ersetzen. Aus dem angegebenen Link müssen die Font-Dateien via vis-Dateimanager in den (project)/images Ordner kopiert werden. In der vis Nutzung in der Form: <i class="mdui-mdi">󰋜</i> */ @font-face { font-family: "Material Design Icons"; src: url("../fonts/materialdesignicons-webfont.eot?v=5.0.45"); src: url("/vis.0/Penthouse/images/materialdesignicons-webfont.woff?v=5.0.45") format("woff"), url("/vis.0/Penthouse/images/materialdesignicons-webfont.ttf?v=5.0.45") format("truetype"); font-weight: normal; font-style: normal; } /* (3) Umschalten vis-Edit light/dark Theme */ :root { /* Design-time light-Theme */ --content-background: #000000; --design-font-color: #000000; --design-hint-background: #0000ff; --design-hint-color: #ffffff; --design-grid: #ffffff; --design-color-033:rgba(0,0,0,.33);
-
Du hast die Farben dort verändert, dass würde ich dir generell nicht raten bzw. nur wenn du dich wirklich auskennst. Du kannst ja die Farben später noch einstellen über Widgets.
Für das Darktheme brauchst du ja nur eine Zeile im Projekt.css löschen und hast es dann.Hast du in deinem Projekt auch eine abar View drin? Wenn ja, ersetz mal bitte das dritte Widget (müsste es sein) mit meinem Widget:
[{"tpl":"tplHtml","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"refreshInterval":"0","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":"\"primary_color\":\"#000000\",\n\"abar_color\":\"#121212\",\n\"tnav_color\":\"#000000\",\n\"bnav_color\":\"#000000\",\n\"lnav_color\":\"#000000\",\n\"rnav_color\":\"#000000\",\n\"secondary_color\":\"amber\",\n\"content_color\":\"#121212\",\n\"lnav_fixed_width\":\"{demo_lnav_fixed_width}\",\n\"lnav_fixed_open\":\"true\"\n","class":"mdui-label xdui-config","visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide"},"style":{"left":"80px","top":"336px","width":"542px","height":""},"widgetSet":"basic"}]
Ich hab dort schon Farben definiert
Falls das auch nicht funktioniert würde ich sagen, dass wir uns dann erstmal mit der Demo beschäftigen (vielleicht besser über den Chat um das hier nicht zu unübersichtlich zu machen) und die zum laufen bekommen und dann schauen wo es bei deinem Projekt fehlt. Wenn du magst kannst du mir deins auch hier mal hochladen und ich schau es mir mal an.
-
@Dominik-F ich nutze das light-theme aber mit schwarzem hintergrund, deswegen hab ich das background im script angepasst, eine abar hab ich gemacht bzw aus dem MD-Simple importiert.
Mit deinem Widget klappt es auch nicht - ich schreib dir via PM - danke
-
Update 2020.04.30
- Anpassung an neues MduiBase (intern)
- Anpassung an MDCSS 2.5
- Einbau Löschen einzelner Log-Einträge aus dem logCache via Schaltfläche u/o swipeLeft
Die Änderungen liegen auf GitHub bereit (siehe 1.Beitrag des Themas).
Um ein Feedback zu erhalten wäre es schön, wenn jeder, der diese Vorlagen nutzt, den 1.Beitrag positiv bewertet (Pfeil nach oben oder unten ). Ich kann dann auch abschätzen, ob sich die weitere Pflege lohnt. Thx!
-
Bitte pflegen! Tolle Arbeit und großes Dankeschön!!
-
@Uhula sehr tolle Arbeit. Nutze fast alle deine Vorlagen. Bitte weiter pflegen.
-
Hat ggf. jemand mal diese oder die anderen MDCSS Vorlagen von @Uhula aktualisiert?
Mit den Skripten kommt es ja nun im Zusammenhang mit aktuellen Versionen zu sehr vielen Warnungen bzw. Fehlern wegen Datentyp-Konflikten.
Vielleicht ist es ja jemandem gelungen erfolgreich Korrekturen vorzunehmen.VG
ak1 -
@ak1 sagte in [Vorlage] MDCSS v2: ioBroker Log in vis anzeigen:
Mit den Skripten kommt es ja nun im Zusammenhang mit aktuellen Versionen zu sehr vielen Warnungen bzw. Fehlern wegen Datentyp-Konflikten.
Hast du mal ein Log davon !?
-
@glasfaser Ja, klar. Hier ist mal ein frischer Start des Skripts aus speziell dieser Vorlage (ioBroker Log anzeigen).
javascript.0 2022-01-15 18:05:42.841 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.840 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log3.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:42.838 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.list" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.838 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.table" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.838 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.838 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log2.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:42.838 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.list" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.838 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.table" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.838 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.837 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log1.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:42.837 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.list" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.837 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.table" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.837 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log0.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.837 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log0.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:42.837 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log0.list" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.837 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log0.table" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.837 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.logPK" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:42.836 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.logPK" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:42.833 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.logCount" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:42.833 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.logCache" is missing the required property "common.type" javascript.0 2022-01-15 18:05:42.825 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] script started javascript.0 2022-01-15 18:05:42.815 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:42.815 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:42.815 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:42.815 warn (17406) at MduiLogIOBroker.start (script.js.common.Vis.ioBrokerLog:125:26) javascript.0 2022-01-15 18:05:42.815 warn (17406) at MduiLogIOBroker.doStart (script.js.common.Vis.ioBrokerLog:344:14) javascript.0 2022-01-15 18:05:42.815 warn (17406) at MduiLogIOBroker.onBuildHTML (script.js.common.Vis.ioBrokerLog:416:12) javascript.0 2022-01-15 18:05:42.815 warn (17406) at MduiLogIOBroker.setState (script.js.common.Vis.ioBrokerLog:207:14) javascript.0 2022-01-15 18:05:42.815 warn (17406) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:42.814 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.logPK" which expects a number. Please fix your code to use a number or change the state type to string. This warning migh javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.version" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.version" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log3.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.filter" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log3.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:35.863 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log3.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:35.863 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log2.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.filter" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.863 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log2.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:35.862 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log2.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:35.862 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log1.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:35.862 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.862 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.862 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.filter" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.862 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log1.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:35.862 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log1.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:35.862 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log0.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:35.824 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log0.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.815 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log0.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.815 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log0.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:35.815 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.log0.count" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:35.814 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.removePK" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.814 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.updatePressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:35.814 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.version" is missing the required property "common.type" javascript.0 2022-01-15 18:05:35.813 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.813 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.813 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.813 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.812 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log3.clearPressed" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Thi javascript.0 2022-01-15 18:05:35.812 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.812 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.812 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.812 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.812 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log3.count" which expects a number. Please fix your code to use a number or change the state type to string. This warning javascript.0 2022-01-15 18:05:35.811 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.logPK" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:35.811 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.logPK" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:35.810 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.810 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.810 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.810 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.809 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log2.clearPressed" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Thi javascript.0 2022-01-15 18:05:35.809 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.809 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.809 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.809 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.809 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log2.count" which expects a number. Please fix your code to use a number or change the state type to string. This warning javascript.0 2022-01-15 18:05:35.808 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.808 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.808 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.808 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.808 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log1.clearPressed" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Thi javascript.0 2022-01-15 18:05:35.808 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.808 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.807 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.807 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.807 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log1.count" which expects a number. Please fix your code to use a number or change the state type to string. This warning javascript.0 2022-01-15 18:05:35.807 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.807 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.807 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.806 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.806 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log0.clearPressed" which expects a boolean. Please fix your code to use a boolean or change the state type to string. Thi javascript.0 2022-01-15 18:05:35.804 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.logCount" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:35.804 warn (17406) Read-only state "0_userdata.0.mdui.logIOBroker.logCount" has been written without ack-flag with value "0" javascript.0 2022-01-15 18:05:35.803 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.803 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.802 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.802 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.802 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.log0.count" which expects a number. Please fix your code to use a number or change the state type to string. This warning javascript.0 2022-01-15 18:05:35.802 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.802 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.802 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.802 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.801 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.updatePressed" which expects a boolean. Please fix your code to use a boolean or change the state type to string. This wa javascript.0 2022-01-15 18:05:35.801 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.801 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.801 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.799 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.799 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.logPK" which expects a number. Please fix your code to use a number or change the state type to string. This warning migh javascript.0 2022-01-15 18:05:35.798 warn (17406) at processTimers (internal/timers.js:500:7) javascript.0 2022-01-15 18:05:35.798 warn (17406) at listOnTimeout (internal/timers.js:557:17) javascript.0 2022-01-15 18:05:35.798 warn (17406) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2117:34) javascript.0 2022-01-15 18:05:35.798 warn (17406) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1437:20) javascript.0 2022-01-15 18:05:35.796 warn (17406) You are assigning a string to the state "0_userdata.0.mdui.logIOBroker.logCount" which expects a number. Please fix your code to use a number or change the state type to string. This warning m javascript.0 2022-01-15 18:05:33.035 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.version" created javascript.0 2022-01-15 18:05:33.034 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log3.clearPressed" created javascript.0 2022-01-15 18:05:33.034 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log3.lastClear" created javascript.0 2022-01-15 18:05:33.034 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log3.lastUpdate" created javascript.0 2022-01-15 18:05:33.034 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log3.filter" created javascript.0 2022-01-15 18:05:33.034 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log3.count" created javascript.0 2022-01-15 18:05:33.033 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log2.clearPressed" created javascript.0 2022-01-15 18:05:33.031 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log2.lastClear" created javascript.0 2022-01-15 18:05:33.031 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log2.lastUpdate" created javascript.0 2022-01-15 18:05:33.031 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log2.filter" created javascript.0 2022-01-15 18:05:33.030 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log2.count" created javascript.0 2022-01-15 18:05:33.030 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log1.clearPressed" created javascript.0 2022-01-15 18:05:33.030 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log1.lastClear" created javascript.0 2022-01-15 18:05:33.030 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log1.lastUpdate" created javascript.0 2022-01-15 18:05:33.030 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log1.filter" created javascript.0 2022-01-15 18:05:33.030 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log1.count" created javascript.0 2022-01-15 18:05:32.987 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log0.clearPressed" created javascript.0 2022-01-15 18:05:32.987 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log0.lastClear" created javascript.0 2022-01-15 18:05:32.987 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log0.lastUpdate" created javascript.0 2022-01-15 18:05:32.986 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log0.count" created javascript.0 2022-01-15 18:05:32.986 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.removePK" created javascript.0 2022-01-15 18:05:32.985 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.updatePressed" created javascript.0 2022-01-15 18:05:32.984 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.version" created javascript.0 2022-01-15 18:05:32.984 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.logPK" created javascript.0 2022-01-15 18:05:32.983 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.logCount" created javascript.0 2022-01-15 18:05:32.982 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.version" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.981 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log3.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:32.981 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.981 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.981 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log3.filter" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.980 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log3.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:32.980 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log2.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:32.980 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.980 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.980 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log2.filter" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.980 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log2.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:32.979 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log1.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:32.979 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.979 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.979 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log1.filter" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.978 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log1.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:32.933 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log0.clearPressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:32.919 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log0.lastClear" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.919 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.log0.lastUpdate" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.919 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.log0.count" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:32.919 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.removePK" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.919 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.updatePressed" has to be type "boolean" but received type "string" javascript.0 2022-01-15 18:05:32.917 warn (17406) Object of state "0_userdata.0.mdui.logIOBroker.version" is missing the required property "common.type" javascript.0 2022-01-15 18:05:32.917 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.logPK" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:32.917 info (17406) State value to set for "0_userdata.0.mdui.logIOBroker.logCount" has to be type "number" but received type "string" javascript.0 2022-01-15 18:05:32.913 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log3.list" created javascript.0 2022-01-15 18:05:32.913 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log3.table" created javascript.0 2022-01-15 18:05:32.913 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log2.list" created javascript.0 2022-01-15 18:05:32.913 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log2.table" created javascript.0 2022-01-15 18:05:32.912 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log1.list" created javascript.0 2022-01-15 18:05:32.911 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log1.table" created javascript.0 2022-01-15 18:05:32.904 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log0.filter" created javascript.0 2022-01-15 18:05:32.904 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log0.list" created javascript.0 2022-01-15 18:05:32.904 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.log0.table" created javascript.0 2022-01-15 18:05:32.904 info (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] state "0_userdata.0.mdui.logIOBroker.logCache" created javascript.0 2022-01-15 18:05:32.810 info (17406) script.js.common.Vis.ioBrokerLog: registered 0 subscriptions and 0 schedules javascript.0 2022-01-15 18:05:32.810 warn (17406) script.js.common.Vis.ioBrokerLog: [mduiLogIOBroker] first script start, creating states for version 1.2/2020-04-30, automatic restarting script again in 10 sec ...
-
Ja ... er muß sein Script dazu anpassen ,
ist auch mit dem
https://forum.iobroker.net/topic/32881/vorlage-mdcss-v2-backitup-log-anzeigen/12
-
@glasfaser Ja, korrekt. Das Problem ist, dass Uhula seit Ende 2020 hier im Forum und auch auf GitHub wohl nicht mehr aktiv ist.
Deswegen meine Frage in die Runde, ob jemand an den Skripten erfolgreich Anpassungen vorgenommen hat.