NEWS
[Vorstellung] Meine zweite Visualisierung
-
Die Logs von Alexa speichere ich per History. Da wird einfach das Objekt "alexa.2.History.summary" aufgezeichnet und per History-Widget angezeigt.
Die System-Logs werden per Javascript geloggt.
Alles was bei mir im Log Widget angezigt werden soll, muss "+++ +++" getaggt werden.
Beispiel: "+++ Der Trockner ist fertig +++"
Das Skript habe ich angehängt:
logs_sammeln.txt -
danke Dir, jetzt habe ich es verstanden.
Ich steh nur beim History-Widget auf dem Schlauch :roll:
Ist es einer von den beiden?
Kannst du mir eventuell die View mit dem Log exportieren?
Gruß Thomas
Unbenannt.JPG `
Widget System Logs:
Widget für Alexa Logs
-
Hallo.
` > Ich wollte eigentlich auch den Export meiner VIS zur Verfügung stellen, aber die Datei sit zu groß (5,9MB). Die Icons etc. habe ich bereits alle aus dem Export entfernt.
Wenn jemand einen Tip hat, lade ich den Export gern noch hoch. `
Da ich erst mit ioBroker angefangen habe habe ich bis jetzt nur mitgelesen.
Finde dein Vis Super
wäre es eine möglichkeit dein Projekt in eine Dropbox zu schieben.
Danke
-
mal ne Frage vom Anfänger…..wie kann ich diese echt geile Oberfläche in die eigene VIS übernehmen ?
Bzw. der weitere Schritt wäre nur einzelne Bereiche daraus..... `
Öffne deinen VIS Editor und klick auf Setup, dann auf Projekt-Export/import und dann auf import.
In das Fenster ziehst du die Zip Datei von mir, gibst der VIS einen Namen klickst dann auf "import project".
Jetzt kannst du meine VIS bearbeiten oder die Widgets exportieren
-
Hut ab! Da muß ich mir was klauen!!
Was mich nur wundert , Du hast ja die selben fast die gleichen Tankstellen wie ich in der VIS!
Ich tipp mal: Du kommst aus Buxte:?
Gruß Ralf `
Korrekt, Buxtehude

-
Schönen Gruß aus Neu Wulmstorf.
@ Kuddel: Klasse Views, die du da gemacht hast.
-
Danke fürs bereitstellen,
Hätte noch eine Frage wie hast das mit der Waschmaschine gelöst, kannst du das Script dafür auch bereitstellen. Danke `
Status-Waschmaschine (Blockly):
! ````
<block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="o%),[!u9gGk_ZZyIIa:v" x="-155" y="45"><mutation items="1"></mutation>
<field name="CONDITION">ne</field><value name="OID0"><shadow type="field_oid" id="T7ab,8_M8,BHbMdX^]!h"><field name="oid">hm-rpc.0.LEQ1272397.2.POWER</field></shadow></value>
<statement name="STATEMENT"><block type="comment" id="1QB=V}FQL0d}#l+(QxJB"><field name="COMMENT">Aus</field>
<next><block type="controls_if" id="dD#]Vc0pnz@,}#f{eW="><value name="IF0"><block type="logic_operation" id="%a(cnm~t{|rdYc#+iS" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="4VKDm7AnAT4ERO3PN,W"><field name="OP">NEQ</field>
<value name="A"><block type="get_value" id="Yrk}!l*wt#Muy(wu:m3"><field name="ATTR">val</field> <field name="OID">javascript.0.haushalt.waschmaschine</field></block></value> <value name="B"><block type="math_number" id="~,Rn(x3i.pHq*!QnO?pI"><field name="NUM">0</field></block></value></block></value> <value name="B"><block type="logic_compare" id="M3C^axU4Q:D-G+VDGta"><field name="OP">LT</field>
<value name="A"><block type="get_value" id="Q.=+)xl0+dGQ;v;/n9v"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id="Yc7C,cA)oJl}if0XFrqi"><field name="NUM">0.5</field></block></value></block></value></block></value>
<statement name="DO0"><block type="timeouts_settimeout" id="3(oXDT4pAX|](%[}pL("><field name="NAME">timeout2</field> <field name="DELAY">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"><block type="controls_if" id="VC39ip(2Y]lk/X?ykj;"><value name="IF0"><block type="logic_operation" id="tOFb-,NZzjk!4K5@8tSb" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="Z8{Q![]DDm04Wzr/G|R"><field name="OP">NEQ</field>
<value name="A"><block type="get_value" id="0GyY/TP5EW1}s}4nKZI"><field name="ATTR">val</field>
<field name="OID">javascript.0.haushalt.waschmaschine</field></block></value>
<value name="B"><block type="math_number" id="^6N|fJ#]J*6.7r47%Kk"><field name="NUM">0</field></block></value></block></value> <value name="B"><block type="logic_compare" id="UjiDdhQ,]W#MCpmMMxMj"><field name="OP">LT</field> <value name="A"><block type="get_value" id="9p,-t~21w]Wmzfx?(f3P"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value> <value name="B"><block type="math_number" id=":vB!/kTAi]dKF5+j!~W{"><field name="NUM">0.5</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="5Q)5v-.Aw^aZcAwY@]oc"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.haushalt.waschmaschine</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="math_number" id="ql(RVJ.2-IX}){cA(pd*"><field name="NUM">0</field></block></value></block></statement></block></statement></block></statement> <next><block type="comment" id="V[JvQyTj@U0KfZ,]1D@f"><field name="COMMENT">Läuft</field> <next><block type="controls_if" id="Xi)LJAN:?)bln/kKvD"><value name="IF0"><block type="logic_operation" id="yCx3KlI8^oo:-r@G3q;g" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="A!!DpNVjljp1cFY_P@+:"><field name="OP">NEQ</field>
<value name="A"><block type="get_value" id="obAcC67ND2QX)x~OS%l"><field name="ATTR">val</field>
<field name="OID">javascript.0.haushalt.waschmaschine</field></block></value>
<value name="B"><block type="math_number" id="bmp+Xv4Kb(gbn5J/~hH"><field name="NUM">1</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="3K^Vl7hlx==yY8Pq2}9"><field name="OP">GT</field>
<value name="A"><block type="get_value" id="l)YY|DODI_s3r0JWKW8"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id="XF|!fj+/SrLI=k5S~g(F"><field name="NUM">140</field></block></value></block></value></block></value>
<statement name="DO0"><block type="control" id="J4~j2G8}C;Qw!)Pgv:pE"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.haushalt.waschmaschine</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="H0w:XuVjmqP~[|QoF#md"><field name="NUM">1</field></block></value></block></statement>
<next><block type="comment" id="xX[H0Gjr^+UdsAXj%Gv["><field name="COMMENT">Timer</field>
<next><block type="controls_if" id="i8AKxAJ2u0(K3+n]Fsu"><value name="IF0"><block type="logic_operation" id=",`Ck;ys{}MOyTA5ty=v+" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="5|(Ej)@Y2.AUcANeD(VO"><field name="OP">EQ</field>
<value name="A"><block type="get_value" id="3OF:nKn0@]nT)]bRPM^U"><field name="ATTR">val</field>
<field name="OID">javascript.0.haushalt.waschmaschine</field></block></value>
<value name="B"><block type="math_number" id="[%HI@1baQTW+0qHuO!BV"><field name="NUM">0</field></block></value></block></value>
<value name="B"><block type="logic_operation" id="73ug28Rg:;zV`BaYK[bU" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="HQ!Iv[2{YGocWe/7FC@"><field name="OP">LT</field>
<value name="A"><block type="get_value" id="s(l9}WXGx_A8T%d;M,B"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id=")QOW1!?Uy7txa8h1(,Ff"><field name="NUM">6</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="Z7o2%aCACuWTWcOdy^"><field name="OP">GT</field>
<value name="A"><block type="get_value" id="96f(OrH_BciNrMS~v|%?"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id="E@RSATlh~G5t^qo)~%%p"><field name="NUM">5</field></block></value></block></value></block></value></block></value>
<statement name="DO0"><block type="control" id="2fX=L~mZf|~;4.`#m~9G"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.haushalt.waschmaschine</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="%l9h-,8e[[~VS:sY)NaR"><field name="NUM">2</field></block></value></block></statement>
<next><block type="comment" id="Ca%7[kx7U(Y(v`h3vPLM"><field name="COMMENT">Fertig</field>
<next><block type="controls_if" id="YgP%U~lLnBC-?ZVZUiN"><value name="IF0"><block type="logic_operation" id="H?VMR#|..l%WDz=qRByb" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="5w}Z?FR4c]HgSZ7g33Td"><field name="OP">NEQ</field>
<value name="A"><block type="get_value" id="%.Pni:P2|2gg[[R-;#2("><field name="ATTR">val</field>
<field name="OID">javascript.0.haushalt.waschmaschine</field></block></value>
<value name="B"><block type="math_number" id="NKpxyPQe:T`}kGk8vLh2"><field name="NUM">3</field></block></value></block></value>
<value name="B"><block type="logic_operation" id="LSdqzVf`b!VM2!ptks_" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="W00wE^~/xd1SoLd+`Jhh"><field name="OP">LT</field>
<value name="A"><block type="get_value" id="hF_M:1;;f!7lMdVb^[sY"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id="+.v;eO}:AHO~27Z%`q|T"><field name="NUM">4</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="Oz~3,:P7F:+Yr1md:%0"><field name="OP">GT</field>
<value name="A"><block type="get_value" id="-F}P;O7y-DHtQ^/p+8w"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id="M0FY#+wW3S(,v|dGnzd"><field name="NUM">3</field></block></value></block></value></block></value></block></value>
<statement name="DO0"><block type="timeouts_settimeout" id="GlR8m1w4;}?vaX^4a/pq"><field name="NAME">timeout</field>
<field name="DELAY">10</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT"><block type="controls_if" id="yk;n@H0Pt;yE001/1Pv"><value name="IF0"><block type="logic_operation" id="!qEnJZd7!E#+({Fulj-f" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="X+,!iy9kv+LZK:6DNX/g"><field name="OP">NEQ</field>
<value name="A"><block type="get_value" id="^Z.j7ydE=:wIi4~gyj^u"><field name="ATTR">val</field>
<field name="OID">javascript.0.haushalt.waschmaschine</field></block></value>
<value name="B"><block type="math_number" id="X13P=,9Jp/TyaiNog9S"><field name="NUM">3</field></block></value></block></value>
<value name="B"><block type="logic_operation" id="LD|=^/J?Ez=~sI31h]31" inline="false"><field name="OP">AND</field>
<value name="A"><block type="logic_compare" id="b/VP7=UZB7kB*%^t%CUX"><field name="OP">LT</field>
<value name="A"><block type="get_value" id="lwc,3wBc%o,PnzA[kV`("><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id="r,Rd+gGA0QLE/hO}@,]E"><field name="NUM">4</field></block></value></block></value>
<value name="B"><block type="logic_compare" id="?;xbf!?)D3}CY@f6by!"><field name="OP">GT</field>
<value name="A"><block type="get_value" id="mOhdHKJN,@p!bZf0R1y"><field name="ATTR">val</field>
<field name="OID">hm-rpc.0.LEQ1272397.2.POWER</field></block></value>
<value name="B"><block type="math_number" id="UhvmXp.]Q#,85;O,d%6D"><field name="NUM">0.5</field></block></value></block></value></block></value></block></value>
<statement name="DO0"><block type="control" id="NGtYSq12Y1I9M+tpzKcs"><mutation delay_input="false"></mutation>
<field name="OID">javascript.0.haushalt.waschmaschine</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE"><block type="math_number" id="G=YD~ju7|b8ql}j0}w^n"><field name="NUM">3</field></block></value></block></statement></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block>! ```` `
Ich habe mir das Script auch mal eingebunden um davon zu lernen.

Vielen Dank für die Bereitstellung. Allerdings habe ich direkt eine Frage. Was ist das für ein Objekt?

-
Mit dem Objekt stelle ich den aktuellen Status der Waschmaschine da;
0=aus
1=an
2=timer
3=fertig `
Wow, danke für die superschnelle Antwort.Hab ein bisschen Nachsehen mit mir.
Ich erkenne die Logik jetzt dahinter im Script, aber ich wüsste nicht, wo ich das Objekt bei mir anlegen sollte und was es dann für einen Inhalt bekommt. Ist das einfach nur ein Infoobjekt, was dann später in der VIS Darstellung den gesetzten Wert wiedergibt? Oder steckt da noch weiterer Code hinter? Da bin ich wahrscheinlich noch viel zu weit am Anfang, als das ich das direkt verstehe. Sorry für die Fragen. Ich lerne halt noch. 
-
Momentan nutze ich noch das schlechte Wetter um ebenso an meiner VIS zu basteln.
Anhand deiner Fotos sehe ich, dass du zB Ram, Speicher, Festplattenplatz anscheinend "dynamisch" anzeigen lässt, also wenn noch x von y MB frei sind (entspricht 50%) den Balken entsprechend lang machst.Wie bekommt man sowas hin ? Macht das das Widget oder programmieren ?

