Ich habs... Manchmal hat man die Lösung vor der Nase 🙂
da876c37-22f4-49e7-9327-6ef56f86519c-image.png
setState(Ziel, { val: Wert, ack: true, ts: timestamp}); Spoiler <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="+^CHN[uHOarbtDHU1p)i">Ziel</variable> <variable id="O;7R[3JFX|+BqX9eC8G]">timestamp</variable> <variable id="GbvdnJSn.0:!Q:%DT.W^">Wert</variable> </variables> <block type="procedures_defcustomnoreturn" id="1N]5+C3Ax`eKJx2w97j!" x="37" y="-212"> <mutation statements="false"> <arg name="Ziel" varid="+^CHN[uHOarbtDHU1p)i"></arg> <arg name="timestamp" varid="O;7R[3JFX|+BqX9eC8G]"></arg> <arg name="Wert" varid="GbvdnJSn.0:!Q:%DT.W^"></arg> </mutation> <field name="NAME">write_DP</field> <field name="SCRIPT">c2V0U3RhdGUoWmllbCwgeyB2YWw6IFdlcnQsIGFjazogdHJ1ZSwgdHM6IHRpbWVzdGFtcH0pOw==</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_callcustomnoreturn" id="K|}$[$Nz/!aN$T%1cf~t" x="38" y="-162"> <mutation name="write_DP"> <arg name="Ziel"></arg> <arg name="timestamp"></arg> <arg name="Wert"></arg> </mutation> <value name="ARG0"> <block type="text" id="Z4,y!Ep?Rs.(.o*$myRq"> <field name="TEXT">0_userdata.0.test-number1</field> </block> </value> <value name="ARG1"> <block type="convert_to_date" id="Y`n|9wH}=:xC,/E+RPgz"> <value name="VALUE"> <block type="get_value" id="1fbwM:_,Auug18%=+]E+"> <field name="ATTR">val</field> <field name="OID">withings.0.38305736.activity.activities18.date</field> </block> </value> </block> </value> <value name="ARG2"> <block type="math_number" id="f_+uTFJ:jg$0Pj7KQXDW"> <field name="NUM">9</field> </block> </value> </block> </xml>