From ae4e47566db32f49c1f7cbdbce7ac76f909a95cd Mon Sep 17 00:00:00 2001 From: Armilar <102996011+Armilar@users.noreply.github.com> Date: Tue, 10 Jan 2023 14:43:58 +0100 Subject: [PATCH] Create cardPower_simple_example.xml --- ioBroker/Blockly/cardPower_simple_example.xml | 1168 +++++++++++++++++ 1 file changed, 1168 insertions(+) create mode 100644 ioBroker/Blockly/cardPower_simple_example.xml diff --git a/ioBroker/Blockly/cardPower_simple_example.xml b/ioBroker/Blockly/cardPower_simple_example.xml new file mode 100644 index 00000000..898dbe0f --- /dev/null +++ b/ioBroker/Blockly/cardPower_simple_example.xml @@ -0,0 +1,1168 @@ + + + NSPanel_Datenpunkt + value_Id_0 + unit_ID_0 + icon_ID_0 + iconColor_Id_0 + value_Id_1 + unit_ID_1 + icon_ID_1 + iconColor_Id_1 + speed_Id_1 + value_ID_2 + unit_ID_2 + icon_ID_2 + iconColor_Id_2 + speed_Id_2 + value_ID_3 + unit_ID_3 + icon_ID_3 + iconColor_Id_3 + speed_Id_3 + value_ID_4 + unit_ID_4 + icon_ID_4 + iconColor_Id_4 + speed_Id_4 + value_ID_5 + unit_ID_5 + icon_ID_5 + iconColor_Id_5 + speed_Id_5 + value_ID_6 + unit_ID_6 + icon_ID_6 + iconColor_Id_6 + speed_Id_6 + outJSON + + + Variablen + + + Datenpunkt in den für das NSPanel geschrieben wird + + + NSPanel_Datenpunkt + + + 0_userdata.0.Test.CardPowerExample.cardPower_1_JSON + + + + + **************************************************** + + + Werte die Angezeigt werden; 2-6 sind ungenutzt + + + "id":0 - mittleres großes Element + + + value_Id_0 + + + "" + + + + + unit_ID_0 + + + + + + + + icon_ID_0 + + + home + + + + + iconColor_Id_0 + + + 0 + + + + + id 0 hat kein "speed" + + + "id":1 - oben links - kleines Element + + + value_Id_1 + + + val + + + XYZ + + + + + + + value_Id_1 + + + 4 + + + + + unit_ID_1 + + + kW + + + + + icon_ID_1 + + + battery-charging-60 + + + + + iconColor_Id_1 + + + 10 + + + + + speed_Id_1 + + + 1 + + + + + "id":2 - mitte links - kleines Element + + + value_ID_2 + + + "" + + + + + unit_ID_2 + + + + + + + + icon_ID_2 + + + + + + + + iconColor_Id_2 + + + 0 + + + + + speed_Id_2 + + + 0 + + + + + "id":3 - unten links - kleines Element + + + value_ID_3 + + + "" + + + + + unit_ID_3 + + + + + + + + icon_ID_3 + + + + + + + + iconColor_Id_3 + + + 0 + + + + + speed_Id_3 + + + 0 + + + + + "id":4 - oben rechts - kleines Element + + + value_ID_4 + + + "" + + + + + unit_ID_4 + + + + + + + + icon_ID_4 + + + + + + + + iconColor_Id_4 + + + 0 + + + + + speed_Id_4 + + + 0 + + + + + "id":5 - mitte rechts - kleines Element + + + value_ID_5 + + + "" + + + + + unit_ID_5 + + + + + + + + icon_ID_5 + + + + + + + + iconColor_Id_5 + + + 0 + + + + + speed_Id_5 + + + 0 + + + + + "id":6 - unten rechts - kleines Element + + + value_ID_6 + + + "" + + + + + unit_ID_6 + + + + + + + + icon_ID_6 + + + + + + + + iconColor_Id_6 + + + 0 + + + + + speed_Id_6 + + + 0 + + + + + **************************************************** + + + * * * * * + + + Ab hier wird das JSON erzeugt + + + outJSON + + + [ + + + + + "id":0 - mittleres großes Element + + + outJSON + + + + + + outJSON + + + + + + + + { "id" : + + + + + 0 + + + + + , "value": + + + + + value_Id_0 + + + + + , "unit": " + + + + + unit_ID_0 + + + + + " , "icon" : " + + + + + icon_ID_0 + + + + + " , "iconColor" : + + + + + iconColor_Id_0 + + + + + }, + + + + + + + + + "id":1 - oben links - kleines Element + + + outJSON + + + + + + outJSON + + + + + + + + { "id" : + + + + + 1 + + + + + , "value": + + + + + value_Id_1 + + + + + , "unit": " + + + + + unit_ID_1 + + + + + " , "icon" : " + + + + + icon_ID_1 + + + + + " , "iconColor" : + + + + + iconColor_Id_1 + + + + + , "speed" : + + + + + speed_Id_1 + + + + + }, + + + + + + + + + "id":2 - mitte links - kleines Element + + + outJSON + + + + + + outJSON + + + + + + + + { "id" : + + + + + 2 + + + + + , "value": + + + + + value_ID_2 + + + + + , "unit": " + + + + + unit_ID_2 + + + + + " , "icon" : " + + + + + icon_ID_2 + + + + + " , "iconColor" : + + + + + iconColor_Id_2 + + + + + , "speed" : + + + + + 0 + + + + + }, + + + + + + + + + "id":3 - unten links - kleines Element + + + outJSON + + + + + + outJSON + + + + + + + + { "id" : + + + + + 3 + + + + + , "value": + + + + + value_ID_3 + + + + + , "unit": " + + + + + unit_ID_3 + + + + + " , "icon" : " + + + + + icon_ID_3 + + + + + " , "iconColor" : + + + + + iconColor_Id_3 + + + + + , "speed" : + + + + + 0 + + + + + }, + + + + + + + + + "id":4 - oben rechts - kleines Element + + + outJSON + + + + + + outJSON + + + + + + + + { "id" : + + + + + 4 + + + + + , "value": + + + + + value_ID_4 + + + + + , "unit": " + + + + + unit_ID_4 + + + + + " , "icon" : " + + + + + icon_ID_4 + + + + + " , "iconColor" : + + + + + iconColor_Id_4 + + + + + , "speed" : + + + + + 0 + + + + + }, + + + + + + + + + "id":5 - mitte rechts - kleines Element + + + outJSON + + + + + + outJSON + + + + + + + + { "id" : + + + + + 5 + + + + + , "value": + + + + + value_ID_5 + + + + + , "unit": " + + + + + unit_ID_5 + + + + + " , "icon" : " + + + + + icon_ID_5 + + + + + " , "iconColor" : + + + + + iconColor_Id_5 + + + + + , "speed" : + + + + + 0 + + + + + }, + + + + + + + + + "id":6 - unten rechts - kleines Element + + + outJSON + + + + + + outJSON + + + + + + + + { "id" : + + + + + 6 + + + + + , "value": + + + + + value_ID_6 + + + + + , "unit": " + + + + + unit_ID_6 + + + + + " , "icon" : " + + + + + icon_ID_6 + + + + + " , "iconColor" : + + + + + iconColor_Id_6 + + + + + , "speed" : + + + + + 0 + + + + + } + + + + + + + + + outJSON + + + + + + outJSON + + + + + ] + + + + + + + false + FALSE + + + Object ID + + + NSPanel_Datenpunkt + + + + + TRUE + + + outJSON + + + + + 0 + + + + + log + + + test + + + outJSON + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +