NEWS
[Gelöst] "+10" in Zahlenfeld übergeben
-
Hallo,
ich versuche meine LED zu steuern. Für den Datenpunkt brauche ich "+10" um die Helligkeit zu erhöhen und dieser Datenpunkt soll sollen numeral sein.
Wenn ich das Zahlenfeld verwende, dann wird immer das "+" entfernt. Einen String darf ich nicht übergeben.
Gibts eine Möglichkeit das + in einem Zahlenfeld mit zu übertragen? -
Hallo,
ich versuche meine LED zu steuern. Für den Datenpunkt brauche ich "+10" um die Helligkeit zu erhöhen und dieser Datenpunkt soll sollen numeral sein.
Wenn ich das Zahlenfeld verwende, dann wird immer das "+" entfernt. Einen String darf ich nicht übergeben.
Gibts eine Möglichkeit das + in einem Zahlenfeld mit zu übertragen? -
Hallo,
ich versuche meine LED zu steuern. Für den Datenpunkt brauche ich "+10" um die Helligkeit zu erhöhen und dieser Datenpunkt soll sollen numeral sein.
Wenn ich das Zahlenfeld verwende, dann wird immer das "+" entfernt. Einen String darf ich nicht übergeben.
Gibts eine Möglichkeit das + in einem Zahlenfeld mit zu übertragen? -
Hallo,
ich versuche meine LED zu steuern. Für den Datenpunkt brauche ich "+10" um die Helligkeit zu erhöhen und dieser Datenpunkt soll sollen numeral sein.
Wenn ich das Zahlenfeld verwende, dann wird immer das "+" entfernt. Einen String darf ich nicht übergeben.
Gibts eine Möglichkeit das + in einem Zahlenfeld mit zu übertragen? -
Sorry,

Es geht um den oberen Teil. da bräuchte ich "+10".hier noch der Code des ganzen Skripts:
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="comment" id="X0Bm:)=YlP~gZ%;4a:`o" x="-138" y="-512"> <field name="COMMENT">Ein bei Sonnenuntergang</field> <next> <block type="astro" id="#wA1xTns#76g0%Z?moF="> <field name="TYPE">sunset</field> <field name="OFFSET">30</field> <statement name="STATEMENT"> <block type="controls_if" id="3GCC6np]Uh*9vvq+18o^"> <value name="IF0"> <block type="get_value" id=".vc{)y+{)6F!#(t~42hd"> <field name="ATTR">val</field> <field name="OID">fhem.0.Wir.presence</field> </block> </value> <statement name="DO0"> <block type="control" id="?ro:LecGb?zj~zMf1Rq*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="V8p9wwjn|]H#0_Bp3qM:"> <field name="NUM">22</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="comment" id="sJzydRb4lWKiza0f}qph"> <field name="COMMENT">Ausschalten 23:56</field> <next> <block type="schedule" id="V5q$:$o!UrQo)`wM0SwG"> <field name="SCHEDULE">56 23 * * *</field> <statement name="STATEMENT"> <block type="control" id="/qaPYvbz}uHsLDh`Jh*2"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=";yML?m}nL.c%d7]G-:OV"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="on" id="{oCj]}KzmpTbk37@HgA0"> <field name="OID">zigbee.2.842e14fffef16eae.brightness_step_up</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="-s;v_G;~M2}FA7.4aJ$e"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="9(jvYpBkuCYQ5n`mERId"> <field name="NUM">10</field> </block> </value> </block> </statement> <next> <block type="on" id="JLeHj7U5xxS{|;`*jWb_"> <field name="OID">zigbee.2.842e14fffef16eae.brightness_step_down</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="f19rPblpla1b)=l_c*DV"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="|H0pLe6?[[/oh*x}E~[v"> <field name="NUM">-10</field> </block> </value> </block> </statement> <next> <block type="on" id=",$_sC96`sZi0,Xc}zmzA"> <field name="OID">zigbee.2.842e14fffef16eae.on</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="adF}bEcpC?[9mbl#7(_["> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="-DaB(L.+U~X{N{pTq^4D"> <field name="NUM">19</field> </block> </value> </block> </statement> <next> <block type="on" id="Y$42X^Jl~{PI)SdLlGO3"> <field name="OID">zigbee.2.842e14fffef16eae.off</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="rqYk(mlRlx@yjeh9g7BG"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="+jz%NB3;y$A?vKxwH)VC"> <field name="NUM">0</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml> -
Sorry,

Es geht um den oberen Teil. da bräuchte ich "+10".hier noch der Code des ganzen Skripts:
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="comment" id="X0Bm:)=YlP~gZ%;4a:`o" x="-138" y="-512"> <field name="COMMENT">Ein bei Sonnenuntergang</field> <next> <block type="astro" id="#wA1xTns#76g0%Z?moF="> <field name="TYPE">sunset</field> <field name="OFFSET">30</field> <statement name="STATEMENT"> <block type="controls_if" id="3GCC6np]Uh*9vvq+18o^"> <value name="IF0"> <block type="get_value" id=".vc{)y+{)6F!#(t~42hd"> <field name="ATTR">val</field> <field name="OID">fhem.0.Wir.presence</field> </block> </value> <statement name="DO0"> <block type="control" id="?ro:LecGb?zj~zMf1Rq*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="V8p9wwjn|]H#0_Bp3qM:"> <field name="NUM">22</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="comment" id="sJzydRb4lWKiza0f}qph"> <field name="COMMENT">Ausschalten 23:56</field> <next> <block type="schedule" id="V5q$:$o!UrQo)`wM0SwG"> <field name="SCHEDULE">56 23 * * *</field> <statement name="STATEMENT"> <block type="control" id="/qaPYvbz}uHsLDh`Jh*2"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=";yML?m}nL.c%d7]G-:OV"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="on" id="{oCj]}KzmpTbk37@HgA0"> <field name="OID">zigbee.2.842e14fffef16eae.brightness_step_up</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="-s;v_G;~M2}FA7.4aJ$e"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="9(jvYpBkuCYQ5n`mERId"> <field name="NUM">10</field> </block> </value> </block> </statement> <next> <block type="on" id="JLeHj7U5xxS{|;`*jWb_"> <field name="OID">zigbee.2.842e14fffef16eae.brightness_step_down</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="f19rPblpla1b)=l_c*DV"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="|H0pLe6?[[/oh*x}E~[v"> <field name="NUM">-10</field> </block> </value> </block> </statement> <next> <block type="on" id=",$_sC96`sZi0,Xc}zmzA"> <field name="OID">zigbee.2.842e14fffef16eae.on</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="adF}bEcpC?[9mbl#7(_["> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.DIMMER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="-DaB(L.+U~X{N{pTq^4D"> <field name="NUM">19</field> </block> </value> </block> </statement> <next> <block type="on" id="Y$42X^Jl~{PI)SdLlGO3"> <field name="OID">zigbee.2.842e14fffef16eae.off</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="control" id="rqYk(mlRlx@yjeh9g7BG"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.SmartHome.EG.LED1.cmnd.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="+jz%NB3;y$A?vKxwH)VC"> <field name="NUM">0</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml> -
Geht es um vis oder js?
Für vis nehme ich

Alles über Parameter einstellbar
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden

