From bc741fafe0acf2fc35305e71395c7e02bc17d036 Mon Sep 17 00:00:00 2001 From: kuckuckmann <99131208+kuckuckmann@users.noreply.github.com> Date: Tue, 27 Dec 2022 16:01:15 +0100 Subject: [PATCH] Updated ioBroker Card Definitionen (Seiten) (markdown) --- ioBroker-Card-Definitionen-(Seiten).md | 1558 +----------------------- 1 file changed, 3 insertions(+), 1555 deletions(-) diff --git a/ioBroker-Card-Definitionen-(Seiten).md b/ioBroker-Card-Definitionen-(Seiten).md index ee8d9ef..d353812 100644 --- a/ioBroker-Card-Definitionen-(Seiten).md +++ b/ioBroker-Card-Definitionen-(Seiten).md @@ -2419,718 +2419,9 @@ let CardChartExample: PageChart = ![image](https://user-images.githubusercontent.com/102996011/209009144-1b82e7df-1a58-412a-a304-14a5cf987a4c.png) **Blockly für Influx 2.0** -![image](https://user-images.githubusercontent.com/102996011/209006326-c8036709-2235-4ef8-aa14-00798e09fce7.png) +![image](https://user-images.githubusercontent.com/102996011/209006326-c8036709-2235-4ef8-aa14-00798e09fce7.png) -
- ioBroker Blockly Script - -``` - - - sourceDP - targetDP - AxisXHours - AxisXTicks - Debug - flux - AxisTickCounter - i - queryStunde - queryOutput - queryValue - AxisTicksBool - result - - - Example String - - - 7^2:00~7~6^4:00~6~7^6:00~0~7^8:00~5~1^10:00~1~10^12:00~5~6^14:00~8 - - - Start Parameter - - - sourceDP - - - sonoff.0.DZG_DWSB20_2H.DZG_Leistung_Aktuell - - - - - targetDP - - - 0_userdata.0.Test.cardChart.txt - - - - - AxisXHours - - - 24 - - - - - AxisXTicks - - - 5 - - - - - Debug - - - FALSE - - - - - Ende Parameter - - - - ne - - - - default - - - sourceDP - - - - - flux - - - - - - from(bucket: "iobroker") - - - - - |> range(start: -24h, stop: now()) - - - - - |> filter(fn: (r) => r["_measurement"] == " - - - - - sourceDP - - - - - ") - - - - - |> filter(fn: (r) => r["_field"] == "value") - - - - - |> aggregateWindow(every: 1h, fn: mean, createEmpty: false) - - - - - |> yield(name: "mean") - - - - - - - - influxdb.1 - query - - TRUE - - - - - - flux - - - - - AxisTickCounter - - - 0 - - - - - i - - - 1 - - - 1 - - - - - 24 - - - AxisXHours - - - - - 1 - - - - - AxisTickCounter - - - 1 - - - 1 - - - - - queryStunde - - - - h - - - - - result.0.0._value - - - - - - result.0. - - - - - i - - - - - ._time - - - - - - - TRUE - - - result - - - - - - - - - - - queryValue - - - ROUND - - - 3.1 - - - DIVIDE - - - 1 - - - - - - - result.0.0._value - - - - - - result.0. - - - - - i - - - - - ._value - - - - - - - TRUE - - - result - - - - - - - - - - - 100 - - - - - - - - - - - - EQ - - - i - - - - - 1 - - - - - - - AxisTicksBool - - - TRUE - - - - - - - EQ - - - AxisTickCounter - - - - - AxisXTicks - - - - - - - AxisTicksBool - - - TRUE - - - - - AxisTickCounter - - - 1 - - - - - - - - - AxisTicksBool - - - FALSE - - - - - - - - - - EQ - - - i - - - - - AxisXHours - - - - - - - - - - AxisTicksBool - - - - - queryOutput - - - - - - queryOutput - - - - - queryValue - - - - - ^ - - - - - queryStunde - - - - - :00 - - - - - - - - - queryOutput - - - - - - queryOutput - - - - - queryValue - - - - - - - - - - - - - - AxisTicksBool - - - - - queryOutput - - - - - - queryOutput - - - - - queryValue - - - - - ^ - - - - - queryStunde - - - - - :00 - - - - - ~ - - - - - - - - - queryOutput - - - - - - queryOutput - - - - - queryValue - - - - - ~ - - - - - - - - - - - - - EQ - - - i - - - - - AxisXHours - - - - - - - queryStunde - - - 1 - - - 1 - - - - - - - - - Debug - - - - - log - - - test - - - - - - i - - - - - - - - - - - queryValue - - - - - - - - - - - queryStunde - - - - - - - - - - - - - - - - - - - - - - - false - FALSE - - - Object ID - - - targetDP - - - - - TRUE - - - queryOutput - - - - - 0 - - - - - - - Debug - - - - - log - - - test - - - queryOutput - - - - - - - queryOutput - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -``` -
+[Zum Blockly](https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/Blockly/CardChart.xml) @@ -3199,847 +2490,4 @@ Die neuen Datenpunkte werden automatisch beim Starten des Skriptes angelegt. Zur Ab der Version **v3.5.0** bleibt die alte Version erstmal per Default nutzbar. Stellt man den Datenpunkt **popupNotifyLayout** auf 2 erhält man das neue popUpNotify, zur Nutzung des alten muss man dann den Wert 1 hinterlegen. **Emulator (Layout 2)**: - -
- ioBroker Blockly Script - - ``` - - - 0_userdata_Path - Sensor_Temperatur - Sensor_Lutfeuchte - Sensor_Luftdruck - Button1Text - Button2Text - HeadingTextColor - TextColor - Button1TextColor - Button2TextColor - IconColor - i - HeadingText - Icon - FontSize - Text - - - 0_userdata_Path - - - 0_userdata.0.NSPanel.1.popupNotify. - - - - - Sensor_Temperatur - - - val - deconz.0.Sensors.65.temperature - - - - - Sensor_Lutfeuchte - - - val - deconz.0.Sensors.64.humidity - - - - - Sensor_Luftdruck - - - val - deconz.0.Sensors.66.pressure - - - - - Button1Text - - - - - - - - Button2Text - - - OK - - - - - Color Picker für RGB565 - - - http://www.barth-dev.de/online/rgb565-color-picker/ - - - HeadingTextColor - - - 65535 - - - - - TextColor - - - 65535 - - - - - Button1TextColor - - - 2016 - - - - - Button2TextColor - - - 63488 - - - - - IconColor - - - 2000 - - - - - Zähler für Loop - - - i - - - 1 - - - - - Überschrift - - - HeadingText - - - - - - Zeit - - - - - Temperatur - - - - - Luftfeuchte - - - - - Luftdruck - - - - - - - Icons - - - Icon - - - - - - clock - - - - - thermometer - - - - - water-percent - - - - - car-speed-limiter - - - - - - - Font 0 - Default - Size 24 (No Icons, Support for various special chars from different langs) - - - Font 1 - Size 32 (Icons and limited chars) - - - Font 2 - Size 32 (No Icons, Support for various special chars from different langs) - - - Font 3 - Size 48 (Icons and limited chars) - - - Font 4 - Size 80 (Icons and limited chars) - - - Font 5 - Size 128 (ascii only) - - - FontSize - - - - - - 4 - - - - - 4 - - - - - 4 - - - - - 4 - - - - - - - Text oder Sensordaten - - - Text - - - - - - - - - hh:mm - - - - - - - - - - Sensor_Temperatur - - - - - °C - - - - - - - - - - Sensor_Lutfeuchte - - - - - % - - - - - - - - - - Sensor_Luftdruck - - - - - hPa - - - - - - - - - */5 * * * * * - - - - SET - FROM_START - - - Text - - - - - 1 - - - - - - - - hh:mm - - - - - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyHeading - - - - - - - TRUE - - - - GET - FROM_START - - - HeadingText - - - - - i - - - - - - - 0 - - - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyText - - - - - - - TRUE - - - - GET - FROM_START - - - Text - - - - - i - - - - - - - 0 - - - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyButton1Text - - - - - - - TRUE - - - Button1Text - - - - - 0 - - - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyButton2Text - - - - - - - TRUE - - - Button2Text - - - - - 0 - - - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyIcon - - - - - - - TRUE - - - - GET - FROM_START - - - Icon - - - - - i - - - - - - - 0 - - - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyFontIdText - - - - - - - TRUE - - - - GET - FROM_START - - - FontSize - - - - - i - - - - - - - 0 - - - - - Farben - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyHeadingColor - - - - - - - TRUE - - - HeadingTextColor - - - - - 0 - - - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyTextColor - - - - - - - TRUE - - - TextColor - - - - - 0 - - - - - Zum Schuss InternalName (Trigger) - - - false - FALSE - - - Object ID - - - - - - 0_userdata_Path - - - - - popupNotifyInternalName - - - - - - - TRUE - - - - GET - FROM_START - - - HeadingText - - - - - i - - - - - - - 0 - - - - - - - - EQ - - - i - - - - - - - HeadingText - - - - - - - - - i - - - 1 - - - - - - - i - - - 1 - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ``` \ No newline at end of file +[Zum Blockly](https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/Blockly/PopupNotify_layout2_Emulator.xml)