NEWS
Siemens Geschirrspüler - Eigenen Datenpunkt wird nicht...
-
Hi Forum,
ich habe eine Geschirrspüler, von diesem möchte ich einen eigenen Datenpunkt beschreiben, der Datenpunkt schaut folgend aus...
{ "type": "state", "common": { "name": "Betriebsstatus", "type": "mixed", "role": "indicator", "write": true, "read": true, "unit": "", "states": { "BSH.Common.EnumType.OperationState.Ready": "Ready", "BSH.Common.EnumType.OperationState.Run": "Run", "BSH.Common.EnumType.OperationState.Finished": "Finished" }mein Blockly dazu schaut so aus...
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="create" id="0qiGN9NF-oRvp8*wFQM~" x="63" y="63"> <field name="NAME">Eigene_Datenpunkte.Geschirrspüler.Status</field> <value name="VALUE"> <block type="text" id="?Hv/Pwoj(:`z7TT7d?U#"> <field name="TEXT">kein Wert</field> </block> </value> <value name="COMMON"> <block type="text" id="!:l5@]a6d}y%WV+%8gS~"> <field name="TEXT">{ "role" : "string" , "name" : "Geschirrspülerstatus", "read" : "true" , "write" : "false" }</field> </block> </value> <next> <block type="on_ext" id="4AgA5t{l5#]^z#MpD{(@"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="{R*_`9:+4Cq$K0!).il5"> <field name="oid">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="Mh%o/$/sR^Bfkgia,ZD,"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="}18wN(*-DVJ(?7lbtH:G"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="tUf/^iSAfzLBCwO0=VHa"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="j+L:641g%^YP~KgM-ldn"> <field name="TEXT">Ready</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="nY4u}}o,x?c]Yefzz1.i"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="?J_GTPlWlVl^RYRF5mAI"> <field name="TEXT">Geschirrspüler Fertig</field> </block> </value> <next> <block type="debug" id="+N#B-#kWc6uV89llhXh~"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="?xF5(/qDbqa$BWgt2H$T"> <field name="TEXT">Geschirrspüler Fertig</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_compare" id="VG*IQMu!J031_{XW*$(j"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="(dL5%qxe]Eq]HPI-!xSA"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="/Wphu29yn;!e^Md70:mq"> <field name="TEXT">Run</field> </block> </value> </block> </value> <statement name="DO1"> <block type="update" id="^!gB*B;nLkFCJ|_dY/)~"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="pzy5r9|G/dlT[;uqrRkW"> <field name="TEXT">Geschirrspüler läuft</field> </block> </value> <next> <block type="debug" id="MzR%M)`P!54R#*/B%Naj"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="sqr.0:IUv0|NZSU(7Rn["> <field name="TEXT">Geschirrspüler läuft</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_compare" id="Xx;N.kI=)1PGRrN(iaU:"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~X4k;mS{VYJ*hb)N%_Js"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="3{92a|F^6i_Kstmq2qZ?"> <field name="TEXT">Finished</field> </block> </value> </block> </value> <statement name="DO2"> <block type="update" id=")YU/6DWE$HF?V!D{P;xq"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="$vcGxjr2zi:-5hsZLksZ"> <field name="TEXT">Geschirrspüler Fertig</field> </block> </value> <next> <block type="debug" id="I[|q0cq|-BU.=+4@Y04z"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="cG-,$L9^MnkBy~%FEkg`"> <field name="TEXT">Geschirrspüler Fertig</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>hat da jemand eventuell eine idee?
MFG
-
Hi Forum,
ich habe eine Geschirrspüler, von diesem möchte ich einen eigenen Datenpunkt beschreiben, der Datenpunkt schaut folgend aus...
{ "type": "state", "common": { "name": "Betriebsstatus", "type": "mixed", "role": "indicator", "write": true, "read": true, "unit": "", "states": { "BSH.Common.EnumType.OperationState.Ready": "Ready", "BSH.Common.EnumType.OperationState.Run": "Run", "BSH.Common.EnumType.OperationState.Finished": "Finished" }mein Blockly dazu schaut so aus...
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="create" id="0qiGN9NF-oRvp8*wFQM~" x="63" y="63"> <field name="NAME">Eigene_Datenpunkte.Geschirrspüler.Status</field> <value name="VALUE"> <block type="text" id="?Hv/Pwoj(:`z7TT7d?U#"> <field name="TEXT">kein Wert</field> </block> </value> <value name="COMMON"> <block type="text" id="!:l5@]a6d}y%WV+%8gS~"> <field name="TEXT">{ "role" : "string" , "name" : "Geschirrspülerstatus", "read" : "true" , "write" : "false" }</field> </block> </value> <next> <block type="on_ext" id="4AgA5t{l5#]^z#MpD{(@"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="{R*_`9:+4Cq$K0!).il5"> <field name="oid">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="Mh%o/$/sR^Bfkgia,ZD,"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="}18wN(*-DVJ(?7lbtH:G"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="tUf/^iSAfzLBCwO0=VHa"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="j+L:641g%^YP~KgM-ldn"> <field name="TEXT">Ready</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="nY4u}}o,x?c]Yefzz1.i"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="?J_GTPlWlVl^RYRF5mAI"> <field name="TEXT">Geschirrspüler Fertig</field> </block> </value> <next> <block type="debug" id="+N#B-#kWc6uV89llhXh~"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="?xF5(/qDbqa$BWgt2H$T"> <field name="TEXT">Geschirrspüler Fertig</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_compare" id="VG*IQMu!J031_{XW*$(j"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="(dL5%qxe]Eq]HPI-!xSA"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="/Wphu29yn;!e^Md70:mq"> <field name="TEXT">Run</field> </block> </value> </block> </value> <statement name="DO1"> <block type="update" id="^!gB*B;nLkFCJ|_dY/)~"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="pzy5r9|G/dlT[;uqrRkW"> <field name="TEXT">Geschirrspüler läuft</field> </block> </value> <next> <block type="debug" id="MzR%M)`P!54R#*/B%Naj"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="sqr.0:IUv0|NZSU(7Rn["> <field name="TEXT">Geschirrspüler läuft</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_compare" id="Xx;N.kI=)1PGRrN(iaU:"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~X4k;mS{VYJ*hb)N%_Js"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="3{92a|F^6i_Kstmq2qZ?"> <field name="TEXT">Finished</field> </block> </value> </block> </value> <statement name="DO2"> <block type="update" id=")YU/6DWE$HF?V!D{P;xq"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="$vcGxjr2zi:-5hsZLksZ"> <field name="TEXT">Geschirrspüler Fertig</field> </block> </value> <next> <block type="debug" id="I[|q0cq|-BU.=+4@Y04z"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="cG-,$L9^MnkBy~%FEkg`"> <field name="TEXT">Geschirrspüler Fertig</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>hat da jemand eventuell eine idee?
MFG
-
Hi Forum,
ich habe eine Geschirrspüler, von diesem möchte ich einen eigenen Datenpunkt beschreiben, der Datenpunkt schaut folgend aus...
{ "type": "state", "common": { "name": "Betriebsstatus", "type": "mixed", "role": "indicator", "write": true, "read": true, "unit": "", "states": { "BSH.Common.EnumType.OperationState.Ready": "Ready", "BSH.Common.EnumType.OperationState.Run": "Run", "BSH.Common.EnumType.OperationState.Finished": "Finished" }mein Blockly dazu schaut so aus...
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="create" id="0qiGN9NF-oRvp8*wFQM~" x="63" y="63"> <field name="NAME">Eigene_Datenpunkte.Geschirrspüler.Status</field> <value name="VALUE"> <block type="text" id="?Hv/Pwoj(:`z7TT7d?U#"> <field name="TEXT">kein Wert</field> </block> </value> <value name="COMMON"> <block type="text" id="!:l5@]a6d}y%WV+%8gS~"> <field name="TEXT">{ "role" : "string" , "name" : "Geschirrspülerstatus", "read" : "true" , "write" : "false" }</field> </block> </value> <next> <block type="on_ext" id="4AgA5t{l5#]^z#MpD{(@"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="{R*_`9:+4Cq$K0!).il5"> <field name="oid">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="Mh%o/$/sR^Bfkgia,ZD,"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_compare" id="}18wN(*-DVJ(?7lbtH:G"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="tUf/^iSAfzLBCwO0=VHa"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="j+L:641g%^YP~KgM-ldn"> <field name="TEXT">Ready</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="nY4u}}o,x?c]Yefzz1.i"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="?J_GTPlWlVl^RYRF5mAI"> <field name="TEXT">Geschirrspüler Fertig</field> </block> </value> <next> <block type="debug" id="+N#B-#kWc6uV89llhXh~"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="?xF5(/qDbqa$BWgt2H$T"> <field name="TEXT">Geschirrspüler Fertig</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_compare" id="VG*IQMu!J031_{XW*$(j"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="(dL5%qxe]Eq]HPI-!xSA"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="/Wphu29yn;!e^Md70:mq"> <field name="TEXT">Run</field> </block> </value> </block> </value> <statement name="DO1"> <block type="update" id="^!gB*B;nLkFCJ|_dY/)~"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="pzy5r9|G/dlT[;uqrRkW"> <field name="TEXT">Geschirrspüler läuft</field> </block> </value> <next> <block type="debug" id="MzR%M)`P!54R#*/B%Naj"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="sqr.0:IUv0|NZSU(7Rn["> <field name="TEXT">Geschirrspüler läuft</field> </shadow> </value> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_compare" id="Xx;N.kI=)1PGRrN(iaU:"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~X4k;mS{VYJ*hb)N%_Js"> <field name="ATTR">val</field> <field name="OID">homeconnect.0.403090394960000159.status.BSH_Common_Status_OperationState</field> </block> </value> <value name="B"> <block type="text" id="3{92a|F^6i_Kstmq2qZ?"> <field name="TEXT">Finished</field> </block> </value> </block> </value> <statement name="DO2"> <block type="update" id=")YU/6DWE$HF?V!D{P;xq"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Geschirrspüler.Status</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="$vcGxjr2zi:-5hsZLksZ"> <field name="TEXT">Geschirrspüler Fertig</field> </block> </value> <next> <block type="debug" id="I[|q0cq|-BU.=+4@Y04z"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="cG-,$L9^MnkBy~%FEkg`"> <field name="TEXT">Geschirrspüler Fertig</field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>hat da jemand eventuell eine idee?
MFG
-
@schweiz sagte: eine idee?
Der lange Text unter "states" (vor dem Doppelpunkt) ist der zu vergleichende Wert.

@paul53
danke,... Alexa sagt jetzt das die Maschine läuft, kann aber mit Geschirrspüler ist Fertig nix anfangen, irgendwie ist Sie dum wie ich...Das schaut schon besser aus, der Datenpunkt wird geändert, sobald ich ein oder ausschalte. Den rest bekomme ich schon hin, ggf. den Text ändern das die richtig blabert...
MFG
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