jarvis v2.2.0 - just another remarkable vis
-
@mcu Super, dann habe ich erstmal Klarheit. Bleibe erstmal auf 2.1.0, da ziemlich stabil (mit bekannten Fehlern). Freue mich auf v3.x, wenngleich es noch etwas dauert. Aber der WAF (Woman Acceptance Factor) würde deutlich sinken, wenn es nicht sauber läuft
-
Wenn es dir State List Horizontal in v3 nicht mehr gibt, was passiert dann wenn man die verwendet hat und auf v3 umsteigt?
Lg
-
@neunteufels Ich hoffe, dass sie mit einer Konvertierung dann in die neuen Module umgesetzt werden. Abwarten. Falls nicht, müsste man sie evtl. neu anlegen.
-
@mcu Funzt prima, danke nochmal!
Noch eine Frage. Wie kann ich den Hinweis ausblenden, wenn keine Ausfgabe hinterlegt ist?
-
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="BW%9v~G}+|6BPI-mC^U~">X_completed</variable> <variable id="8SK,{_!3h?;v%0+=ZeUU">X_createdDateTime</variable> <variable id="rO9asU5s{Y2G@3IkL@g~">X_value</variable> <variable id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</variable> <variable id="MpCcK~ur_i5(;GNB}F?^">jsonitems</variable> <variable id="7huB30*E_mbam=Bi-D2z">select</variable> <variable id="W@MiB696qRDvf-aB*Cb1">i</variable> <variable id="dU=%0t3gDY!SaSObPx}I">ADD_select</variable> </variables> <block type="procedures_defcustomreturn" id="mxG_{B!Y/t/PJQkf4_^S" x="238" y="-663"> <mutation statements="false"> <arg name="X_completed" varid="BW%9v~G}+|6BPI-mC^U~"></arg> <arg name="X_createdDateTime" varid="8SK,{_!3h?;v%0+=ZeUU"></arg> <arg name="X_value" varid="rO9asU5s{Y2G@3IkL@g~"></arg> </mutation> <field name="NAME">JSON_ELEMENT</field> <field name="SCRIPT">dmFyIHggPXt9Ow0KLy9jb25zb2xlLmxvZyhYX2NvbXBsZXRlZCArICcgJytYX2NyZWF0ZWREYXRlVGltZSArJyAnKyBYX3ZhbHVlKTsNCg0KaWYgKFhfY29tcGxldGVkID09IGZhbHNlKSB7DQogICAgeC5jb21wbGV0ZWQgPSAiT2ZmZW4iOyAvL1N0cmluZyhYX2NvbXBsZXRlZCk7ICAgIA0KfQ0KZWxzZSB7DQogICAgeC5jb21wbGV0ZWQgPSAiRXJsZWRpZ3QiOw0KfQ0KDQp4LmNyZWF0ZWREYXRlVGltZT0gWF9jcmVhdGVkRGF0ZVRpbWU7DQp4LnZhbHVlID0gWF92YWx1ZTsNCngucHVzaDsNCnJldHVybiB4Ow==</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="create" id="G]R]no),5~HQ]rMcDMT(" x="237" y="-612"> <field name="NAME">0_userdata.0.alexa.todo_json_jarvis</field> <next> <block type="create" id="=)6?8)IqYQnQuesdU7UA"> <field name="NAME">0_userdata.0.alexa.todo_select</field> <value name="COMMON"> <block type="text_join" id="t%HpOTmWwv0}]!N=QK~2"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="CQZ?#lk_wSG1Juk.E}!*"> <field name="TEXT">{"read": true,"write": true, </field> </block> </value> <value name="ADD1"> <block type="text" id="@SE1f2TGhb)XwfKW1jAM"> <field name="TEXT">"type": "string","name": "Auswahl", </field> </block> </value> <value name="ADD2"> <block type="text" id="/#-h~q~zfI|N_oXBwK,`"> <field name="TEXT"></field> </block> </value> <value name="ADD3"> <block type="text" id="?:x8KxIyksC4;q*pMkSl"> <field name="TEXT">"states": {"all":"Alle","false":"Offene","true":"Erledigte"}}</field> </block> </value> </block> </value> <next> <block type="on_ext" id="ZM4rstIXoN#mZ-2b2%iG"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="!^G4~u8j[W6crS2yG6P`"> <field name="oid">alexa2.0.Lists.TO_DO.json</field> </shadow> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="*8x-8sM$V;V1!qlyv#1s"> <mutation name="JSON_FÜR_JARVIS"></mutation> </block> </statement> <next> <block type="on_ext" id="u:c:K(a.v=[lf5Y;.^gp"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="EykUyR?a8C63eqTR@5%*"> <field name="oid">0_userdata.0.alexa.todo_select</field> </shadow> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="LAP^y%R6t^IgBuhC$p#l"> <mutation name="JSON_FÜR_JARVIS"></mutation> </block> </statement> </block> </next> </block> </next> </block> </next> </block> <block type="procedures_defnoreturn" id="}z{CqW-9zw2xWC*XwEPb" x="237" y="62"> <field name="NAME">JSON_FÜR_JARVIS</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="variables_set" id="]g$swJ*{2zi#DDIxG_*9"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> <value name="VALUE"> <block type="lists_create_with" id="s=b/i.]d.{lIVezRf3G]"> <mutation items="0"></mutation> </block> </value> <next> <block type="variables_set" id="B`W:^0^1rmhAz{G;3(=}"> <field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field> <value name="VALUE"> <block type="convert_json2object" id="|Na{Lsyc[M~de-(U@Lo*"> <value name="VALUE"> <block type="get_value" id="^Qf/]g}*V1]-.;T/%AIY"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Lists.TO_DO.json</field> </block> </value> </block> </value> <next> <block type="variables_set" id="+{vBa^+a7]q#9p]?hMH7"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> <value name="VALUE"> <block type="get_value" id="$tt:77/o}Y:xtjuJ6vZR"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.alexa.todo_select</field> </block> </value> <next> <block type="debug" id=")#p1xctd[CKaOi}fUfW)" disabled="true"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="t-2b_e#0STem%wB/vwMS"> <field name="TEXT">test</field> </shadow> <block type="variables_get" id="q%U/3q~`p=5uyPE-eaAk"> <field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field> </block> </value> <next> <block type="controls_forEach" id="Jr]rCwGV4+ZJW|.JDFoh"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> <value name="LIST"> <block type="variables_get" id=",~mWGy{FpQD5@ncHG9uq"> <field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field> </block> </value> <statement name="DO"> <block type="debug" id="|}P0#g}U6HB({/,$])lw" disabled="true"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="+?}@}ZxJAsZN5TtPs{av"> <field name="TEXT">test</field> </shadow> <block type="convert_jsonata" id="*8%E3s_lo)vJX{xu(5MF"> <value name="EXPRESSION"> <shadow type="text" id="(m+8t{gx1Kk@3Hzq8,jB"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="IDyoQxR)dt9M*[n3ShUo"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> <next> <block type="variables_set" id="MMmJ=$3Av~;=8?:CLJ/?"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="=hyUVhSs!A%-9jI+{DUM"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="controls_if" id="Kwi^{w?v/g=KmUzfK3o$"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="paFV3UpfROlwbseECIW8"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="ms1-N4Hh4HwO3[vO,8qJ"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> </block> </value> <value name="B"> <block type="text" id="dl=n:TaVE;zn,lo_dDU:"> <field name="TEXT">all</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="`#`6u*=P1Op#.AV?i?cD"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="H_pQE1d|D~fo2]E3yfdx"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="6iE*0Atm^B]yoUHj~e90"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="fH~RkEanrpluVyhdQVd^"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> </block> </value> <value name="B"> <block type="text" id="LYe@tI5;CI@eX?#Fb`tx"> <field name="TEXT">false</field> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="Skx)dhe*t;i%zFH9#HDe"> <value name="IF0"> <block type="logic_compare" id="N0mP%Y@nJII)FUkV(|ot"> <field name="OP">EQ</field> <value name="A"> <block type="convert_tostring" id="%lxfjvw/;}838}H#v-wA"> <value name="VALUE"> <block type="convert_jsonata" id="2=/{cS9wTG-j`^Z%!580"> <value name="EXPRESSION"> <shadow type="text" id="}@K=JL!N,dddRT/*N0DF"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="`DcTGvtRHbcsq2i=ytZS"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="text" id="~L(vpPkIy;VPicYNW]yS"> <field name="TEXT">false</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="WMsqF_mnxx|zP$?YUArJ"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="#I[kEn`t=3Ft4CTu!WNV"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <value name="IF2"> <block type="logic_compare" id="U=F7PQoX8|APZ]Sz17K2"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="o2Vh2IGtY-3]c8QQa!@B"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> </block> </value> <value name="B"> <block type="text" id="e@cS%G1a[N-`qPV.A7EE"> <field name="TEXT">true</field> </block> </value> </block> </value> <statement name="DO2"> <block type="controls_if" id=",,7q^;^ykjHZUFLC1s%{"> <value name="IF0"> <block type="logic_compare" id="zqC,-gE?urRyxEfdZAfu"> <field name="OP">EQ</field> <value name="A"> <block type="convert_tostring" id="LeRW,6c8xyUh;*wIL)MQ"> <value name="VALUE"> <block type="convert_jsonata" id="Q-MMm$fHe4io_vHjSY_."> <value name="EXPRESSION"> <shadow type="text" id="jJ+~bp;!d$*`m%Ctj6D$"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id=";)I@*nH{bp=_]=}znxgN"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="text" id="zMJ,hoF}E)tES9{q$Z(h"> <field name="TEXT">true</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="8(T:~McP8TfZbWDftG*k"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="2ND5y7W@V^HEzfL~^uzk"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="controls_if" id="49^HV302$#}aPx~PH5Tg"> <value name="IF0"> <block type="variables_get" id="IX|.A-#iMIj(T^]4DSEO"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> </block> </value> <statement name="DO0"> <block type="lists_setIndex" id="@:3ZNJZ:55#tL}E7vu^T"> <mutation at="false"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">LAST</field> <value name="LIST"> <block type="variables_get" id="af%%PgQ7fWx!_GIzW-u;"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> <value name="TO"> <block type="procedures_callcustomreturn" id="DK/42*f_58--ovA;lXv)"> <mutation name="JSON_ELEMENT"> <arg name="X_completed"></arg> <arg name="X_createdDateTime"></arg> <arg name="X_value"></arg> </mutation> <value name="ARG0"> <block type="convert_jsonata" id="p~t%WLYkQmU]]h8l+Cs7"> <value name="EXPRESSION"> <shadow type="text" id=";b2/pyI3v@1,eX5G?8PQ"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="!PMW.%,?n$]kNTW~!p8J"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> <value name="ARG1"> <block type="convert_from_date" id="zZ%~t]{DcMF2oM,p{Hup"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field> <value name="VALUE"> <block type="convert_jsonata" id="C$2e~IAW]hx`*V~X[)D#"> <value name="EXPRESSION"> <shadow type="text" id="[e:fFe+C8.d5_Q-Jzmwe"> <field name="TEXT">createdDateTime</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="`-z1(J9v}MJR?I=(_K[v"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> <value name="ARG2"> <block type="convert_jsonata" id="OnDoF_MTz~7s^|kTVg$B"> <value name="EXPRESSION"> <shadow type="text" id="Be.Qa)$#T7.Qy[SAl+fw"> <field name="TEXT">value</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="ZdrDTX/aEU]9Q!=Cey5,"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="w9hDJs7nyR2z[DBTv!rF"> <value name="IF0"> <block type="lists_isEmpty" id="W*NG``#wpfb[V(?1nNHL"> <value name="VALUE"> <block type="variables_get" id="0%Yg#Juc=;)l@d3-#F7d"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> </block> </value> <statement name="DO0"> <block type="lists_setIndex" id="Qo=m1Wp$57Zy(l6yE,Z("> <mutation at="false"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">LAST</field> <value name="LIST"> <block type="variables_get" id="5W5CKh5liv6FuatsK/?Z"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> <value name="TO"> <block type="procedures_callcustomreturn" id="@HOvj(IHOLe56frxw!@l"> <mutation name="JSON_ELEMENT"> <arg name="X_completed"></arg> <arg name="X_createdDateTime"></arg> <arg name="X_value"></arg> </mutation> <value name="ARG0"> <block type="logic_boolean" id="99FS2N/.0wC;4WBiN3KV"> <field name="BOOL">TRUE</field> </block> </value> <value name="ARG1"> <block type="time_get" id="uT3s!cz2Cd4XE|j3#{9."> <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field> </block> </value> <value name="ARG2"> <block type="text" id="W_Am_?MWaDu4^J,j!TWX"> <field name="TEXT">KEINE DATEN</field> </block> </value> </block> </value> </block> </statement> <next> <block type="control" id="{W3|J:c#[2b{b:Xu]A{n"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.alexa.todo_json_jarvis</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_object2json" id="168#s}4?dNMkYXfgV!R:"> <field name="PRETTIFY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="pMM{?xO2~8WGxNgT$-UI"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> </block> </value> <next> <block type="debug" id="N/EOUd~/!~AJc29vuAh7" disabled="true"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="~j3T*-ZtFWuLI/`wpea="> <field name="TEXT">test</field> </shadow> <block type="convert_object2json" id="vJ}n)j)ESFbL)v`qcOFU"> <field name="PRETTIFY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="0lspr~*WijzCwXkZYN_!"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
Bitte mit dem anderen Blockly komplett tauschen bzw neu importieren.
-
@mcu Da kommt bei mir das hier:
Ich hätte auch gerne, dass anstatt value "Aufgabe" da steht und anstatt createdDateTime "Datum". Hab ich leider nicht hinbekommen.
-
@holzapfelauge Nein. Das geht nicht. evtl mit v3 irgendwann.
Man müsste dann die HTML unabhängig vom DP (Alexa) machen. -
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="BW%9v~G}+|6BPI-mC^U~">X_completed</variable> <variable id="8SK,{_!3h?;v%0+=ZeUU">X_createdDateTime</variable> <variable id="rO9asU5s{Y2G@3IkL@g~">X_value</variable> <variable id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</variable> <variable id="MpCcK~ur_i5(;GNB}F?^">jsonitems</variable> <variable id="7huB30*E_mbam=Bi-D2z">select</variable> <variable id="W@MiB696qRDvf-aB*Cb1">i</variable> <variable id="dU=%0t3gDY!SaSObPx}I">ADD_select</variable> </variables> <block type="procedures_defcustomreturn" id="mxG_{B!Y/t/PJQkf4_^S" x="238" y="-663"> <mutation statements="false"> <arg name="X_completed" varid="BW%9v~G}+|6BPI-mC^U~"></arg> <arg name="X_createdDateTime" varid="8SK,{_!3h?;v%0+=ZeUU"></arg> <arg name="X_value" varid="rO9asU5s{Y2G@3IkL@g~"></arg> </mutation> <field name="NAME">JSON_ELEMENT</field> <field name="SCRIPT">dmFyIHggPXt9Ow0KLy9jb25zb2xlLmxvZyhYX2NvbXBsZXRlZCArICcgJytYX2NyZWF0ZWREYXRlVGltZSArJyAnKyBYX3ZhbHVlKTsNCg0KaWYgKFhfY29tcGxldGVkID09IGZhbHNlKSB7DQogICAgLy94LmNvbXBsZXRlZCA9ICJPZmZlbiI7IC8vU3RyaW5nKFhfY29tcGxldGVkKTsgICAgDQogICAgeC5TdGF0dXMgPSAiT2ZmZW4iOyAvL1N0cmluZyhYX2NvbXBsZXRlZCk7ICAgIA0KICAgIA0KfQ0KZWxzZSB7DQogICAgLy94LmNvbXBsZXRlZCA9ICJFcmxlZGlndCI7DQogICAgeC5TdGF0dXMgPSAiRXJsZWRpZ3QiOw0KfQ0KDQovL3guY3JlYXRlZERhdGVUaW1lPSBYX2NyZWF0ZWREYXRlVGltZTsNCi8veC52YWx1ZSA9IFhfdmFsdWU7DQp4LkRhdHVtPSBYX2NyZWF0ZWREYXRlVGltZTsNCnguQXVmZ2FiZSA9IFhfdmFsdWU7DQp4LnB1c2g7DQpyZXR1cm4geDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="create" id="G]R]no),5~HQ]rMcDMT(" x="237" y="-612"> <field name="NAME">0_userdata.0.alexa.todo_json_jarvis</field> <next> <block type="create" id="=)6?8)IqYQnQuesdU7UA"> <field name="NAME">0_userdata.0.alexa.todo_select</field> <value name="COMMON"> <block type="text_join" id="t%HpOTmWwv0}]!N=QK~2"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="CQZ?#lk_wSG1Juk.E}!*"> <field name="TEXT">{"read": true,"write": true, </field> </block> </value> <value name="ADD1"> <block type="text" id="@SE1f2TGhb)XwfKW1jAM"> <field name="TEXT">"type": "string","name": "Auswahl", </field> </block> </value> <value name="ADD2"> <block type="text" id="/#-h~q~zfI|N_oXBwK,`"> <field name="TEXT"></field> </block> </value> <value name="ADD3"> <block type="text" id="?:x8KxIyksC4;q*pMkSl"> <field name="TEXT">"states": {"all":"Alle","false":"Offene","true":"Erledigte"}}</field> </block> </value> </block> </value> <next> <block type="on_ext" id="ZM4rstIXoN#mZ-2b2%iG"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="!^G4~u8j[W6crS2yG6P`"> <field name="oid">alexa2.0.Lists.TO_DO.json</field> </shadow> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="*8x-8sM$V;V1!qlyv#1s"> <mutation name="JSON_FÜR_JARVIS"></mutation> </block> </statement> <next> <block type="on_ext" id="u:c:K(a.v=[lf5Y;.^gp"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="EykUyR?a8C63eqTR@5%*"> <field name="oid">0_userdata.0.alexa.todo_select</field> </shadow> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="LAP^y%R6t^IgBuhC$p#l"> <mutation name="JSON_FÜR_JARVIS"></mutation> </block> </statement> </block> </next> </block> </next> </block> </next> </block> <block type="procedures_defnoreturn" id="}z{CqW-9zw2xWC*XwEPb" x="237" y="62"> <field name="NAME">JSON_FÜR_JARVIS</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="variables_set" id="]g$swJ*{2zi#DDIxG_*9"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> <value name="VALUE"> <block type="lists_create_with" id="s=b/i.]d.{lIVezRf3G]"> <mutation items="0"></mutation> </block> </value> <next> <block type="variables_set" id="B`W:^0^1rmhAz{G;3(=}"> <field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field> <value name="VALUE"> <block type="convert_json2object" id="|Na{Lsyc[M~de-(U@Lo*"> <value name="VALUE"> <block type="get_value" id="^Qf/]g}*V1]-.;T/%AIY"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Lists.TO_DO.json</field> </block> </value> </block> </value> <next> <block type="variables_set" id="+{vBa^+a7]q#9p]?hMH7"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> <value name="VALUE"> <block type="get_value" id="$tt:77/o}Y:xtjuJ6vZR"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.alexa.todo_select</field> </block> </value> <next> <block type="debug" id=")#p1xctd[CKaOi}fUfW)" disabled="true"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="t-2b_e#0STem%wB/vwMS"> <field name="TEXT">test</field> </shadow> <block type="variables_get" id="q%U/3q~`p=5uyPE-eaAk"> <field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field> </block> </value> <next> <block type="controls_forEach" id="Jr]rCwGV4+ZJW|.JDFoh"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> <value name="LIST"> <block type="variables_get" id=",~mWGy{FpQD5@ncHG9uq"> <field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field> </block> </value> <statement name="DO"> <block type="debug" id="|}P0#g}U6HB({/,$])lw" disabled="true"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="+?}@}ZxJAsZN5TtPs{av"> <field name="TEXT">test</field> </shadow> <block type="convert_jsonata" id="*8%E3s_lo)vJX{xu(5MF"> <value name="EXPRESSION"> <shadow type="text" id="(m+8t{gx1Kk@3Hzq8,jB"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="IDyoQxR)dt9M*[n3ShUo"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> <next> <block type="variables_set" id="MMmJ=$3Av~;=8?:CLJ/?"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="=hyUVhSs!A%-9jI+{DUM"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="controls_if" id="Kwi^{w?v/g=KmUzfK3o$"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="paFV3UpfROlwbseECIW8"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="ms1-N4Hh4HwO3[vO,8qJ"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> </block> </value> <value name="B"> <block type="text" id="dl=n:TaVE;zn,lo_dDU:"> <field name="TEXT">all</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="`#`6u*=P1Op#.AV?i?cD"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="H_pQE1d|D~fo2]E3yfdx"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="6iE*0Atm^B]yoUHj~e90"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="fH~RkEanrpluVyhdQVd^"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> </block> </value> <value name="B"> <block type="text" id="LYe@tI5;CI@eX?#Fb`tx"> <field name="TEXT">false</field> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="Skx)dhe*t;i%zFH9#HDe"> <value name="IF0"> <block type="logic_compare" id="N0mP%Y@nJII)FUkV(|ot"> <field name="OP">EQ</field> <value name="A"> <block type="convert_tostring" id="%lxfjvw/;}838}H#v-wA"> <value name="VALUE"> <block type="convert_jsonata" id="2=/{cS9wTG-j`^Z%!580"> <value name="EXPRESSION"> <shadow type="text" id="}@K=JL!N,dddRT/*N0DF"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="`DcTGvtRHbcsq2i=ytZS"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="text" id="~L(vpPkIy;VPicYNW]yS"> <field name="TEXT">false</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="WMsqF_mnxx|zP$?YUArJ"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="#I[kEn`t=3Ft4CTu!WNV"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <value name="IF2"> <block type="logic_compare" id="U=F7PQoX8|APZ]Sz17K2"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="o2Vh2IGtY-3]c8QQa!@B"> <field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field> </block> </value> <value name="B"> <block type="text" id="e@cS%G1a[N-`qPV.A7EE"> <field name="TEXT">true</field> </block> </value> </block> </value> <statement name="DO2"> <block type="controls_if" id=",,7q^;^ykjHZUFLC1s%{"> <value name="IF0"> <block type="logic_compare" id="zqC,-gE?urRyxEfdZAfu"> <field name="OP">EQ</field> <value name="A"> <block type="convert_tostring" id="LeRW,6c8xyUh;*wIL)MQ"> <value name="VALUE"> <block type="convert_jsonata" id="Q-MMm$fHe4io_vHjSY_."> <value name="EXPRESSION"> <shadow type="text" id="jJ+~bp;!d$*`m%Ctj6D$"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id=";)I@*nH{bp=_]=}znxgN"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="text" id="zMJ,hoF}E)tES9{q$Z(h"> <field name="TEXT">true</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="8(T:~McP8TfZbWDftG*k"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> <value name="VALUE"> <block type="logic_boolean" id="2ND5y7W@V^HEzfL~^uzk"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="controls_if" id="49^HV302$#}aPx~PH5Tg"> <value name="IF0"> <block type="variables_get" id="IX|.A-#iMIj(T^]4DSEO"> <field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field> </block> </value> <statement name="DO0"> <block type="lists_setIndex" id="@:3ZNJZ:55#tL}E7vu^T"> <mutation at="false"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">LAST</field> <value name="LIST"> <block type="variables_get" id="af%%PgQ7fWx!_GIzW-u;"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> <value name="TO"> <block type="procedures_callcustomreturn" id="DK/42*f_58--ovA;lXv)"> <mutation name="JSON_ELEMENT"> <arg name="X_completed"></arg> <arg name="X_createdDateTime"></arg> <arg name="X_value"></arg> </mutation> <value name="ARG0"> <block type="convert_jsonata" id="p~t%WLYkQmU]]h8l+Cs7"> <value name="EXPRESSION"> <shadow type="text" id=";b2/pyI3v@1,eX5G?8PQ"> <field name="TEXT">completed</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="!PMW.%,?n$]kNTW~!p8J"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> <value name="ARG1"> <block type="convert_from_date" id="zZ%~t]{DcMF2oM,p{Hup"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field> <value name="VALUE"> <block type="convert_jsonata" id="C$2e~IAW]hx`*V~X[)D#"> <value name="EXPRESSION"> <shadow type="text" id="[e:fFe+C8.d5_Q-Jzmwe"> <field name="TEXT">createdDateTime</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="`-z1(J9v}MJR?I=(_K[v"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> <value name="ARG2"> <block type="convert_jsonata" id="OnDoF_MTz~7s^|kTVg$B"> <value name="EXPRESSION"> <shadow type="text" id="Be.Qa)$#T7.Qy[SAl+fw"> <field name="TEXT">value</field> </shadow> </value> <value name="TARGET"> <block type="variables_get" id="ZdrDTX/aEU]9Q!=Cey5,"> <field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field> </block> </value> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="controls_if" id="w9hDJs7nyR2z[DBTv!rF"> <value name="IF0"> <block type="lists_isEmpty" id="W*NG``#wpfb[V(?1nNHL"> <value name="VALUE"> <block type="variables_get" id="0%Yg#Juc=;)l@d3-#F7d"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> </block> </value> <statement name="DO0"> <block type="lists_setIndex" id="Qo=m1Wp$57Zy(l6yE,Z("> <mutation at="false"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">LAST</field> <value name="LIST"> <block type="variables_get" id="5W5CKh5liv6FuatsK/?Z"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> <value name="TO"> <block type="procedures_callcustomreturn" id="@HOvj(IHOLe56frxw!@l"> <mutation name="JSON_ELEMENT"> <arg name="X_completed"></arg> <arg name="X_createdDateTime"></arg> <arg name="X_value"></arg> </mutation> <value name="ARG0"> <block type="logic_boolean" id="99FS2N/.0wC;4WBiN3KV"> <field name="BOOL">TRUE</field> </block> </value> <value name="ARG1"> <block type="time_get" id="uT3s!cz2Cd4XE|j3#{9."> <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation> <field name="OPTION">custom</field> <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field> </block> </value> <value name="ARG2"> <block type="text" id="W_Am_?MWaDu4^J,j!TWX"> <field name="TEXT">KEINE DATEN</field> </block> </value> </block> </value> </block> </statement> <next> <block type="control" id="{W3|J:c#[2b{b:Xu]A{n"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.alexa.todo_json_jarvis</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_object2json" id="168#s}4?dNMkYXfgV!R:"> <field name="PRETTIFY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="pMM{?xO2~8WGxNgT$-UI"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> </block> </value> <next> <block type="debug" id="N/EOUd~/!~AJc29vuAh7" disabled="true"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="~j3T*-ZtFWuLI/`wpea="> <field name="TEXT">test</field> </shadow> <block type="convert_object2json" id="vJ}n)j)ESFbL)v`qcOFU"> <field name="PRETTIFY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="0lspr~*WijzCwXkZYN_!"> <field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
JSONTABLE dann umstellen auf:
[{"label":"Aufgabe","align":"left"},{"label":"Datum","align":"left"}]
-
@mcu Vielen Dank!
Jetzt wird zwar Aufgabe und Datum angezeigt, allerdings steht bei den offenen Aufgaben, wenn kein Eintrag vorhanden ist, immer noch "Keine Daten" in der Liste.EDIT: Habs hinbekommen. Einfach nur die Einträge, welche bei einem leeren Datenpunkt angezeigt werden sollen, deaktiviert.
-
@zefau Hallo, versuche gerade einen 0/1 Wert in jarvis darzustellen und per switchaction schaltbar zu machen. (nutze den Wolf-Adapter der Daten über das Wolf-Portal zieht) und möchte "Warmwasser 1x" schaltbar machen. Normale ON/OFF Button funktionieren aber mit den Werten 0/1 (Zahl) kommend aus ioBroker funktioniert es nicht. Der SwitchAction zeigt immer "eingeschaltet" an. Ich habe schon mit JSON auf Datenpunkt Eigenschaften
{ "0": "Aus", "1": "Ein" }
versucht, hilft aber auch nichts. Habt ihr eine Idee für mich. bitte
-
-
@mcu supervielen Dank! hat sofort funktioniert. Danke auch für die Screenshots, hatte dabei festgestellt, dass ich auch den Datenpunkt fürAnzeige noch pflegen musste. naja, immerhin, jetzt gibt's einen "blutigen" Anfänger weniger. Jarvis-Aufstieg zum Anfänger check!
-
Hallo zusammen,
seitdem ich den Kalender benutze bekomme ich minütlich Warnungen.
Was hat das zu bedeuten? Ich verwende 2.2.0Read-only state "jarvis.0.info.data" has been written without ack-flag with value "{"data":"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nX-WR-CALNAME:XXXXXXXX\r\nX-APPLE-CALENDAR-COLOR:#CC73E1\r\nBEGIN:VEVENT\r\nCREATED:20210629T193019Z\r\nDTEND;TZID=Europe/Berlin:20210809T091500\r\nDTSTAMP:20210629T193020Z\r\nDTSTART;TZID=Europe/Berlin:20210809T083000\r\nLAST-
-
Hallo,
nach dem ich den Adapter upgedatet habe erscheint nun die Meldung:
File index.html not found: {}
Die Backups aus dem Adapter haben das Problem leider nicht behoben.
Was kann ich tun?
Danke -
@karstent Adapter nochmal hochladen
-
@zefau also noch mal deinstallieren und dann installieren?
-
@karstent das geht auch. Gibt aber zum hochladen extra einen Button. Sonst per cli
iobroker upload jarvis
-
@zefau Danke, das hat geklappt. Habe es über die cli gemacht.
-
@mcu Gab es denn schon eine Antwort? Oder wie kann man denn das mit einem Script lösen? Es geht um den Homepilot Adapter für den Rollotron Gurtwickler, da dort keine Datenpunkte für auf und zu vorhanden sind. Man kann das Rollo nur mit Prozentangabe steuern.
-
@lustig29 Nein, es gab leider noch keine Antwort. Vielleicht solltest du dann erstmal eine andere Variante zur Steuerung nutzen: DropdownAction. Damit kannst du die Werte dann vorgeben und das Rollo fährt dann ja an die entsprechende Position.
{"0":"ZU","25":"25","45":"45","65":"65","100":"OFFEN"}
Siehe oben im gif die Änderung vom Wert: