- Home
- Deutsch
- Skripten / Logik
- JavaScript
- Script - Wöchentl. Löschen von Videos (Ring-Klingelanlage)
Script - Wöchentl. Löschen von Videos (Ring-Klingelanlage)
-
Kann sich sonst jemand diesen Fehler in Zeile 19 erklären?
Kann mir jemand vielleicht noch folgendes sagen
wie müsste ich den Datenpunkt Trigger-Videoselection anlegen?
Bei den Zeilen 7 ff. wird jeweils getstate(....Video-Nr_1) ausgeführt.
Handelt es sich bei Video-Nr_1 um einen Datenpunkt? Und hat jemand eine Idee wie der genau aussehen muss?
Weiter ab Zeile 42. Was bedeutet die Zeile 43 und der Punkt /Vis-Videoselection/?
Vielleicht hat ja jemand zu den Skripten ein paar Erklärungen für mich parat.
Vielen Dank!
-
Zum Fehler in Zeile 19 kann ich nur auf die Doku zu WriteFile verweisen:
https://nodejs.org/api/fs.html#fswritefilefile-data-options-callbackDir fehlt im Aufruf der 'callback' parameter - eine Funktion die aufgerufen wird wenn das schreiben beendet wurde, und aus der du erkennen kannst ob es erfolgreich war oder nicht.
Der Datenpunkt Trigger-Videoselection sollte eine Zahl sein, kein String.
Bei den Zeilen 7ff wird anscheinend der Dateiname der Videos gelesen. Die Datenpunkte sind also als "String" Anzulegen.
Der Eintrag
/*Vis-Videoselection*/
ist ein Kommentar der beim Erstellen des Blockly eingetragen wird und zur Darstellung im Blockly gehört. Auf den Code hat dieser Eintrag keine AuswirkungIn den Zeilen 42 bis 131 wird einer der Dateinamen der Videos aus der Liste oben in den Datenpunkt
0_userdata.0.RINGCAM.VIS.Vis-Videoselection
geschrieben, abhängig davon wie der Datenpunkt0_userdata.0.RINGCAM.VIS.Trigger-Videoselection
gesetzt ist.Ansonsten ist der Codein dem Skript für die letzten 30 Tage echt grausam.
Die 100+ Zeilen sollten sich auf das Folgende verkürzen lassen:
on({id: '0_userdata.0.RINGCAM.VIS.Trigger-Videoselection', change: "ne"}, async function (obj) { var value = obj.state.val; if (value >= 0 && value <= 30) { const newSelect = await getStateAsync('0_userdata.0.RINGCAM.History.Video-Nr_' + value) SetStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection", newSelect.val, 100, false); } });
-
Vielen Dank soweit für deine Hilfe.
Ich habe jetzt noch ein Problem mit diesem Skript:
//+++++++++++ Script Snapshot ++++++++++++++ on({id: '0_userdata.0.RINGCAM.VIS.PicID', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; await wait(100); var request = require('request'); var fs = require('fs'); var ring = getState('0_userdata.0.RINGCAM.VIS.PicID').val; console.log("RING-Bild erzeugt:ID1 " + ring); const body = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + getState('0_userdata.0.RINGCAM.VIS.PicID').val); // const body = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + ring); writeFile("vis.0", "/RING/LAST_PIC.jpg", body, (err) => { console.log(err);} ); }); //+++++++++++ Script Livestream ++++++++++++++ on({id: '0_userdata.0.RINGCAM.VIS.ClipID', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; await wait(100); var request = require('request'); var fs = require('fs'); var ring1 = getState('0_userdata.0.RINGCAM.VIS.ClipID').val; console.log("RING-Video erzeugt: " + ring1); const body1 = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + getState('0_userdata.0.RINGCAM.VIS.ClipID').val); // const body1 = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + ring1); writeFile("vis.0", "/RING/LAST_CLIP.mp4", body1, (err) => { console.log(err);} ); });
Ich habe versucht zu verstehen was es genau tut. Vielleicht kann mich da jemand erleuchten.
Ich habe die Zeile 19 um einen Callback erweitertet. Jedoch verstehe ich nicht was mit der Zeile genau bezweckt werden soll. Das Skript soll ja etwas für die VIS zur Verfügung stellen.
Im vis.0 Ordner befinden sich bei mir die verschiedenen VIS Projekte. Was macht das Skript genau in diesem Ordner? Kann das so überhaupt funktionieren mit dem Wert ''/RING/LAST_PIC.jpg''?
-
@habi989 : sorry für dir späte Antwort...
Vorerst nochmal ein paar Worte... Ich weiss, das meine geteilten Scripte nicht optimal sind... ich habe mir diese nach und nach zusammen gebastelt gemäß dem Prinzip try and error... Falls also jemand hier überarbeiten möchte, kann er das gerne tun und teilen, vielleicht kann das dann auch mal im Adapter integriert werden... ich würde mich freuenzurück zu deinem Punkt: das Script erstellt im vis.0/Ring/ ein Foto (und zwar das letzte gemachte Foto vom Adapter)mit dem Namen Last_Pic, welches per Widget in der VIS dargestellt wird....
hier das passende Widget dazu:[{"tpl":"tplImage","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"20000","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"src":"/vis.0/RING/LAST_PIC.jpg","refreshOnWakeUp":true,"refreshOnViewChange":true,"stretch":true},"style":{"left":"167px","top":"356px","width":"597px","height":"288px","z-index":"500"},"widgetSet":"basic"}]
Wo klemmt es den noch ?
-
@habi989 sagte in Script - Wöchentl. Löschen von Videos (Ring-Klingelanlage):
Danke für die Auskünfte.
Bei diesem Script habe ich leider noch ein Problem:
//+++++++++++ Script Snapshot ++++++++++++++ on({id: '0_userdata.0.RINGCAM.VIS.PicID', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; await wait(100); var request = require('request'); var fs = require('fs'); var ring = getState('0_userdata.0.RINGCAM.VIS.PicID').val; console.log("RING-Bild erzeugt:ID1 " + ring); const body = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + getState('0_userdata.0.RINGCAM.VIS.PicID').val); // const body = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + ring); writeFile("vis.0", "/RING/LAST_PIC.jpg", body); }); //+++++++++++ Script Livestream ++++++++++++++ on({id: '0_userdata.0.RINGCAM.VIS.ClipID', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; await wait(100); var request = require('request'); var fs = require('fs'); var ring1 = getState('0_userdata.0.RINGCAM.VIS.ClipID').val; console.log("RING-Video erzeugt: " + ring1); const body1 = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + getState('0_userdata.0.RINGCAM.VIS.ClipID').val); // const body1 = fs.readFileSync('/opt/iobroker/iobroker-data/ring_0/snapshot/' + ring1); writeFile("vis.0", "/RING/LAST_CLIP.mp4", body1); }); //*/
Hier in diesem Bild siehst du es.DU hast wahrscheinlich unter vis.0 den Ordner RING erstellt? Oder etwas anderes? Wie kann ich diesen Fehler beheben oder was steckt dahinter?
Korrekt, siehe Beitrag vorher
Bei dem Script für die letzten 30 Tage:var my_1, my_2, my_3, my_4, my_5, my_6, my_7, my_8, my_9, my_10, my_11, my_12, my_13, my_14, my_15, my_16, my_17, my_18, my_19, my_20, my_21, my_22, my_23, my_24, my_25, my_26, my_27, my_28, my_29, my_30; on({id: '0_userdata.0.RINGCAM.VIS.Trigger-Videoselection', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; my_1 = getState("0_userdata.0.RINGCAM.History.Video-Nr_1").val; my_2 = getState("0_userdata.0.RINGCAM.History.Video-Nr_2").val; my_3 = getState("0_userdata.0.RINGCAM.History.Video-Nr_3").val; my_4 = getState("0_userdata.0.RINGCAM.History.Video-Nr_4").val; my_5 = getState("0_userdata.0.RINGCAM.History.Video-Nr_5").val; my_6 = getState("0_userdata.0.RINGCAM.History.Video-Nr_6").val; my_7 = getState("0_userdata.0.RINGCAM.History.Video-Nr_7").val; my_8 = getState("0_userdata.0.RINGCAM.History.Video-Nr_8").val; my_9 = getState("0_userdata.0.RINGCAM.History.Video-Nr_9").val; my_10 = getState("0_userdata.0.RINGCAM.History.Video-Nr_10").val; my_11 = getState("0_userdata.0.RINGCAM.History.Video-Nr_11").val; my_12 = getState("0_userdata.0.RINGCAM.History.Video-Nr_12").val; my_13 = getState("0_userdata.0.RINGCAM.History.Video-Nr_13").val; my_14 = getState("0_userdata.0.RINGCAM.History.Video-Nr_14").val; my_15 = getState("0_userdata.0.RINGCAM.History.Video-Nr_15").val; my_16 = getState("0_userdata.0.RINGCAM.History.Video-Nr_16").val; my_17 = getState("0_userdata.0.RINGCAM.History.Video-Nr_17").val; my_18 = getState("0_userdata.0.RINGCAM.History.Video-Nr_18").val; my_19 = getState("0_userdata.0.RINGCAM.History.Video-Nr_19").val; my_20 = getState("0_userdata.0.RINGCAM.History.Video-Nr_20").val; my_21 = getState("0_userdata.0.RINGCAM.History.Video-Nr_21").val; my_22 = getState("0_userdata.0.RINGCAM.History.Video-Nr_22").val; my_23 = getState("0_userdata.0.RINGCAM.History.Video-Nr_23").val; my_24 = getState("0_userdata.0.RINGCAM.History.Video-Nr_24").val; my_25 = getState("0_userdata.0.RINGCAM.History.Video-Nr_25").val; my_26 = getState("0_userdata.0.RINGCAM.History.Video-Nr_26").val; my_27 = getState("0_userdata.0.RINGCAM.History.Video-Nr_27").val; my_28 = getState("0_userdata.0.RINGCAM.History.Video-Nr_28").val; my_29 = getState("0_userdata.0.RINGCAM.History.Video-Nr_29").val; my_30 = getState("0_userdata.0.RINGCAM.History.Video-Nr_30").val; if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 1) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_1, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 2) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_2, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 3) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_3, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 4) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_4, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 5) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_5, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 6) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_6, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 7) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_7, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 8) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_8, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 9) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_9, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 10) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_10, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 11) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_11, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 12) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_12, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 13) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_13, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 14) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_14, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 15) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_15, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 16) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_16, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 17) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_17, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 18) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_18, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 19) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_19, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 20) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_20, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 21) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_21, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 22) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_22, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 23) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_23, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 24) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_24, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 25) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_25, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 26) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_26, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 27) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_27, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 28) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_28, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val ==29) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_29, 100, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 30) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_30, 100, false); } });
Wie muss der Datenpunkt Trigger-VIdeoselection aussehen?
Also Zustandstyp (Zahl, Zeichenkette, Logikwert...?)
Rolle = (State)?
ZeichenketteUnd du hast da wohl den Ordner History unter 0_userdata.0.RINGCAM erstellt. Darin wiederum die 30 Datenpunkte. Wie sehen die aus in Sachen (Zustandstyp und Rolle)?
Zeichenkette
Ich glaube mit diesem Angaben könnte es auch bei mir bald funktionieren.So sieht es bei mir aus
Grüße
-
@agria4800 hallo, funktioniert die Vis bei dir noch? ich bekomme einfach keine Auflistung hin! bzw. eigentlich sehe ich gar kein video in meiner Vis!
Leider bin der absolute Anfänger was Scripte angeht, komme mehr aus der Siemens SPS ecke, hoffe du kannst mir irgendwie helfen. -
@chrislenz Aufgrund einiger Chat anfragen hier mal meine Scripte zu dem Ring Adapter V3.XX
Für die Experten unter uns: Ich bin kein Experte und habe es mir per try & error zusammen gebaut, da ist mit Sicherheit jede Menge Potenzial zum verbessern vorhanden, was gerne getan und gepostet werden darf !
Edit: Es kann sein, das noch ein paar Datenpunkte händig angelegt werden müssen, teils habe ich es aber in den Scripten mit drin....
Blockly Export_1
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="*Pu|q5}$^A#wAi.MnJ:i">Triggerlink</variable> <variable id="0iXk0G^mPW(Ge`C3Bn~5">Quelle Pic</variable> <variable id="T*FIUM{~xbt05}L}O*5J">PicName</variable> <variable id="E][YL|8Q)A/~rwq}TJ5i">Quelle Clip</variable> <variable id="UfkDZiMzbP`V|TQJn}UE">ClipName</variable> </variables> <block type="comment" id="S,o(nT~|A0@md(~Jg*yU" x="-138" y="-638"> <field name="COMMENT">Einmal ausführen für DP anlegen!</field> <next> <block type="create" id="+Mnrtzh0Ur=]eFm?1KK#" collapsed="true"> <field name="NAME">0_userdata.0.RINGCAM.VIS.PicID</field> <value name="VALUE"> <block type="text" id="SI~88vL[OA:GpT~*X`sh"> <field name="TEXT">Pic ID</field> </block> </value> <value name="COMMON"> <block type="text_join" id="0Rq6Mw`_6LP)vB9qM)!n"> <mutation items="7"></mutation> <value name="ADD0"> <block type="text" id="v/.vhwI5qM|3j-?^`ufB"> <field name="TEXT">{</field> </block> </value> <value name="ADD1"> <block type="text" id="XyYw/26P;4ivrJ{Q:l}n"> <field name="TEXT">"name":"PIC ID",</field> </block> </value> <value name="ADD2"> <block type="text" id="S1eEK{]_!B@U2$2J`0QR"> <field name="TEXT">"type":"string",</field> </block> </value> <value name="ADD3"> <block type="text" id="(+Kk6RCU+icer(Z~Kv1%"> <field name="TEXT">"read":true,</field> </block> </value> <value name="ADD4"> <block type="text" id="a=RttiDHfJeF-~riB79W"> <field name="TEXT">"write":true,</field> </block> </value> <value name="ADD5"> <block type="text" id="YY%@%Z=R/!E|u~61f_,l"> <field name="TEXT">"role":"state"</field> </block> </value> <value name="ADD6"> <block type="text" id="6fRb{?Xz~N%zWuysBT~n"> <field name="TEXT">}</field> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="debug" id="nmJ[P$O;Hd{LY^x65l.K"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="nTn5-LYEY-H1HTK3$J7Y"> <field name="TEXT">Der DP wurde angelegt</field> </shadow> </value> </block> </statement> <next> <block type="create" id="GJxU]RTgRyGS;KWI#T$2" collapsed="true"> <field name="NAME">0_userdata.0.RINGCAM.VIS.ClipID</field> <value name="VALUE"> <block type="text" id="aAvrh0ynr(Gxln251yk-"> <field name="TEXT">Clip ID</field> </block> </value> <value name="COMMON"> <block type="text_join" id="FAHbSVToA$RQMU?rXD^^"> <mutation items="7"></mutation> <value name="ADD0"> <block type="text" id="`i]n6NeDtO^ofxT3Rtt?"> <field name="TEXT">{</field> </block> </value> <value name="ADD1"> <block type="text" id="g-A@hy5CxRV~J`_Dd[^5"> <field name="TEXT">"name":"Clip ID",</field> </block> </value> <value name="ADD2"> <block type="text" id="o9[v2FS`W1`6Jc.`rW3k"> <field name="TEXT">"type":"string",</field> </block> </value> <value name="ADD3"> <block type="text" id="/PW6Nq/7-V_5yL2[tNg^"> <field name="TEXT">"read":true,</field> </block> </value> <value name="ADD4"> <block type="text" id="F=(l}ui/+p|+4l8;*Ma7"> <field name="TEXT">"write":true,</field> </block> </value> <value name="ADD5"> <block type="text" id="zQi}AD(w0.p2LuyS$#Z}"> <field name="TEXT">"role":"state"</field> </block> </value> <value name="ADD6"> <block type="text" id="{VW-.yE[)(%CT)^e[:em"> <field name="TEXT">}</field> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="debug" id="Cj%v_o`muvlAj(LSpEf]"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="-^LmFO1+4%AA4A@CqPEH"> <field name="TEXT">Der DP wurde angelegt</field> </shadow> </value> </block> </statement> <next> <block type="on_ext" id="r|GuWbpkE/B#4Wz8(9Nz"> <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="n/^-}ZE/caG^T%,qC2t="> <field name="oid">ring.0.cocoa_54698816.Snapshot.snapshot_file</field> </shadow> </value> <statement name="STATEMENT"> <block type="timeouts_wait" id="!bq]]G4g!0i:Gzx@|uQG"> <field name="DELAY">100</field> <field name="UNIT">ms</field> <next> <block type="variables_set" id="+(92|lTRhRo5Ef7z(iZ("> <field name="VAR" id="0iXk0G^mPW(Ge`C3Bn~5">Quelle Pic</field> <value name="VALUE"> <block type="get_value" id="_(cfQVt);u$Xfo#zE4U,"> <field name="ATTR">val</field> <field name="OID">ring.0.cocoa_54698816.Snapshot.snapshot_file</field> </block> </value> <next> <block type="variables_set" id=")q6s39_P0HIzv)i]#.FD"> <field name="VAR" id="T*FIUM{~xbt05}L}O*5J">PicName</field> <value name="VALUE"> <block type="text_getSubstring" id=":+mtb@G~3+2d)vMZ]Z~}"> <mutation at1="true" at2="false"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">LAST</field> <value name="STRING"> <block type="variables_get" id="xt[:_3j:7%X*Y}!d{CH-"> <field name="VAR" id="0iXk0G^mPW(Ge`C3Bn~5">Quelle Pic</field> </block> </value> <value name="AT1"> <block type="math_number" id="=.W-R{wU!3Q)`Xv=4Bx;"> <field name="NUM">57</field> </block> </value> </block> </value> <next> <block type="control" id="o)2E(8JcN}3$lsOdvRhn"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.RINGCAM.VIS.PicID</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id=":,@Kqx[^@0#eDE1vmJa="> <field name="VAR" id="T*FIUM{~xbt05}L}O*5J">PicName</field> </block> </value> <next> <block type="debug" id="w%G##xsGR*_6G-yh7x-1" disabled="true"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="t,(j%X[k]mwzA^Oh{9pw"> <field name="TEXT">ID</field> </shadow> <block type="text_join" id="Q~gAa|}mY~-7eXdaV|Cn"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="LX`M}wdnJ)jKB![[cnzC"> <field name="TEXT">PIC ID erzeugt:</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="Nd6^}:XMBJFWFHd))I!j"> <field name="VAR" id="T*FIUM{~xbt05}L}O*5J">PicName</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="on_ext" id=",u40z=7x)dS.l*f#!?pM"> <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=":Z2Uc{,D2q9p6|{3f$;;"> <field name="oid">ring.0.cocoa_54698816.Livestream.livestream_file</field> </shadow> </value> <statement name="STATEMENT"> <block type="timeouts_wait" id="Pv)rE2bF07M)yi}=1JZR"> <field name="DELAY">100</field> <field name="UNIT">ms</field> <next> <block type="variables_set" id="/1Q=Q;@=_*ruu./cU]vE"> <field name="VAR" id="E][YL|8Q)A/~rwq}TJ5i">Quelle Clip</field> <value name="VALUE"> <block type="get_value" id="vqA@4WT;MX:^=obS|A$+"> <field name="ATTR">val</field> <field name="OID">ring.0.cocoa_54698816.Livestream.livestream_file</field> </block> </value> <next> <block type="variables_set" id="p2,CG)o$bpv~~w-$#*_a"> <field name="VAR" id="UfkDZiMzbP`V|TQJn}UE">ClipName</field> <value name="VALUE"> <block type="text_getSubstring" id="!RJGPJW}1%vNeHtb3:f."> <mutation at1="true" at2="false"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">LAST</field> <value name="STRING"> <block type="variables_get" id=",t0%KMm9vT@9XNT-2+|j"> <field name="VAR" id="E][YL|8Q)A/~rwq}TJ5i">Quelle Clip</field> </block> </value> <value name="AT1"> <block type="math_number" id="l]7!PSt5?T?-C|h|+blY"> <field name="NUM">57</field> </block> </value> </block> </value> <next> <block type="update" id="[DTnPH/A7mGFkFgXvFCW"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.RINGCAM.VIS.ClipID</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="s22_mg3t!9hcn|!7GFww"> <field name="VAR" id="UfkDZiMzbP`V|TQJn}UE">ClipName</field> </block> </value> <next> <block type="debug" id="jL(h)VG[hSo9:DE^^4u2" disabled="true"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="JIyR][YGn1/:`l(:S{XP"> <field name="TEXT">ID</field> </shadow> <block type="variables_get" id="3|ysMef?W0yB_G0C39Jt"> <field name="VAR" id="UfkDZiMzbP`V|TQJn}UE">ClipName</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="text" id="zPkmaWN6_P31iQCJnZzz" x="613" y="-113"> <field name="TEXT">http://nuc1:8082/state/ring.0.cocoa_54698816.</field> </block> <block type="on_ext" id="zr%8z1V7,;J~?dOedQRf" x="-113" y="87"> <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="S0dsw6ShK{JiDtseIMiv"> <field name="oid">0_userdata.0.RINGCAM.History.Clip_Counter</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="Twr*Gr}A(u1mMmsG|0M@" disabled="true"> <field name="VAR" id="*Pu|q5}$^A#wAi.MnJ:i">Triggerlink</field> <value name="VALUE"> <block type="text_join" id="?P]8c2v^/FRsm^fqD*8r"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="[=ky}r2z)7ZjGq,FGBLz"> <field name="TEXT">http://192.168.178.52:8082/vis.0/RING/CLIP_Nr</field> </block> </value> <value name="ADD1"> <block type="get_value" id="G{:Uc~-~b0?!8a]x4V]*"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.RINGCAM.History.Clip_Counter</field> </block> </value> <value name="ADD2"> <block type="text" id="7k*hg@kE:O^VF(`LUdh*"> <field name="TEXT">.mp4</field> </block> </value> </block> </value> <next> <block type="variables_set" id="0OjD,IYB}JL?+8~43-:E"> <field name="VAR" id="*Pu|q5}$^A#wAi.MnJ:i">Triggerlink</field> <value name="VALUE"> <block type="text_join" id="LHt?_7xH3~KUTpSHY8y~"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="$(_!h:gM-pB=2hCRf0c("> <field name="TEXT">http://192.168.178.149:8082/vis.0/RING/</field> </block> </value> <value name="ADD1"> <block type="get_value" id=":l{YtL9s:J6ro/}5aAMv"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.RINGCAM.VIS.ClipID</field> </block> </value> </block> </value> <next> <block type="debug" id="9]*v8uuPb8.DWD{o2CR:"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id=":fbrS?l_rHVY,Q+{z1/E"> <field name="TEXT">ID</field> </shadow> <block type="variables_get" id="KY+lQ`txs)`P+l#0d2Ar"> <field name="VAR" id="*Pu|q5}$^A#wAi.MnJ:i">Triggerlink</field> </block> </value> <next> <block type="update" id="8u6v{JIwPm9b!5:Ej:D!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.RINGCAM.History.Triggerlink</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="O54{W*I)AA$:||8TO_`."> <field name="VAR" id="*Pu|q5}$^A#wAi.MnJ:i">Triggerlink</field> </block> </value> <next> <block type="update" id=":1D=5vvVuV_rxb.7C:VT" disabled="true"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.RINGCAM.History.Video-Nr_0</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="!m]bm:PM:R54UPphDgB@"> <field name="VAR" id="*Pu|q5}$^A#wAi.MnJ:i">Triggerlink</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
JS Export_2
//+++++++++++ Script Livestream Selection VIS ++++++++++++++ var Triggerlink ; var Counter ; schedule('{"time":{"exactTime":true,"start":"0:01"},"period":{"days":1}}', async function () { Counter = 0;}); ////DP2.0 steuert als trigger neue DP mit Ergebniss //on({id: '0_userdata.0.DP2.0', change: "ne"}, async function (obj) { on({id: '0_userdata.0.RINGCAM.VIS.ClipID', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; Counter = (typeof Counter == 'number' ? Counter : 0) + 1; //console.warn(Counter); const path = '0_userdata.0.RINGCAM.History.Video-Nr_'; setState("0_userdata.0.RINGCAM.History.Clip_Counter", Counter); const id = path + Counter ; //const idname = DP; const idname = "Date: " + formatDate(new Date(), "hh:mm:ss"); //erstelle neuen DP createState(id, {type: 'string', name: idname, def: "" ,unit: '', desc: 'Script', role: 'value'}); await wait(200); //Schreibe Daten in den neuen DP setState(id, getState('0_userdata.0.RINGCAM.History.Triggerlink').val, true); //+++++++++++ Script Livestream current ++++++++++++++ await wait(1000); var request = require('request'); var fs = require('fs'); const body1 = fs.readFileSync('/opt/iobroker/node_modules/iobroker.ring/cocoa_54698816/' + getState('0_userdata.0.RINGCAM.VIS.ClipID').val); // @ts-ignore writeFile("vis.0", "/RING/" + (getState('0_userdata.0.RINGCAM.VIS.ClipID').val), body1); }); //+++++++++++ Script Snapshot current++++++++++++++ on({id: '0_userdata.0.RINGCAM.VIS.PicID', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; await wait(100); var request = require('request'); var fs = require('fs'); var ring = getState('0_userdata.0.RINGCAM.VIS.PicID').val; console.log("RING-Bild erzeugt:ID1 " + ring); const body = fs.readFileSync('/opt/iobroker/node_modules/iobroker.ring/cocoa_54698816/' + getState('0_userdata.0.RINGCAM.VIS.PicID').val); // const body = fs.readFileSync('/opt/iobroker/node_modules/iobroker.ring/snapshot/' + ring); writeFile("vis.0", "/RING/LAST_PIC.jpg", body); });
JS Export_3
var my_0,my_1, my_2, my_3, my_4, my_5, my_6, my_7, my_8, my_9, my_10, my_11, my_12, my_13, my_14, my_15, my_16, my_17, my_18, my_19, my_20; //https://forum.iobroker.net/topic/52607/script-w%C3%B6chentl-l%C3%B6schen-von-videos-ring-klingelanlage/3 /* on({id: '0_userdata.0.RINGCAM.VIS.Trigger-Videoselection', change: "ne"}, async function (obj) { var value = obj.state.val; if (value >= 0 && value <= 30) { const newSelect = await getStateAsync('0_userdata.0.RINGCAM.History.Video-Nr_' + value) SetStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection", newSelect.val, 100, false); } }); */ // Renaming at 0:06 time schedule("6 0 * * *", async function () { setState("0_userdata.0.RINGCAM.History.Video-Nr_1"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_2"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_3"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_4"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_5"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_6"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_7"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_8"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_9"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_10"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_11"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_12"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_13"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_14"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_15"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_16"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_17"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_18"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_19"/*Date: 10:10:01*/, '0', true); setState("0_userdata.0.RINGCAM.History.Video-Nr_20"/*Date: 10:10:01*/, '0', true); }); on({id: '0_userdata.0.RINGCAM.VIS.Trigger-Videoselection', change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; my_0 = getState("0_userdata.0.RINGCAM.History.Video-Nr_0").val; my_1 = getState("0_userdata.0.RINGCAM.History.Video-Nr_1").val; my_2 = getState("0_userdata.0.RINGCAM.History.Video-Nr_2").val; my_3 = getState("0_userdata.0.RINGCAM.History.Video-Nr_3").val; my_4 = getState("0_userdata.0.RINGCAM.History.Video-Nr_4").val; my_5 = getState("0_userdata.0.RINGCAM.History.Video-Nr_5").val; my_6 = getState("0_userdata.0.RINGCAM.History.Video-Nr_6").val; my_7 = getState("0_userdata.0.RINGCAM.History.Video-Nr_7").val; my_8 = getState("0_userdata.0.RINGCAM.History.Video-Nr_8").val; my_9 = getState("0_userdata.0.RINGCAM.History.Video-Nr_9").val; my_10 = getState("0_userdata.0.RINGCAM.History.Video-Nr_10").val; my_11 = getState("0_userdata.0.RINGCAM.History.Video-Nr_11").val; my_12 = getState("0_userdata.0.RINGCAM.History.Video-Nr_12").val; my_13 = getState("0_userdata.0.RINGCAM.History.Video-Nr_13").val; my_14 = getState("0_userdata.0.RINGCAM.History.Video-Nr_14").val; my_15 = getState("0_userdata.0.RINGCAM.History.Video-Nr_15").val; my_16 = getState("0_userdata.0.RINGCAM.History.Video-Nr_16").val; my_17 = getState("0_userdata.0.RINGCAM.History.Video-Nr_17").val; my_18 = getState("0_userdata.0.RINGCAM.History.Video-Nr_18").val; my_19 = getState("0_userdata.0.RINGCAM.History.Video-Nr_19").val; my_20 = getState("0_userdata.0.RINGCAM.History.Video-Nr_20").val; if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 0) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_0, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 1) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_1, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 2) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_2, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 3) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_3, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 4) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_4, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 5) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_5, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 6) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_6, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 7) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_7, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 8) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_8, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 9) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_9, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 10) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_10, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 11) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_11, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 12) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_12, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 13) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_13, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 14) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_14, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 15) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_15, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 16) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_16, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 17) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_17, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 18) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_18, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 19) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_19, 10, false); } if (getState("0_userdata.0.RINGCAM.VIS.Trigger-Videoselection").val == 20) { setStateDelayed("0_userdata.0.RINGCAM.VIS.Vis-Videoselection"/*Vis-Videoselection*/, my_20, 10, false); } });
JS Export_4
/*****Letztes Kamerabild Giethoorn RING************************************** ** November 2020 https://forum.iobroker.net/topic/40333/ring-video-oder-bild-in-vis-einbinden-wer-kann-helfen/2 ** RING, Kamera ** ring.0.doorbell_54698816 ** Ermittelt das letzte gespeicherte Bild von RING ** geändert:11.11.20 ************************************************************/ //createState('0_userdata.0.RINGCAM.LetztesBild', {name: 'LetztesBild', type: 'string', def: '0',unit: '', desc: 'Beschreibung', role: 'value'}); //createState('0_userdata.0.RINGCAM.SDate', {name: 'LASTSDate', type: 'string', def: '0',unit: '', desc: 'Beschreibung', role: 'value'}); //createState('0_userdata.0.RINGCAM.ZAEHLER', {name: 'ZAEHLER', type: 'string', def: '0',unit: '', desc: 'Beschreibung', role: 'value'}); var old_recent; var old_create; var create; var path = require('path'); var fs = require('fs'); var request = require('request'); on({id: 'ring.0.cocoa_54698816.Snapshot.snapshot_file', change: "ne"}, async function (obj) { old_recent = getState('0_userdata.0.RINGCAM.LetztesBild').val; old_create = getState('ring.0.cocoa_54698816.History.created_at').val; create = getState('ring.0.cocoa_54698816.History.created_at').val; log(old_create); var getMostRecent = function (dir, cb) { var dir = path.resolve(dir); var files = fs.readdir(dir, function (err, files) { var sorted = files.map(function (v) { var filepath = path.resolve(dir, v); return { name: v, time: fs.statSync(filepath).mtime.getTime() }; }) .sort(function (a, b) { return b.time - a.time; }) .map(function (v) { return v.name; }); if (sorted.length > 0) { cb(null, sorted[0]); } else { cb('NO have files in this dir?'); } }) } getMostRecent('/opt/iobroker/node_modules/iobroker.ring/cocoa_54698816/', function (err, recent) { if (err) console.error(err); console.log(recent); setState('0_userdata.0.RINGCAM.LetztesBild', recent); setState('0_userdata.0.RINGCAM.SDate', formatDate(new Date(create), "TT.MM.JJ hh:mm")); }); });
Blockly Export_5
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id=")@}u5cV*`=8Pn?3(_KC6">Zaehler PIC</variable> <variable type="timeout" id="timeout2">timeout2</variable> </variables> <block type="comment" id="8:[[%Y-?k-EJ[{g53U)g" x="309" y="-399"> <field name="COMMENT">Rückstellung auf false</field> <next> <block type="on_ext" id="9VP)tV,]1Nt#1eT(riX?"> <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="41F{MBo}|..vtO)v[gzE"> <field name="oid">ring.0.cocoa_54698816.Livestream.moment</field> </shadow> </value> <statement name="STATEMENT"> <block type="update" id="DcK/Cn#HL)`28$_N[b|,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">ring.0.cocoa_54698816.Livestream.livestream_request</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/|uiuDXW.LN6GdzL(S]M"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="on_ext" id="nRK$c^%w[JQV1bNCt(~v"> <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="(F`Br1,/EG0j*@h;Y}$U"> <field name="oid">ring.0.cocoa_54698816.Snapshot.moment</field> </shadow> </value> <statement name="STATEMENT"> <block type="update" id="):$BM~m2e9yGplC]Pb71"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">ring.0.cocoa_54698816.Snapshot.snapshot_request</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="`fqc-)m70(]=7~ATsw/b"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="comment" id="%K$GG{1[aNjv:h1[@1x)"> <field name="COMMENT">Lösche alle Sanpshots im Ring Ordner</field> <next> <block type="comment" id="e[$JT1IW%*SC8P?E^fW:"> <field name="COMMENT">https://forum.iobroker.net/topic/52607/script-w%C3%B6chentl-l%C3%B6schen-von-videos-ring-klingelanlage/1?_=1645123911704</field> <next> <block type="schedule" id="lE9o=#)#Dr@p|xu9Hi4k"> <field name="SCHEDULE">1 0 * * *</field> <statement name="STATEMENT"> <block type="exec" id="vq/HciL75Ptb/5?2[!lN"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation> <field name="WITH_STATEMENT">FALSE</field> <field name="LOG">warn</field> <value name="COMMAND"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text" id="g{o2fheG/.8J-Z5O:-nO"> <field name="TEXT">find /opt/iobroker/node_modules/iobroker.ring/cocoa_54698816/ -exec rm -rv {} \;</field> </block> </value> <next> <block type="exec" id="Myc8qD!AUIdj)_0O@t{3"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation> <field name="WITH_STATEMENT">FALSE</field> <field name="LOG">warn</field> <value name="COMMAND"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text" id="=3S%h,7_Df8-$2?,xZ=]"> <field name="TEXT">find /opt/iobroker/iobroker-data/files/vis.0/RING/ -exec rm -rv {} \;</field> </block> </value> <next> <block type="timeouts_settimeout" id="l92!hs@Xnx71Ve7+JST_"> <field name="NAME">timeout2</field> <field name="DELAY">2</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="exec" id="b1pBow1^@[U5124.jiGt"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation> <field name="WITH_STATEMENT">FALSE</field> <field name="LOG">warn</field> <value name="COMMAND"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text" id="A]ar9ZIe3MFZft}DXST("> <field name="TEXT">mkdir -p /opt/iobroker/node_modules/iobroker.ring/cocoa_54698816//</field> </block> </value> <next> <block type="exec" id="6jCB2a*Nf)xWpxb)[8*V"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation> <field name="WITH_STATEMENT">FALSE</field> <field name="LOG">warn</field> <value name="COMMAND"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text" id="Z+~p?%K^203xTB)R;FOR"> <field name="TEXT">mkdir -p /opt/iobroker/iobroker-data/files/vis.0/RING/</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="%ggE%eu%-VXV9K9Iw*h."> <field name="COMMENT">Video Zähler</field> <next> <block type="variables_set" id="ZygyGHhC*({@Hn@k$SC?"> <field name="VAR" id=")@}u5cV*`=8Pn?3(_KC6">Zaehler PIC</field> <value name="VALUE"> <block type="get_value" id="Y)?ei``@?:]P|xfu1D@W"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.RINGCAM.ZAEHLER</field> </block> </value> <next> <block type="control" id="p(J~19V{~9)doOlti5+d"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">0_userdata.0.RINGCAM.ZAEHLER</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">200</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="variables_get" id="=9GFJ~8:8FR1o];k+kHx"> <field name="VAR" id=")@}u5cV*`=8Pn?3(_KC6">Zaehler PIC</field> </block> </value> <next> <block type="on_ext" id="S$MSl6y7J-~0q*BJdO#/"> <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="]0aRd!A|TS-M67-:J76x"> <field name="oid">ring.0.cocoa_54698816.Snapshot.snapshot_file</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="R@WLT|TaWK|DMITu!pG8"> <field name="VAR" id=")@}u5cV*`=8Pn?3(_KC6">Zaehler PIC</field> <value name="VALUE"> <block type="get_value" id="l16j2n{}Du;q[AgHw]l^"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.RINGCAM.ZAEHLER</field> </block> </value> <next> <block type="timeouts_wait" id="$:327@~0G.;2C]aIW(m`"> <field name="DELAY">500</field> <field name="UNIT">ms</field> <next> <block type="math_change" id="/UCvHV~/0Tr$(2w!|B8@"> <field name="VAR" id=")@}u5cV*`=8Pn?3(_KC6">Zaehler PIC</field> <value name="DELTA"> <shadow type="math_number" id="{}|ERo#Zt5)!@ZWk0#S2"> <field name="NUM">1</field> </shadow> <block type="math_number" id="${cw)O]zFaW36ht0VfiV"> <field name="NUM">1</field> </block> </value> <next> <block type="control" id="?y/b]9ai57NCFV1/uWBc"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">0_userdata.0.RINGCAM.ZAEHLER</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="variables_get" id="[jj$N7B!Ovt;mM?7P_sf"> <field name="VAR" id=")@}u5cV*`=8Pn?3(_KC6">Zaehler PIC</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="*;Ow)`vyHcl%{Y)!W9)!"> <field name="COMMENT">PIC Zähler Reset 0:00</field> <next> <block type="schedule" id="_=up--.Ag%m=-@f|mfmT"> <field name="SCHEDULE">0 0 * * *</field> <statement name="STATEMENT"> <block type="control" id=".XBCWff%[W6LJ6FWQ@U#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.RINGCAM.ZAEHLER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="MgB#FPh7E:c)+5},!7me"> <field name="NUM">0</field> </block> </value> <next> <block type="debug" id=".;AY{Kk_l;}w,LhrwL=s"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="variables_get" id="Aq|*lvxQ8u3bgXR0.0ID"> <field name="VAR" id=")@}u5cV*`=8Pn?3(_KC6">Zaehler PIC</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="}2yHN(MS{5sZ,VSs.!bt"> <field name="COMMENT">Mache ein Foto, wenn es klingelt</field> <next> <block type="on_ext" id="vy1NmbJ5IeL|@iaHQ$zE" disabled="true"> <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="q*%#L!}NGsU+ClsmaR4H"> <field name="oid">ring.0.cocoa_54698816.Livestream.moment</field> </shadow> </value> <statement name="STATEMENT"> <block type="timeouts_wait" id="Oa^xQAn=AJ3C_z6QBOgZ"> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <next> <block type="control" id="eRX[XqjV2/CW?bA;zqN."> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">ring.0.cocoa_54698816.Snapshot.snapshot_request</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="9853|4!MOHGVZFgZQp,b"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
-
und hier noch die VIS View dazu:
Export Vis View
{ "settings": { "style": { "background_class": "", "background": "#2F303C" }, "theme": "dark-hive", "sizex": "1365", "sizey": "873", "gridSize": "10", "snapType": 0, "useBackground": true }, "widgets": { "e00001": { "tpl": "tplHtml", "data": { "g_fixed": true, "g_visibility": true, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": true, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": ">=", "visibility-val": "1", "visibility-groups-action": "hide", "refreshInterval": "0", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "html": "<video controls autoplay loop muted width=\"600\" height=\"335\" src=\"{0_userdata.0.RINGCAM.VIS.Vis-Videoselection}\" type=\"video/mp4\"></video>\n\n", "visibility-oid": "0_userdata.0.RINGCAM.VIS.Trigger-Videoselection", "comment": "0_userdata.0.RINGCAM.VIS.Trigger-Videoselection", "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0 }, "style": { "left": "32px", "top": "354px", "z-index": "100", "width": "590px", "height": "335px", "border-radius": "5px", "border-color": "#333333", "border-width": "1px", "border-style": "solid" }, "widgetSet": "basic" }, "e00002": { "tpl": "i-vis-image-new", "data": { "g_fixed": true, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "iCornerRadiusUL": "0", "iCornerRadiusUR": "0", "iCornerRadiusLR": "0", "iCornerRadiusLL": "0", "iImgRotation": "0", "iOpacityCtn": "1", "iImgBlinkFalse": "0", "iImgBlinkTrue": "0", "iImgColorFalse": "", "iImgColorTrue": "", "iImgScaleType": "iStretch", "iImgTileSize": "29", "iShadowSpread": "0", "iShadowSpreadInner": "0", "iShadowBlur": "0", "iShadowColor": "#111111", "iShadowColorActive": "#111111", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "iImageFalse": "", "iImageTrue": "/vis-icontwo/Backgrounds/101.jpg", "iPointerEvents": true, "views": [ "Alarm", "Corona", "ECharts", "Home", "Mutimedia", "Netzwerk", "Status", "Status2", "View_Gross", "Wetter" ], "name": "Frosted Quarter", "class": "glass-panel", "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "locked": true }, "style": { "left": "8px", "top": "8px", "width": "1346px", "height": "859px", "z-index": "1" }, "widgetSet": "vis-inventwo" }, "e00003": { "tpl": "tplHqButton", "data": { "oid": "0_userdata.0.RINGCAM.VIS.Play_all_Videos", "min": "false", "max": "true", "iconName": "/vis.0/VIS_3/Clip play.png", "btIconWidth": "60", "offsetAuto": true, "leftOffset": "0", "topOffset": "0", "timeAsInterval": false, "infoLeftFontSize": "0", "infoFontRightSize": "0", "caption": "", "captionOn": "", "iconOn": "/vis.0/VIS_3/Icon/arrow_refresh_15732.png", "pushButton": false, "usejQueryStyle": false, "g_visibility": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "styleActive": "hq-button-no-background", "name": "play all videos", "infoLeftPaddingLeft": "0", "infoLeftPaddingRight": "0", "infoRightPaddingRight": "0", "descriptionLeft": "Find", "readOnly": false, "styleNormal": "hq-button-no-background", "changeEffect": "", "g_signals": false, "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "g_ccontrol": false, "g_css_background": false, "g_css_border": false, "g_css_shadow_padding": false, "g_gestures": false, "g_last_change": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0 }, "style": { "left": "49px", "top": "53px", "width": "56px", "height": "36px", "z-index": "100", "text-align": "center", "font-size": "small", "color": "black" }, "widgetSet": "hqwidgets" }, "e00004": { "tpl": "tplValueLastchange", "data": { "oid": "ring.0.cocoa_54698816.Livestream.moment", "g_fixed": true, "g_visibility": true, "g_css_font_text": true, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": "0", "visibility-groups-action": "hide", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "format_date": "hh:mm:ss DD.MM.YYYY ", "html_prepend": "", "html_append": "", "visibility-oid": "0_userdata.0.RINGCAM.VIS.Trigger-Videoselection" }, "style": { "left": "123px", "top": "698px", "color": "white", "width": "80px", "height": "36px", "z-index": "100", "text-align": "center" }, "widgetSet": "basic" }, "e00005": { "tpl": "tplHistoryEventList", "data": { "g_fixed": true, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "max_lines": "50", "format_date": "hh:mm:ss", "time_name": "Time", "time_width": "75", "val_name": "Video", "val_attr": "text-align: center;", "from_name": "Form", "from_hide": "true", "class": "glass-panel", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "oid": "0_userdata.0.RINGCAM.History.Clip_Counter", "instance": "history.0", "time_interval_min": "24 hours", "inverseOrder": false, "timeAsInterval": false, "table_attr": "", "header_attr": "", "val_width": "65" }, "style": { "left": "36px", "top": "124px", "width": "140px", "height": "221px", "z-index": "100", "overflow-y": "auto" }, "widgetSet": "history" }, "e00006": { "tpl": "tplJquiRadioList", "data": { "oid": "0_userdata.0.RINGCAM.VIS.Trigger-Videoselection", "g_fixed": false, "g_visibility": false, "g_css_font_text": true, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "values": "0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20", "texts": "last;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0 }, "style": { "left": "155px", "top": "49px", "width": "1200px", "height": "30px", "z-index": "100", "font-size": "18px" }, "widgetSet": "jqui" }, "e00007": { "tpl": "tplImage", "data": { "g_fixed": true, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": true, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "refreshInterval": "10000", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "src": "/vis.0/RING/LAST_PIC.jpg", "refreshOnWakeUp": true, "refreshOnViewChange": true, "stretch": true, "class": "" }, "style": { "left": "741px", "top": "354px", "width": "590px", "height": "335px", "z-index": "200", "border-radius": "5px", "border-color": "#333333", "border-style": "solid", "border-width": "1px" }, "widgetSet": "basic" }, "e00008": { "tpl": "tplValueLastchange", "data": { "oid": "ring.0.cocoa_54698816.Snapshot.moment", "g_fixed": true, "g_visibility": false, "g_css_font_text": true, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "format_date": "hh:mm:ss DD.MM.YYYY ", "html_prepend": "", "html_append": "", "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide" }, "style": { "left": "1192px", "top": "697px", "color": "white", "width": "133px", "height": "37px", "z-index": "100", "text-align": "center" }, "widgetSet": "basic" }, "e00009": { "tpl": "tplValueString", "data": { "oid": "0_userdata.0.RINGCAM.VIS.ClipID", "g_fixed": false, "g_visibility": false, "g_css_font_text": true, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": true, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": false, "lc-is-moment": false, "lc-format": "DD.MM.YYYY hh:mm:ss", "lc-position-vert": "top", "lc-position-horz": "left", "lc-offset-vert": "-4", "lc-offset-horz": "200", "lc-font-size": "small", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "transparent", "lc-color": "#00aed6", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "html_prepend": "Last Clip: ", "lc-oid": "0_userdata.0.RINGCAM.VIS.ClipID" }, "style": { "left": "45px", "top": "819px", "width": "212px", "height": "35px", "text-align": "left", "letter-spacing": "", "word-spacing": "", "z-index": "100", "font-size": "small", "overflow-x": "", "color": "white" }, "widgetSet": "basic" }, "e00010": { "tpl": "tplValueString", "data": { "oid": "0_userdata.0.RINGCAM.VIS.PicID", "g_fixed": false, "g_visibility": false, "g_css_font_text": true, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": true, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": false, "lc-is-moment": false, "lc-format": "DD.MM.YYYY hh:mm:ss", "lc-position-vert": "top", "lc-position-horz": "left", "lc-offset-vert": "-4", "lc-offset-horz": "200", "lc-font-size": "small", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "transparent", "lc-color": "#00aed6", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "html_prepend": "Last PIC: ", "lc-oid": "0_userdata.0.RINGCAM.VIS.PicID" }, "style": { "left": "1125px", "top": "820px", "width": "212px", "height": "35px", "text-align": "left", "letter-spacing": "", "word-spacing": "", "z-index": "100", "font-size": "small", "overflow-x": "", "color": "white" }, "widgetSet": "basic" }, "e00011": { "tpl": "tplValueString", "data": { "oid": "0_userdata.0.RINGCAM.VIS.Vis-Videoselection", "g_fixed": false, "g_visibility": false, "g_css_font_text": true, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "html_prepend": "Trigger Nr: ", "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0 }, "style": { "left": "157px", "top": "98px", "width": "768px", "height": "20px", "text-align": "left", "letter-spacing": "", "word-spacing": "", "z-index": "100", "font-size": "small", "overflow-x": "", "color": "white" }, "widgetSet": "basic" }, "e00012": { "tpl": "tplHtml", "data": { "g_fixed": true, "g_visibility": true, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": true, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": "0", "visibility-groups-action": "hide", "refreshInterval": "0", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "html": "<video controls autoplay loop muted width=\"600\" height=\"335\" src=\"{0_userdata.0.RINGCAM.VIS.Vis-Videoselection}\" type=\"video/mp4\"></video>\n\n", "visibility-oid": "0_userdata.0.RINGCAM.VIS.Trigger-Videoselection", "comment": "0_userdata.0.RINGCAM.VIS.Trigger-Videoselection", "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0 }, "style": { "left": "33px", "top": "354px", "z-index": "100", "width": "590px", "height": "335px", "border-radius": "5px", "border-color": "#333333", "border-width": "1px", "border-style": "solid" }, "widgetSet": "basic" }, "e00013": { "tpl": "tplHistoryEventList", "data": { "g_fixed": true, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "max_lines": "50", "format_date": "hh:mm:ss", "time_name": "Time", "time_width": "75", "val_name": "PIC", "val_attr": "text-align: center;", "from_name": "Form", "from_hide": "true", "class": "glass-panel", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "oid": "0_userdata.0.RINGCAM.ZAEHLER", "instance": "history.0", "time_interval_min": "24 hours", "inverseOrder": false, "timeAsInterval": false, "table_attr": "", "header_attr": "", "val_width": "65" }, "style": { "left": "1187px", "top": "124px", "width": "140px", "height": "221px", "z-index": "100", "overflow-y": "auto" }, "widgetSet": "history" }, "e00014": { "tpl": "tplJquiRadioList", "data": { "oid": "ring.0.Location_24b5ab8a-cf52-4fc0-a298-5099ee8fda1b.locationMode", "g_fixed": false, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "values": "home;away;disarmed", "texts": "Zuhause; Abwesent; inaktiv..!", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0 }, "style": { "left": "514px", "top": "159px", "z-index": "200" }, "widgetSet": "jqui" }, "e00015": { "tpl": "tplHqButton", "data": { "oid": "ring.0.cocoa_54698816.Livestream.livestream_request", "min": "", "max": "true", "iconName": "", "btIconWidth": "0", "offsetAuto": false, "leftOffset": "0", "topOffset": "0", "timeAsInterval": false, "infoLeftFontSize": "12", "infoFontRightSize": "12", "caption": "", "captionOn": "Erstelle Video...", "iconOn": "", "gestures-offsetX": 0, "gestures-offsetY": 0, "signals-cond-0": "==", "signals-val-0": "false", "signals-icon-0": "/vis.0/VIS_3/Clip play.png", "signals-icon-size-0": "52", "signals-blink-0": false, "signals-horz-0": "24", "signals-vert-0": "3", "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": "false", "signals-icon-1": "/vis.0/VIS_3/Icon/Ring.png", "signals-icon-size-1": "94", "signals-blink-1": false, "signals-horz-1": "-20", "signals-vert-1": "12", "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": "true", "signals-icon-2": "/vis.0/VIS_3/Icon/arrow_refresh_15732.png", "signals-icon-size-2": "71", "signals-blink-2": true, "signals-horz-2": "11", "signals-vert-2": "23", "signals-hide-edit-2": false, "pushButton": false, "usejQueryStyle": false, "g_visibility": false, "styleActive": "hq-button-base-intemp", "name": "Go Home", "infoLeftPaddingLeft": "15", "infoLeftPaddingRight": "50", "infoRightPaddingRight": "15", "gestures-swipeLeft-limit": "-1", "gestures-rotateLeft-limit": "2", "styleNormal": "hq-button-no-background", "lc-type": "last-change", "lc-is-interval": true, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "descriptionLeft": "Go home", "lc-is-moment": false, "lc-zindex": 0, "descriptionLeftDisabled": true, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "signals-oid-2": "ring.0.cocoa_54698816.Livestream.livestream_request", "signals-oid-0": "ring.0.cocoa_54698816.Livestream.livestream_request", "signals-oid-1": "ring.0.cocoa_54698816.Livestream.livestream_request" }, "style": { "left": "240px", "top": "252px", "width": "95px", "height": "93px", "border-width": "", "border-style": "", "border-color": "", "border-radius": "10px", "z-index": "100", "text-align": "center", "font-size": "small", "box-shadow": "2px 2px 3px rgba(255, 255, 255, 50)", "background-color": "" }, "widgetSet": "hqwidgets" }, "e00016": { "tpl": "tplHqButton", "data": { "oid": "ring.0.cocoa_54698816.Snapshot.snapshot_request", "min": "", "max": "true", "iconName": "", "btIconWidth": "0", "offsetAuto": false, "leftOffset": "0", "topOffset": "0", "timeAsInterval": false, "infoLeftFontSize": "12", "infoFontRightSize": "12", "caption": "", "captionOn": "Erstelle Foto...", "iconOn": "", "gestures-offsetX": 0, "gestures-offsetY": 0, "signals-cond-0": "==", "signals-val-0": "false", "signals-icon-0": "/vis.0/VIS_3/Icon/aperture_24123.png", "signals-icon-size-0": "52", "signals-blink-0": false, "signals-horz-0": "24", "signals-vert-0": "3", "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": "false", "signals-icon-1": "/vis.0/VIS_3/Icon/Ring.png", "signals-icon-size-1": "94", "signals-blink-1": false, "signals-horz-1": "-20", "signals-vert-1": "12", "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": "true", "signals-icon-2": "/vis.0/VIS_3/Icon/arrow_refresh_15732.png", "signals-icon-size-2": "71", "signals-blink-2": true, "signals-horz-2": "11", "signals-vert-2": "23", "signals-hide-edit-2": false, "pushButton": false, "usejQueryStyle": false, "g_visibility": false, "styleActive": "hq-button-base-intemp", "name": "Go Home", "infoLeftPaddingLeft": "15", "infoLeftPaddingRight": "50", "infoRightPaddingRight": "15", "gestures-swipeLeft-limit": "-1", "gestures-rotateLeft-limit": "2", "styleNormal": "hq-button-no-background", "lc-type": "last-change", "lc-is-interval": true, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "descriptionLeft": "Go home", "lc-is-moment": false, "lc-zindex": 0, "descriptionLeftDisabled": true, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "signals-oid-2": "ring.0.cocoa_54698816.Snapshot.snapshot_request", "signals-oid-0": "ring.0.cocoa_54698816.Snapshot.snapshot_request", "signals-oid-1": "ring.0.cocoa_54698816.Snapshot.snapshot_request" }, "style": { "left": "1014px", "top": "253px", "width": "95px", "height": "93px", "border-width": "", "border-style": "", "border-color": "", "border-radius": "10px", "z-index": "100", "text-align": "center", "font-size": "small", "box-shadow": "2px 2px 3px rgba(255, 255, 255, 50)", "background-color": "" }, "widgetSet": "hqwidgets" } }, "name": "08_Ring", "filterList": [] }
-
@agria4800
hast du noch die Einstellungen im Ring Adapter für mich? -
@ceel: na klar
-
@agria4800
wenn du jetzt noch die Icons hast ^^Ich habe noch das Problem das wenn ich Trigger-Videoselection auf 0 (also last) stelle ich bei Vis-Videoselection ein "null" im Datenpunkt stehen habe.
Edit:
Ihr müsst bei Clip_Counter und bei ZAEHLER history.0 aktivieren!