Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Corona-Ampel Österreich in VIS anzeigen

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.8k

Corona-Ampel Österreich in VIS anzeigen

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
coronavis
217 Beiträge 10 Kommentatoren 28.6k Aufrufe 9 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • F fastfoot

    @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

    Wo kann man die Log vom script Debug ansehen?

    im normalen LOG Tab

    bergjetB Offline
    bergjetB Offline
    bergjet
    schrieb am zuletzt editiert von bergjet
    #197

    @fastfoot
    Kommt auch nichts anderes.

    host.raspberrypi	2021-04-22 15:13:04.250	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    host.raspberrypi	2021-04-22 15:13:04.245	error	Caught by controller[0]: Error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/files/Downloads/CovidFaelle_Timeline_GKZ.csv'
    

    Es wird auch der Ordner "Downloads" nicht angelegt.

    homee, ioBroker, iMac, iPhone, Sonos, Alaxa

    F 1 Antwort Letzte Antwort
    0
    • bergjetB bergjet

      @fastfoot
      Kommt auch nichts anderes.

      host.raspberrypi	2021-04-22 15:13:04.250	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.raspberrypi	2021-04-22 15:13:04.245	error	Caught by controller[0]: Error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/files/Downloads/CovidFaelle_Timeline_GKZ.csv'
      

      Es wird auch der Ordner "Downloads" nicht angelegt.

      F Offline
      F Offline
      fastfoot
      schrieb am zuletzt editiert von
      #198

      @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

      Es wird auch der Ordner "Downloads" nicht angelegt.

      Nein, den musst Du selbst anlegen. Das hattest Du aber nicht geschrieben bisher und hast von einem leeren File geschrieben. Das sollte doch dann dort drinnen gelegen haben!

      iobroker läuft unter Docker auf QNAP TS-451+
      SkriptRecovery: https://forum.iobroker.net/post/930558

      bergjetB 1 Antwort Letzte Antwort
      0
      • F fastfoot

        @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

        Es wird auch der Ordner "Downloads" nicht angelegt.

        Nein, den musst Du selbst anlegen. Das hattest Du aber nicht geschrieben bisher und hast von einem leeren File geschrieben. Das sollte doch dann dort drinnen gelegen haben!

        bergjetB Offline
        bergjetB Offline
        bergjet
        schrieb am zuletzt editiert von
        #199

        @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

        Das hattest Du aber nicht geschrieben bisher und hast von einem leeren File geschrieben

        Ich habe das Testscript von oben laufen und da steht es so drinnen.

        homee, ioBroker, iMac, iPhone, Sonos, Alaxa

        F 1 Antwort Letzte Antwort
        0
        • bergjetB bergjet

          @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

          Das hattest Du aber nicht geschrieben bisher und hast von einem leeren File geschrieben

          Ich habe das Testscript von oben laufen und da steht es so drinnen.

          F Offline
          F Offline
          fastfoot
          schrieb am zuletzt editiert von
          #200

          @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

          @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

          Das hattest Du aber nicht geschrieben bisher und hast von einem leeren File geschrieben

          Ich habe das Testscript von oben laufen und da steht es so drinnen.

          Ja, aber so war es schon 'immer' mit dem Skript.

          iobroker läuft unter Docker auf QNAP TS-451+
          SkriptRecovery: https://forum.iobroker.net/post/930558

          bergjetB 1 Antwort Letzte Antwort
          0
          • F fastfoot

            @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

            @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

            Das hattest Du aber nicht geschrieben bisher und hast von einem leeren File geschrieben

            Ich habe das Testscript von oben laufen und da steht es so drinnen.

            Ja, aber so war es schon 'immer' mit dem Skript.

            bergjetB Offline
            bergjetB Offline
            bergjet
            schrieb am zuletzt editiert von
            #201

            @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

            Ja, aber so war es schon 'immer' mit dem Skript.

            So, jetzt geht es. Der Download Ordner hat gefehlt.
            Ich habe auf der alten Installation geschaut, der war eine frühere Version deines Scripts und da wurde die Datei im files Ordner gespeichert. Daher hat Vis die alten Daten angezeigt und nach löschen der Datei im Files Ordner kam der Fehler.
            DANKE.

            homee, ioBroker, iMac, iPhone, Sonos, Alaxa

            F 1 Antwort Letzte Antwort
            0
            • bergjetB bergjet

              @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

              Ja, aber so war es schon 'immer' mit dem Skript.

              So, jetzt geht es. Der Download Ordner hat gefehlt.
              Ich habe auf der alten Installation geschaut, der war eine frühere Version deines Scripts und da wurde die Datei im files Ordner gespeichert. Daher hat Vis die alten Daten angezeigt und nach löschen der Datei im Files Ordner kam der Fehler.
              DANKE.

              F Offline
              F Offline
              fastfoot
              schrieb am zuletzt editiert von
              #202

              @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

              @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

              Ja, aber so war es schon 'immer' mit dem Skript.

              So, jetzt geht es. Der Download Ordner hat gefehlt.
              Ich habe auf der alten Installation geschaut, der war eine frühere Version deines Scripts und da wurde die Datei im files Ordner gespeichert. Daher hat Vis die alten Daten angezeigt und nach löschen der Datei im Files Ordner kam der Fehler.
              DANKE.

              Auf den fehlenden Ordner wäre ich nie gekommen, man lernt halt nie aus :-)

              iobroker läuft unter Docker auf QNAP TS-451+
              SkriptRecovery: https://forum.iobroker.net/post/930558

              bergjetB 1 Antwort Letzte Antwort
              0
              • F fastfoot

                @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

                @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

                Ja, aber so war es schon 'immer' mit dem Skript.

                So, jetzt geht es. Der Download Ordner hat gefehlt.
                Ich habe auf der alten Installation geschaut, der war eine frühere Version deines Scripts und da wurde die Datei im files Ordner gespeichert. Daher hat Vis die alten Daten angezeigt und nach löschen der Datei im Files Ordner kam der Fehler.
                DANKE.

                Auf den fehlenden Ordner wäre ich nie gekommen, man lernt halt nie aus :-)

                bergjetB Offline
                bergjetB Offline
                bergjet
                schrieb am zuletzt editiert von
                #203

                @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

                Auf den fehlenden Ordner wäre ich nie gekommen, man lernt halt nie aus

                Eventuell noch in der Installations Anleitung erwähnen. Oder wie bei der vergangenen Version in Files Ordner ablegen.

                homee, ioBroker, iMac, iPhone, Sonos, Alaxa

                F 1 Antwort Letzte Antwort
                0
                • bergjetB bergjet

                  @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

                  Auf den fehlenden Ordner wäre ich nie gekommen, man lernt halt nie aus

                  Eventuell noch in der Installations Anleitung erwähnen. Oder wie bei der vergangenen Version in Files Ordner ablegen.

                  F Offline
                  F Offline
                  fastfoot
                  schrieb am zuletzt editiert von
                  #204

                  @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

                  @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

                  Auf den fehlenden Ordner wäre ich nie gekommen, man lernt halt nie aus

                  Eventuell noch in der Installations Anleitung erwähnen. Oder wie bei der vergangenen Version in Files Ordner ablegen.

                  Das Skript bringt jetzt eine Fehlermeldung und bricht ab, der JS-Adapter stürzt nicht mehr ab

                  iobroker läuft unter Docker auf QNAP TS-451+
                  SkriptRecovery: https://forum.iobroker.net/post/930558

                  1 Antwort Letzte Antwort
                  1
                  • bergjetB Offline
                    bergjetB Offline
                    bergjet
                    schrieb am zuletzt editiert von
                    #205

                    Komisch, jetzt kommt eine Fehlermeldung:

                    javascript.0	2021-07-28 13:20:01.548	error	(1402) at processTicksAndRejections (internal/process/task_queues.js:97:5)
                    javascript.0	2021-07-28 13:20:01.547	error	(1402) at runMicrotasks (<anonymous>)
                    javascript.0	2021-07-28 13:20:01.547	error	(1402) at getData (script.js.common.Corona_Inzidez_neu:67:11)
                    javascript.0	2021-07-28 13:20:01.547	error	(1402) at Array.forEach (<anonymous>)
                    javascript.0	2021-07-28 13:20:01.546	error	(1402) at script.js.common.Corona_Inzidez_neu:69:34
                    javascript.0	2021-07-28 13:20:01.545	error	(1402) script.js.common.Corona_Inzidez_neu: TypeError: Cannot read property 'replace' of undefined
                    

                    Kann mir jemand sagen, woran das liegt?

                    homee, ioBroker, iMac, iPhone, Sonos, Alaxa

                    F 1 Antwort Letzte Antwort
                    0
                    • bergjetB bergjet

                      Komisch, jetzt kommt eine Fehlermeldung:

                      javascript.0	2021-07-28 13:20:01.548	error	(1402) at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      javascript.0	2021-07-28 13:20:01.547	error	(1402) at runMicrotasks (<anonymous>)
                      javascript.0	2021-07-28 13:20:01.547	error	(1402) at getData (script.js.common.Corona_Inzidez_neu:67:11)
                      javascript.0	2021-07-28 13:20:01.547	error	(1402) at Array.forEach (<anonymous>)
                      javascript.0	2021-07-28 13:20:01.546	error	(1402) at script.js.common.Corona_Inzidez_neu:69:34
                      javascript.0	2021-07-28 13:20:01.545	error	(1402) script.js.common.Corona_Inzidez_neu: TypeError: Cannot read property 'replace' of undefined
                      

                      Kann mir jemand sagen, woran das liegt?

                      F Offline
                      F Offline
                      fastfoot
                      schrieb am zuletzt editiert von fastfoot
                      #206

                      @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

                      Komisch, jetzt kommt eine Fehlermeldung:

                      die haben umgestellt auf UTF-8 BOM, das führt zu einem falschen Property Time. Hier mein neustes angepasstes Skript, welches mit UTF-8 als auch UTF-8 BOM zurecht kommt

                      /**
                      * Zweck:           Covid-19 Fälle Österreich
                      * Datum:           26.07.2021
                      * Author:          @fastfoot
                      * Forum:           https://forum.iobroker.net/topic/36632/corona-ampel-%C3%B6sterreich-in-vis-anzeigen/173
                      * 
                      * Voraussetzung:   Die npm-Module axios und csvjson müssen in der JS-Instanz eingetragen werden
                      * 
                      */
                      
                      /**
                      *                                      Persönliche Einstellungen
                      */
                      const dbg = false;                                      // für Fehlersuche
                      const fileName = 'CovidFaelle_Timeline_GKZ.csv';        // Dateiname
                      const filePath = '/opt/iobroker/iobroker-data/files/Downloads';   // Dateipfad
                      const myBezirke = [
                         {GKZ: 320, Name: 'Scheibbs'},
                         {GKZ: 802, Name: 'Bregenz'},
                         {GKZ: 401, Name: 'Linz'},
                         {GKZ: 900, Name: 'Wien'},
                         {GKZ: 706, Name: 'Landeck'}
                      ]
                      const mySchedule = '30 14 * * *';                       // täglicher Download der Daten um 14:30Uhr
                      const idBase = '0_userdata.0.Corona.AT.Faelle';         // Ort für Datenpunkte (die VIS ist hierauf eingestellt!)
                      
                      /**
                      *                                          Ab hier nichts abändern!
                      */
                      const axios = require('axios').default;                 // In der JS-Instanz unter Module eintragen
                      const csvjson = require('csvjson');                     // In der JS-Instanz unter Module eintragen
                      const fs = require('fs');
                      const Path = require('path');
                      const idJson = `${idBase}.json`;
                      const idChart1 = `${idBase}.chart1`;
                      const idChart2 = `${idBase}.chart2`;
                      const idChart3 = `${idBase}.chart3`;
                      const idChart4 = `${idBase}.chart4`;
                      const idGKZ = `${idBase}.GKZ`;
                      const idGKZBezirke = `${idBase}.GKZBezirke`;
                      const idRefresh = `${idBase}.Refresh`;
                      const timeFormats = {
                         millisecond: "H:mm:ss.SSS",
                         second: "H:mm:ss",
                         minute: "H:mm",
                         hour: "dd.[\\n]H:mm",
                         day: "dd[\\n]DD.MM",
                         week: "dd[\\n]DD.MM",
                         month: "MMM YY",
                         quarter: "[Q]Q - YYYY",
                         year: "YYYY"
                      };
                      const chartMonthsToShow = 12;
                      
                      async function init() {
                         let json = [];
                         let firstRun = await createDatapoints();
                         for(let i = 0; i < myBezirke.length; i++) {
                             json.push({
                                 "text": myBezirke[i].Name,// + '(' + myBezirke[i].GKZ + ')',
                                 //"subText": "GKZ: " + myBezirke[i].GKZ,
                                 "value": myBezirke[i].GKZ,
                                 "icon": "numeric-" + (i+1)
                                 //"iconColor": "white",
                                 //"iconColorSelectedTextField": "red"
                             })
                         }
                         if(dbg) log(JSON.stringify(json,null,4));
                         await setStateAsync(idGKZBezirke, JSON.stringify(json,null,4));
                         getData(firstRun);
                      }
                      
                      // main routine
                      async function getData(refresh = false) {
                         let data, err;
                         const url = 'https://covid19-dashboard.ages.at/data/CovidFaelle_Timeline_GKZ.csv';
                         if(!fs.existsSync(filePath)) return log('Dateipfad existiert nicht!','error');
                         if(refresh) await getCSVFile(url);
                         data = fs.readFileSync(Path.resolve(filePath, '', fileName), 'utf8');
                         data = data.replace(/^\uFEFF/,''); //remove BOM
                         let json = csvjson.toObject(data, {delimiter : ';'});
                         let js = [];
                         let GKZ = getState(idGKZ).val || myBezirke[0].GKZ;
                         if(dbg) log(GKZ)
                         json.forEach((record) => {
                             if (record.GKZ == GKZ) {
                                 let t = record.Time.replace(/(\d+).(\d+).(\d+)/,'$3-$2-$1');
                                 record.Time = getDateObject(t);//.getTime();
                                 record.SiebenTageInzidenzFaelle = record.SiebenTageInzidenzFaelle.replace(',','.');
                                 record.Aktiv = record.AnzahlFaelleSum - record.AnzahlTotSum - record.AnzahlGeheiltSum;
                                 record.Upd = formatDate(Date.now(),'hh:mm');
                                 js.push(record);
                             }
                         })
                         js.sort((a,b) => a.Time < b.Time ? 1 : -1)
                         setState(idJson, JSON.stringify(js,null,4));
                         createChart(js);
                      }
                      
                      // create chart data
                      function createChart(data) {
                         let now = new Date();
                         now.setMonth(now.getMonth() - chartMonthsToShow + 1);
                         const startMonth = now.getMonth();
                         const startYear = now.getFullYear();
                         now.setMonth(now.getMonth() + chartMonthsToShow);
                         const endMonth = now.getMonth();
                         const endYear = now.getFullYear();
                         const startTime = new Date(startYear,startMonth,1,0,0,0,0).getTime();
                         const endTime = new Date(endYear,endMonth,1,0,0,0,0).getTime();
                         let chartAll = {}, chartTote = {}, chartAktiv = {}, chartInzidenz = {},Tote = [],Aktiv = [], Fälle = [], Genesen = [], time, axisLabels = [];
                         let Inzidenz = [];
                         Tote.push({t: startTime, y: null});
                         Inzidenz.push({t: startTime, y: null});
                         Aktiv.push({t: startTime, y: null});
                         Fälle.push({t: startTime, y: null});
                         Genesen.push({t: startTime, y: null});
                      
                         data.forEach((record,i) => {
                             time = getDateObject(record.Time).getTime();
                             if (time >= startTime && time <= endTime){
                                 Tote.push({t: time, y: record.AnzahlTotSum})
                                 Inzidenz.push({t: time, y: Math.max(record.SiebenTageInzidenzFaelle.replace(',','.'),0)})
                                 Aktiv.push({t: time, y: record.Aktiv})
                                 Fälle.push({t: time, y: record.AnzahlFaelleSum})
                                 Genesen.push({t: time, y: record.AnzahlGeheiltSum})
                             }
                         })
                         Tote.push({t: endTime, y: null});
                         Inzidenz.push({t: endTime, y: null});
                         Aktiv.push({t: endTime, y: null});
                         Fälle.push({t: endTime, y: null});
                         Genesen.push({t: endTime, y: null});
                         chartAll = {
                             //axisLabels: axisLabels,
                             graphs: [
                                 {
                                     legendText: 'Tote',
                                     data: Tote,
                                     type: 'line',
                                     color: '#ff0000',
                                     displayOrder: 3,
                                     xAxis_time_unit: 'month',
                                     xAxis_bounds: 'ticks', // ticks, data
                                     xAxis_timeFormats: timeFormats,
                                     line_pointSize: 0.2,
                                     line_Thickness: 1,
                                     datalabel_show: !true,
                                     datalabel_steps: 300,
                                     yAxis_id: 0,
                                     //yAxis_min: yMin,
                                     //yAxis_max: yMax,
                                     yAxis_gridLines_show: true,
                                     yAxis_gridLines_color: '#ffffff',
                                     yAxis_gridLines_lineWidth: 0.3,
                                     yAxis_zeroLineWidth: 0.4,
                                 }, {
                                     legendText: 'Aktive Fälle',
                                     data: Aktiv,
                                     type: 'line',
                                     color: '#00ff00',
                                     displayOrder: 2,
                                     xAxis_time_unit: 'month',
                                     xAxis_bounds: 'ticks', // ticks, data
                                     xAxis_timeFormats: timeFormats,
                                     line_pointSize: 0.2,
                                     line_Thickness: 1,
                                     datalabel_show: !true,
                                     datalabel_steps: 300,
                                     yAxis_id: 0,
                                     //yAxis_min: yMin,
                                     //yAxis_max: yMax,
                                     yAxis_gridLines_show: true,
                                     yAxis_gridLines_color: '#ffffff',
                                     yAxis_gridLines_lineWidth: 0.3,
                                     yAxis_zeroLineWidth: 0.4,
                                 }, {
                                     legendText: 'Infektionen gesamt',
                                     data: Fälle,
                                     type: 'line',
                                     color: '#ffffff',
                                     displayOrder: 0,
                                     xAxis_time_unit: 'month',
                                     xAxis_bounds: 'ticks', // ticks, data
                                     xAxis_timeFormats: timeFormats,
                                     line_pointSize: 0.2,
                                     line_Thickness: 1,
                                     datalabel_show: !true,
                                     datalabel_steps: 300,
                                     yAxis_id: 0,
                                     //yAxis_min: yMin,
                                     //yAxis_max: yMax,
                                     yAxis_gridLines_show: true,
                                     yAxis_gridLines_color: '#ffffff',
                                     yAxis_gridLines_lineWidth: 0.3,
                                     yAxis_zeroLineWidth: 0.4,
                                 }, {
                                     legendText: 'Genesen',
                                     data: Genesen,
                                     type: 'line',
                                     color: '#ffff00',
                                     displayOrder: 1,
                                     xAxis_time_unit: 'month',
                                     xAxis_bounds: 'ticks', // ticks, data
                                     xAxis_timeFormats: timeFormats,
                                     line_pointSize: 0.2,
                                     line_Thickness: 1,
                                     datalabel_show: !true,
                                     datalabel_steps: 300,
                                     yAxis_id: 0,
                                     //yAxis_min: 0,
                                     //yAxis_max: 1200,
                                     yAxis_gridLines_show: true,
                                     yAxis_gridLines_color: '#ffffff',
                                     yAxis_gridLines_lineWidth: 0.3,
                                     yAxis_zeroLineWidth: 0.4,
                                 }
                      
                             ]
                         }
                      
                         chartInzidenz = {
                             //axisLabels: axisLabels,
                             graphs: [
                                 {
                                     legendText: 'Inzidenz 7 Tage',
                                     data: Inzidenz,
                                     type: 'line',
                                     color: '#00ffff',
                                     xAxis_time_unit: 'month',
                                     xAxis_bounds: 'ticks', // ticks, data
                                     xAxis_timeFormats: timeFormats,
                                     line_pointSize: 0,
                                     line_Thickness: 1,
                                     datalabel_show: !true,
                                     datalabel_steps: 100,
                                     yAxis_id: 0,
                                     yAxis_min: 0,
                                     yAxis_max: 1200,
                                     yAxis_gridLines_show: true,
                                     yAxis_gridLines_color: '#ffffff',
                                     yAxis_gridLines_lineWidth: 0.3,
                                     yAxis_zeroLineWidth: 0.4,
                                 }
                             ]
                         }
                      
                         chartTote = {
                             //axisLabels: axisLabels,
                             graphs: [
                                 {
                                     legendText: 'Tote',
                                     data: Tote,
                                     type: 'line',
                                     color: '#ff0000',
                                     xAxis_time_unit: 'month',
                                     xAxis_bounds: 'ticks', // ticks, data
                                     xAxis_timeFormats: timeFormats,
                                     line_pointSize: 0,
                                     line_Thickness: 1,
                                     datalabel_show: !true,
                                     datalabel_steps: 100,
                                     yAxis_id: 0,
                                     yAxis_gridLines_show: true,
                                     yAxis_gridLines_color: '#ffffff',
                                     yAxis_gridLines_lineWidth: 0.3,
                                     yAxis_zeroLineWidth: 0.4,
                                 }
                             ]
                         }
                      
                         chartAktiv = {
                             //axisLabels: axisLabels,
                             graphs: [
                                 {
                                     legendText: 'Aktiv',
                                     data: Aktiv,
                                     type: 'line',
                                     color: '#00ff00',
                                     xAxis_time_unit: 'month',
                                     xAxis_bounds: 'ticks', // ticks, data
                                     xAxis_timeFormats: timeFormats,
                                     line_pointSize: 0,
                                     line_Thickness: 1,
                                     datalabel_show: !true,
                                     datalabel_steps: 100,
                                     yAxis_id: 0,
                                     yAxis_gridLines_show: true,
                                     yAxis_gridLines_color: '#ffffff',
                                     yAxis_gridLines_lineWidth: 0.3,
                                     yAxis_zeroLineWidth: 0.4,
                                 }
                             ]
                         }
                      
                         setState(idChart1,JSON.stringify(chartAll,null,4))
                         setState(idChart2,JSON.stringify(chartInzidenz,null,4))
                         setState(idChart3,JSON.stringify(chartTote,null,4))
                         setState(idChart4,JSON.stringify(chartAktiv,null,4))
                      }
                      
                      // create data points if not existing
                      async function createDatapoints() {
                         let dp,
                             idKey,
                             firstRun = false;
                         
                         const stateAttributes = {
                             "json":{"name":"Json Tabelle","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":""},
                             "Refresh":{"name":"Refresh","type":"boolean","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":false},
                             "chart1":{"name":"Chart 1","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                             "chart2":{"name":"Chart 2","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                             "chart3":{"name":"Chart 3","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                             "chart4":{"name":"Chart 4","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                             "GKZ":{"name":"VIS Select Auswahl","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "900"},
                             //"GKZValues":{"name":"VIS Select GKZ-Liste","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "900"},
                             "GKZBezirke":{"name":"VIS Select Bezirke","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""}
                         }
                      
                         for(let key in stateAttributes) {
                      
                             idKey = idBase + '.' + key;
                      
                             if (!(await existsStateAsync(idKey))) {
                                 dp = stateAttributes[key];
                                 firstRun = true;
                                 await createStateAsync(idKey, dp);
                             }
                         }
                      
                         return firstRun;
                      
                      }
                      
                      // download and save csv file
                      async function getCSVFile (url) {  
                         const writer = fs.createWriteStream(Path.resolve(filePath, '', fileName));
                      
                         const response = await axios({
                             url: url,
                             method: 'GET',
                             responseType: 'stream'
                         })
                         response.data.pipe(writer);
                      
                         return new Promise((resolve, reject) => {
                             writer.on('finish', resolve)
                             //writer.on('error', reject)
                             writer.on('error', ()=> writer.end())
                         })
                      }
                      
                      schedule(mySchedule, () => {getData(true)});
                      
                      on({id: idRefresh, change: 'any'},() => {getData(true)})
                      
                      on({id: idGKZ, change: 'ne'},() => {getData()})
                      
                      init();
                      
                      


                      {
                       "settings": {
                         "style": {
                           "background_class": ""
                         },
                         "theme": "redmond",
                         "sizex": "",
                         "sizey": "",
                         "gridSize": "10",
                         "snapType": 2
                       },
                       "widgets": {
                         "e00001": {
                           "tpl": "tplVis-materialdesign-Chart-JSON",
                           "data": {
                             "oid": "0_userdata.0.Corona.AT.Faelle.chart1",
                             "g_fixed": false,
                             "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,
                             "chartType": "line",
                             "showLegend": true,
                             "legendPosition": "top",
                             "legendPointStyle": true,
                             "showTooltip": "true",
                             "tooltipMode": "nearest",
                             "tooltipShowColorBox": "true",
                             "xAxisPosition": "bottom",
                             "xAxisValueDistanceToAxis": "10",
                             "xAxisShowAxis": true,
                             "xAxisShowAxisLabels": true,
                             "xAxisShowGridLines": true,
                             "xAxisShowTicks": true,
                             "xAxisMinRotation": "45",
                             "xAxisMaxRotation": "60",
                             "yAxisValueDistanceToAxis": "6",
                             "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,
                             "xAxisMaxLabel": "15",
                             "xAxisTitle": "",
                             "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                             "axisLabelAutoSkip": true,
                             "xAxisOffsetGridLines": false,
                             "xAxisTickLength": "12",
                             "xAxisZeroLineWidth": "0.8",
                             "xAxisValueFontSize": "14",
                             "xAxisTitleColor": "#0e0c0c",
                             "xAxisValueLabelColor": "#000000",
                             "xAxisGridLinesColor": "#ffffff",
                             "xAxisGridLinesWitdh": "0.3",
                             "xAxisZeroLineColor": "#ff0000",
                             "yAxisValueFontSize": "12",
                             "yAxisValueLabelColor": "#000000",
                             "colorScheme": "scrounger.pie",
                             "disableHoverEffects": true,
                             "barWidth": "6",
                             "backgroundColor": "#eee9c4",
                             "chartAreaBackgroundColor": "#000000",
                             "chartPaddingTop": "10",
                             "chartPaddingLeft": "10",
                             "chartPaddingRight": "10",
                             "chartPaddingBottom": "10",
                             "globalColor": "#fe972f",
                             "animationDuration": "",
                             "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                             "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                             "legendFontColor": "#000000",
                             "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                             "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                             "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                             "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                             "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                             "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                             "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                             "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                             "xAxisTicksSource": "auto",
                             "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                             "xAxisDistanceBetweenTicks": "10",
                             "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                             "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                             "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                             "xAxisOffset": false,
                             "xAxisLabelUseTodayYesterday": false,
                             "visibility-cond": "==",
                             "visibility-val": 1,
                             "visibility-groups-action": "hide",
                             "legendPadding": "20",
                             "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                             "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                             "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                             "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                             "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                             "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                             "tooltipPosition": "nearest",
                             "tooltipBodyAlignment": "left"
                           },
                           "style": {
                             "left": "10px",
                             "top": "10px",
                             "width": "720px",
                             "height": "300px",
                             "z-index": "1",
                             "border-style": "solid",
                             "border-width": "1px",
                             "border-color": "red"
                           },
                           "widgetSet": "materialdesign"
                         },
                         "e00002": {
                           "tpl": "tplVis-materialdesign-Chart-JSON",
                           "data": {
                             "oid": "0_userdata.0.Corona.AT.Faelle.chart2",
                             "g_fixed": false,
                             "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,
                             "chartType": "line",
                             "showLegend": true,
                             "legendPosition": "top",
                             "legendPointStyle": true,
                             "showTooltip": "true",
                             "tooltipMode": "nearest",
                             "tooltipShowColorBox": "true",
                             "xAxisPosition": "bottom",
                             "xAxisValueDistanceToAxis": "10",
                             "xAxisShowAxis": true,
                             "xAxisShowAxisLabels": true,
                             "xAxisShowGridLines": true,
                             "xAxisShowTicks": true,
                             "xAxisMinRotation": "45",
                             "xAxisMaxRotation": "60",
                             "yAxisValueDistanceToAxis": "6",
                             "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,
                             "xAxisMaxLabel": "15",
                             "xAxisTitle": "",
                             "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                             "axisLabelAutoSkip": true,
                             "xAxisOffsetGridLines": false,
                             "xAxisTickLength": "12",
                             "xAxisZeroLineWidth": "0.8",
                             "xAxisValueFontSize": "14",
                             "xAxisTitleColor": "#0e0c0c",
                             "xAxisValueLabelColor": "#000000",
                             "xAxisGridLinesColor": "#ffffff",
                             "xAxisGridLinesWitdh": "0.3",
                             "xAxisZeroLineColor": "#ff0000",
                             "yAxisValueFontSize": "12",
                             "yAxisValueLabelColor": "#000000",
                             "colorScheme": "scrounger.pie",
                             "disableHoverEffects": true,
                             "barWidth": "6",
                             "backgroundColor": "#eee9c4",
                             "chartAreaBackgroundColor": "#000000",
                             "chartPaddingTop": "10",
                             "chartPaddingLeft": "10",
                             "chartPaddingRight": "10",
                             "chartPaddingBottom": "10",
                             "globalColor": "#fe972f",
                             "animationDuration": "",
                             "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                             "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                             "legendFontColor": "#000000",
                             "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                             "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                             "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                             "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                             "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                             "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                             "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                             "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                             "xAxisTicksSource": "auto",
                             "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                             "xAxisDistanceBetweenTicks": "10",
                             "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                             "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                             "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                             "xAxisOffset": false,
                             "xAxisLabelUseTodayYesterday": false,
                             "visibility-cond": "==",
                             "visibility-val": 1,
                             "visibility-groups-action": "hide",
                             "legendPadding": "20",
                             "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                             "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                             "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                             "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                             "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                             "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                             "tooltipPosition": "nearest",
                             "tooltipBodyAlignment": "left"
                           },
                           "style": {
                             "left": "10px",
                             "top": "310px",
                             "width": "720px",
                             "height": "300px",
                             "z-index": "0",
                             "border-style": "solid",
                             "border-width": "1px",
                             "border-color": "red"
                           },
                           "widgetSet": "materialdesign"
                         },
                         "e00003": {
                           "tpl": "tplVis-materialdesign-Chart-JSON",
                           "data": {
                             "oid": "0_userdata.0.Corona.AT.Faelle.chart3",
                             "g_fixed": false,
                             "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,
                             "chartType": "line",
                             "showLegend": true,
                             "legendPosition": "top",
                             "legendPointStyle": true,
                             "showTooltip": "true",
                             "tooltipMode": "nearest",
                             "tooltipShowColorBox": "true",
                             "xAxisPosition": "bottom",
                             "xAxisValueDistanceToAxis": "10",
                             "xAxisShowAxis": true,
                             "xAxisShowAxisLabels": true,
                             "xAxisShowGridLines": true,
                             "xAxisShowTicks": true,
                             "xAxisMinRotation": "45",
                             "xAxisMaxRotation": "60",
                             "yAxisValueDistanceToAxis": "6",
                             "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,
                             "xAxisMaxLabel": "15",
                             "xAxisTitle": "",
                             "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                             "axisLabelAutoSkip": true,
                             "xAxisOffsetGridLines": false,
                             "xAxisTickLength": "12",
                             "xAxisZeroLineWidth": "0.8",
                             "xAxisValueFontSize": "14",
                             "xAxisTitleColor": "#0e0c0c",
                             "xAxisValueLabelColor": "#000000",
                             "xAxisGridLinesColor": "#ffffff",
                             "xAxisGridLinesWitdh": "0.3",
                             "xAxisZeroLineColor": "#ff0000",
                             "yAxisValueFontSize": "12",
                             "yAxisValueLabelColor": "#000000",
                             "colorScheme": "scrounger.pie",
                             "disableHoverEffects": true,
                             "barWidth": "6",
                             "backgroundColor": "#eee9c4",
                             "chartAreaBackgroundColor": "#000000",
                             "chartPaddingTop": "10",
                             "chartPaddingLeft": "10",
                             "chartPaddingRight": "10",
                             "chartPaddingBottom": "10",
                             "globalColor": "#fe972f",
                             "animationDuration": "",
                             "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                             "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                             "legendFontColor": "#000000",
                             "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                             "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                             "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                             "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                             "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                             "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                             "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                             "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                             "xAxisTicksSource": "auto",
                             "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                             "xAxisDistanceBetweenTicks": "10",
                             "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                             "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                             "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                             "xAxisOffset": false,
                             "xAxisLabelUseTodayYesterday": false,
                             "visibility-cond": "==",
                             "visibility-val": 1,
                             "visibility-groups-action": "hide",
                             "legendPadding": "20",
                             "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                             "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                             "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                             "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                             "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                             "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                             "tooltipPosition": "nearest",
                             "tooltipBodyAlignment": "left"
                           },
                           "style": {
                             "left": "730px",
                             "top": "10px",
                             "width": "720px",
                             "height": "300px",
                             "z-index": "1",
                             "border-style": "solid",
                             "border-width": "1px",
                             "border-color": "red"
                           },
                           "widgetSet": "materialdesign"
                         },
                         "e00004": {
                           "tpl": "i-vis-jsontable",
                           "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",
                             "iTblRowLimit": "730",
                             "iTableRefreshRate": "0",
                             "iColCount": "10",
                             "iColShow1": true,
                             "iTblCellFormat1": "datetime",
                             "iTblCellImageSize1": "200",
                             "iTblCellBooleanCheckbox1": false,
                             "iTblCellBooleanColorFalse1": "#ff0000",
                             "iTblCellBooleanColorTrue1": "#00ff00",
                             "iTblCellNumberDecimals1": "0",
                             "iTblCellNumberDecimalSeperator1": ",",
                             "iTblCellNumberThousandSeperator1": ".",
                             "iTblTextAlign1": "center",
                             "iOpacityAll": "1",
                             "iTblRowEvenColor": "#333333",
                             "iTblRowUnevenColor": "#455618",
                             "iTblHeaderColor": "#333333",
                             "iRowSpacing": "10",
                             "iTblRowEvenTextColor": "#ffffff",
                             "iTblRowUnevenTextColor": "#ffffff",
                             "iTblHeaderTextColor": "#ffffff",
                             "iBorderSize": "1",
                             "iBorderStyleLeft": "solid",
                             "iBorderStyleRight": "solid",
                             "iBorderStyleUp": "none",
                             "iBorderStyleDown": "none",
                             "iBorderColor": "#ffffff",
                             "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.Corona.AT.Faelle.json",
                             "iTblShowHead": true,
                             "iVertScroll": true,
                             "iColShow2": "true",
                             "iTblCellFormat2": "normal",
                             "iTblCellImageSize2": "200",
                             "iTblCellBooleanCheckbox2": "false",
                             "iTblCellBooleanColorFalse2": "#ff0000",
                             "iTblCellBooleanColorTrue2": "#00ff00",
                             "iTblCellNumberDecimals2": "0",
                             "iTblCellNumberDecimalSeperator2": ",",
                             "iTblCellNumberThousandSeperator2": ".",
                             "iTblTextAlign2": "left",
                             "iColShow3": "true",
                             "iTblCellFormat3": "normal",
                             "iTblCellImageSize3": "200",
                             "iTblCellBooleanCheckbox3": "false",
                             "iTblCellBooleanColorFalse3": "#ff0000",
                             "iTblCellBooleanColorTrue3": "#00ff00",
                             "iTblCellNumberDecimals3": "0",
                             "iTblCellNumberDecimalSeperator3": ",",
                             "iTblCellNumberThousandSeperator3": ".",
                             "iTblTextAlign3": "center",
                             "iColShow4": "true",
                             "iTblCellFormat4": "number",
                             "iTblCellImageSize4": "200",
                             "iTblCellBooleanCheckbox4": "false",
                             "iTblCellBooleanColorFalse4": "#ff0000",
                             "iTblCellBooleanColorTrue4": "#00ff00",
                             "iTblCellNumberDecimals4": "0",
                             "iTblCellNumberDecimalSeperator4": ",",
                             "iTblCellNumberThousandSeperator4": ".",
                             "iTblTextAlign4": "right",
                             "iColShow5": "true",
                             "iTblCellFormat5": "number",
                             "iTblCellImageSize5": "200",
                             "iTblCellBooleanCheckbox5": "false",
                             "iTblCellBooleanColorFalse5": "#ff0000",
                             "iTblCellBooleanColorTrue5": "#00ff00",
                             "iTblCellNumberDecimals5": "0",
                             "iTblCellNumberDecimalSeperator5": ",",
                             "iTblCellNumberThousandSeperator5": ".",
                             "iTblTextAlign5": "right",
                             "iColShow6": "true",
                             "iTblCellFormat6": "number",
                             "iTblCellImageSize6": "200",
                             "iTblCellBooleanCheckbox6": "false",
                             "iTblCellBooleanColorFalse6": "#ff0000",
                             "iTblCellBooleanColorTrue6": "#00ff00",
                             "iTblCellNumberDecimals6": "0",
                             "iTblCellNumberDecimalSeperator6": ",",
                             "iTblCellNumberThousandSeperator6": ".",
                             "iTblTextAlign6": "right",
                             "iColShow7": "true",
                             "iTblCellFormat7": "number",
                             "iTblCellImageSize7": "200",
                             "iTblCellBooleanCheckbox7": "false",
                             "iTblCellBooleanColorFalse7": "#ff0000",
                             "iTblCellBooleanColorTrue7": "#00ff00",
                             "iTblCellNumberDecimals7": "0",
                             "iTblCellNumberDecimalSeperator7": ",",
                             "iTblCellNumberThousandSeperator7": ".",
                             "iTblTextAlign7": "right",
                             "iColShow8": "true",
                             "iTblCellFormat8": "number",
                             "iTblCellImageSize8": "200",
                             "iTblCellBooleanCheckbox8": "false",
                             "iTblCellBooleanColorFalse8": "#ff0000",
                             "iTblCellBooleanColorTrue8": "#00ff00",
                             "iTblCellNumberDecimals8": "2",
                             "iTblCellNumberDecimalSeperator8": ",",
                             "iTblCellNumberThousandSeperator8": ".",
                             "iTblTextAlign8": "right",
                             "iColShow9": "true",
                             "iTblCellFormat9": "number",
                             "iTblCellImageSize9": "200",
                             "iTblCellBooleanCheckbox9": "false",
                             "iTblCellBooleanColorFalse9": "#ff0000",
                             "iTblCellBooleanColorTrue9": "#00ff00",
                             "iTblCellNumberDecimals9": "0",
                             "iTblCellNumberDecimalSeperator9": ",",
                             "iTblCellNumberThousandSeperator9": ".",
                             "iTblTextAlign9": "right",
                             "iColShow10": "true",
                             "iTblCellFormat10": "number",
                             "iTblCellImageSize10": "200",
                             "iTblCellBooleanCheckbox10": "false",
                             "iTblCellBooleanColorFalse10": "#ff0000",
                             "iTblCellBooleanColorTrue10": "#00ff00",
                             "iTblCellNumberDecimals10": "0",
                             "iTblCellNumberDecimalSeperator10": ",",
                             "iTblCellNumberThousandSeperator10": ".",
                             "iTblTextAlign10": "right",
                             "iColShow11": "true",
                             "iTblCellFormat11": "number",
                             "iTblCellImageSize11": "200",
                             "iTblCellBooleanCheckbox11": "false",
                             "iTblCellBooleanColorFalse11": "#ff0000",
                             "iTblCellBooleanColorTrue11": "#00ff00",
                             "iTblCellNumberDecimals11": "0",
                             "iTblCellNumberDecimalSeperator11": ",",
                             "iTblCellNumberThousandSeperator11": ".",
                             "iTblTextAlign11": "right",
                             "iColShow12": "true",
                             "iTblCellFormat12": "number",
                             "iTblCellImageSize12": "200",
                             "iTblCellBooleanCheckbox12": "false",
                             "iTblCellBooleanColorFalse12": "#ff0000",
                             "iTblCellBooleanColorTrue12": "#00ff00",
                             "iTblCellNumberDecimals12": "0",
                             "iTblCellNumberDecimalSeperator12": ",",
                             "iTblCellNumberThousandSeperator12": ".",
                             "iTblTextAlign12": "right",
                             "iColShow13": "true",
                             "iTblCellFormat13": "number",
                             "iTblCellImageSize13": "200",
                             "iTblCellBooleanCheckbox13": "false",
                             "iTblCellBooleanColorFalse13": "#ff0000",
                             "iTblCellBooleanColorTrue13": "#00ff00",
                             "iTblCellNumberDecimals13": "0",
                             "iTblCellNumberDecimalSeperator13": ",",
                             "iTblCellNumberThousandSeperator13": ".",
                             "iTblTextAlign13": "right",
                             "iColShow14": "true",
                             "iTblCellFormat14": "normal",
                             "iTblCellImageSize14": "200",
                             "iTblCellBooleanCheckbox14": "false",
                             "iTblCellBooleanColorFalse14": "#ff0000",
                             "iTblCellBooleanColorTrue14": "#00ff00",
                             "iTblCellNumberDecimals14": "0",
                             "iTblCellNumberDecimalSeperator14": ",",
                             "iTblCellNumberThousandSeperator14": ".",
                             "iTblTextAlign14": "center",
                             "iColShow15": "true",
                             "iTblCellFormat15": "normal",
                             "iTblCellImageSize15": "200",
                             "iTblCellBooleanCheckbox15": "false",
                             "iTblCellBooleanColorFalse15": "#ff0000",
                             "iTblCellBooleanColorTrue15": "#00ff00",
                             "iTblCellNumberDecimals15": "0",
                             "iTblCellNumberDecimalSeperator15": ",",
                             "iTblCellNumberThousandSeperator15": ".",
                             "iTblTextAlign15": "left",
                             "iTblCellDatetimeFormat1": "d.m.y",
                             "iColName4": "EWZ",
                             "iColName5": "Fälle",
                             "iColName6": "Fälle kum",
                             "iColName7": "Fälle7",
                             "iColName8": "Inzidenz7",
                             "iColName9": "Tote",
                             "iColName10": "Tote kum",
                             "iColName11": "Geheilt",
                             "iColName12": "Geheilt kum",
                             "iTblFixedHead": true,
                             "iHorScroll": false,
                             "iColWidth1": "80px",
                             "iColName1": "Datum",
                             "iColWidth2": "100px",
                             "iColWidth3": "60px",
                             "iColWidth4": "80px",
                             "iColWidth5": "60px",
                             "iColWidth6": "90px",
                             "iColWidth7": "70px",
                             "iColWidth8": "90px",
                             "iColWidth9": "60px",
                             "iColWidth10": "90px",
                             "iColWidth11": "80px",
                             "iColWidth12": "140px",
                             "iTblCellThresholdsDp1": "",
                             "iTblCellThresholdsText1": "",
                             "iTblCellThresholdsDp2": "",
                             "iTblCellThresholdsText2": "",
                             "iTblCellThresholdsDp3": "",
                             "iTblCellThresholdsText3": "",
                             "iTblCellThresholdsDp4": "",
                             "iTblCellThresholdsText4": "",
                             "iTblCellThresholdsDp5": "",
                             "iTblCellThresholdsText5": "",
                             "iTblCellThresholdsDp6": "",
                             "iTblCellThresholdsText6": "",
                             "iTblCellThresholdsDp7": "",
                             "iTblCellThresholdsText7": "",
                             "iTblCellThresholdsDp8": "",
                             "iTblCellThresholdsText8": "",
                             "iTblCellThresholdsDp9": "",
                             "iTblCellThresholdsText9": "",
                             "iTblCellThresholdsDp10": "",
                             "iTblCellThresholdsText10": "",
                             "iTblCellThresholdsDp11": "",
                             "iTblCellThresholdsText11": "",
                             "iTblCellThresholdsDp12": "",
                             "iTblCellThresholdsText12": "",
                             "iTblCellThresholdsDp13": "",
                             "iTblCellThresholdsText13": "",
                             "iTblCellThresholdsDp14": "",
                             "iTblCellThresholdsText14": "",
                             "iColWidth13": "90",
                             "iColName13": "Aktiv",
                             "iColName14": "Upd",
                             "iColAttr14": "Upd",
                             "iColAttr1": ""
                           },
                           "style": {
                             "left": "10px",
                             "top": "610px",
                             "height": "191px",
                             "width": "1462px",
                             "z-index": "4"
                           },
                           "widgetSet": "vis-inventwo"
                         },
                         "e00005": {
                           "tpl": "tplVis-materialdesign-Button-State",
                           "data": {
                             "oid": "0_userdata.0.Corona.AT.Faelle.Refresh",
                             "g_fixed": false,
                             "g_visibility": false,
                             "g_css_font_text": true,
                             "g_css_background": true,
                             "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",
                             "buttonStyle": "unelevated",
                             "vibrateOnMobilDevices": "50",
                             "iconPosition": "left",
                             "autoLockAfter": "10",
                             "lockFilterGrayscale": "30",
                             "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,
                             "buttontext": "Refresh",
                             "colorPress": "#ff0000",
                             "labelWidth": "0",
                             "exportData": "true",
                             "value": "true",
                             "textFontFamily": "{vis-materialdesign.0.fonts.button.text}",
                             "textFontSize": "{vis-materialdesign.0.fontSizes.button.text}",
                             "lockIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.lock_icon;dark:vis-materialdesign.0.colors.dark.button.lock_icon; mode === \"true\" ? dark : light}",
                             "mdwButtonPrimaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.primary;dark:vis-materialdesign.0.colors.dark.button.default.primary; mode === \"true\" ? dark : light}",
                             "mdwButtonSecondaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.secondary;dark:vis-materialdesign.0.colors.dark.button.default.secondary; mode === \"true\" ? dark : light}",
                             "image": "pencil"
                           },
                           "style": {
                             "left": "10px",
                             "top": "10px",
                             "width": "71px",
                             "height": "29px",
                             "color": "#FF0000",
                             "background-color": "#000000",
                             "z-index": "3"
                           },
                           "widgetSet": "materialdesign"
                         },
                         "e00006": {
                           "tpl": "i-vis-universal",
                           "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": true,
                             "visibility-cond": "==",
                             "visibility-val": 1,
                             "visibility-groups-action": "hide",
                             "iUniversalWidgetType": "Navigation",
                             "iValueType": "boolean",
                             "iStateResponseTime": "0",
                             "iStateResetValueTime": "0",
                             "iNavWait": "99",
                             "iButtonCol": "#333333",
                             "iButtonActive": "#455618",
                             "iOpacityBack": "1",
                             "iCornerRadiusUL": "0",
                             "iCornerRadiusUR": "0",
                             "iCornerRadiusLR": "0",
                             "iCornerRadiusLL": "0",
                             "iContentFlexDirection": "vertical",
                             "iContentVertAlign": "iSpace-between",
                             "iContentOrder": "orderImgText",
                             "iOpacityCtn": "1",
                             "iTextColor": "#000000",
                             "iTextSize": "16",
                             "iTextAlign": "iCenter",
                             "iTextSpaceTop": "20",
                             "iTextSpaceBottom": "0",
                             "iTextSpaceLeft": "0",
                             "iTextSpaceRight": "0",
                             "iIconSize": "35",
                             "iImgAlign": "iCenter",
                             "iImgSpaceTop": "5",
                             "iImgSpaceBottom": "0",
                             "iImgSpaceLeft": "0",
                             "iImgSpaceRight": "0",
                             "iImgRotation": "0",
                             "iImgBlinkFalse": "0",
                             "iImgBlinkTrue": "0",
                             "iImgColorFalse": "",
                             "iImgColorTrue": "",
                             "iImgColorFalseFilter": "",
                             "iImgColorTrueFilter": "",
                             "iShadowXOffset": "2",
                             "iShadowYOffset": "2",
                             "iShadowBlur": "2",
                             "iShadowSpread": "1",
                             "iShadowColor": "#111111",
                             "iShadowColorActive": "#111111",
                             "iShadowInnerXOffset": "0",
                             "iShadowInnerYOffset": "0",
                             "iShadowInnerBlur": "0",
                             "iShadowInnerSpread": "0",
                             "iShadowInnerColor": "#111111",
                             "iShadowInnerColorActive": "#111111",
                             "iBorderSize": "0",
                             "iBorderStyle": "none",
                             "iBorderColor": "#ffffff",
                             "iBorderColorActive": "#ffffff",
                             "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,
                             "nav_view": "Ampel",
                             "iTextFalse": "Ampel",
                             "value": "Ampel",
                             "iTextTrue": "Ampel",
                             "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,
                             "iValueComparison": "equal",
                             "iButtonColHover": "",
                             "iShadowColorHover": "",
                             "iShadowInnerColorHover": "",
                             "iBorderColorHover": "",
                             "iPopUpBackground": "#666666",
                             "iPopUpPreventClickOutside": "",
                             "iPopUpShowTitle": "true",
                             "iPopUpTitle": "",
                             "iPopUpTitleColor": "#ffffff",
                             "iPopUpCloseBtnColor": "#dc2e2e",
                             "iPopUpWidth": "800px",
                             "iPopUpHeight": "500px",
                             "iPopUpPosition": "center",
                             "iPopUpCornerRadiusUL": "12",
                             "iPopUpCornerRadiusUR": "0",
                             "iPopUpCornerRadiusLR": "12",
                             "iPopUpCornerRadiusLL": "0",
                             "iPopUpShadowXOffset": "2",
                             "iPopUpShadowYOffset": "2",
                             "iPopUpShadowBlur": "2",
                             "iPopUpShadowSpread": "1",
                             "iPopUpShadowColor": "#111111",
                             "iPopUpHeightTitle": "50",
                             "iPopUpTitleSize": "28",
                             "iPopUpPositionX": "0",
                             "iPopUpPositionY": "0",
                             "iPopUpCloseAfterSeconds": "0"
                           },
                           "style": {
                             "left": "80px",
                             "top": "10px",
                             "width": "65px",
                             "height": "27px",
                             "z-index": "3"
                           },
                           "widgetSet": "vis-inventwo"
                         },
                         "e00007": {
                           "tpl": "tplVis-materialdesign-Select",
                           "data": {
                             "oid": "0_userdata.0.Corona.AT.Faelle.GKZ",
                             "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",
                             "inputType": "text",
                             "vibrateOnMobilDevices": "50",
                             "inputLayout": "regular",
                             "inputAlignment": "left",
                             "inputTextFontFamily": "{vis-materialdesign.0.fonts.input.text}",
                             "inputTextFontSize": "{vis-materialdesign.0.fontSizes.input.text}",
                             "inputLabelFontFamily": "{vis-materialdesign.0.fonts.input.label}",
                             "inputLabelFontSize": "{vis-materialdesign.0.fontSizes.input.label}",
                             "inputAppendixFontSize": "{vis-materialdesign.0.fontSizes.input.appendix}",
                             "inputAppendixFontFamily": "{vis-materialdesign.0.fonts.input.appendix}",
                             "showInputMessageAlways": false,
                             "inputMessageFontFamily": "{vis-materialdesign.0.fonts.input.message}",
                             "inputMessageFontSize": "{vis-materialdesign.0.fontSizes.input.message}",
                             "showInputCounter": false,
                             "inputCounterFontSize": "{vis-materialdesign.0.fontSizes.input.counter}",
                             "inputCounterFontFamily": "{vis-materialdesign.0.fonts.input.counter}",
                             "clearIconShow": false,
                             "listDataMethod": "jsonStringObject",
                             "countSelectItems": "0",
                             "listPosition": "auto",
                             "showSelectedIcon": "no",
                             "listItemFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.text}",
                             "listItemFont": "{vis-materialdesign.0.fonts.input.dropdown.text}",
                             "listItemSubFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.subText}",
                             "listItemSubFont": "{vis-materialdesign.0.fonts.input.dropdown.subText}",
                             "showValue": false,
                             "listItemValueFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.value}",
                             "listItemValueFont": "{vis-materialdesign.0.fonts.input.dropdown.value}",
                             "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,
                             "valueList": "",
                             "valueListLabels": "",
                             "value0": "",
                             "label0": "",
                             "value1": "318",
                             "label1": "Neunkirchen",
                             "value2": "900",
                             "label2": "Wien",
                             "value3": "3",
                             "label3": "Berlin",
                             "value4": "4",
                             "label4": "Deutschland",
                             "openOnClear": true,
                             "listItemHeight": "1",
                             "listPositionOffset": true,
                             "inputLabelText": "",
                             "inputLabelColor": "",
                             "listIcon0": "",
                             "listIcon1": "",
                             "inputLayoutBackgroundColor": "#eee9c4",
                             "listItemBackgroundColor": "#eee9c4",
                             "listItemFontColor": "#000000",
                             "listItemBackgroundHoverColor": "#ff0000",
                             "listItemBackgroundSelectedColor": "#000000",
                             "value5": "5",
                             "label5": "Frankfurt",
                             "value6": "6",
                             "label6": "München",
                             "value7": "7",
                             "label7": "Köln",
                             "value8": "8",
                             "label8": "Hamburg",
                             "listIconSize": "20",
                             "inputLayoutBorderColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border;dark:vis-materialdesign.0.colors.dark.input.border; mode === \"true\" ? dark : light}",
                             "inputLayoutBorderColorHover": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_hover;dark:vis-materialdesign.0.colors.dark.input.border_hover; mode === \"true\" ? dark : light}",
                             "inputLayoutBorderColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_selected;dark:vis-materialdesign.0.colors.dark.input.border_selected; mode === \"true\" ? dark : light}",
                             "inputTextColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.text;dark:vis-materialdesign.0.colors.dark.input.text; mode === \"true\" ? dark : light}",
                             "inputLabelColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.label_selected;dark:vis-materialdesign.0.colors.dark.input.label_selected; mode === \"true\" ? dark : light}",
                             "inputAppendixColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.appendix;dark:vis-materialdesign.0.colors.dark.input.appendix; mode === \"true\" ? dark : light}",
                             "inputMessageColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.message;dark:vis-materialdesign.0.colors.dark.input.message; mode === \"true\" ? dark : light}",
                             "inputCounterColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.counter;dark:vis-materialdesign.0.colors.dark.input.counter; mode === \"true\" ? dark : light}",
                             "collapseIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.icon_collapse;dark:vis-materialdesign.0.colors.dark.input.icon_collapse; mode === \"true\" ? dark : light}",
                             "listItemRippleEffectColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.effect;dark:vis-materialdesign.0.colors.dark.input.menu.effect; mode === \"true\" ? dark : light}",
                             "listIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.icon;dark:vis-materialdesign.0.colors.dark.input.menu.icon; mode === \"true\" ? dark : light}",
                             "listItemSubFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.subText;dark:vis-materialdesign.0.colors.dark.input.menu.subText; mode === \"true\" ? dark : light}",
                             "listItemValueFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.value;dark:vis-materialdesign.0.colors.dark.input.menu.value; mode === \"true\" ? dark : light}",
                             "jsonStringObject": "{0_userdata.0.Corona.AT.Faelle.GKZBezirke}",
                             "valueListIcons": "",
                             "clearIcon": "",
                             "clearIconColor": "#mdwTheme:vis-materialdesign.0.colors.input.icon_clear"
                           },
                           "style": {
                             "left": "530px",
                             "top": "320px",
                             "width": "198px",
                             "height": "31px",
                             "z-index": "1"
                           },
                           "widgetSet": "materialdesign"
                         },
                         "e00008": {
                           "tpl": "tplVis-materialdesign-Chart-JSON",
                           "data": {
                             "oid": "0_userdata.0.Corona.AT.Faelle.chart4",
                             "g_fixed": false,
                             "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,
                             "chartType": "line",
                             "showLegend": true,
                             "legendPosition": "top",
                             "legendPointStyle": true,
                             "showTooltip": "true",
                             "tooltipMode": "nearest",
                             "tooltipShowColorBox": "true",
                             "xAxisPosition": "bottom",
                             "xAxisValueDistanceToAxis": "10",
                             "xAxisShowAxis": true,
                             "xAxisShowAxisLabels": true,
                             "xAxisShowGridLines": true,
                             "xAxisShowTicks": true,
                             "xAxisMinRotation": "45",
                             "xAxisMaxRotation": "60",
                             "yAxisValueDistanceToAxis": "6",
                             "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,
                             "xAxisMaxLabel": "15",
                             "xAxisTitle": "",
                             "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                             "axisLabelAutoSkip": true,
                             "xAxisOffsetGridLines": false,
                             "xAxisTickLength": "12",
                             "xAxisZeroLineWidth": "0.8",
                             "xAxisValueFontSize": "14",
                             "xAxisTitleColor": "#0e0c0c",
                             "xAxisValueLabelColor": "#000000",
                             "xAxisGridLinesColor": "#ffffff",
                             "xAxisGridLinesWitdh": "0.3",
                             "xAxisZeroLineColor": "#ff0000",
                             "yAxisValueFontSize": "12",
                             "yAxisValueLabelColor": "#000000",
                             "colorScheme": "scrounger.pie",
                             "disableHoverEffects": true,
                             "barWidth": "6",
                             "backgroundColor": "#eee9c4",
                             "chartAreaBackgroundColor": "#000000",
                             "chartPaddingTop": "10",
                             "chartPaddingLeft": "10",
                             "chartPaddingRight": "10",
                             "chartPaddingBottom": "10",
                             "globalColor": "#fe972f",
                             "animationDuration": "",
                             "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                             "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                             "legendFontColor": "#000000",
                             "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                             "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                             "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                             "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                             "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                             "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                             "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                             "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                             "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                             "xAxisTicksSource": "auto",
                             "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                             "xAxisDistanceBetweenTicks": "10",
                             "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                             "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                             "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                             "xAxisOffset": false,
                             "xAxisLabelUseTodayYesterday": false,
                             "visibility-cond": "==",
                             "visibility-val": 1,
                             "visibility-groups-action": "hide",
                             "legendPadding": "20",
                             "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                             "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                             "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                             "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                             "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                             "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                             "tooltipPosition": "nearest",
                             "tooltipBodyAlignment": "left"
                           },
                           "style": {
                             "left": "730px",
                             "top": "310px",
                             "width": "720px",
                             "height": "300px",
                             "z-index": "1",
                             "border-style": "solid",
                             "border-width": "1px",
                             "border-color": "red"
                           },
                           "widgetSet": "materialdesign"
                         }
                       },
                       "name": "AT",
                       "filterList": []
                      }
                      

                      iobroker läuft unter Docker auf QNAP TS-451+
                      SkriptRecovery: https://forum.iobroker.net/post/930558

                      sigi234S bergjetB 2 Antworten Letzte Antwort
                      0
                      • F fastfoot

                        @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

                        Komisch, jetzt kommt eine Fehlermeldung:

                        die haben umgestellt auf UTF-8 BOM, das führt zu einem falschen Property Time. Hier mein neustes angepasstes Skript, welches mit UTF-8 als auch UTF-8 BOM zurecht kommt

                        /**
                        * Zweck:           Covid-19 Fälle Österreich
                        * Datum:           26.07.2021
                        * Author:          @fastfoot
                        * Forum:           https://forum.iobroker.net/topic/36632/corona-ampel-%C3%B6sterreich-in-vis-anzeigen/173
                        * 
                        * Voraussetzung:   Die npm-Module axios und csvjson müssen in der JS-Instanz eingetragen werden
                        * 
                        */
                        
                        /**
                        *                                      Persönliche Einstellungen
                        */
                        const dbg = false;                                      // für Fehlersuche
                        const fileName = 'CovidFaelle_Timeline_GKZ.csv';        // Dateiname
                        const filePath = '/opt/iobroker/iobroker-data/files/Downloads';   // Dateipfad
                        const myBezirke = [
                           {GKZ: 320, Name: 'Scheibbs'},
                           {GKZ: 802, Name: 'Bregenz'},
                           {GKZ: 401, Name: 'Linz'},
                           {GKZ: 900, Name: 'Wien'},
                           {GKZ: 706, Name: 'Landeck'}
                        ]
                        const mySchedule = '30 14 * * *';                       // täglicher Download der Daten um 14:30Uhr
                        const idBase = '0_userdata.0.Corona.AT.Faelle';         // Ort für Datenpunkte (die VIS ist hierauf eingestellt!)
                        
                        /**
                        *                                          Ab hier nichts abändern!
                        */
                        const axios = require('axios').default;                 // In der JS-Instanz unter Module eintragen
                        const csvjson = require('csvjson');                     // In der JS-Instanz unter Module eintragen
                        const fs = require('fs');
                        const Path = require('path');
                        const idJson = `${idBase}.json`;
                        const idChart1 = `${idBase}.chart1`;
                        const idChart2 = `${idBase}.chart2`;
                        const idChart3 = `${idBase}.chart3`;
                        const idChart4 = `${idBase}.chart4`;
                        const idGKZ = `${idBase}.GKZ`;
                        const idGKZBezirke = `${idBase}.GKZBezirke`;
                        const idRefresh = `${idBase}.Refresh`;
                        const timeFormats = {
                           millisecond: "H:mm:ss.SSS",
                           second: "H:mm:ss",
                           minute: "H:mm",
                           hour: "dd.[\\n]H:mm",
                           day: "dd[\\n]DD.MM",
                           week: "dd[\\n]DD.MM",
                           month: "MMM YY",
                           quarter: "[Q]Q - YYYY",
                           year: "YYYY"
                        };
                        const chartMonthsToShow = 12;
                        
                        async function init() {
                           let json = [];
                           let firstRun = await createDatapoints();
                           for(let i = 0; i < myBezirke.length; i++) {
                               json.push({
                                   "text": myBezirke[i].Name,// + '(' + myBezirke[i].GKZ + ')',
                                   //"subText": "GKZ: " + myBezirke[i].GKZ,
                                   "value": myBezirke[i].GKZ,
                                   "icon": "numeric-" + (i+1)
                                   //"iconColor": "white",
                                   //"iconColorSelectedTextField": "red"
                               })
                           }
                           if(dbg) log(JSON.stringify(json,null,4));
                           await setStateAsync(idGKZBezirke, JSON.stringify(json,null,4));
                           getData(firstRun);
                        }
                        
                        // main routine
                        async function getData(refresh = false) {
                           let data, err;
                           const url = 'https://covid19-dashboard.ages.at/data/CovidFaelle_Timeline_GKZ.csv';
                           if(!fs.existsSync(filePath)) return log('Dateipfad existiert nicht!','error');
                           if(refresh) await getCSVFile(url);
                           data = fs.readFileSync(Path.resolve(filePath, '', fileName), 'utf8');
                           data = data.replace(/^\uFEFF/,''); //remove BOM
                           let json = csvjson.toObject(data, {delimiter : ';'});
                           let js = [];
                           let GKZ = getState(idGKZ).val || myBezirke[0].GKZ;
                           if(dbg) log(GKZ)
                           json.forEach((record) => {
                               if (record.GKZ == GKZ) {
                                   let t = record.Time.replace(/(\d+).(\d+).(\d+)/,'$3-$2-$1');
                                   record.Time = getDateObject(t);//.getTime();
                                   record.SiebenTageInzidenzFaelle = record.SiebenTageInzidenzFaelle.replace(',','.');
                                   record.Aktiv = record.AnzahlFaelleSum - record.AnzahlTotSum - record.AnzahlGeheiltSum;
                                   record.Upd = formatDate(Date.now(),'hh:mm');
                                   js.push(record);
                               }
                           })
                           js.sort((a,b) => a.Time < b.Time ? 1 : -1)
                           setState(idJson, JSON.stringify(js,null,4));
                           createChart(js);
                        }
                        
                        // create chart data
                        function createChart(data) {
                           let now = new Date();
                           now.setMonth(now.getMonth() - chartMonthsToShow + 1);
                           const startMonth = now.getMonth();
                           const startYear = now.getFullYear();
                           now.setMonth(now.getMonth() + chartMonthsToShow);
                           const endMonth = now.getMonth();
                           const endYear = now.getFullYear();
                           const startTime = new Date(startYear,startMonth,1,0,0,0,0).getTime();
                           const endTime = new Date(endYear,endMonth,1,0,0,0,0).getTime();
                           let chartAll = {}, chartTote = {}, chartAktiv = {}, chartInzidenz = {},Tote = [],Aktiv = [], Fälle = [], Genesen = [], time, axisLabels = [];
                           let Inzidenz = [];
                           Tote.push({t: startTime, y: null});
                           Inzidenz.push({t: startTime, y: null});
                           Aktiv.push({t: startTime, y: null});
                           Fälle.push({t: startTime, y: null});
                           Genesen.push({t: startTime, y: null});
                        
                           data.forEach((record,i) => {
                               time = getDateObject(record.Time).getTime();
                               if (time >= startTime && time <= endTime){
                                   Tote.push({t: time, y: record.AnzahlTotSum})
                                   Inzidenz.push({t: time, y: Math.max(record.SiebenTageInzidenzFaelle.replace(',','.'),0)})
                                   Aktiv.push({t: time, y: record.Aktiv})
                                   Fälle.push({t: time, y: record.AnzahlFaelleSum})
                                   Genesen.push({t: time, y: record.AnzahlGeheiltSum})
                               }
                           })
                           Tote.push({t: endTime, y: null});
                           Inzidenz.push({t: endTime, y: null});
                           Aktiv.push({t: endTime, y: null});
                           Fälle.push({t: endTime, y: null});
                           Genesen.push({t: endTime, y: null});
                           chartAll = {
                               //axisLabels: axisLabels,
                               graphs: [
                                   {
                                       legendText: 'Tote',
                                       data: Tote,
                                       type: 'line',
                                       color: '#ff0000',
                                       displayOrder: 3,
                                       xAxis_time_unit: 'month',
                                       xAxis_bounds: 'ticks', // ticks, data
                                       xAxis_timeFormats: timeFormats,
                                       line_pointSize: 0.2,
                                       line_Thickness: 1,
                                       datalabel_show: !true,
                                       datalabel_steps: 300,
                                       yAxis_id: 0,
                                       //yAxis_min: yMin,
                                       //yAxis_max: yMax,
                                       yAxis_gridLines_show: true,
                                       yAxis_gridLines_color: '#ffffff',
                                       yAxis_gridLines_lineWidth: 0.3,
                                       yAxis_zeroLineWidth: 0.4,
                                   }, {
                                       legendText: 'Aktive Fälle',
                                       data: Aktiv,
                                       type: 'line',
                                       color: '#00ff00',
                                       displayOrder: 2,
                                       xAxis_time_unit: 'month',
                                       xAxis_bounds: 'ticks', // ticks, data
                                       xAxis_timeFormats: timeFormats,
                                       line_pointSize: 0.2,
                                       line_Thickness: 1,
                                       datalabel_show: !true,
                                       datalabel_steps: 300,
                                       yAxis_id: 0,
                                       //yAxis_min: yMin,
                                       //yAxis_max: yMax,
                                       yAxis_gridLines_show: true,
                                       yAxis_gridLines_color: '#ffffff',
                                       yAxis_gridLines_lineWidth: 0.3,
                                       yAxis_zeroLineWidth: 0.4,
                                   }, {
                                       legendText: 'Infektionen gesamt',
                                       data: Fälle,
                                       type: 'line',
                                       color: '#ffffff',
                                       displayOrder: 0,
                                       xAxis_time_unit: 'month',
                                       xAxis_bounds: 'ticks', // ticks, data
                                       xAxis_timeFormats: timeFormats,
                                       line_pointSize: 0.2,
                                       line_Thickness: 1,
                                       datalabel_show: !true,
                                       datalabel_steps: 300,
                                       yAxis_id: 0,
                                       //yAxis_min: yMin,
                                       //yAxis_max: yMax,
                                       yAxis_gridLines_show: true,
                                       yAxis_gridLines_color: '#ffffff',
                                       yAxis_gridLines_lineWidth: 0.3,
                                       yAxis_zeroLineWidth: 0.4,
                                   }, {
                                       legendText: 'Genesen',
                                       data: Genesen,
                                       type: 'line',
                                       color: '#ffff00',
                                       displayOrder: 1,
                                       xAxis_time_unit: 'month',
                                       xAxis_bounds: 'ticks', // ticks, data
                                       xAxis_timeFormats: timeFormats,
                                       line_pointSize: 0.2,
                                       line_Thickness: 1,
                                       datalabel_show: !true,
                                       datalabel_steps: 300,
                                       yAxis_id: 0,
                                       //yAxis_min: 0,
                                       //yAxis_max: 1200,
                                       yAxis_gridLines_show: true,
                                       yAxis_gridLines_color: '#ffffff',
                                       yAxis_gridLines_lineWidth: 0.3,
                                       yAxis_zeroLineWidth: 0.4,
                                   }
                        
                               ]
                           }
                        
                           chartInzidenz = {
                               //axisLabels: axisLabels,
                               graphs: [
                                   {
                                       legendText: 'Inzidenz 7 Tage',
                                       data: Inzidenz,
                                       type: 'line',
                                       color: '#00ffff',
                                       xAxis_time_unit: 'month',
                                       xAxis_bounds: 'ticks', // ticks, data
                                       xAxis_timeFormats: timeFormats,
                                       line_pointSize: 0,
                                       line_Thickness: 1,
                                       datalabel_show: !true,
                                       datalabel_steps: 100,
                                       yAxis_id: 0,
                                       yAxis_min: 0,
                                       yAxis_max: 1200,
                                       yAxis_gridLines_show: true,
                                       yAxis_gridLines_color: '#ffffff',
                                       yAxis_gridLines_lineWidth: 0.3,
                                       yAxis_zeroLineWidth: 0.4,
                                   }
                               ]
                           }
                        
                           chartTote = {
                               //axisLabels: axisLabels,
                               graphs: [
                                   {
                                       legendText: 'Tote',
                                       data: Tote,
                                       type: 'line',
                                       color: '#ff0000',
                                       xAxis_time_unit: 'month',
                                       xAxis_bounds: 'ticks', // ticks, data
                                       xAxis_timeFormats: timeFormats,
                                       line_pointSize: 0,
                                       line_Thickness: 1,
                                       datalabel_show: !true,
                                       datalabel_steps: 100,
                                       yAxis_id: 0,
                                       yAxis_gridLines_show: true,
                                       yAxis_gridLines_color: '#ffffff',
                                       yAxis_gridLines_lineWidth: 0.3,
                                       yAxis_zeroLineWidth: 0.4,
                                   }
                               ]
                           }
                        
                           chartAktiv = {
                               //axisLabels: axisLabels,
                               graphs: [
                                   {
                                       legendText: 'Aktiv',
                                       data: Aktiv,
                                       type: 'line',
                                       color: '#00ff00',
                                       xAxis_time_unit: 'month',
                                       xAxis_bounds: 'ticks', // ticks, data
                                       xAxis_timeFormats: timeFormats,
                                       line_pointSize: 0,
                                       line_Thickness: 1,
                                       datalabel_show: !true,
                                       datalabel_steps: 100,
                                       yAxis_id: 0,
                                       yAxis_gridLines_show: true,
                                       yAxis_gridLines_color: '#ffffff',
                                       yAxis_gridLines_lineWidth: 0.3,
                                       yAxis_zeroLineWidth: 0.4,
                                   }
                               ]
                           }
                        
                           setState(idChart1,JSON.stringify(chartAll,null,4))
                           setState(idChart2,JSON.stringify(chartInzidenz,null,4))
                           setState(idChart3,JSON.stringify(chartTote,null,4))
                           setState(idChart4,JSON.stringify(chartAktiv,null,4))
                        }
                        
                        // create data points if not existing
                        async function createDatapoints() {
                           let dp,
                               idKey,
                               firstRun = false;
                           
                           const stateAttributes = {
                               "json":{"name":"Json Tabelle","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":""},
                               "Refresh":{"name":"Refresh","type":"boolean","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":false},
                               "chart1":{"name":"Chart 1","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                               "chart2":{"name":"Chart 2","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                               "chart3":{"name":"Chart 3","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                               "chart4":{"name":"Chart 4","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                               "GKZ":{"name":"VIS Select Auswahl","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "900"},
                               //"GKZValues":{"name":"VIS Select GKZ-Liste","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "900"},
                               "GKZBezirke":{"name":"VIS Select Bezirke","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""}
                           }
                        
                           for(let key in stateAttributes) {
                        
                               idKey = idBase + '.' + key;
                        
                               if (!(await existsStateAsync(idKey))) {
                                   dp = stateAttributes[key];
                                   firstRun = true;
                                   await createStateAsync(idKey, dp);
                               }
                           }
                        
                           return firstRun;
                        
                        }
                        
                        // download and save csv file
                        async function getCSVFile (url) {  
                           const writer = fs.createWriteStream(Path.resolve(filePath, '', fileName));
                        
                           const response = await axios({
                               url: url,
                               method: 'GET',
                               responseType: 'stream'
                           })
                           response.data.pipe(writer);
                        
                           return new Promise((resolve, reject) => {
                               writer.on('finish', resolve)
                               //writer.on('error', reject)
                               writer.on('error', ()=> writer.end())
                           })
                        }
                        
                        schedule(mySchedule, () => {getData(true)});
                        
                        on({id: idRefresh, change: 'any'},() => {getData(true)})
                        
                        on({id: idGKZ, change: 'ne'},() => {getData()})
                        
                        init();
                        
                        


                        {
                         "settings": {
                           "style": {
                             "background_class": ""
                           },
                           "theme": "redmond",
                           "sizex": "",
                           "sizey": "",
                           "gridSize": "10",
                           "snapType": 2
                         },
                         "widgets": {
                           "e00001": {
                             "tpl": "tplVis-materialdesign-Chart-JSON",
                             "data": {
                               "oid": "0_userdata.0.Corona.AT.Faelle.chart1",
                               "g_fixed": false,
                               "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,
                               "chartType": "line",
                               "showLegend": true,
                               "legendPosition": "top",
                               "legendPointStyle": true,
                               "showTooltip": "true",
                               "tooltipMode": "nearest",
                               "tooltipShowColorBox": "true",
                               "xAxisPosition": "bottom",
                               "xAxisValueDistanceToAxis": "10",
                               "xAxisShowAxis": true,
                               "xAxisShowAxisLabels": true,
                               "xAxisShowGridLines": true,
                               "xAxisShowTicks": true,
                               "xAxisMinRotation": "45",
                               "xAxisMaxRotation": "60",
                               "yAxisValueDistanceToAxis": "6",
                               "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,
                               "xAxisMaxLabel": "15",
                               "xAxisTitle": "",
                               "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                               "axisLabelAutoSkip": true,
                               "xAxisOffsetGridLines": false,
                               "xAxisTickLength": "12",
                               "xAxisZeroLineWidth": "0.8",
                               "xAxisValueFontSize": "14",
                               "xAxisTitleColor": "#0e0c0c",
                               "xAxisValueLabelColor": "#000000",
                               "xAxisGridLinesColor": "#ffffff",
                               "xAxisGridLinesWitdh": "0.3",
                               "xAxisZeroLineColor": "#ff0000",
                               "yAxisValueFontSize": "12",
                               "yAxisValueLabelColor": "#000000",
                               "colorScheme": "scrounger.pie",
                               "disableHoverEffects": true,
                               "barWidth": "6",
                               "backgroundColor": "#eee9c4",
                               "chartAreaBackgroundColor": "#000000",
                               "chartPaddingTop": "10",
                               "chartPaddingLeft": "10",
                               "chartPaddingRight": "10",
                               "chartPaddingBottom": "10",
                               "globalColor": "#fe972f",
                               "animationDuration": "",
                               "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                               "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                               "legendFontColor": "#000000",
                               "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                               "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                               "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                               "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                               "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                               "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                               "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                               "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                               "xAxisTicksSource": "auto",
                               "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                               "xAxisDistanceBetweenTicks": "10",
                               "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                               "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                               "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                               "xAxisOffset": false,
                               "xAxisLabelUseTodayYesterday": false,
                               "visibility-cond": "==",
                               "visibility-val": 1,
                               "visibility-groups-action": "hide",
                               "legendPadding": "20",
                               "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                               "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                               "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                               "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                               "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                               "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                               "tooltipPosition": "nearest",
                               "tooltipBodyAlignment": "left"
                             },
                             "style": {
                               "left": "10px",
                               "top": "10px",
                               "width": "720px",
                               "height": "300px",
                               "z-index": "1",
                               "border-style": "solid",
                               "border-width": "1px",
                               "border-color": "red"
                             },
                             "widgetSet": "materialdesign"
                           },
                           "e00002": {
                             "tpl": "tplVis-materialdesign-Chart-JSON",
                             "data": {
                               "oid": "0_userdata.0.Corona.AT.Faelle.chart2",
                               "g_fixed": false,
                               "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,
                               "chartType": "line",
                               "showLegend": true,
                               "legendPosition": "top",
                               "legendPointStyle": true,
                               "showTooltip": "true",
                               "tooltipMode": "nearest",
                               "tooltipShowColorBox": "true",
                               "xAxisPosition": "bottom",
                               "xAxisValueDistanceToAxis": "10",
                               "xAxisShowAxis": true,
                               "xAxisShowAxisLabels": true,
                               "xAxisShowGridLines": true,
                               "xAxisShowTicks": true,
                               "xAxisMinRotation": "45",
                               "xAxisMaxRotation": "60",
                               "yAxisValueDistanceToAxis": "6",
                               "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,
                               "xAxisMaxLabel": "15",
                               "xAxisTitle": "",
                               "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                               "axisLabelAutoSkip": true,
                               "xAxisOffsetGridLines": false,
                               "xAxisTickLength": "12",
                               "xAxisZeroLineWidth": "0.8",
                               "xAxisValueFontSize": "14",
                               "xAxisTitleColor": "#0e0c0c",
                               "xAxisValueLabelColor": "#000000",
                               "xAxisGridLinesColor": "#ffffff",
                               "xAxisGridLinesWitdh": "0.3",
                               "xAxisZeroLineColor": "#ff0000",
                               "yAxisValueFontSize": "12",
                               "yAxisValueLabelColor": "#000000",
                               "colorScheme": "scrounger.pie",
                               "disableHoverEffects": true,
                               "barWidth": "6",
                               "backgroundColor": "#eee9c4",
                               "chartAreaBackgroundColor": "#000000",
                               "chartPaddingTop": "10",
                               "chartPaddingLeft": "10",
                               "chartPaddingRight": "10",
                               "chartPaddingBottom": "10",
                               "globalColor": "#fe972f",
                               "animationDuration": "",
                               "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                               "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                               "legendFontColor": "#000000",
                               "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                               "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                               "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                               "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                               "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                               "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                               "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                               "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                               "xAxisTicksSource": "auto",
                               "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                               "xAxisDistanceBetweenTicks": "10",
                               "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                               "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                               "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                               "xAxisOffset": false,
                               "xAxisLabelUseTodayYesterday": false,
                               "visibility-cond": "==",
                               "visibility-val": 1,
                               "visibility-groups-action": "hide",
                               "legendPadding": "20",
                               "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                               "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                               "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                               "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                               "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                               "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                               "tooltipPosition": "nearest",
                               "tooltipBodyAlignment": "left"
                             },
                             "style": {
                               "left": "10px",
                               "top": "310px",
                               "width": "720px",
                               "height": "300px",
                               "z-index": "0",
                               "border-style": "solid",
                               "border-width": "1px",
                               "border-color": "red"
                             },
                             "widgetSet": "materialdesign"
                           },
                           "e00003": {
                             "tpl": "tplVis-materialdesign-Chart-JSON",
                             "data": {
                               "oid": "0_userdata.0.Corona.AT.Faelle.chart3",
                               "g_fixed": false,
                               "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,
                               "chartType": "line",
                               "showLegend": true,
                               "legendPosition": "top",
                               "legendPointStyle": true,
                               "showTooltip": "true",
                               "tooltipMode": "nearest",
                               "tooltipShowColorBox": "true",
                               "xAxisPosition": "bottom",
                               "xAxisValueDistanceToAxis": "10",
                               "xAxisShowAxis": true,
                               "xAxisShowAxisLabels": true,
                               "xAxisShowGridLines": true,
                               "xAxisShowTicks": true,
                               "xAxisMinRotation": "45",
                               "xAxisMaxRotation": "60",
                               "yAxisValueDistanceToAxis": "6",
                               "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,
                               "xAxisMaxLabel": "15",
                               "xAxisTitle": "",
                               "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                               "axisLabelAutoSkip": true,
                               "xAxisOffsetGridLines": false,
                               "xAxisTickLength": "12",
                               "xAxisZeroLineWidth": "0.8",
                               "xAxisValueFontSize": "14",
                               "xAxisTitleColor": "#0e0c0c",
                               "xAxisValueLabelColor": "#000000",
                               "xAxisGridLinesColor": "#ffffff",
                               "xAxisGridLinesWitdh": "0.3",
                               "xAxisZeroLineColor": "#ff0000",
                               "yAxisValueFontSize": "12",
                               "yAxisValueLabelColor": "#000000",
                               "colorScheme": "scrounger.pie",
                               "disableHoverEffects": true,
                               "barWidth": "6",
                               "backgroundColor": "#eee9c4",
                               "chartAreaBackgroundColor": "#000000",
                               "chartPaddingTop": "10",
                               "chartPaddingLeft": "10",
                               "chartPaddingRight": "10",
                               "chartPaddingBottom": "10",
                               "globalColor": "#fe972f",
                               "animationDuration": "",
                               "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                               "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                               "legendFontColor": "#000000",
                               "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                               "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                               "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                               "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                               "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                               "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                               "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                               "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                               "xAxisTicksSource": "auto",
                               "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                               "xAxisDistanceBetweenTicks": "10",
                               "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                               "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                               "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                               "xAxisOffset": false,
                               "xAxisLabelUseTodayYesterday": false,
                               "visibility-cond": "==",
                               "visibility-val": 1,
                               "visibility-groups-action": "hide",
                               "legendPadding": "20",
                               "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                               "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                               "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                               "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                               "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                               "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                               "tooltipPosition": "nearest",
                               "tooltipBodyAlignment": "left"
                             },
                             "style": {
                               "left": "730px",
                               "top": "10px",
                               "width": "720px",
                               "height": "300px",
                               "z-index": "1",
                               "border-style": "solid",
                               "border-width": "1px",
                               "border-color": "red"
                             },
                             "widgetSet": "materialdesign"
                           },
                           "e00004": {
                             "tpl": "i-vis-jsontable",
                             "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",
                               "iTblRowLimit": "730",
                               "iTableRefreshRate": "0",
                               "iColCount": "10",
                               "iColShow1": true,
                               "iTblCellFormat1": "datetime",
                               "iTblCellImageSize1": "200",
                               "iTblCellBooleanCheckbox1": false,
                               "iTblCellBooleanColorFalse1": "#ff0000",
                               "iTblCellBooleanColorTrue1": "#00ff00",
                               "iTblCellNumberDecimals1": "0",
                               "iTblCellNumberDecimalSeperator1": ",",
                               "iTblCellNumberThousandSeperator1": ".",
                               "iTblTextAlign1": "center",
                               "iOpacityAll": "1",
                               "iTblRowEvenColor": "#333333",
                               "iTblRowUnevenColor": "#455618",
                               "iTblHeaderColor": "#333333",
                               "iRowSpacing": "10",
                               "iTblRowEvenTextColor": "#ffffff",
                               "iTblRowUnevenTextColor": "#ffffff",
                               "iTblHeaderTextColor": "#ffffff",
                               "iBorderSize": "1",
                               "iBorderStyleLeft": "solid",
                               "iBorderStyleRight": "solid",
                               "iBorderStyleUp": "none",
                               "iBorderStyleDown": "none",
                               "iBorderColor": "#ffffff",
                               "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.Corona.AT.Faelle.json",
                               "iTblShowHead": true,
                               "iVertScroll": true,
                               "iColShow2": "true",
                               "iTblCellFormat2": "normal",
                               "iTblCellImageSize2": "200",
                               "iTblCellBooleanCheckbox2": "false",
                               "iTblCellBooleanColorFalse2": "#ff0000",
                               "iTblCellBooleanColorTrue2": "#00ff00",
                               "iTblCellNumberDecimals2": "0",
                               "iTblCellNumberDecimalSeperator2": ",",
                               "iTblCellNumberThousandSeperator2": ".",
                               "iTblTextAlign2": "left",
                               "iColShow3": "true",
                               "iTblCellFormat3": "normal",
                               "iTblCellImageSize3": "200",
                               "iTblCellBooleanCheckbox3": "false",
                               "iTblCellBooleanColorFalse3": "#ff0000",
                               "iTblCellBooleanColorTrue3": "#00ff00",
                               "iTblCellNumberDecimals3": "0",
                               "iTblCellNumberDecimalSeperator3": ",",
                               "iTblCellNumberThousandSeperator3": ".",
                               "iTblTextAlign3": "center",
                               "iColShow4": "true",
                               "iTblCellFormat4": "number",
                               "iTblCellImageSize4": "200",
                               "iTblCellBooleanCheckbox4": "false",
                               "iTblCellBooleanColorFalse4": "#ff0000",
                               "iTblCellBooleanColorTrue4": "#00ff00",
                               "iTblCellNumberDecimals4": "0",
                               "iTblCellNumberDecimalSeperator4": ",",
                               "iTblCellNumberThousandSeperator4": ".",
                               "iTblTextAlign4": "right",
                               "iColShow5": "true",
                               "iTblCellFormat5": "number",
                               "iTblCellImageSize5": "200",
                               "iTblCellBooleanCheckbox5": "false",
                               "iTblCellBooleanColorFalse5": "#ff0000",
                               "iTblCellBooleanColorTrue5": "#00ff00",
                               "iTblCellNumberDecimals5": "0",
                               "iTblCellNumberDecimalSeperator5": ",",
                               "iTblCellNumberThousandSeperator5": ".",
                               "iTblTextAlign5": "right",
                               "iColShow6": "true",
                               "iTblCellFormat6": "number",
                               "iTblCellImageSize6": "200",
                               "iTblCellBooleanCheckbox6": "false",
                               "iTblCellBooleanColorFalse6": "#ff0000",
                               "iTblCellBooleanColorTrue6": "#00ff00",
                               "iTblCellNumberDecimals6": "0",
                               "iTblCellNumberDecimalSeperator6": ",",
                               "iTblCellNumberThousandSeperator6": ".",
                               "iTblTextAlign6": "right",
                               "iColShow7": "true",
                               "iTblCellFormat7": "number",
                               "iTblCellImageSize7": "200",
                               "iTblCellBooleanCheckbox7": "false",
                               "iTblCellBooleanColorFalse7": "#ff0000",
                               "iTblCellBooleanColorTrue7": "#00ff00",
                               "iTblCellNumberDecimals7": "0",
                               "iTblCellNumberDecimalSeperator7": ",",
                               "iTblCellNumberThousandSeperator7": ".",
                               "iTblTextAlign7": "right",
                               "iColShow8": "true",
                               "iTblCellFormat8": "number",
                               "iTblCellImageSize8": "200",
                               "iTblCellBooleanCheckbox8": "false",
                               "iTblCellBooleanColorFalse8": "#ff0000",
                               "iTblCellBooleanColorTrue8": "#00ff00",
                               "iTblCellNumberDecimals8": "2",
                               "iTblCellNumberDecimalSeperator8": ",",
                               "iTblCellNumberThousandSeperator8": ".",
                               "iTblTextAlign8": "right",
                               "iColShow9": "true",
                               "iTblCellFormat9": "number",
                               "iTblCellImageSize9": "200",
                               "iTblCellBooleanCheckbox9": "false",
                               "iTblCellBooleanColorFalse9": "#ff0000",
                               "iTblCellBooleanColorTrue9": "#00ff00",
                               "iTblCellNumberDecimals9": "0",
                               "iTblCellNumberDecimalSeperator9": ",",
                               "iTblCellNumberThousandSeperator9": ".",
                               "iTblTextAlign9": "right",
                               "iColShow10": "true",
                               "iTblCellFormat10": "number",
                               "iTblCellImageSize10": "200",
                               "iTblCellBooleanCheckbox10": "false",
                               "iTblCellBooleanColorFalse10": "#ff0000",
                               "iTblCellBooleanColorTrue10": "#00ff00",
                               "iTblCellNumberDecimals10": "0",
                               "iTblCellNumberDecimalSeperator10": ",",
                               "iTblCellNumberThousandSeperator10": ".",
                               "iTblTextAlign10": "right",
                               "iColShow11": "true",
                               "iTblCellFormat11": "number",
                               "iTblCellImageSize11": "200",
                               "iTblCellBooleanCheckbox11": "false",
                               "iTblCellBooleanColorFalse11": "#ff0000",
                               "iTblCellBooleanColorTrue11": "#00ff00",
                               "iTblCellNumberDecimals11": "0",
                               "iTblCellNumberDecimalSeperator11": ",",
                               "iTblCellNumberThousandSeperator11": ".",
                               "iTblTextAlign11": "right",
                               "iColShow12": "true",
                               "iTblCellFormat12": "number",
                               "iTblCellImageSize12": "200",
                               "iTblCellBooleanCheckbox12": "false",
                               "iTblCellBooleanColorFalse12": "#ff0000",
                               "iTblCellBooleanColorTrue12": "#00ff00",
                               "iTblCellNumberDecimals12": "0",
                               "iTblCellNumberDecimalSeperator12": ",",
                               "iTblCellNumberThousandSeperator12": ".",
                               "iTblTextAlign12": "right",
                               "iColShow13": "true",
                               "iTblCellFormat13": "number",
                               "iTblCellImageSize13": "200",
                               "iTblCellBooleanCheckbox13": "false",
                               "iTblCellBooleanColorFalse13": "#ff0000",
                               "iTblCellBooleanColorTrue13": "#00ff00",
                               "iTblCellNumberDecimals13": "0",
                               "iTblCellNumberDecimalSeperator13": ",",
                               "iTblCellNumberThousandSeperator13": ".",
                               "iTblTextAlign13": "right",
                               "iColShow14": "true",
                               "iTblCellFormat14": "normal",
                               "iTblCellImageSize14": "200",
                               "iTblCellBooleanCheckbox14": "false",
                               "iTblCellBooleanColorFalse14": "#ff0000",
                               "iTblCellBooleanColorTrue14": "#00ff00",
                               "iTblCellNumberDecimals14": "0",
                               "iTblCellNumberDecimalSeperator14": ",",
                               "iTblCellNumberThousandSeperator14": ".",
                               "iTblTextAlign14": "center",
                               "iColShow15": "true",
                               "iTblCellFormat15": "normal",
                               "iTblCellImageSize15": "200",
                               "iTblCellBooleanCheckbox15": "false",
                               "iTblCellBooleanColorFalse15": "#ff0000",
                               "iTblCellBooleanColorTrue15": "#00ff00",
                               "iTblCellNumberDecimals15": "0",
                               "iTblCellNumberDecimalSeperator15": ",",
                               "iTblCellNumberThousandSeperator15": ".",
                               "iTblTextAlign15": "left",
                               "iTblCellDatetimeFormat1": "d.m.y",
                               "iColName4": "EWZ",
                               "iColName5": "Fälle",
                               "iColName6": "Fälle kum",
                               "iColName7": "Fälle7",
                               "iColName8": "Inzidenz7",
                               "iColName9": "Tote",
                               "iColName10": "Tote kum",
                               "iColName11": "Geheilt",
                               "iColName12": "Geheilt kum",
                               "iTblFixedHead": true,
                               "iHorScroll": false,
                               "iColWidth1": "80px",
                               "iColName1": "Datum",
                               "iColWidth2": "100px",
                               "iColWidth3": "60px",
                               "iColWidth4": "80px",
                               "iColWidth5": "60px",
                               "iColWidth6": "90px",
                               "iColWidth7": "70px",
                               "iColWidth8": "90px",
                               "iColWidth9": "60px",
                               "iColWidth10": "90px",
                               "iColWidth11": "80px",
                               "iColWidth12": "140px",
                               "iTblCellThresholdsDp1": "",
                               "iTblCellThresholdsText1": "",
                               "iTblCellThresholdsDp2": "",
                               "iTblCellThresholdsText2": "",
                               "iTblCellThresholdsDp3": "",
                               "iTblCellThresholdsText3": "",
                               "iTblCellThresholdsDp4": "",
                               "iTblCellThresholdsText4": "",
                               "iTblCellThresholdsDp5": "",
                               "iTblCellThresholdsText5": "",
                               "iTblCellThresholdsDp6": "",
                               "iTblCellThresholdsText6": "",
                               "iTblCellThresholdsDp7": "",
                               "iTblCellThresholdsText7": "",
                               "iTblCellThresholdsDp8": "",
                               "iTblCellThresholdsText8": "",
                               "iTblCellThresholdsDp9": "",
                               "iTblCellThresholdsText9": "",
                               "iTblCellThresholdsDp10": "",
                               "iTblCellThresholdsText10": "",
                               "iTblCellThresholdsDp11": "",
                               "iTblCellThresholdsText11": "",
                               "iTblCellThresholdsDp12": "",
                               "iTblCellThresholdsText12": "",
                               "iTblCellThresholdsDp13": "",
                               "iTblCellThresholdsText13": "",
                               "iTblCellThresholdsDp14": "",
                               "iTblCellThresholdsText14": "",
                               "iColWidth13": "90",
                               "iColName13": "Aktiv",
                               "iColName14": "Upd",
                               "iColAttr14": "Upd",
                               "iColAttr1": ""
                             },
                             "style": {
                               "left": "10px",
                               "top": "610px",
                               "height": "191px",
                               "width": "1462px",
                               "z-index": "4"
                             },
                             "widgetSet": "vis-inventwo"
                           },
                           "e00005": {
                             "tpl": "tplVis-materialdesign-Button-State",
                             "data": {
                               "oid": "0_userdata.0.Corona.AT.Faelle.Refresh",
                               "g_fixed": false,
                               "g_visibility": false,
                               "g_css_font_text": true,
                               "g_css_background": true,
                               "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",
                               "buttonStyle": "unelevated",
                               "vibrateOnMobilDevices": "50",
                               "iconPosition": "left",
                               "autoLockAfter": "10",
                               "lockFilterGrayscale": "30",
                               "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,
                               "buttontext": "Refresh",
                               "colorPress": "#ff0000",
                               "labelWidth": "0",
                               "exportData": "true",
                               "value": "true",
                               "textFontFamily": "{vis-materialdesign.0.fonts.button.text}",
                               "textFontSize": "{vis-materialdesign.0.fontSizes.button.text}",
                               "lockIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.lock_icon;dark:vis-materialdesign.0.colors.dark.button.lock_icon; mode === \"true\" ? dark : light}",
                               "mdwButtonPrimaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.primary;dark:vis-materialdesign.0.colors.dark.button.default.primary; mode === \"true\" ? dark : light}",
                               "mdwButtonSecondaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.secondary;dark:vis-materialdesign.0.colors.dark.button.default.secondary; mode === \"true\" ? dark : light}",
                               "image": "pencil"
                             },
                             "style": {
                               "left": "10px",
                               "top": "10px",
                               "width": "71px",
                               "height": "29px",
                               "color": "#FF0000",
                               "background-color": "#000000",
                               "z-index": "3"
                             },
                             "widgetSet": "materialdesign"
                           },
                           "e00006": {
                             "tpl": "i-vis-universal",
                             "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": true,
                               "visibility-cond": "==",
                               "visibility-val": 1,
                               "visibility-groups-action": "hide",
                               "iUniversalWidgetType": "Navigation",
                               "iValueType": "boolean",
                               "iStateResponseTime": "0",
                               "iStateResetValueTime": "0",
                               "iNavWait": "99",
                               "iButtonCol": "#333333",
                               "iButtonActive": "#455618",
                               "iOpacityBack": "1",
                               "iCornerRadiusUL": "0",
                               "iCornerRadiusUR": "0",
                               "iCornerRadiusLR": "0",
                               "iCornerRadiusLL": "0",
                               "iContentFlexDirection": "vertical",
                               "iContentVertAlign": "iSpace-between",
                               "iContentOrder": "orderImgText",
                               "iOpacityCtn": "1",
                               "iTextColor": "#000000",
                               "iTextSize": "16",
                               "iTextAlign": "iCenter",
                               "iTextSpaceTop": "20",
                               "iTextSpaceBottom": "0",
                               "iTextSpaceLeft": "0",
                               "iTextSpaceRight": "0",
                               "iIconSize": "35",
                               "iImgAlign": "iCenter",
                               "iImgSpaceTop": "5",
                               "iImgSpaceBottom": "0",
                               "iImgSpaceLeft": "0",
                               "iImgSpaceRight": "0",
                               "iImgRotation": "0",
                               "iImgBlinkFalse": "0",
                               "iImgBlinkTrue": "0",
                               "iImgColorFalse": "",
                               "iImgColorTrue": "",
                               "iImgColorFalseFilter": "",
                               "iImgColorTrueFilter": "",
                               "iShadowXOffset": "2",
                               "iShadowYOffset": "2",
                               "iShadowBlur": "2",
                               "iShadowSpread": "1",
                               "iShadowColor": "#111111",
                               "iShadowColorActive": "#111111",
                               "iShadowInnerXOffset": "0",
                               "iShadowInnerYOffset": "0",
                               "iShadowInnerBlur": "0",
                               "iShadowInnerSpread": "0",
                               "iShadowInnerColor": "#111111",
                               "iShadowInnerColorActive": "#111111",
                               "iBorderSize": "0",
                               "iBorderStyle": "none",
                               "iBorderColor": "#ffffff",
                               "iBorderColorActive": "#ffffff",
                               "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,
                               "nav_view": "Ampel",
                               "iTextFalse": "Ampel",
                               "value": "Ampel",
                               "iTextTrue": "Ampel",
                               "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,
                               "iValueComparison": "equal",
                               "iButtonColHover": "",
                               "iShadowColorHover": "",
                               "iShadowInnerColorHover": "",
                               "iBorderColorHover": "",
                               "iPopUpBackground": "#666666",
                               "iPopUpPreventClickOutside": "",
                               "iPopUpShowTitle": "true",
                               "iPopUpTitle": "",
                               "iPopUpTitleColor": "#ffffff",
                               "iPopUpCloseBtnColor": "#dc2e2e",
                               "iPopUpWidth": "800px",
                               "iPopUpHeight": "500px",
                               "iPopUpPosition": "center",
                               "iPopUpCornerRadiusUL": "12",
                               "iPopUpCornerRadiusUR": "0",
                               "iPopUpCornerRadiusLR": "12",
                               "iPopUpCornerRadiusLL": "0",
                               "iPopUpShadowXOffset": "2",
                               "iPopUpShadowYOffset": "2",
                               "iPopUpShadowBlur": "2",
                               "iPopUpShadowSpread": "1",
                               "iPopUpShadowColor": "#111111",
                               "iPopUpHeightTitle": "50",
                               "iPopUpTitleSize": "28",
                               "iPopUpPositionX": "0",
                               "iPopUpPositionY": "0",
                               "iPopUpCloseAfterSeconds": "0"
                             },
                             "style": {
                               "left": "80px",
                               "top": "10px",
                               "width": "65px",
                               "height": "27px",
                               "z-index": "3"
                             },
                             "widgetSet": "vis-inventwo"
                           },
                           "e00007": {
                             "tpl": "tplVis-materialdesign-Select",
                             "data": {
                               "oid": "0_userdata.0.Corona.AT.Faelle.GKZ",
                               "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",
                               "inputType": "text",
                               "vibrateOnMobilDevices": "50",
                               "inputLayout": "regular",
                               "inputAlignment": "left",
                               "inputTextFontFamily": "{vis-materialdesign.0.fonts.input.text}",
                               "inputTextFontSize": "{vis-materialdesign.0.fontSizes.input.text}",
                               "inputLabelFontFamily": "{vis-materialdesign.0.fonts.input.label}",
                               "inputLabelFontSize": "{vis-materialdesign.0.fontSizes.input.label}",
                               "inputAppendixFontSize": "{vis-materialdesign.0.fontSizes.input.appendix}",
                               "inputAppendixFontFamily": "{vis-materialdesign.0.fonts.input.appendix}",
                               "showInputMessageAlways": false,
                               "inputMessageFontFamily": "{vis-materialdesign.0.fonts.input.message}",
                               "inputMessageFontSize": "{vis-materialdesign.0.fontSizes.input.message}",
                               "showInputCounter": false,
                               "inputCounterFontSize": "{vis-materialdesign.0.fontSizes.input.counter}",
                               "inputCounterFontFamily": "{vis-materialdesign.0.fonts.input.counter}",
                               "clearIconShow": false,
                               "listDataMethod": "jsonStringObject",
                               "countSelectItems": "0",
                               "listPosition": "auto",
                               "showSelectedIcon": "no",
                               "listItemFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.text}",
                               "listItemFont": "{vis-materialdesign.0.fonts.input.dropdown.text}",
                               "listItemSubFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.subText}",
                               "listItemSubFont": "{vis-materialdesign.0.fonts.input.dropdown.subText}",
                               "showValue": false,
                               "listItemValueFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.value}",
                               "listItemValueFont": "{vis-materialdesign.0.fonts.input.dropdown.value}",
                               "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,
                               "valueList": "",
                               "valueListLabels": "",
                               "value0": "",
                               "label0": "",
                               "value1": "318",
                               "label1": "Neunkirchen",
                               "value2": "900",
                               "label2": "Wien",
                               "value3": "3",
                               "label3": "Berlin",
                               "value4": "4",
                               "label4": "Deutschland",
                               "openOnClear": true,
                               "listItemHeight": "1",
                               "listPositionOffset": true,
                               "inputLabelText": "",
                               "inputLabelColor": "",
                               "listIcon0": "",
                               "listIcon1": "",
                               "inputLayoutBackgroundColor": "#eee9c4",
                               "listItemBackgroundColor": "#eee9c4",
                               "listItemFontColor": "#000000",
                               "listItemBackgroundHoverColor": "#ff0000",
                               "listItemBackgroundSelectedColor": "#000000",
                               "value5": "5",
                               "label5": "Frankfurt",
                               "value6": "6",
                               "label6": "München",
                               "value7": "7",
                               "label7": "Köln",
                               "value8": "8",
                               "label8": "Hamburg",
                               "listIconSize": "20",
                               "inputLayoutBorderColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border;dark:vis-materialdesign.0.colors.dark.input.border; mode === \"true\" ? dark : light}",
                               "inputLayoutBorderColorHover": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_hover;dark:vis-materialdesign.0.colors.dark.input.border_hover; mode === \"true\" ? dark : light}",
                               "inputLayoutBorderColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_selected;dark:vis-materialdesign.0.colors.dark.input.border_selected; mode === \"true\" ? dark : light}",
                               "inputTextColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.text;dark:vis-materialdesign.0.colors.dark.input.text; mode === \"true\" ? dark : light}",
                               "inputLabelColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.label_selected;dark:vis-materialdesign.0.colors.dark.input.label_selected; mode === \"true\" ? dark : light}",
                               "inputAppendixColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.appendix;dark:vis-materialdesign.0.colors.dark.input.appendix; mode === \"true\" ? dark : light}",
                               "inputMessageColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.message;dark:vis-materialdesign.0.colors.dark.input.message; mode === \"true\" ? dark : light}",
                               "inputCounterColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.counter;dark:vis-materialdesign.0.colors.dark.input.counter; mode === \"true\" ? dark : light}",
                               "collapseIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.icon_collapse;dark:vis-materialdesign.0.colors.dark.input.icon_collapse; mode === \"true\" ? dark : light}",
                               "listItemRippleEffectColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.effect;dark:vis-materialdesign.0.colors.dark.input.menu.effect; mode === \"true\" ? dark : light}",
                               "listIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.icon;dark:vis-materialdesign.0.colors.dark.input.menu.icon; mode === \"true\" ? dark : light}",
                               "listItemSubFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.subText;dark:vis-materialdesign.0.colors.dark.input.menu.subText; mode === \"true\" ? dark : light}",
                               "listItemValueFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.value;dark:vis-materialdesign.0.colors.dark.input.menu.value; mode === \"true\" ? dark : light}",
                               "jsonStringObject": "{0_userdata.0.Corona.AT.Faelle.GKZBezirke}",
                               "valueListIcons": "",
                               "clearIcon": "",
                               "clearIconColor": "#mdwTheme:vis-materialdesign.0.colors.input.icon_clear"
                             },
                             "style": {
                               "left": "530px",
                               "top": "320px",
                               "width": "198px",
                               "height": "31px",
                               "z-index": "1"
                             },
                             "widgetSet": "materialdesign"
                           },
                           "e00008": {
                             "tpl": "tplVis-materialdesign-Chart-JSON",
                             "data": {
                               "oid": "0_userdata.0.Corona.AT.Faelle.chart4",
                               "g_fixed": false,
                               "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,
                               "chartType": "line",
                               "showLegend": true,
                               "legendPosition": "top",
                               "legendPointStyle": true,
                               "showTooltip": "true",
                               "tooltipMode": "nearest",
                               "tooltipShowColorBox": "true",
                               "xAxisPosition": "bottom",
                               "xAxisValueDistanceToAxis": "10",
                               "xAxisShowAxis": true,
                               "xAxisShowAxisLabels": true,
                               "xAxisShowGridLines": true,
                               "xAxisShowTicks": true,
                               "xAxisMinRotation": "45",
                               "xAxisMaxRotation": "60",
                               "yAxisValueDistanceToAxis": "6",
                               "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,
                               "xAxisMaxLabel": "15",
                               "xAxisTitle": "",
                               "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                               "axisLabelAutoSkip": true,
                               "xAxisOffsetGridLines": false,
                               "xAxisTickLength": "12",
                               "xAxisZeroLineWidth": "0.8",
                               "xAxisValueFontSize": "14",
                               "xAxisTitleColor": "#0e0c0c",
                               "xAxisValueLabelColor": "#000000",
                               "xAxisGridLinesColor": "#ffffff",
                               "xAxisGridLinesWitdh": "0.3",
                               "xAxisZeroLineColor": "#ff0000",
                               "yAxisValueFontSize": "12",
                               "yAxisValueLabelColor": "#000000",
                               "colorScheme": "scrounger.pie",
                               "disableHoverEffects": true,
                               "barWidth": "6",
                               "backgroundColor": "#eee9c4",
                               "chartAreaBackgroundColor": "#000000",
                               "chartPaddingTop": "10",
                               "chartPaddingLeft": "10",
                               "chartPaddingRight": "10",
                               "chartPaddingBottom": "10",
                               "globalColor": "#fe972f",
                               "animationDuration": "",
                               "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                               "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                               "legendFontColor": "#000000",
                               "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                               "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                               "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                               "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                               "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                               "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                               "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                               "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                               "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                               "xAxisTicksSource": "auto",
                               "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                               "xAxisDistanceBetweenTicks": "10",
                               "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                               "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                               "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                               "xAxisOffset": false,
                               "xAxisLabelUseTodayYesterday": false,
                               "visibility-cond": "==",
                               "visibility-val": 1,
                               "visibility-groups-action": "hide",
                               "legendPadding": "20",
                               "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                               "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                               "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                               "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                               "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                               "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                               "tooltipPosition": "nearest",
                               "tooltipBodyAlignment": "left"
                             },
                             "style": {
                               "left": "730px",
                               "top": "310px",
                               "width": "720px",
                               "height": "300px",
                               "z-index": "1",
                               "border-style": "solid",
                               "border-width": "1px",
                               "border-color": "red"
                             },
                             "widgetSet": "materialdesign"
                           }
                         },
                         "name": "AT",
                         "filterList": []
                        }
                        

                        sigi234S Online
                        sigi234S Online
                        sigi234
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #207

                        @fastfoot

                        Die View ist ein WIDGET!

                        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Immer Daten sichern!

                        F 1 Antwort Letzte Antwort
                        0
                        • sigi234S sigi234

                          @fastfoot

                          Die View ist ein WIDGET!

                          F Offline
                          F Offline
                          fastfoot
                          schrieb am zuletzt editiert von
                          #208

                          @sigi234 sagte in Corona-Ampel Österreich in VIS anzeigen:

                          @fastfoot

                          Die View ist ein WIDGET!

                          Danke dir sehr, habs korrigiert, bin nichtmal sicher ob es einen Unterschied zur vorherigen Version gibt, aber so ist alles zusammen

                          iobroker läuft unter Docker auf QNAP TS-451+
                          SkriptRecovery: https://forum.iobroker.net/post/930558

                          1 Antwort Letzte Antwort
                          1
                          • F fastfoot

                            @bergjet sagte in Corona-Ampel Österreich in VIS anzeigen:

                            Komisch, jetzt kommt eine Fehlermeldung:

                            die haben umgestellt auf UTF-8 BOM, das führt zu einem falschen Property Time. Hier mein neustes angepasstes Skript, welches mit UTF-8 als auch UTF-8 BOM zurecht kommt

                            /**
                            * Zweck:           Covid-19 Fälle Österreich
                            * Datum:           26.07.2021
                            * Author:          @fastfoot
                            * Forum:           https://forum.iobroker.net/topic/36632/corona-ampel-%C3%B6sterreich-in-vis-anzeigen/173
                            * 
                            * Voraussetzung:   Die npm-Module axios und csvjson müssen in der JS-Instanz eingetragen werden
                            * 
                            */
                            
                            /**
                            *                                      Persönliche Einstellungen
                            */
                            const dbg = false;                                      // für Fehlersuche
                            const fileName = 'CovidFaelle_Timeline_GKZ.csv';        // Dateiname
                            const filePath = '/opt/iobroker/iobroker-data/files/Downloads';   // Dateipfad
                            const myBezirke = [
                               {GKZ: 320, Name: 'Scheibbs'},
                               {GKZ: 802, Name: 'Bregenz'},
                               {GKZ: 401, Name: 'Linz'},
                               {GKZ: 900, Name: 'Wien'},
                               {GKZ: 706, Name: 'Landeck'}
                            ]
                            const mySchedule = '30 14 * * *';                       // täglicher Download der Daten um 14:30Uhr
                            const idBase = '0_userdata.0.Corona.AT.Faelle';         // Ort für Datenpunkte (die VIS ist hierauf eingestellt!)
                            
                            /**
                            *                                          Ab hier nichts abändern!
                            */
                            const axios = require('axios').default;                 // In der JS-Instanz unter Module eintragen
                            const csvjson = require('csvjson');                     // In der JS-Instanz unter Module eintragen
                            const fs = require('fs');
                            const Path = require('path');
                            const idJson = `${idBase}.json`;
                            const idChart1 = `${idBase}.chart1`;
                            const idChart2 = `${idBase}.chart2`;
                            const idChart3 = `${idBase}.chart3`;
                            const idChart4 = `${idBase}.chart4`;
                            const idGKZ = `${idBase}.GKZ`;
                            const idGKZBezirke = `${idBase}.GKZBezirke`;
                            const idRefresh = `${idBase}.Refresh`;
                            const timeFormats = {
                               millisecond: "H:mm:ss.SSS",
                               second: "H:mm:ss",
                               minute: "H:mm",
                               hour: "dd.[\\n]H:mm",
                               day: "dd[\\n]DD.MM",
                               week: "dd[\\n]DD.MM",
                               month: "MMM YY",
                               quarter: "[Q]Q - YYYY",
                               year: "YYYY"
                            };
                            const chartMonthsToShow = 12;
                            
                            async function init() {
                               let json = [];
                               let firstRun = await createDatapoints();
                               for(let i = 0; i < myBezirke.length; i++) {
                                   json.push({
                                       "text": myBezirke[i].Name,// + '(' + myBezirke[i].GKZ + ')',
                                       //"subText": "GKZ: " + myBezirke[i].GKZ,
                                       "value": myBezirke[i].GKZ,
                                       "icon": "numeric-" + (i+1)
                                       //"iconColor": "white",
                                       //"iconColorSelectedTextField": "red"
                                   })
                               }
                               if(dbg) log(JSON.stringify(json,null,4));
                               await setStateAsync(idGKZBezirke, JSON.stringify(json,null,4));
                               getData(firstRun);
                            }
                            
                            // main routine
                            async function getData(refresh = false) {
                               let data, err;
                               const url = 'https://covid19-dashboard.ages.at/data/CovidFaelle_Timeline_GKZ.csv';
                               if(!fs.existsSync(filePath)) return log('Dateipfad existiert nicht!','error');
                               if(refresh) await getCSVFile(url);
                               data = fs.readFileSync(Path.resolve(filePath, '', fileName), 'utf8');
                               data = data.replace(/^\uFEFF/,''); //remove BOM
                               let json = csvjson.toObject(data, {delimiter : ';'});
                               let js = [];
                               let GKZ = getState(idGKZ).val || myBezirke[0].GKZ;
                               if(dbg) log(GKZ)
                               json.forEach((record) => {
                                   if (record.GKZ == GKZ) {
                                       let t = record.Time.replace(/(\d+).(\d+).(\d+)/,'$3-$2-$1');
                                       record.Time = getDateObject(t);//.getTime();
                                       record.SiebenTageInzidenzFaelle = record.SiebenTageInzidenzFaelle.replace(',','.');
                                       record.Aktiv = record.AnzahlFaelleSum - record.AnzahlTotSum - record.AnzahlGeheiltSum;
                                       record.Upd = formatDate(Date.now(),'hh:mm');
                                       js.push(record);
                                   }
                               })
                               js.sort((a,b) => a.Time < b.Time ? 1 : -1)
                               setState(idJson, JSON.stringify(js,null,4));
                               createChart(js);
                            }
                            
                            // create chart data
                            function createChart(data) {
                               let now = new Date();
                               now.setMonth(now.getMonth() - chartMonthsToShow + 1);
                               const startMonth = now.getMonth();
                               const startYear = now.getFullYear();
                               now.setMonth(now.getMonth() + chartMonthsToShow);
                               const endMonth = now.getMonth();
                               const endYear = now.getFullYear();
                               const startTime = new Date(startYear,startMonth,1,0,0,0,0).getTime();
                               const endTime = new Date(endYear,endMonth,1,0,0,0,0).getTime();
                               let chartAll = {}, chartTote = {}, chartAktiv = {}, chartInzidenz = {},Tote = [],Aktiv = [], Fälle = [], Genesen = [], time, axisLabels = [];
                               let Inzidenz = [];
                               Tote.push({t: startTime, y: null});
                               Inzidenz.push({t: startTime, y: null});
                               Aktiv.push({t: startTime, y: null});
                               Fälle.push({t: startTime, y: null});
                               Genesen.push({t: startTime, y: null});
                            
                               data.forEach((record,i) => {
                                   time = getDateObject(record.Time).getTime();
                                   if (time >= startTime && time <= endTime){
                                       Tote.push({t: time, y: record.AnzahlTotSum})
                                       Inzidenz.push({t: time, y: Math.max(record.SiebenTageInzidenzFaelle.replace(',','.'),0)})
                                       Aktiv.push({t: time, y: record.Aktiv})
                                       Fälle.push({t: time, y: record.AnzahlFaelleSum})
                                       Genesen.push({t: time, y: record.AnzahlGeheiltSum})
                                   }
                               })
                               Tote.push({t: endTime, y: null});
                               Inzidenz.push({t: endTime, y: null});
                               Aktiv.push({t: endTime, y: null});
                               Fälle.push({t: endTime, y: null});
                               Genesen.push({t: endTime, y: null});
                               chartAll = {
                                   //axisLabels: axisLabels,
                                   graphs: [
                                       {
                                           legendText: 'Tote',
                                           data: Tote,
                                           type: 'line',
                                           color: '#ff0000',
                                           displayOrder: 3,
                                           xAxis_time_unit: 'month',
                                           xAxis_bounds: 'ticks', // ticks, data
                                           xAxis_timeFormats: timeFormats,
                                           line_pointSize: 0.2,
                                           line_Thickness: 1,
                                           datalabel_show: !true,
                                           datalabel_steps: 300,
                                           yAxis_id: 0,
                                           //yAxis_min: yMin,
                                           //yAxis_max: yMax,
                                           yAxis_gridLines_show: true,
                                           yAxis_gridLines_color: '#ffffff',
                                           yAxis_gridLines_lineWidth: 0.3,
                                           yAxis_zeroLineWidth: 0.4,
                                       }, {
                                           legendText: 'Aktive Fälle',
                                           data: Aktiv,
                                           type: 'line',
                                           color: '#00ff00',
                                           displayOrder: 2,
                                           xAxis_time_unit: 'month',
                                           xAxis_bounds: 'ticks', // ticks, data
                                           xAxis_timeFormats: timeFormats,
                                           line_pointSize: 0.2,
                                           line_Thickness: 1,
                                           datalabel_show: !true,
                                           datalabel_steps: 300,
                                           yAxis_id: 0,
                                           //yAxis_min: yMin,
                                           //yAxis_max: yMax,
                                           yAxis_gridLines_show: true,
                                           yAxis_gridLines_color: '#ffffff',
                                           yAxis_gridLines_lineWidth: 0.3,
                                           yAxis_zeroLineWidth: 0.4,
                                       }, {
                                           legendText: 'Infektionen gesamt',
                                           data: Fälle,
                                           type: 'line',
                                           color: '#ffffff',
                                           displayOrder: 0,
                                           xAxis_time_unit: 'month',
                                           xAxis_bounds: 'ticks', // ticks, data
                                           xAxis_timeFormats: timeFormats,
                                           line_pointSize: 0.2,
                                           line_Thickness: 1,
                                           datalabel_show: !true,
                                           datalabel_steps: 300,
                                           yAxis_id: 0,
                                           //yAxis_min: yMin,
                                           //yAxis_max: yMax,
                                           yAxis_gridLines_show: true,
                                           yAxis_gridLines_color: '#ffffff',
                                           yAxis_gridLines_lineWidth: 0.3,
                                           yAxis_zeroLineWidth: 0.4,
                                       }, {
                                           legendText: 'Genesen',
                                           data: Genesen,
                                           type: 'line',
                                           color: '#ffff00',
                                           displayOrder: 1,
                                           xAxis_time_unit: 'month',
                                           xAxis_bounds: 'ticks', // ticks, data
                                           xAxis_timeFormats: timeFormats,
                                           line_pointSize: 0.2,
                                           line_Thickness: 1,
                                           datalabel_show: !true,
                                           datalabel_steps: 300,
                                           yAxis_id: 0,
                                           //yAxis_min: 0,
                                           //yAxis_max: 1200,
                                           yAxis_gridLines_show: true,
                                           yAxis_gridLines_color: '#ffffff',
                                           yAxis_gridLines_lineWidth: 0.3,
                                           yAxis_zeroLineWidth: 0.4,
                                       }
                            
                                   ]
                               }
                            
                               chartInzidenz = {
                                   //axisLabels: axisLabels,
                                   graphs: [
                                       {
                                           legendText: 'Inzidenz 7 Tage',
                                           data: Inzidenz,
                                           type: 'line',
                                           color: '#00ffff',
                                           xAxis_time_unit: 'month',
                                           xAxis_bounds: 'ticks', // ticks, data
                                           xAxis_timeFormats: timeFormats,
                                           line_pointSize: 0,
                                           line_Thickness: 1,
                                           datalabel_show: !true,
                                           datalabel_steps: 100,
                                           yAxis_id: 0,
                                           yAxis_min: 0,
                                           yAxis_max: 1200,
                                           yAxis_gridLines_show: true,
                                           yAxis_gridLines_color: '#ffffff',
                                           yAxis_gridLines_lineWidth: 0.3,
                                           yAxis_zeroLineWidth: 0.4,
                                       }
                                   ]
                               }
                            
                               chartTote = {
                                   //axisLabels: axisLabels,
                                   graphs: [
                                       {
                                           legendText: 'Tote',
                                           data: Tote,
                                           type: 'line',
                                           color: '#ff0000',
                                           xAxis_time_unit: 'month',
                                           xAxis_bounds: 'ticks', // ticks, data
                                           xAxis_timeFormats: timeFormats,
                                           line_pointSize: 0,
                                           line_Thickness: 1,
                                           datalabel_show: !true,
                                           datalabel_steps: 100,
                                           yAxis_id: 0,
                                           yAxis_gridLines_show: true,
                                           yAxis_gridLines_color: '#ffffff',
                                           yAxis_gridLines_lineWidth: 0.3,
                                           yAxis_zeroLineWidth: 0.4,
                                       }
                                   ]
                               }
                            
                               chartAktiv = {
                                   //axisLabels: axisLabels,
                                   graphs: [
                                       {
                                           legendText: 'Aktiv',
                                           data: Aktiv,
                                           type: 'line',
                                           color: '#00ff00',
                                           xAxis_time_unit: 'month',
                                           xAxis_bounds: 'ticks', // ticks, data
                                           xAxis_timeFormats: timeFormats,
                                           line_pointSize: 0,
                                           line_Thickness: 1,
                                           datalabel_show: !true,
                                           datalabel_steps: 100,
                                           yAxis_id: 0,
                                           yAxis_gridLines_show: true,
                                           yAxis_gridLines_color: '#ffffff',
                                           yAxis_gridLines_lineWidth: 0.3,
                                           yAxis_zeroLineWidth: 0.4,
                                       }
                                   ]
                               }
                            
                               setState(idChart1,JSON.stringify(chartAll,null,4))
                               setState(idChart2,JSON.stringify(chartInzidenz,null,4))
                               setState(idChart3,JSON.stringify(chartTote,null,4))
                               setState(idChart4,JSON.stringify(chartAktiv,null,4))
                            }
                            
                            // create data points if not existing
                            async function createDatapoints() {
                               let dp,
                                   idKey,
                                   firstRun = false;
                               
                               const stateAttributes = {
                                   "json":{"name":"Json Tabelle","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":""},
                                   "Refresh":{"name":"Refresh","type":"boolean","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":false},
                                   "chart1":{"name":"Chart 1","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                   "chart2":{"name":"Chart 2","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                   "chart3":{"name":"Chart 3","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                   "chart4":{"name":"Chart 4","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                   "GKZ":{"name":"VIS Select Auswahl","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "900"},
                                   //"GKZValues":{"name":"VIS Select GKZ-Liste","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "900"},
                                   "GKZBezirke":{"name":"VIS Select Bezirke","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""}
                               }
                            
                               for(let key in stateAttributes) {
                            
                                   idKey = idBase + '.' + key;
                            
                                   if (!(await existsStateAsync(idKey))) {
                                       dp = stateAttributes[key];
                                       firstRun = true;
                                       await createStateAsync(idKey, dp);
                                   }
                               }
                            
                               return firstRun;
                            
                            }
                            
                            // download and save csv file
                            async function getCSVFile (url) {  
                               const writer = fs.createWriteStream(Path.resolve(filePath, '', fileName));
                            
                               const response = await axios({
                                   url: url,
                                   method: 'GET',
                                   responseType: 'stream'
                               })
                               response.data.pipe(writer);
                            
                               return new Promise((resolve, reject) => {
                                   writer.on('finish', resolve)
                                   //writer.on('error', reject)
                                   writer.on('error', ()=> writer.end())
                               })
                            }
                            
                            schedule(mySchedule, () => {getData(true)});
                            
                            on({id: idRefresh, change: 'any'},() => {getData(true)})
                            
                            on({id: idGKZ, change: 'ne'},() => {getData()})
                            
                            init();
                            
                            


                            {
                             "settings": {
                               "style": {
                                 "background_class": ""
                               },
                               "theme": "redmond",
                               "sizex": "",
                               "sizey": "",
                               "gridSize": "10",
                               "snapType": 2
                             },
                             "widgets": {
                               "e00001": {
                                 "tpl": "tplVis-materialdesign-Chart-JSON",
                                 "data": {
                                   "oid": "0_userdata.0.Corona.AT.Faelle.chart1",
                                   "g_fixed": false,
                                   "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,
                                   "chartType": "line",
                                   "showLegend": true,
                                   "legendPosition": "top",
                                   "legendPointStyle": true,
                                   "showTooltip": "true",
                                   "tooltipMode": "nearest",
                                   "tooltipShowColorBox": "true",
                                   "xAxisPosition": "bottom",
                                   "xAxisValueDistanceToAxis": "10",
                                   "xAxisShowAxis": true,
                                   "xAxisShowAxisLabels": true,
                                   "xAxisShowGridLines": true,
                                   "xAxisShowTicks": true,
                                   "xAxisMinRotation": "45",
                                   "xAxisMaxRotation": "60",
                                   "yAxisValueDistanceToAxis": "6",
                                   "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,
                                   "xAxisMaxLabel": "15",
                                   "xAxisTitle": "",
                                   "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                   "axisLabelAutoSkip": true,
                                   "xAxisOffsetGridLines": false,
                                   "xAxisTickLength": "12",
                                   "xAxisZeroLineWidth": "0.8",
                                   "xAxisValueFontSize": "14",
                                   "xAxisTitleColor": "#0e0c0c",
                                   "xAxisValueLabelColor": "#000000",
                                   "xAxisGridLinesColor": "#ffffff",
                                   "xAxisGridLinesWitdh": "0.3",
                                   "xAxisZeroLineColor": "#ff0000",
                                   "yAxisValueFontSize": "12",
                                   "yAxisValueLabelColor": "#000000",
                                   "colorScheme": "scrounger.pie",
                                   "disableHoverEffects": true,
                                   "barWidth": "6",
                                   "backgroundColor": "#eee9c4",
                                   "chartAreaBackgroundColor": "#000000",
                                   "chartPaddingTop": "10",
                                   "chartPaddingLeft": "10",
                                   "chartPaddingRight": "10",
                                   "chartPaddingBottom": "10",
                                   "globalColor": "#fe972f",
                                   "animationDuration": "",
                                   "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                   "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                   "legendFontColor": "#000000",
                                   "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                   "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                   "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                   "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                   "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                   "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                   "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                   "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                   "xAxisTicksSource": "auto",
                                   "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                   "xAxisDistanceBetweenTicks": "10",
                                   "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                   "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                   "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                   "xAxisOffset": false,
                                   "xAxisLabelUseTodayYesterday": false,
                                   "visibility-cond": "==",
                                   "visibility-val": 1,
                                   "visibility-groups-action": "hide",
                                   "legendPadding": "20",
                                   "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                   "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                   "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                   "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                   "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                   "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                   "tooltipPosition": "nearest",
                                   "tooltipBodyAlignment": "left"
                                 },
                                 "style": {
                                   "left": "10px",
                                   "top": "10px",
                                   "width": "720px",
                                   "height": "300px",
                                   "z-index": "1",
                                   "border-style": "solid",
                                   "border-width": "1px",
                                   "border-color": "red"
                                 },
                                 "widgetSet": "materialdesign"
                               },
                               "e00002": {
                                 "tpl": "tplVis-materialdesign-Chart-JSON",
                                 "data": {
                                   "oid": "0_userdata.0.Corona.AT.Faelle.chart2",
                                   "g_fixed": false,
                                   "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,
                                   "chartType": "line",
                                   "showLegend": true,
                                   "legendPosition": "top",
                                   "legendPointStyle": true,
                                   "showTooltip": "true",
                                   "tooltipMode": "nearest",
                                   "tooltipShowColorBox": "true",
                                   "xAxisPosition": "bottom",
                                   "xAxisValueDistanceToAxis": "10",
                                   "xAxisShowAxis": true,
                                   "xAxisShowAxisLabels": true,
                                   "xAxisShowGridLines": true,
                                   "xAxisShowTicks": true,
                                   "xAxisMinRotation": "45",
                                   "xAxisMaxRotation": "60",
                                   "yAxisValueDistanceToAxis": "6",
                                   "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,
                                   "xAxisMaxLabel": "15",
                                   "xAxisTitle": "",
                                   "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                   "axisLabelAutoSkip": true,
                                   "xAxisOffsetGridLines": false,
                                   "xAxisTickLength": "12",
                                   "xAxisZeroLineWidth": "0.8",
                                   "xAxisValueFontSize": "14",
                                   "xAxisTitleColor": "#0e0c0c",
                                   "xAxisValueLabelColor": "#000000",
                                   "xAxisGridLinesColor": "#ffffff",
                                   "xAxisGridLinesWitdh": "0.3",
                                   "xAxisZeroLineColor": "#ff0000",
                                   "yAxisValueFontSize": "12",
                                   "yAxisValueLabelColor": "#000000",
                                   "colorScheme": "scrounger.pie",
                                   "disableHoverEffects": true,
                                   "barWidth": "6",
                                   "backgroundColor": "#eee9c4",
                                   "chartAreaBackgroundColor": "#000000",
                                   "chartPaddingTop": "10",
                                   "chartPaddingLeft": "10",
                                   "chartPaddingRight": "10",
                                   "chartPaddingBottom": "10",
                                   "globalColor": "#fe972f",
                                   "animationDuration": "",
                                   "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                   "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                   "legendFontColor": "#000000",
                                   "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                   "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                   "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                   "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                   "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                   "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                   "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                   "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                   "xAxisTicksSource": "auto",
                                   "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                   "xAxisDistanceBetweenTicks": "10",
                                   "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                   "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                   "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                   "xAxisOffset": false,
                                   "xAxisLabelUseTodayYesterday": false,
                                   "visibility-cond": "==",
                                   "visibility-val": 1,
                                   "visibility-groups-action": "hide",
                                   "legendPadding": "20",
                                   "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                   "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                   "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                   "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                   "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                   "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                   "tooltipPosition": "nearest",
                                   "tooltipBodyAlignment": "left"
                                 },
                                 "style": {
                                   "left": "10px",
                                   "top": "310px",
                                   "width": "720px",
                                   "height": "300px",
                                   "z-index": "0",
                                   "border-style": "solid",
                                   "border-width": "1px",
                                   "border-color": "red"
                                 },
                                 "widgetSet": "materialdesign"
                               },
                               "e00003": {
                                 "tpl": "tplVis-materialdesign-Chart-JSON",
                                 "data": {
                                   "oid": "0_userdata.0.Corona.AT.Faelle.chart3",
                                   "g_fixed": false,
                                   "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,
                                   "chartType": "line",
                                   "showLegend": true,
                                   "legendPosition": "top",
                                   "legendPointStyle": true,
                                   "showTooltip": "true",
                                   "tooltipMode": "nearest",
                                   "tooltipShowColorBox": "true",
                                   "xAxisPosition": "bottom",
                                   "xAxisValueDistanceToAxis": "10",
                                   "xAxisShowAxis": true,
                                   "xAxisShowAxisLabels": true,
                                   "xAxisShowGridLines": true,
                                   "xAxisShowTicks": true,
                                   "xAxisMinRotation": "45",
                                   "xAxisMaxRotation": "60",
                                   "yAxisValueDistanceToAxis": "6",
                                   "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,
                                   "xAxisMaxLabel": "15",
                                   "xAxisTitle": "",
                                   "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                   "axisLabelAutoSkip": true,
                                   "xAxisOffsetGridLines": false,
                                   "xAxisTickLength": "12",
                                   "xAxisZeroLineWidth": "0.8",
                                   "xAxisValueFontSize": "14",
                                   "xAxisTitleColor": "#0e0c0c",
                                   "xAxisValueLabelColor": "#000000",
                                   "xAxisGridLinesColor": "#ffffff",
                                   "xAxisGridLinesWitdh": "0.3",
                                   "xAxisZeroLineColor": "#ff0000",
                                   "yAxisValueFontSize": "12",
                                   "yAxisValueLabelColor": "#000000",
                                   "colorScheme": "scrounger.pie",
                                   "disableHoverEffects": true,
                                   "barWidth": "6",
                                   "backgroundColor": "#eee9c4",
                                   "chartAreaBackgroundColor": "#000000",
                                   "chartPaddingTop": "10",
                                   "chartPaddingLeft": "10",
                                   "chartPaddingRight": "10",
                                   "chartPaddingBottom": "10",
                                   "globalColor": "#fe972f",
                                   "animationDuration": "",
                                   "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                   "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                   "legendFontColor": "#000000",
                                   "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                   "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                   "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                   "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                   "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                   "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                   "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                   "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                   "xAxisTicksSource": "auto",
                                   "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                   "xAxisDistanceBetweenTicks": "10",
                                   "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                   "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                   "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                   "xAxisOffset": false,
                                   "xAxisLabelUseTodayYesterday": false,
                                   "visibility-cond": "==",
                                   "visibility-val": 1,
                                   "visibility-groups-action": "hide",
                                   "legendPadding": "20",
                                   "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                   "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                   "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                   "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                   "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                   "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                   "tooltipPosition": "nearest",
                                   "tooltipBodyAlignment": "left"
                                 },
                                 "style": {
                                   "left": "730px",
                                   "top": "10px",
                                   "width": "720px",
                                   "height": "300px",
                                   "z-index": "1",
                                   "border-style": "solid",
                                   "border-width": "1px",
                                   "border-color": "red"
                                 },
                                 "widgetSet": "materialdesign"
                               },
                               "e00004": {
                                 "tpl": "i-vis-jsontable",
                                 "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",
                                   "iTblRowLimit": "730",
                                   "iTableRefreshRate": "0",
                                   "iColCount": "10",
                                   "iColShow1": true,
                                   "iTblCellFormat1": "datetime",
                                   "iTblCellImageSize1": "200",
                                   "iTblCellBooleanCheckbox1": false,
                                   "iTblCellBooleanColorFalse1": "#ff0000",
                                   "iTblCellBooleanColorTrue1": "#00ff00",
                                   "iTblCellNumberDecimals1": "0",
                                   "iTblCellNumberDecimalSeperator1": ",",
                                   "iTblCellNumberThousandSeperator1": ".",
                                   "iTblTextAlign1": "center",
                                   "iOpacityAll": "1",
                                   "iTblRowEvenColor": "#333333",
                                   "iTblRowUnevenColor": "#455618",
                                   "iTblHeaderColor": "#333333",
                                   "iRowSpacing": "10",
                                   "iTblRowEvenTextColor": "#ffffff",
                                   "iTblRowUnevenTextColor": "#ffffff",
                                   "iTblHeaderTextColor": "#ffffff",
                                   "iBorderSize": "1",
                                   "iBorderStyleLeft": "solid",
                                   "iBorderStyleRight": "solid",
                                   "iBorderStyleUp": "none",
                                   "iBorderStyleDown": "none",
                                   "iBorderColor": "#ffffff",
                                   "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.Corona.AT.Faelle.json",
                                   "iTblShowHead": true,
                                   "iVertScroll": true,
                                   "iColShow2": "true",
                                   "iTblCellFormat2": "normal",
                                   "iTblCellImageSize2": "200",
                                   "iTblCellBooleanCheckbox2": "false",
                                   "iTblCellBooleanColorFalse2": "#ff0000",
                                   "iTblCellBooleanColorTrue2": "#00ff00",
                                   "iTblCellNumberDecimals2": "0",
                                   "iTblCellNumberDecimalSeperator2": ",",
                                   "iTblCellNumberThousandSeperator2": ".",
                                   "iTblTextAlign2": "left",
                                   "iColShow3": "true",
                                   "iTblCellFormat3": "normal",
                                   "iTblCellImageSize3": "200",
                                   "iTblCellBooleanCheckbox3": "false",
                                   "iTblCellBooleanColorFalse3": "#ff0000",
                                   "iTblCellBooleanColorTrue3": "#00ff00",
                                   "iTblCellNumberDecimals3": "0",
                                   "iTblCellNumberDecimalSeperator3": ",",
                                   "iTblCellNumberThousandSeperator3": ".",
                                   "iTblTextAlign3": "center",
                                   "iColShow4": "true",
                                   "iTblCellFormat4": "number",
                                   "iTblCellImageSize4": "200",
                                   "iTblCellBooleanCheckbox4": "false",
                                   "iTblCellBooleanColorFalse4": "#ff0000",
                                   "iTblCellBooleanColorTrue4": "#00ff00",
                                   "iTblCellNumberDecimals4": "0",
                                   "iTblCellNumberDecimalSeperator4": ",",
                                   "iTblCellNumberThousandSeperator4": ".",
                                   "iTblTextAlign4": "right",
                                   "iColShow5": "true",
                                   "iTblCellFormat5": "number",
                                   "iTblCellImageSize5": "200",
                                   "iTblCellBooleanCheckbox5": "false",
                                   "iTblCellBooleanColorFalse5": "#ff0000",
                                   "iTblCellBooleanColorTrue5": "#00ff00",
                                   "iTblCellNumberDecimals5": "0",
                                   "iTblCellNumberDecimalSeperator5": ",",
                                   "iTblCellNumberThousandSeperator5": ".",
                                   "iTblTextAlign5": "right",
                                   "iColShow6": "true",
                                   "iTblCellFormat6": "number",
                                   "iTblCellImageSize6": "200",
                                   "iTblCellBooleanCheckbox6": "false",
                                   "iTblCellBooleanColorFalse6": "#ff0000",
                                   "iTblCellBooleanColorTrue6": "#00ff00",
                                   "iTblCellNumberDecimals6": "0",
                                   "iTblCellNumberDecimalSeperator6": ",",
                                   "iTblCellNumberThousandSeperator6": ".",
                                   "iTblTextAlign6": "right",
                                   "iColShow7": "true",
                                   "iTblCellFormat7": "number",
                                   "iTblCellImageSize7": "200",
                                   "iTblCellBooleanCheckbox7": "false",
                                   "iTblCellBooleanColorFalse7": "#ff0000",
                                   "iTblCellBooleanColorTrue7": "#00ff00",
                                   "iTblCellNumberDecimals7": "0",
                                   "iTblCellNumberDecimalSeperator7": ",",
                                   "iTblCellNumberThousandSeperator7": ".",
                                   "iTblTextAlign7": "right",
                                   "iColShow8": "true",
                                   "iTblCellFormat8": "number",
                                   "iTblCellImageSize8": "200",
                                   "iTblCellBooleanCheckbox8": "false",
                                   "iTblCellBooleanColorFalse8": "#ff0000",
                                   "iTblCellBooleanColorTrue8": "#00ff00",
                                   "iTblCellNumberDecimals8": "2",
                                   "iTblCellNumberDecimalSeperator8": ",",
                                   "iTblCellNumberThousandSeperator8": ".",
                                   "iTblTextAlign8": "right",
                                   "iColShow9": "true",
                                   "iTblCellFormat9": "number",
                                   "iTblCellImageSize9": "200",
                                   "iTblCellBooleanCheckbox9": "false",
                                   "iTblCellBooleanColorFalse9": "#ff0000",
                                   "iTblCellBooleanColorTrue9": "#00ff00",
                                   "iTblCellNumberDecimals9": "0",
                                   "iTblCellNumberDecimalSeperator9": ",",
                                   "iTblCellNumberThousandSeperator9": ".",
                                   "iTblTextAlign9": "right",
                                   "iColShow10": "true",
                                   "iTblCellFormat10": "number",
                                   "iTblCellImageSize10": "200",
                                   "iTblCellBooleanCheckbox10": "false",
                                   "iTblCellBooleanColorFalse10": "#ff0000",
                                   "iTblCellBooleanColorTrue10": "#00ff00",
                                   "iTblCellNumberDecimals10": "0",
                                   "iTblCellNumberDecimalSeperator10": ",",
                                   "iTblCellNumberThousandSeperator10": ".",
                                   "iTblTextAlign10": "right",
                                   "iColShow11": "true",
                                   "iTblCellFormat11": "number",
                                   "iTblCellImageSize11": "200",
                                   "iTblCellBooleanCheckbox11": "false",
                                   "iTblCellBooleanColorFalse11": "#ff0000",
                                   "iTblCellBooleanColorTrue11": "#00ff00",
                                   "iTblCellNumberDecimals11": "0",
                                   "iTblCellNumberDecimalSeperator11": ",",
                                   "iTblCellNumberThousandSeperator11": ".",
                                   "iTblTextAlign11": "right",
                                   "iColShow12": "true",
                                   "iTblCellFormat12": "number",
                                   "iTblCellImageSize12": "200",
                                   "iTblCellBooleanCheckbox12": "false",
                                   "iTblCellBooleanColorFalse12": "#ff0000",
                                   "iTblCellBooleanColorTrue12": "#00ff00",
                                   "iTblCellNumberDecimals12": "0",
                                   "iTblCellNumberDecimalSeperator12": ",",
                                   "iTblCellNumberThousandSeperator12": ".",
                                   "iTblTextAlign12": "right",
                                   "iColShow13": "true",
                                   "iTblCellFormat13": "number",
                                   "iTblCellImageSize13": "200",
                                   "iTblCellBooleanCheckbox13": "false",
                                   "iTblCellBooleanColorFalse13": "#ff0000",
                                   "iTblCellBooleanColorTrue13": "#00ff00",
                                   "iTblCellNumberDecimals13": "0",
                                   "iTblCellNumberDecimalSeperator13": ",",
                                   "iTblCellNumberThousandSeperator13": ".",
                                   "iTblTextAlign13": "right",
                                   "iColShow14": "true",
                                   "iTblCellFormat14": "normal",
                                   "iTblCellImageSize14": "200",
                                   "iTblCellBooleanCheckbox14": "false",
                                   "iTblCellBooleanColorFalse14": "#ff0000",
                                   "iTblCellBooleanColorTrue14": "#00ff00",
                                   "iTblCellNumberDecimals14": "0",
                                   "iTblCellNumberDecimalSeperator14": ",",
                                   "iTblCellNumberThousandSeperator14": ".",
                                   "iTblTextAlign14": "center",
                                   "iColShow15": "true",
                                   "iTblCellFormat15": "normal",
                                   "iTblCellImageSize15": "200",
                                   "iTblCellBooleanCheckbox15": "false",
                                   "iTblCellBooleanColorFalse15": "#ff0000",
                                   "iTblCellBooleanColorTrue15": "#00ff00",
                                   "iTblCellNumberDecimals15": "0",
                                   "iTblCellNumberDecimalSeperator15": ",",
                                   "iTblCellNumberThousandSeperator15": ".",
                                   "iTblTextAlign15": "left",
                                   "iTblCellDatetimeFormat1": "d.m.y",
                                   "iColName4": "EWZ",
                                   "iColName5": "Fälle",
                                   "iColName6": "Fälle kum",
                                   "iColName7": "Fälle7",
                                   "iColName8": "Inzidenz7",
                                   "iColName9": "Tote",
                                   "iColName10": "Tote kum",
                                   "iColName11": "Geheilt",
                                   "iColName12": "Geheilt kum",
                                   "iTblFixedHead": true,
                                   "iHorScroll": false,
                                   "iColWidth1": "80px",
                                   "iColName1": "Datum",
                                   "iColWidth2": "100px",
                                   "iColWidth3": "60px",
                                   "iColWidth4": "80px",
                                   "iColWidth5": "60px",
                                   "iColWidth6": "90px",
                                   "iColWidth7": "70px",
                                   "iColWidth8": "90px",
                                   "iColWidth9": "60px",
                                   "iColWidth10": "90px",
                                   "iColWidth11": "80px",
                                   "iColWidth12": "140px",
                                   "iTblCellThresholdsDp1": "",
                                   "iTblCellThresholdsText1": "",
                                   "iTblCellThresholdsDp2": "",
                                   "iTblCellThresholdsText2": "",
                                   "iTblCellThresholdsDp3": "",
                                   "iTblCellThresholdsText3": "",
                                   "iTblCellThresholdsDp4": "",
                                   "iTblCellThresholdsText4": "",
                                   "iTblCellThresholdsDp5": "",
                                   "iTblCellThresholdsText5": "",
                                   "iTblCellThresholdsDp6": "",
                                   "iTblCellThresholdsText6": "",
                                   "iTblCellThresholdsDp7": "",
                                   "iTblCellThresholdsText7": "",
                                   "iTblCellThresholdsDp8": "",
                                   "iTblCellThresholdsText8": "",
                                   "iTblCellThresholdsDp9": "",
                                   "iTblCellThresholdsText9": "",
                                   "iTblCellThresholdsDp10": "",
                                   "iTblCellThresholdsText10": "",
                                   "iTblCellThresholdsDp11": "",
                                   "iTblCellThresholdsText11": "",
                                   "iTblCellThresholdsDp12": "",
                                   "iTblCellThresholdsText12": "",
                                   "iTblCellThresholdsDp13": "",
                                   "iTblCellThresholdsText13": "",
                                   "iTblCellThresholdsDp14": "",
                                   "iTblCellThresholdsText14": "",
                                   "iColWidth13": "90",
                                   "iColName13": "Aktiv",
                                   "iColName14": "Upd",
                                   "iColAttr14": "Upd",
                                   "iColAttr1": ""
                                 },
                                 "style": {
                                   "left": "10px",
                                   "top": "610px",
                                   "height": "191px",
                                   "width": "1462px",
                                   "z-index": "4"
                                 },
                                 "widgetSet": "vis-inventwo"
                               },
                               "e00005": {
                                 "tpl": "tplVis-materialdesign-Button-State",
                                 "data": {
                                   "oid": "0_userdata.0.Corona.AT.Faelle.Refresh",
                                   "g_fixed": false,
                                   "g_visibility": false,
                                   "g_css_font_text": true,
                                   "g_css_background": true,
                                   "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",
                                   "buttonStyle": "unelevated",
                                   "vibrateOnMobilDevices": "50",
                                   "iconPosition": "left",
                                   "autoLockAfter": "10",
                                   "lockFilterGrayscale": "30",
                                   "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,
                                   "buttontext": "Refresh",
                                   "colorPress": "#ff0000",
                                   "labelWidth": "0",
                                   "exportData": "true",
                                   "value": "true",
                                   "textFontFamily": "{vis-materialdesign.0.fonts.button.text}",
                                   "textFontSize": "{vis-materialdesign.0.fontSizes.button.text}",
                                   "lockIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.lock_icon;dark:vis-materialdesign.0.colors.dark.button.lock_icon; mode === \"true\" ? dark : light}",
                                   "mdwButtonPrimaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.primary;dark:vis-materialdesign.0.colors.dark.button.default.primary; mode === \"true\" ? dark : light}",
                                   "mdwButtonSecondaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.secondary;dark:vis-materialdesign.0.colors.dark.button.default.secondary; mode === \"true\" ? dark : light}",
                                   "image": "pencil"
                                 },
                                 "style": {
                                   "left": "10px",
                                   "top": "10px",
                                   "width": "71px",
                                   "height": "29px",
                                   "color": "#FF0000",
                                   "background-color": "#000000",
                                   "z-index": "3"
                                 },
                                 "widgetSet": "materialdesign"
                               },
                               "e00006": {
                                 "tpl": "i-vis-universal",
                                 "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": true,
                                   "visibility-cond": "==",
                                   "visibility-val": 1,
                                   "visibility-groups-action": "hide",
                                   "iUniversalWidgetType": "Navigation",
                                   "iValueType": "boolean",
                                   "iStateResponseTime": "0",
                                   "iStateResetValueTime": "0",
                                   "iNavWait": "99",
                                   "iButtonCol": "#333333",
                                   "iButtonActive": "#455618",
                                   "iOpacityBack": "1",
                                   "iCornerRadiusUL": "0",
                                   "iCornerRadiusUR": "0",
                                   "iCornerRadiusLR": "0",
                                   "iCornerRadiusLL": "0",
                                   "iContentFlexDirection": "vertical",
                                   "iContentVertAlign": "iSpace-between",
                                   "iContentOrder": "orderImgText",
                                   "iOpacityCtn": "1",
                                   "iTextColor": "#000000",
                                   "iTextSize": "16",
                                   "iTextAlign": "iCenter",
                                   "iTextSpaceTop": "20",
                                   "iTextSpaceBottom": "0",
                                   "iTextSpaceLeft": "0",
                                   "iTextSpaceRight": "0",
                                   "iIconSize": "35",
                                   "iImgAlign": "iCenter",
                                   "iImgSpaceTop": "5",
                                   "iImgSpaceBottom": "0",
                                   "iImgSpaceLeft": "0",
                                   "iImgSpaceRight": "0",
                                   "iImgRotation": "0",
                                   "iImgBlinkFalse": "0",
                                   "iImgBlinkTrue": "0",
                                   "iImgColorFalse": "",
                                   "iImgColorTrue": "",
                                   "iImgColorFalseFilter": "",
                                   "iImgColorTrueFilter": "",
                                   "iShadowXOffset": "2",
                                   "iShadowYOffset": "2",
                                   "iShadowBlur": "2",
                                   "iShadowSpread": "1",
                                   "iShadowColor": "#111111",
                                   "iShadowColorActive": "#111111",
                                   "iShadowInnerXOffset": "0",
                                   "iShadowInnerYOffset": "0",
                                   "iShadowInnerBlur": "0",
                                   "iShadowInnerSpread": "0",
                                   "iShadowInnerColor": "#111111",
                                   "iShadowInnerColorActive": "#111111",
                                   "iBorderSize": "0",
                                   "iBorderStyle": "none",
                                   "iBorderColor": "#ffffff",
                                   "iBorderColorActive": "#ffffff",
                                   "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,
                                   "nav_view": "Ampel",
                                   "iTextFalse": "Ampel",
                                   "value": "Ampel",
                                   "iTextTrue": "Ampel",
                                   "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,
                                   "iValueComparison": "equal",
                                   "iButtonColHover": "",
                                   "iShadowColorHover": "",
                                   "iShadowInnerColorHover": "",
                                   "iBorderColorHover": "",
                                   "iPopUpBackground": "#666666",
                                   "iPopUpPreventClickOutside": "",
                                   "iPopUpShowTitle": "true",
                                   "iPopUpTitle": "",
                                   "iPopUpTitleColor": "#ffffff",
                                   "iPopUpCloseBtnColor": "#dc2e2e",
                                   "iPopUpWidth": "800px",
                                   "iPopUpHeight": "500px",
                                   "iPopUpPosition": "center",
                                   "iPopUpCornerRadiusUL": "12",
                                   "iPopUpCornerRadiusUR": "0",
                                   "iPopUpCornerRadiusLR": "12",
                                   "iPopUpCornerRadiusLL": "0",
                                   "iPopUpShadowXOffset": "2",
                                   "iPopUpShadowYOffset": "2",
                                   "iPopUpShadowBlur": "2",
                                   "iPopUpShadowSpread": "1",
                                   "iPopUpShadowColor": "#111111",
                                   "iPopUpHeightTitle": "50",
                                   "iPopUpTitleSize": "28",
                                   "iPopUpPositionX": "0",
                                   "iPopUpPositionY": "0",
                                   "iPopUpCloseAfterSeconds": "0"
                                 },
                                 "style": {
                                   "left": "80px",
                                   "top": "10px",
                                   "width": "65px",
                                   "height": "27px",
                                   "z-index": "3"
                                 },
                                 "widgetSet": "vis-inventwo"
                               },
                               "e00007": {
                                 "tpl": "tplVis-materialdesign-Select",
                                 "data": {
                                   "oid": "0_userdata.0.Corona.AT.Faelle.GKZ",
                                   "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",
                                   "inputType": "text",
                                   "vibrateOnMobilDevices": "50",
                                   "inputLayout": "regular",
                                   "inputAlignment": "left",
                                   "inputTextFontFamily": "{vis-materialdesign.0.fonts.input.text}",
                                   "inputTextFontSize": "{vis-materialdesign.0.fontSizes.input.text}",
                                   "inputLabelFontFamily": "{vis-materialdesign.0.fonts.input.label}",
                                   "inputLabelFontSize": "{vis-materialdesign.0.fontSizes.input.label}",
                                   "inputAppendixFontSize": "{vis-materialdesign.0.fontSizes.input.appendix}",
                                   "inputAppendixFontFamily": "{vis-materialdesign.0.fonts.input.appendix}",
                                   "showInputMessageAlways": false,
                                   "inputMessageFontFamily": "{vis-materialdesign.0.fonts.input.message}",
                                   "inputMessageFontSize": "{vis-materialdesign.0.fontSizes.input.message}",
                                   "showInputCounter": false,
                                   "inputCounterFontSize": "{vis-materialdesign.0.fontSizes.input.counter}",
                                   "inputCounterFontFamily": "{vis-materialdesign.0.fonts.input.counter}",
                                   "clearIconShow": false,
                                   "listDataMethod": "jsonStringObject",
                                   "countSelectItems": "0",
                                   "listPosition": "auto",
                                   "showSelectedIcon": "no",
                                   "listItemFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.text}",
                                   "listItemFont": "{vis-materialdesign.0.fonts.input.dropdown.text}",
                                   "listItemSubFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.subText}",
                                   "listItemSubFont": "{vis-materialdesign.0.fonts.input.dropdown.subText}",
                                   "showValue": false,
                                   "listItemValueFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.value}",
                                   "listItemValueFont": "{vis-materialdesign.0.fonts.input.dropdown.value}",
                                   "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,
                                   "valueList": "",
                                   "valueListLabels": "",
                                   "value0": "",
                                   "label0": "",
                                   "value1": "318",
                                   "label1": "Neunkirchen",
                                   "value2": "900",
                                   "label2": "Wien",
                                   "value3": "3",
                                   "label3": "Berlin",
                                   "value4": "4",
                                   "label4": "Deutschland",
                                   "openOnClear": true,
                                   "listItemHeight": "1",
                                   "listPositionOffset": true,
                                   "inputLabelText": "",
                                   "inputLabelColor": "",
                                   "listIcon0": "",
                                   "listIcon1": "",
                                   "inputLayoutBackgroundColor": "#eee9c4",
                                   "listItemBackgroundColor": "#eee9c4",
                                   "listItemFontColor": "#000000",
                                   "listItemBackgroundHoverColor": "#ff0000",
                                   "listItemBackgroundSelectedColor": "#000000",
                                   "value5": "5",
                                   "label5": "Frankfurt",
                                   "value6": "6",
                                   "label6": "München",
                                   "value7": "7",
                                   "label7": "Köln",
                                   "value8": "8",
                                   "label8": "Hamburg",
                                   "listIconSize": "20",
                                   "inputLayoutBorderColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border;dark:vis-materialdesign.0.colors.dark.input.border; mode === \"true\" ? dark : light}",
                                   "inputLayoutBorderColorHover": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_hover;dark:vis-materialdesign.0.colors.dark.input.border_hover; mode === \"true\" ? dark : light}",
                                   "inputLayoutBorderColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_selected;dark:vis-materialdesign.0.colors.dark.input.border_selected; mode === \"true\" ? dark : light}",
                                   "inputTextColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.text;dark:vis-materialdesign.0.colors.dark.input.text; mode === \"true\" ? dark : light}",
                                   "inputLabelColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.label_selected;dark:vis-materialdesign.0.colors.dark.input.label_selected; mode === \"true\" ? dark : light}",
                                   "inputAppendixColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.appendix;dark:vis-materialdesign.0.colors.dark.input.appendix; mode === \"true\" ? dark : light}",
                                   "inputMessageColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.message;dark:vis-materialdesign.0.colors.dark.input.message; mode === \"true\" ? dark : light}",
                                   "inputCounterColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.counter;dark:vis-materialdesign.0.colors.dark.input.counter; mode === \"true\" ? dark : light}",
                                   "collapseIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.icon_collapse;dark:vis-materialdesign.0.colors.dark.input.icon_collapse; mode === \"true\" ? dark : light}",
                                   "listItemRippleEffectColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.effect;dark:vis-materialdesign.0.colors.dark.input.menu.effect; mode === \"true\" ? dark : light}",
                                   "listIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.icon;dark:vis-materialdesign.0.colors.dark.input.menu.icon; mode === \"true\" ? dark : light}",
                                   "listItemSubFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.subText;dark:vis-materialdesign.0.colors.dark.input.menu.subText; mode === \"true\" ? dark : light}",
                                   "listItemValueFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.value;dark:vis-materialdesign.0.colors.dark.input.menu.value; mode === \"true\" ? dark : light}",
                                   "jsonStringObject": "{0_userdata.0.Corona.AT.Faelle.GKZBezirke}",
                                   "valueListIcons": "",
                                   "clearIcon": "",
                                   "clearIconColor": "#mdwTheme:vis-materialdesign.0.colors.input.icon_clear"
                                 },
                                 "style": {
                                   "left": "530px",
                                   "top": "320px",
                                   "width": "198px",
                                   "height": "31px",
                                   "z-index": "1"
                                 },
                                 "widgetSet": "materialdesign"
                               },
                               "e00008": {
                                 "tpl": "tplVis-materialdesign-Chart-JSON",
                                 "data": {
                                   "oid": "0_userdata.0.Corona.AT.Faelle.chart4",
                                   "g_fixed": false,
                                   "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,
                                   "chartType": "line",
                                   "showLegend": true,
                                   "legendPosition": "top",
                                   "legendPointStyle": true,
                                   "showTooltip": "true",
                                   "tooltipMode": "nearest",
                                   "tooltipShowColorBox": "true",
                                   "xAxisPosition": "bottom",
                                   "xAxisValueDistanceToAxis": "10",
                                   "xAxisShowAxis": true,
                                   "xAxisShowAxisLabels": true,
                                   "xAxisShowGridLines": true,
                                   "xAxisShowTicks": true,
                                   "xAxisMinRotation": "45",
                                   "xAxisMaxRotation": "60",
                                   "yAxisValueDistanceToAxis": "6",
                                   "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,
                                   "xAxisMaxLabel": "15",
                                   "xAxisTitle": "",
                                   "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                   "axisLabelAutoSkip": true,
                                   "xAxisOffsetGridLines": false,
                                   "xAxisTickLength": "12",
                                   "xAxisZeroLineWidth": "0.8",
                                   "xAxisValueFontSize": "14",
                                   "xAxisTitleColor": "#0e0c0c",
                                   "xAxisValueLabelColor": "#000000",
                                   "xAxisGridLinesColor": "#ffffff",
                                   "xAxisGridLinesWitdh": "0.3",
                                   "xAxisZeroLineColor": "#ff0000",
                                   "yAxisValueFontSize": "12",
                                   "yAxisValueLabelColor": "#000000",
                                   "colorScheme": "scrounger.pie",
                                   "disableHoverEffects": true,
                                   "barWidth": "6",
                                   "backgroundColor": "#eee9c4",
                                   "chartAreaBackgroundColor": "#000000",
                                   "chartPaddingTop": "10",
                                   "chartPaddingLeft": "10",
                                   "chartPaddingRight": "10",
                                   "chartPaddingBottom": "10",
                                   "globalColor": "#fe972f",
                                   "animationDuration": "",
                                   "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                   "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                   "legendFontColor": "#000000",
                                   "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                   "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                   "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                   "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                   "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                   "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                   "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                   "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                   "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                   "xAxisTicksSource": "auto",
                                   "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                   "xAxisDistanceBetweenTicks": "10",
                                   "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                   "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                   "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                   "xAxisOffset": false,
                                   "xAxisLabelUseTodayYesterday": false,
                                   "visibility-cond": "==",
                                   "visibility-val": 1,
                                   "visibility-groups-action": "hide",
                                   "legendPadding": "20",
                                   "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                   "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                   "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                   "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                   "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                   "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                   "tooltipPosition": "nearest",
                                   "tooltipBodyAlignment": "left"
                                 },
                                 "style": {
                                   "left": "730px",
                                   "top": "310px",
                                   "width": "720px",
                                   "height": "300px",
                                   "z-index": "1",
                                   "border-style": "solid",
                                   "border-width": "1px",
                                   "border-color": "red"
                                 },
                                 "widgetSet": "materialdesign"
                               }
                             },
                             "name": "AT",
                             "filterList": []
                            }
                            

                            bergjetB Offline
                            bergjetB Offline
                            bergjet
                            schrieb am zuletzt editiert von
                            #209

                            @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

                            Hier mein neustes angepasstes Skript, welches mit UTF-8 als auch UTF-8 BOM zurecht kommt

                            Danke.

                            homee, ioBroker, iMac, iPhone, Sonos, Alaxa

                            1 Antwort Letzte Antwort
                            0
                            • bergjetB Offline
                              bergjetB Offline
                              bergjet
                              schrieb am zuletzt editiert von
                              #210

                              Ich weis nicht mehr wer dieses Script geschrieben hat?
                              Anzeige der Corona Ampel


                              //6.10.2020 9:00
                              const url2 = 'https://corona-ampel.gv.at/sites/corona-ampel.gv.at/files/assets/Warnstufen_Corona_Ampel_aktuell.json';
                              const url = 'https://corona-ampel.gv.at/sites/corona-ampel.gv.at/files/assets/Warnstufen_Corona_Ampel_Gemeinden_aktuell.json';
                              var warnstufe=0;
                              var htmlwidget ='';
                              var arrStand="";
                              var sucheGKZ="32013"
                              var zusatzRegionen=["320","32013","32008"]

                              var farbwertLevel1 = '#04B404'
                              var farbwertLevel2 = '#FFFF00'
                              var farbwertLevel3 = '#FF8000'
                              var farbwertLevel4 = '#DF0101'
                              var warngebiet = ''
                              var warnregion="";
                              var anzahl=0;
                              var gkz=""
                              var directory = 'Coronaampel' //javascript.0.xxx
                              var tableContent = ''
                              var dpSort;

                              createState(directory + '.warnstufe', {
                              name: 'Corona Warnstufe',
                              read: true,
                              write: false,
                              type: "number",
                              def: 0
                              });
                              createState(directory + '.anzahl', {
                              name: 'Corona Anzahl',
                              read: true,
                              write: false,
                              type: "number",
                              def: 0
                              });
                              createState(directory + '.Sortierung', {
                              name: 'Corona Sortierung',
                              read: true,
                              write: true,
                              type: "number",
                              def: 1
                              });
                              createState(directory + '.Refresh', {
                              name: 'Corona Refresh',
                              read: true,
                              write: true,
                              type: "boolean",
                              def: false
                              });

                              createState(directory + '.warngebiet', {
                              name: 'Corona Warngebiet',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });

                              createState(directory + '.warnfarbe', {
                              name: 'Corona Warnfarbe',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });
                              createState(directory + '.geholt', {
                              name: 'Corona Datum',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });

                              createState(directory + '.GKZ', {
                              name: 'Corona GKZ',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });

                              createState(directory + '.warnregion', {
                              name: 'Corona Region',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });

                              createState(directory + '.stand', {
                              name: 'Corona stand',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });

                              createState(directory + '.warntabelle', {
                              name: 'Corona Tabelle',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });

                              createState(directory + '.jsonTable', {
                              name: 'Corona jsonTabelle',
                              read: true,
                              write: false,
                              type: "string",
                              def: ""
                              });
                              var myObj=[];

                              schedule(' 0 15 * * *', function() {
                              main()
                              });

                              setTimeout(function(){main()},10000);

                              function main() { dpSort=getState(directory+'.Sortierung').val
                              myObj=[];
                              warnstufe = 0;
                              tableContent = ''
                              request(url, function(err, response, json) {

                                 let arr = (JSON.parse(json)[0]).Warnstufen;
                                  arrStand = (JSON.parse(json)[0]).Stand;
                               //  log(JSON.stringify(arr))
                               //  log(arr.flat(1))
                                 //log(arrStand.toString())
                                 //Loop und suche nach Bezirk
                              
                                request(url2, function(err, response, json) {
                              
                                 let arr2 = (JSON.parse(json)[0]).Warnstufen;
                              // log(arr.length.toString())
                                 arr= arr.concat(arr2)
                                //    log(arr.length.toString())
                              for(var z = 0; z < zusatzRegionen.length; z++) {    
                                  for(let i = 0; i < arr.length; i++) { 
                                    if(arr[i].GKZ == zusatzRegionen[z]){
                                      myObj.push(arr[i])
                                      break;
                                      }
                                 }
                              }
                              
                              for(let i = 0; i < arr.length; i++) { 
                                    if(arr[i].GKZ == sucheGKZ){
                                      //log(' Warnstufe für ' + suchwertBezirk + ': ' + arr[i].Warnstufe)
                                      warnstufe = Number(arr[i].Warnstufe);
                                      gkz=sucheGKZ
                                      warnregion=arr[i].Region
                                      warngebiet = arr[i].Name 
                                     break;}}
                              
                                 anzahl=arr.length
                              
                              
                              
                              
                              
                                 for(let i = 0; i < arr.length; i++) { 
                                     fillTable(arr[i].Region,arr[i].Name,arr[i].Warnstufe,arr[i].GKZ)
                                 }
                                 finishTable()
                              

                              saveData()

                              });
                              });

                              }

                              function fillTable(gebiet,name,warnstufe,gkz){
                              if (tableContent == ''){
                              tableContent = '<table ><tbody>'
                              }
                              tableContent += '<tr><td>' + gebiet + '</td>'
                              tableContent += '<td>' + gkz + '</td>'
                              tableContent += '<td>' + name + '</td>'
                              tableContent += '<td>' + warnstufe + '</td>'
                              tableContent += '</tr>';
                              }

                              function finishTable(){

                              tableContent += '</tbody></table>'
                              setState(directory+'.warntabelle',tableContent)
                              }

                              function saveData(){
                              sotiereJson(dpSort)

                              jsonWarn()
                              setState(directory+'.jsonTable',JSON.stringify(myObj))

                              setState(directory+'.Refresh',false)
                              setState(directory+'.anzahl',anzahl)
                              // setState(directory+'.searchbyGKZ',suchGKZactivieren)
                              setState(directory+'.warnstufe',warnstufe)
                              setState(directory+'.warngebiet',warngebiet)
                              setState(directory+'.GKZ',gkz)
                              setState(directory+'.warnregion',warnregion)
                              setState(directory+'.geholt',formatDate(getDateObject((new Date().getTime())), "hh:mm"))
                              setState(directory+'.stand', formatDate(getDateObject(arrStand.toString()), "TT:MM:JJJJ - SS:mm"));
                              switch (warnstufe) {
                              case 1:
                              setState(directory+'.warnfarbe',farbwertLevel1)
                              break;
                              case 2:
                              setState(directory+'.warnfarbe',farbwertLevel2)
                              break;
                              case 3:
                              setState(directory+'.warnfarbe',farbwertLevel3)
                              break;
                              case 4 :
                              setState(directory+'.warnfarbe',farbwertLevel4)
                              break;
                              default: setState(directory+'.warnfarbe',"");
                              ;
                              }
                              }

                              function jsonWarn(){

                              for(let i = 0; i < myObj.length; i++) { 
                                var istWarnstufe=Number(myObj[i].Warnstufe)
                                 switch (istWarnstufe) {
                                         case 1: 
                                                         myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/grün.png"+" height=\"30\" width=\"30\">"//"🟢"
                                                         break;
                                         case 2: 
                                                         myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/gelb.png"+" height=\"30\" width=\"30\">"//"🟡"
                                                         break;
                                         case 3: 
                                                         myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/orange.png"+" height=\"30\" width=\"30\">"//"🟠"
                                                         break;
                                         case 4   : 
                                                         myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/rot.png"+" height=\"30\" width=\"30\">"//"🔴"
                                                         break;
                                         default: myObj[i].Warnstufe="?";
                                         ;
                                     }
                                   }
                                   }
                              

                              function sotiereJson(mySort) {
                              // log(mySort.toString())
                              switch (mySort) {
                              case 1:
                              myObj.sort(function (alpha, beta) {
                              if (alpha.Region > beta.Region )

                                                               return 1;
                                                               if (beta.Region > alpha.Region)
                                                               return -1;
                                                               return 0;
                                                            }); 
                                                         break;
                                         case 2: 
                                                         myObj.sort(function (alpha, beta) {
                                                              if (Number(alpha.GKZ) > Number(beta.GKZ) )
                                                              return 1;
                                                             if (Number(beta.GKZ) > Number(alpha.GKZ)  )
                                                             return -1;
                                                             return 0;
                                                                 }); 
                                                         break;
                                         case 3: 
                                                       myObj.sort(function (alpha, beta) {
                                                              if (alpha.Name > beta.Name )
                                      
                                                              return 1;
                                                             if (beta.Name > alpha.Name)
                                                             return -1;
                                                             return 0;
                                     });
                                                         break;
                                         case 4   : 
                                                         myObj.sort(function(a, b){
                                                         return b.Warnstufe - a.Warnstufe;
                                                         });
                                                         break;
                                         default:        myObj.sort(function(a, b){
                                                         return b.Warnstufe - a.Warnstufe;
                                                         });
                                         ;
                                     }
                              

                              }

                              on({id: 'javascript.'+instance+'.'+directory + '.Sortierung', change: "any"}, function (obj) {

                              main()
                              

                              });
                              on({id: 'javascript.'+instance+'.'+directory + '.Refresh', val: true}, function (obj) {

                              main()
                              

                              });

                              Aber nach einem Update des js.controller auf 3.3.15 und dem Admin Adapter auf 5.1.23 bekomme ich diese Fehlermeldung.

                              javascript.0
                              2021-08-29 18:30:32.163	warn	Read-only state "javascript.0.Coronaampel.warnfarbe" has been written without ack-flag with value "#FFFF00"
                              
                              javascript.0
                              2021-08-29 18:30:32.162	warn	Read-only state "javascript.0.Coronaampel.stand" has been written without ack-flag with value "26:08:2021 - 21:30"
                              
                              javascript.0
                              2021-08-29 18:30:32.161	warn	Read-only state "javascript.0.Coronaampel.warnregion" has been written without ack-flag with value "Gemeinde"
                              
                              javascript.0
                              2021-08-29 18:30:32.160	warn	Read-only state "javascript.0.Coronaampel.GKZ" has been written without ack-flag with value "32013"
                              
                              javascript.0
                              2021-08-29 18:30:32.161	warn	Read-only state "javascript.0.Coronaampel.geholt" has been written without ack-flag with value "18:30"
                              
                              javascript.0
                              2021-08-29 18:30:32.159	warn	Read-only state "javascript.0.Coronaampel.warngebiet" has been written without ack-flag with value "Scheibbs"
                              
                              javascript.0
                              2021-08-29 18:30:32.159	warn	Read-only state "javascript.0.Coronaampel.warnstufe" has been written without ack-flag with value "2"
                              
                              javascript.0
                              2021-08-29 18:30:32.158	warn	Read-only state "javascript.0.Coronaampel.anzahl" has been written without ack-flag with value "2105"
                              
                              javascript.0
                              2021-08-29 18:30:32.157	warn	Read-only state "javascript.0.Coronaampel.jsonTable" has been written without ack-flag with value "[{"Region":"Gemeinde","GKZ":"32013","Name":"Scheibbs","Warnstufe":"<img src=/vis.0/Bilder/Icon/gelb.png height=\"30\" width=\"30\">"},{"Region":"Gemeinde","GKZ":"32008","Name":"Purgstall an der Erlauf","Warnstufe":"<img src=/vis.0/Bilder/Icon/gelb.png height=\"30\" width=\"30\">"}]"
                              

                              Gibt es da eine Erklärung dafür?

                              homee, ioBroker, iMac, iPhone, Sonos, Alaxa

                              F 1 Antwort Letzte Antwort
                              0
                              • bergjetB bergjet

                                Ich weis nicht mehr wer dieses Script geschrieben hat?
                                Anzeige der Corona Ampel


                                //6.10.2020 9:00
                                const url2 = 'https://corona-ampel.gv.at/sites/corona-ampel.gv.at/files/assets/Warnstufen_Corona_Ampel_aktuell.json';
                                const url = 'https://corona-ampel.gv.at/sites/corona-ampel.gv.at/files/assets/Warnstufen_Corona_Ampel_Gemeinden_aktuell.json';
                                var warnstufe=0;
                                var htmlwidget ='';
                                var arrStand="";
                                var sucheGKZ="32013"
                                var zusatzRegionen=["320","32013","32008"]

                                var farbwertLevel1 = '#04B404'
                                var farbwertLevel2 = '#FFFF00'
                                var farbwertLevel3 = '#FF8000'
                                var farbwertLevel4 = '#DF0101'
                                var warngebiet = ''
                                var warnregion="";
                                var anzahl=0;
                                var gkz=""
                                var directory = 'Coronaampel' //javascript.0.xxx
                                var tableContent = ''
                                var dpSort;

                                createState(directory + '.warnstufe', {
                                name: 'Corona Warnstufe',
                                read: true,
                                write: false,
                                type: "number",
                                def: 0
                                });
                                createState(directory + '.anzahl', {
                                name: 'Corona Anzahl',
                                read: true,
                                write: false,
                                type: "number",
                                def: 0
                                });
                                createState(directory + '.Sortierung', {
                                name: 'Corona Sortierung',
                                read: true,
                                write: true,
                                type: "number",
                                def: 1
                                });
                                createState(directory + '.Refresh', {
                                name: 'Corona Refresh',
                                read: true,
                                write: true,
                                type: "boolean",
                                def: false
                                });

                                createState(directory + '.warngebiet', {
                                name: 'Corona Warngebiet',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });

                                createState(directory + '.warnfarbe', {
                                name: 'Corona Warnfarbe',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });
                                createState(directory + '.geholt', {
                                name: 'Corona Datum',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });

                                createState(directory + '.GKZ', {
                                name: 'Corona GKZ',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });

                                createState(directory + '.warnregion', {
                                name: 'Corona Region',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });

                                createState(directory + '.stand', {
                                name: 'Corona stand',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });

                                createState(directory + '.warntabelle', {
                                name: 'Corona Tabelle',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });

                                createState(directory + '.jsonTable', {
                                name: 'Corona jsonTabelle',
                                read: true,
                                write: false,
                                type: "string",
                                def: ""
                                });
                                var myObj=[];

                                schedule(' 0 15 * * *', function() {
                                main()
                                });

                                setTimeout(function(){main()},10000);

                                function main() { dpSort=getState(directory+'.Sortierung').val
                                myObj=[];
                                warnstufe = 0;
                                tableContent = ''
                                request(url, function(err, response, json) {

                                   let arr = (JSON.parse(json)[0]).Warnstufen;
                                    arrStand = (JSON.parse(json)[0]).Stand;
                                 //  log(JSON.stringify(arr))
                                 //  log(arr.flat(1))
                                   //log(arrStand.toString())
                                   //Loop und suche nach Bezirk
                                
                                  request(url2, function(err, response, json) {
                                
                                   let arr2 = (JSON.parse(json)[0]).Warnstufen;
                                // log(arr.length.toString())
                                   arr= arr.concat(arr2)
                                  //    log(arr.length.toString())
                                for(var z = 0; z < zusatzRegionen.length; z++) {    
                                    for(let i = 0; i < arr.length; i++) { 
                                      if(arr[i].GKZ == zusatzRegionen[z]){
                                        myObj.push(arr[i])
                                        break;
                                        }
                                   }
                                }
                                
                                for(let i = 0; i < arr.length; i++) { 
                                      if(arr[i].GKZ == sucheGKZ){
                                        //log(' Warnstufe für ' + suchwertBezirk + ': ' + arr[i].Warnstufe)
                                        warnstufe = Number(arr[i].Warnstufe);
                                        gkz=sucheGKZ
                                        warnregion=arr[i].Region
                                        warngebiet = arr[i].Name 
                                       break;}}
                                
                                   anzahl=arr.length
                                
                                
                                
                                
                                
                                   for(let i = 0; i < arr.length; i++) { 
                                       fillTable(arr[i].Region,arr[i].Name,arr[i].Warnstufe,arr[i].GKZ)
                                   }
                                   finishTable()
                                

                                saveData()

                                });
                                });

                                }

                                function fillTable(gebiet,name,warnstufe,gkz){
                                if (tableContent == ''){
                                tableContent = '<table ><tbody>'
                                }
                                tableContent += '<tr><td>' + gebiet + '</td>'
                                tableContent += '<td>' + gkz + '</td>'
                                tableContent += '<td>' + name + '</td>'
                                tableContent += '<td>' + warnstufe + '</td>'
                                tableContent += '</tr>';
                                }

                                function finishTable(){

                                tableContent += '</tbody></table>'
                                setState(directory+'.warntabelle',tableContent)
                                }

                                function saveData(){
                                sotiereJson(dpSort)

                                jsonWarn()
                                setState(directory+'.jsonTable',JSON.stringify(myObj))

                                setState(directory+'.Refresh',false)
                                setState(directory+'.anzahl',anzahl)
                                // setState(directory+'.searchbyGKZ',suchGKZactivieren)
                                setState(directory+'.warnstufe',warnstufe)
                                setState(directory+'.warngebiet',warngebiet)
                                setState(directory+'.GKZ',gkz)
                                setState(directory+'.warnregion',warnregion)
                                setState(directory+'.geholt',formatDate(getDateObject((new Date().getTime())), "hh:mm"))
                                setState(directory+'.stand', formatDate(getDateObject(arrStand.toString()), "TT:MM:JJJJ - SS:mm"));
                                switch (warnstufe) {
                                case 1:
                                setState(directory+'.warnfarbe',farbwertLevel1)
                                break;
                                case 2:
                                setState(directory+'.warnfarbe',farbwertLevel2)
                                break;
                                case 3:
                                setState(directory+'.warnfarbe',farbwertLevel3)
                                break;
                                case 4 :
                                setState(directory+'.warnfarbe',farbwertLevel4)
                                break;
                                default: setState(directory+'.warnfarbe',"");
                                ;
                                }
                                }

                                function jsonWarn(){

                                for(let i = 0; i < myObj.length; i++) { 
                                  var istWarnstufe=Number(myObj[i].Warnstufe)
                                   switch (istWarnstufe) {
                                           case 1: 
                                                           myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/grün.png"+" height=\"30\" width=\"30\">"//"🟢"
                                                           break;
                                           case 2: 
                                                           myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/gelb.png"+" height=\"30\" width=\"30\">"//"🟡"
                                                           break;
                                           case 3: 
                                                           myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/orange.png"+" height=\"30\" width=\"30\">"//"🟠"
                                                           break;
                                           case 4   : 
                                                           myObj[i].Warnstufe="<img src="+"/vis.0/Bilder/Icon/rot.png"+" height=\"30\" width=\"30\">"//"🔴"
                                                           break;
                                           default: myObj[i].Warnstufe="?";
                                           ;
                                       }
                                     }
                                     }
                                

                                function sotiereJson(mySort) {
                                // log(mySort.toString())
                                switch (mySort) {
                                case 1:
                                myObj.sort(function (alpha, beta) {
                                if (alpha.Region > beta.Region )

                                                                 return 1;
                                                                 if (beta.Region > alpha.Region)
                                                                 return -1;
                                                                 return 0;
                                                              }); 
                                                           break;
                                           case 2: 
                                                           myObj.sort(function (alpha, beta) {
                                                                if (Number(alpha.GKZ) > Number(beta.GKZ) )
                                                                return 1;
                                                               if (Number(beta.GKZ) > Number(alpha.GKZ)  )
                                                               return -1;
                                                               return 0;
                                                                   }); 
                                                           break;
                                           case 3: 
                                                         myObj.sort(function (alpha, beta) {
                                                                if (alpha.Name > beta.Name )
                                        
                                                                return 1;
                                                               if (beta.Name > alpha.Name)
                                                               return -1;
                                                               return 0;
                                       });
                                                           break;
                                           case 4   : 
                                                           myObj.sort(function(a, b){
                                                           return b.Warnstufe - a.Warnstufe;
                                                           });
                                                           break;
                                           default:        myObj.sort(function(a, b){
                                                           return b.Warnstufe - a.Warnstufe;
                                                           });
                                           ;
                                       }
                                

                                }

                                on({id: 'javascript.'+instance+'.'+directory + '.Sortierung', change: "any"}, function (obj) {

                                main()
                                

                                });
                                on({id: 'javascript.'+instance+'.'+directory + '.Refresh', val: true}, function (obj) {

                                main()
                                

                                });

                                Aber nach einem Update des js.controller auf 3.3.15 und dem Admin Adapter auf 5.1.23 bekomme ich diese Fehlermeldung.

                                javascript.0
                                2021-08-29 18:30:32.163	warn	Read-only state "javascript.0.Coronaampel.warnfarbe" has been written without ack-flag with value "#FFFF00"
                                
                                javascript.0
                                2021-08-29 18:30:32.162	warn	Read-only state "javascript.0.Coronaampel.stand" has been written without ack-flag with value "26:08:2021 - 21:30"
                                
                                javascript.0
                                2021-08-29 18:30:32.161	warn	Read-only state "javascript.0.Coronaampel.warnregion" has been written without ack-flag with value "Gemeinde"
                                
                                javascript.0
                                2021-08-29 18:30:32.160	warn	Read-only state "javascript.0.Coronaampel.GKZ" has been written without ack-flag with value "32013"
                                
                                javascript.0
                                2021-08-29 18:30:32.161	warn	Read-only state "javascript.0.Coronaampel.geholt" has been written without ack-flag with value "18:30"
                                
                                javascript.0
                                2021-08-29 18:30:32.159	warn	Read-only state "javascript.0.Coronaampel.warngebiet" has been written without ack-flag with value "Scheibbs"
                                
                                javascript.0
                                2021-08-29 18:30:32.159	warn	Read-only state "javascript.0.Coronaampel.warnstufe" has been written without ack-flag with value "2"
                                
                                javascript.0
                                2021-08-29 18:30:32.158	warn	Read-only state "javascript.0.Coronaampel.anzahl" has been written without ack-flag with value "2105"
                                
                                javascript.0
                                2021-08-29 18:30:32.157	warn	Read-only state "javascript.0.Coronaampel.jsonTable" has been written without ack-flag with value "[{"Region":"Gemeinde","GKZ":"32013","Name":"Scheibbs","Warnstufe":"<img src=/vis.0/Bilder/Icon/gelb.png height=\"30\" width=\"30\">"},{"Region":"Gemeinde","GKZ":"32008","Name":"Purgstall an der Erlauf","Warnstufe":"<img src=/vis.0/Bilder/Icon/gelb.png height=\"30\" width=\"30\">"}]"
                                

                                Gibt es da eine Erklärung dafür?

                                F Offline
                                F Offline
                                fastfoot
                                schrieb am zuletzt editiert von
                                #211

                                @bergjet Das Einfachste wird sein, Deine im LOG genannten Datenpunkte auch beschreibbar zu machen, read-only macht da nicht soviel Sinn. Ansonsten müsste der Ersteller das Skript abändern.

                                iobroker läuft unter Docker auf QNAP TS-451+
                                SkriptRecovery: https://forum.iobroker.net/post/930558

                                sigi234S 1 Antwort Letzte Antwort
                                0
                                • F fastfoot

                                  @bergjet Das Einfachste wird sein, Deine im LOG genannten Datenpunkte auch beschreibbar zu machen, read-only macht da nicht soviel Sinn. Ansonsten müsste der Ersteller das Skript abändern.

                                  sigi234S Online
                                  sigi234S Online
                                  sigi234
                                  Forum Testing Most Active
                                  schrieb am zuletzt editiert von
                                  #212

                                  @fastfoot

                                  Hallo, kann man irgendwie die Hospitalisierung einbauen?
                                  Hab da was gefunden:

                                  https://www.data.gv.at/katalog/dataset/covid-19-daten-zur-auslastung-in-spitalern-und-testergebnissen

                                  Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Immer Daten sichern!

                                  F 1 Antwort Letzte Antwort
                                  0
                                  • sigi234S sigi234

                                    @fastfoot

                                    Hallo, kann man irgendwie die Hospitalisierung einbauen?
                                    Hab da was gefunden:

                                    https://www.data.gv.at/katalog/dataset/covid-19-daten-zur-auslastung-in-spitalern-und-testergebnissen

                                    F Offline
                                    F Offline
                                    fastfoot
                                    schrieb am zuletzt editiert von
                                    #213

                                    @sigi234 sagte in Corona-Ampel Österreich in VIS anzeigen:

                                    @fastfoot

                                    Hallo, kann man irgendwie die Hospitalisierung einbauen?
                                    Hab da was gefunden:

                                    https://www.data.gv.at/katalog/dataset/covid-19-daten-zur-auslastung-in-spitalern-und-testergebnissen

                                    klar, so wie die Fälle als JSON Tabelle und mit Charts? Statt wie im Bild Wien etc wären es dann die Bundesländer
                                    FälleAT.PNG

                                    iobroker läuft unter Docker auf QNAP TS-451+
                                    SkriptRecovery: https://forum.iobroker.net/post/930558

                                    sigi234S 1 Antwort Letzte Antwort
                                    1
                                    • F fastfoot

                                      @sigi234 sagte in Corona-Ampel Österreich in VIS anzeigen:

                                      @fastfoot

                                      Hallo, kann man irgendwie die Hospitalisierung einbauen?
                                      Hab da was gefunden:

                                      https://www.data.gv.at/katalog/dataset/covid-19-daten-zur-auslastung-in-spitalern-und-testergebnissen

                                      klar, so wie die Fälle als JSON Tabelle und mit Charts? Statt wie im Bild Wien etc wären es dann die Bundesländer
                                      FälleAT.PNG

                                      sigi234S Online
                                      sigi234S Online
                                      sigi234
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von
                                      #214

                                      @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

                                      klar, so wie die Fälle als JSON Tabelle und mit Charts? Statt wie im Bild Wien etc wären es dann die Bundesländer

                                      Bitte!

                                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                      Immer Daten sichern!

                                      F 1 Antwort Letzte Antwort
                                      0
                                      • sigi234S sigi234

                                        @fastfoot sagte in Corona-Ampel Österreich in VIS anzeigen:

                                        klar, so wie die Fälle als JSON Tabelle und mit Charts? Statt wie im Bild Wien etc wären es dann die Bundesländer

                                        Bitte!

                                        F Offline
                                        F Offline
                                        fastfoot
                                        schrieb am zuletzt editiert von
                                        #215

                                        @sigi234 sagte in Corona-Ampel Österreich in VIS anzeigen:

                                        Bitte!

                                        ok, ich schaue mir das an

                                        iobroker läuft unter Docker auf QNAP TS-451+
                                        SkriptRecovery: https://forum.iobroker.net/post/930558

                                        F 1 Antwort Letzte Antwort
                                        1
                                        • F fastfoot

                                          @sigi234 sagte in Corona-Ampel Österreich in VIS anzeigen:

                                          Bitte!

                                          ok, ich schaue mir das an

                                          F Offline
                                          F Offline
                                          fastfoot
                                          schrieb am zuletzt editiert von fastfoot
                                          #216

                                          @sigi234 probiere das mal, den Dateipfad in Zeile 16 musst du anpassen, die Datenpunkte werden durch das Skript erzeugt

                                          /**
                                          * Zweck:           Hospitalisierung durch Covid-19 in Österreich
                                          * Datum:           10.09.2021
                                          * Author:          @fastfoot
                                          * Forum:           https://forum.iobroker.net/topic/36632/corona-ampel-%C3%B6sterreich-in-vis-anzeigen/216
                                          * 
                                          * Voraussetzung:   Die npm-Module axios und csvjson müssen in der JS-Instanz eingetragen werden
                                          * 
                                          */
                                          
                                          /**
                                          *                                      Persönliche Einstellungen
                                          */
                                          const dbg = false;                                      // für Fehlersuche
                                          const fileName = 'Hospitalisierung.csv';        // Dateiname
                                          const filePath = '/opt/iobroker/iobroker-data/files/Downloads';   // Dateipfad
                                          const myBundesländer = [
                                             {BL: 1, Name: 'Burgenland'},
                                             {BL: 2, Name: 'Kärnten'},
                                             {BL: 3, Name: 'Niederösterreich'},
                                             {BL: 4, Name: 'Oberösterreich'},
                                             {BL: 5, Name: 'Salzburg'},
                                             {BL: 6, Name: 'Steiermark'},
                                             {BL: 7, Name: 'Tirol'},
                                             {BL: 8, Name: 'Voralberg'},
                                             {BL: 9, Name: 'Wien'},
                                             //{BL: 0, Name: 'Gesamt-Österreich'}
                                          ]
                                          const mySchedule = '30 14 * * *';                       // täglicher Download der Daten um 14:30Uhr
                                          const idBase = '0_userdata.0.Corona.AT.Hospitalisierung';         // Ort für Datenpunkte (die VIS ist hierauf eingestellt!)
                                          
                                          /**
                                          *                                          Ab hier nichts abändern!
                                          */
                                          const axios = require('axios').default;                 // In der JS-Instanz unter Module eintragen
                                          const csvjson = require('csvjson');                     // In der JS-Instanz unter Module eintragen
                                          const fs = require('fs');
                                          const Path = require('path');
                                          const idJson = `${idBase}.json`;
                                          const idChart1 = `${idBase}.chart1`;
                                          const idChart2 = `${idBase}.chart2`;
                                          const idChart3 = `${idBase}.chart3`;
                                          const idChart4 = `${idBase}.chart4`;
                                          const idBL = `${idBase}.BL`;
                                          const idGKZBL = `${idBase}.GKZBL`;
                                          const idRefresh = `${idBase}.Refresh`;
                                          const timeFormats = {
                                             millisecond: "H:mm:ss.SSS",
                                             second: "H:mm:ss",
                                             minute: "H:mm",
                                             hour: "dd.[\\n]H:mm",
                                             day: "dd[\\n]DD.MM",
                                             week: "dd[\\n]DD.MM",
                                             month: "MMM YY",
                                             quarter: "[Q]Q - YYYY",
                                             year: "YYYY"
                                          };
                                          const chartMonthsToShow = 8;
                                          
                                          async function init() {
                                             let json = [];
                                             let firstRun = await createDatapoints();
                                             for(let i = 0; i < myBundesländer.length; i++) {
                                                 json.push({
                                                     "text": myBundesländer[i].Name,// + '(' + myBezirke[i].GKZ + ')',
                                                     //"subText": "GKZ: " + myBezirke[i].GKZ,
                                                     "value": myBundesländer[i].BL,
                                                     "icon": "numeric-" + (i+1)
                                                     //"iconColor": "white",
                                                     //"iconColorSelectedTextField": "red"
                                                 })
                                             }
                                             if(dbg) log(JSON.stringify(json,null,4));
                                             await setStateAsync(idGKZBL, JSON.stringify(json,null,4));
                                             getData(firstRun);
                                          }
                                          
                                          // main routine
                                          async function getData(refresh = false) {
                                             let data, err;
                                             const url = 'https://covid19-dashboard.ages.at/data/Hospitalisierung.csv';
                                             if(!fs.existsSync(filePath)) return log('Dateipfad existiert nicht!','error');
                                             if(refresh) await getCSVFile(url);
                                             data = fs.readFileSync(Path.resolve(filePath, '', fileName), 'utf8');
                                             data = data.replace(/^\uFEFF/,''); //remove BOM
                                             let json = csvjson.toObject(data, {delimiter : ';'});
                                             let js = [];
                                             let BL = getState(idBL).val || myBundesländer[0].BL;
                                             if(dbg) log(BL)
                                             json.forEach((record) => {
                                                 if (record.BundeslandID == BL) {
                                                     let t = record.Meldedatum.replace(/(\d+).(\d+).(\d+)/,'$3-$2-$1');
                                                     record.Meldedatum = getDateObject(t);//.getTime();
                                                     record.Upd = formatDate(Date.now(),'hh:mm');
                                                     js.push(record);
                                                 }
                                             })
                                             js.sort((a,b) => a.Time < b.Time ? 1 : -1)
                                             setState(idJson, JSON.stringify(js,null,4));
                                             createChart(js);
                                          }
                                          
                                          // create chart data
                                          function createChart(data) {
                                             let now = new Date();
                                             now.setMonth(now.getMonth() - chartMonthsToShow + 1);
                                             const startMonth = now.getMonth();
                                             const startYear = now.getFullYear();
                                             now.setMonth(now.getMonth() + chartMonthsToShow);
                                             const endMonth = now.getMonth();
                                             const endYear = now.getFullYear();
                                             const startTime = new Date(startYear,startMonth,1,0,0,0,0).getTime();
                                             const endTime = new Date(endYear,endMonth,1,0,0,0,0).getTime();
                                             let chartAll = {}, chartFrei = {}, chartBelegt = {}, chartTests = {},
                                                 NormalBettenCovid = [],IntensivBettenKapazität = [], IntensivBettenCovid = [], 
                                                 IntensivBettenNonCovid = [], IntensivBettenFrei = [], Tests = [], IntensivBelegtPerc = [],
                                                 time, axisLabels = [],
                                                 NormalBettenCovidColor = '#ff0000',
                                                 IntensivBettenKapazitätColor = '#00ff00',
                                                 IntensivBettenCovidColor = '#0000ff',
                                                 IntensivBettenNonCovidColor = '#ffff00',
                                                 IntensivBettenFreiColor = '#00ffff',
                                                 IntensivBelegtPercColor = '#00ffff',
                                                 TestsColor = '#ff00ff'
                                          
                                             NormalBettenCovid.push({t: startTime, y: null});
                                             IntensivBettenKapazität.push({t: startTime, y: null});
                                             IntensivBettenCovid.push({t: startTime, y: null});
                                             IntensivBettenNonCovid.push({t: startTime, y: null});
                                             IntensivBettenFrei.push({t: startTime, y: null});
                                             IntensivBelegtPerc.push({t: startTime, y: null});
                                             Tests.push({t: startTime, y: null});
                                          
                                             data.forEach((record,i) => {
                                                 time = getDateObject(record.Meldedatum).getTime();
                                                 if (time >= startTime && time <= endTime){
                                                     let BelegtPerc = 100 * (parseInt(record.IntensivBettenBelNichtCovid19) + parseInt(record.IntensivBettenBelCovid19)) / record.IntensivBettenKapGes
                                                     //BelegtPerc = parseInt(BelegtPerc * 100) / 100;
                                                     //if(dbg) log(BelegtPerc + '    ' + new Date(time))
                                                     NormalBettenCovid.push({t: time, y: record.NormalBettenBelCovid19})
                                                     IntensivBettenKapazität.push({t: time, y: record.IntensivBettenKapGes})
                                                     IntensivBettenCovid.push({t: time, y: record.IntensivBettenBelCovid19})
                                                     IntensivBettenNonCovid.push({t: time, y: record.IntensivBettenBelNichtCovid19})
                                                     IntensivBettenFrei.push({t: time, y: record.IntensivBettenFrei})
                                                     IntensivBelegtPerc.push({t: time, y: BelegtPerc})
                                                     Tests.push({t: time, y: record.TestGesamt});
                                                 }
                                             })
                                             NormalBettenCovid.push({t: endTime, y: null});
                                             IntensivBettenKapazität.push({t: endTime, y: null});
                                             IntensivBettenCovid.push({t: endTime, y: null});
                                             IntensivBettenNonCovid.push({t: endTime, y: null});
                                             IntensivBettenFrei.push({t: endTime, y: null});
                                             Tests.push({t: endTime, y: null});
                                          
                                             chartAll = {
                                                 //axisLabels: axisLabels,
                                                 graphs: [
                                                     {
                                                         legendText: 'Covid (N)',
                                                         data: NormalBettenCovid,
                                                         type: 'line',
                                                         color: NormalBettenCovidColor,
                                                         displayOrder: 3,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0.2,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 100,
                                                         yAxis_id: 0,
                                                         //yAxis_min: yMin,
                                                         //yAxis_max: yMax,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }, {
                                                         legendText: 'Kapazität (I)',
                                                         data: IntensivBettenKapazität,
                                                         type: 'line',
                                                         color: IntensivBettenKapazitätColor,
                                                         displayOrder: 2,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0.2,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 100,
                                                         yAxis_id: 0,
                                                         //yAxis_min: yMin,
                                                         //yAxis_max: yMax,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }, {
                                                         legendText: 'Covid (I)',
                                                         data: IntensivBettenCovid,
                                                         type: 'line',
                                                         color: IntensivBettenCovidColor,
                                                         displayOrder: 0,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0.2,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 300,
                                                         yAxis_id: 0,
                                                         //yAxis_min: yMin,
                                                         //yAxis_max: yMax,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }, {
                                                         legendText: 'NonCovid (I)',
                                                         data: IntensivBettenNonCovid,
                                                         type: 'line',
                                                         color: IntensivBettenNonCovidColor,
                                                         displayOrder: 1,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0.2,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 300,
                                                         yAxis_id: 0,
                                                         //yAxis_min: 0,
                                                         //yAxis_max: 1200,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }, {
                                                         legendText: 'Frei (I)',
                                                         data: IntensivBettenFrei,
                                                         type: 'line',
                                                         color: IntensivBettenFreiColor,
                                                         displayOrder: 1,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0.2,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 300,
                                                         yAxis_id: 0,
                                                         //yAxis_min: 0,
                                                         //yAxis_max: 1200,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }
                                          
                                                 ]
                                             }
                                          
                                             chartTests = {
                                                 //axisLabels: axisLabels,
                                                 graphs: [
                                                     {
                                                         legendText: 'Tests',
                                                         data: Tests,
                                                         type: 'line',
                                                         color: TestsColor,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 100,
                                                         yAxis_id: 0,
                                                         //yAxis_min: 0,
                                                         //yAxis_max: 1200,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }
                                                 ]
                                             }
                                          
                                             chartFrei = {
                                                 //axisLabels: axisLabels,
                                                 graphs: [
                                                     {
                                                         legendText: 'Freie Betten (I)',
                                                         data: IntensivBettenFrei,
                                                         type: 'line',
                                                         color: IntensivBettenFreiColor,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 100,
                                                         yAxis_id: 0,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }, {
                                                         legendText: 'Kapazität (I)',
                                                         data: IntensivBettenKapazität,
                                                         type: 'line',
                                                         color: IntensivBettenKapazitätColor,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 100,
                                                         yAxis_id: 0,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }
                                                 ]
                                             }
                                          
                                             chartBelegt = {
                                                 //axisLabels: axisLabels,
                                                 graphs: [
                                                     {
                                                         legendText: 'Intensiv Belegt(%)',
                                                         data: IntensivBelegtPerc,
                                                         type: 'line',
                                                         color: IntensivBelegtPercColor,
                                                         xAxis_time_unit: 'month',
                                                         xAxis_bounds: 'ticks', // ticks, data
                                                         xAxis_timeFormats: timeFormats,
                                                         line_pointSize: 0,
                                                         line_Thickness: 1,
                                                         datalabel_show: !true,
                                                         datalabel_steps: 100,
                                                         yAxis_id: 0,
                                                         yAxis_min: 0,
                                                         yAxis_max: 100,
                                                         yAxis_gridLines_show: true,
                                                         yAxis_gridLines_color: '#ffffff',
                                                         yAxis_gridLines_lineWidth: 0.3,
                                                         yAxis_zeroLineWidth: 0.4,
                                                     }
                                                 ]
                                             }
                                          
                                             setState(idChart1,JSON.stringify(chartAll,null,4))
                                             setState(idChart2,JSON.stringify(chartTests,null,4))
                                             setState(idChart3,JSON.stringify(chartFrei,null,4))
                                             setState(idChart4,JSON.stringify(chartBelegt,null,4))
                                          }
                                          
                                          // create data points if not existing
                                          async function createDatapoints() {
                                             let dp,
                                                 idKey,
                                                 firstRun = false;
                                             
                                             const stateAttributes = {
                                                 "json":{"name":"Json Tabelle","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":""},
                                                 "Refresh":{"name":"Refresh","type":"boolean","role":"","read":true,"write":true,"desc":"von Skript erstellt","def":false},
                                                 "chart1":{"name":"Chart 1","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                                 "chart2":{"name":"Chart 2","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                                 "chart3":{"name":"Chart 3","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                                 "chart4":{"name":"Chart 4","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""},
                                                 "BL":{"name":"VIS Select Auswahl","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "9"},
                                                 //"GKZValues":{"name":"VIS Select GKZ-Liste","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": "900"},
                                                 "GKZBL":{"name":"VIS Select Bundesland","type":"string","role":"","read":true,"write":true,"desc":"von Skript erstellt","def": ""}
                                             }
                                          
                                             for(let key in stateAttributes) {
                                          
                                                 idKey = idBase + '.' + key;
                                          
                                                 if (!(await existsStateAsync(idKey))) {
                                                     dp = stateAttributes[key];
                                                     firstRun = true;
                                                     await createStateAsync(idKey, dp);
                                                 }
                                             }
                                          
                                             return firstRun;
                                          
                                          }
                                          
                                          // download and save csv file
                                          async function getCSVFile (url) {  
                                             const writer = fs.createWriteStream(Path.resolve(filePath, '', fileName));
                                          
                                             const response = await axios({
                                                 url: url,
                                                 method: 'GET',
                                                 responseType: 'stream'
                                             })
                                             response.data.pipe(writer);
                                          
                                             return new Promise((resolve, reject) => {
                                                 writer.on('finish', resolve)
                                                 //writer.on('error', reject)
                                                 writer.on('error', ()=> writer.end())
                                             })
                                          }
                                          
                                          schedule(mySchedule, () => {getData(true)});
                                          
                                          on({id: idRefresh, change: 'any'},() => {getData(true)})
                                          
                                          on({id: idBL, change: 'ne'},() => {getData()})
                                          
                                          init();
                                          
                                          


                                          {
                                           "settings": {
                                             "style": {
                                               "background_class": ""
                                             },
                                             "theme": "redmond",
                                             "sizex": "",
                                             "sizey": "",
                                             "gridSize": "10",
                                             "snapType": 2
                                           },
                                           "widgets": {
                                             "e00001": {
                                               "tpl": "tplVis-materialdesign-Chart-JSON",
                                               "data": {
                                                 "oid": "0_userdata.0.Corona.AT.Hospitalisierung.chart1",
                                                 "g_fixed": false,
                                                 "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,
                                                 "chartType": "line",
                                                 "showLegend": true,
                                                 "legendPosition": "top",
                                                 "legendPointStyle": true,
                                                 "showTooltip": "true",
                                                 "tooltipMode": "nearest",
                                                 "tooltipShowColorBox": "true",
                                                 "xAxisPosition": "bottom",
                                                 "xAxisValueDistanceToAxis": "10",
                                                 "xAxisShowAxis": true,
                                                 "xAxisShowAxisLabels": true,
                                                 "xAxisShowGridLines": true,
                                                 "xAxisShowTicks": true,
                                                 "xAxisMinRotation": "45",
                                                 "xAxisMaxRotation": "60",
                                                 "yAxisValueDistanceToAxis": "6",
                                                 "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,
                                                 "xAxisMaxLabel": "15",
                                                 "xAxisTitle": "",
                                                 "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                                 "axisLabelAutoSkip": true,
                                                 "xAxisOffsetGridLines": false,
                                                 "xAxisTickLength": "12",
                                                 "xAxisZeroLineWidth": "0.8",
                                                 "xAxisValueFontSize": "14",
                                                 "xAxisTitleColor": "#0e0c0c",
                                                 "xAxisValueLabelColor": "#000000",
                                                 "xAxisGridLinesColor": "#ffffff",
                                                 "xAxisGridLinesWitdh": "0.3",
                                                 "xAxisZeroLineColor": "#ff0000",
                                                 "yAxisValueFontSize": "12",
                                                 "yAxisValueLabelColor": "#000000",
                                                 "colorScheme": "scrounger.pie",
                                                 "disableHoverEffects": true,
                                                 "barWidth": "6",
                                                 "backgroundColor": "#eee9c4",
                                                 "chartAreaBackgroundColor": "#000000",
                                                 "chartPaddingTop": "10",
                                                 "chartPaddingLeft": "10",
                                                 "chartPaddingRight": "10",
                                                 "chartPaddingBottom": "10",
                                                 "globalColor": "#fe972f",
                                                 "animationDuration": "",
                                                 "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                                 "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                                 "legendFontColor": "#000000",
                                                 "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                                 "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                                 "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                                 "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                                 "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                                 "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                                 "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                                 "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                                 "xAxisTicksSource": "auto",
                                                 "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                                 "xAxisDistanceBetweenTicks": "10",
                                                 "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                                 "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                                 "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                                 "xAxisOffset": false,
                                                 "xAxisLabelUseTodayYesterday": false,
                                                 "visibility-cond": "==",
                                                 "visibility-val": 1,
                                                 "visibility-groups-action": "hide",
                                                 "legendPadding": "20",
                                                 "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                                 "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                                 "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                                 "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                                 "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                                 "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                                 "tooltipPosition": "nearest",
                                                 "tooltipBodyAlignment": "left"
                                               },
                                               "style": {
                                                 "left": "10px",
                                                 "top": "10px",
                                                 "width": "720px",
                                                 "height": "300px",
                                                 "z-index": "1",
                                                 "border-style": "solid",
                                                 "border-width": "1px",
                                                 "border-color": "red"
                                               },
                                               "widgetSet": "materialdesign"
                                             },
                                             "e00002": {
                                               "tpl": "tplVis-materialdesign-Chart-JSON",
                                               "data": {
                                                 "oid": "0_userdata.0.Corona.AT.Hospitalisierung.chart3",
                                                 "g_fixed": false,
                                                 "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,
                                                 "chartType": "line",
                                                 "showLegend": true,
                                                 "legendPosition": "top",
                                                 "legendPointStyle": true,
                                                 "showTooltip": "true",
                                                 "tooltipMode": "nearest",
                                                 "tooltipShowColorBox": "true",
                                                 "xAxisPosition": "bottom",
                                                 "xAxisValueDistanceToAxis": "10",
                                                 "xAxisShowAxis": true,
                                                 "xAxisShowAxisLabels": true,
                                                 "xAxisShowGridLines": true,
                                                 "xAxisShowTicks": true,
                                                 "xAxisMinRotation": "45",
                                                 "xAxisMaxRotation": "60",
                                                 "yAxisValueDistanceToAxis": "6",
                                                 "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,
                                                 "xAxisMaxLabel": "15",
                                                 "xAxisTitle": "",
                                                 "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                                 "axisLabelAutoSkip": true,
                                                 "xAxisOffsetGridLines": false,
                                                 "xAxisTickLength": "12",
                                                 "xAxisZeroLineWidth": "0.8",
                                                 "xAxisValueFontSize": "14",
                                                 "xAxisTitleColor": "#0e0c0c",
                                                 "xAxisValueLabelColor": "#000000",
                                                 "xAxisGridLinesColor": "#ffffff",
                                                 "xAxisGridLinesWitdh": "0.3",
                                                 "xAxisZeroLineColor": "#ff0000",
                                                 "yAxisValueFontSize": "12",
                                                 "yAxisValueLabelColor": "#000000",
                                                 "colorScheme": "scrounger.pie",
                                                 "disableHoverEffects": true,
                                                 "barWidth": "6",
                                                 "backgroundColor": "#eee9c4",
                                                 "chartAreaBackgroundColor": "#000000",
                                                 "chartPaddingTop": "10",
                                                 "chartPaddingLeft": "10",
                                                 "chartPaddingRight": "10",
                                                 "chartPaddingBottom": "10",
                                                 "globalColor": "#fe972f",
                                                 "animationDuration": "",
                                                 "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                                 "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                                 "legendFontColor": "#000000",
                                                 "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                                 "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                                 "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                                 "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                                 "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                                 "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                                 "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                                 "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                                 "xAxisTicksSource": "auto",
                                                 "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                                 "xAxisDistanceBetweenTicks": "10",
                                                 "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                                 "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                                 "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                                 "xAxisOffset": false,
                                                 "xAxisLabelUseTodayYesterday": false,
                                                 "visibility-cond": "==",
                                                 "visibility-val": 1,
                                                 "visibility-groups-action": "hide",
                                                 "legendPadding": "20",
                                                 "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                                 "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                                 "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                                 "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                                 "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                                 "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                                 "tooltipPosition": "nearest",
                                                 "tooltipBodyAlignment": "left"
                                               },
                                               "style": {
                                                 "left": "10px",
                                                 "top": "310px",
                                                 "width": "720px",
                                                 "height": "300px",
                                                 "z-index": "0",
                                                 "border-style": "solid",
                                                 "border-width": "1px",
                                                 "border-color": "red"
                                               },
                                               "widgetSet": "materialdesign"
                                             },
                                             "e00003": {
                                               "tpl": "tplVis-materialdesign-Chart-JSON",
                                               "data": {
                                                 "oid": "0_userdata.0.Corona.AT.Hospitalisierung.chart2",
                                                 "g_fixed": false,
                                                 "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,
                                                 "chartType": "line",
                                                 "showLegend": true,
                                                 "legendPosition": "top",
                                                 "legendPointStyle": true,
                                                 "showTooltip": "true",
                                                 "tooltipMode": "nearest",
                                                 "tooltipShowColorBox": "true",
                                                 "xAxisPosition": "bottom",
                                                 "xAxisValueDistanceToAxis": "10",
                                                 "xAxisShowAxis": true,
                                                 "xAxisShowAxisLabels": true,
                                                 "xAxisShowGridLines": true,
                                                 "xAxisShowTicks": true,
                                                 "xAxisMinRotation": "45",
                                                 "xAxisMaxRotation": "60",
                                                 "yAxisValueDistanceToAxis": "6",
                                                 "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,
                                                 "xAxisMaxLabel": "15",
                                                 "xAxisTitle": "",
                                                 "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                                 "axisLabelAutoSkip": true,
                                                 "xAxisOffsetGridLines": false,
                                                 "xAxisTickLength": "12",
                                                 "xAxisZeroLineWidth": "0.8",
                                                 "xAxisValueFontSize": "14",
                                                 "xAxisTitleColor": "#0e0c0c",
                                                 "xAxisValueLabelColor": "#000000",
                                                 "xAxisGridLinesColor": "#ffffff",
                                                 "xAxisGridLinesWitdh": "0.3",
                                                 "xAxisZeroLineColor": "#ff0000",
                                                 "yAxisValueFontSize": "12",
                                                 "yAxisValueLabelColor": "#000000",
                                                 "colorScheme": "scrounger.pie",
                                                 "disableHoverEffects": true,
                                                 "barWidth": "6",
                                                 "backgroundColor": "#eee9c4",
                                                 "chartAreaBackgroundColor": "#000000",
                                                 "chartPaddingTop": "10",
                                                 "chartPaddingLeft": "10",
                                                 "chartPaddingRight": "10",
                                                 "chartPaddingBottom": "10",
                                                 "globalColor": "#fe972f",
                                                 "animationDuration": "",
                                                 "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                                 "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                                 "legendFontColor": "#000000",
                                                 "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                                 "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                                 "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                                 "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                                 "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                                 "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                                 "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                                 "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                                 "xAxisTicksSource": "auto",
                                                 "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                                 "xAxisDistanceBetweenTicks": "10",
                                                 "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                                 "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                                 "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                                 "xAxisOffset": false,
                                                 "xAxisLabelUseTodayYesterday": false,
                                                 "visibility-cond": "==",
                                                 "visibility-val": 1,
                                                 "visibility-groups-action": "hide",
                                                 "legendPadding": "20",
                                                 "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                                 "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                                 "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                                 "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                                 "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                                 "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                                 "tooltipPosition": "nearest",
                                                 "tooltipBodyAlignment": "left"
                                               },
                                               "style": {
                                                 "left": "730px",
                                                 "top": "10px",
                                                 "width": "720px",
                                                 "height": "300px",
                                                 "z-index": "1",
                                                 "border-style": "solid",
                                                 "border-width": "1px",
                                                 "border-color": "red"
                                               },
                                               "widgetSet": "materialdesign"
                                             },
                                             "e00004": {
                                               "tpl": "i-vis-jsontable",
                                               "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",
                                                 "iTblRowLimit": "730",
                                                 "iTableRefreshRate": "0",
                                                 "iColCount": "10",
                                                 "iColShow1": true,
                                                 "iTblCellFormat1": "datetime",
                                                 "iTblCellImageSize1": "200",
                                                 "iTblCellBooleanCheckbox1": false,
                                                 "iTblCellBooleanColorFalse1": "#ff0000",
                                                 "iTblCellBooleanColorTrue1": "#00ff00",
                                                 "iTblCellNumberDecimals1": "0",
                                                 "iTblCellNumberDecimalSeperator1": ",",
                                                 "iTblCellNumberThousandSeperator1": ".",
                                                 "iTblTextAlign1": "center",
                                                 "iOpacityAll": "1",
                                                 "iTblRowEvenColor": "#333333",
                                                 "iTblRowUnevenColor": "#455618",
                                                 "iTblHeaderColor": "#333333",
                                                 "iRowSpacing": "10",
                                                 "iTblRowEvenTextColor": "#ffffff",
                                                 "iTblRowUnevenTextColor": "#ffffff",
                                                 "iTblHeaderTextColor": "#ffffff",
                                                 "iBorderSize": "1",
                                                 "iBorderStyleLeft": "solid",
                                                 "iBorderStyleRight": "solid",
                                                 "iBorderStyleUp": "none",
                                                 "iBorderStyleDown": "none",
                                                 "iBorderColor": "#ffffff",
                                                 "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.Corona.AT.Hospitalisierung.json",
                                                 "iTblShowHead": true,
                                                 "iVertScroll": true,
                                                 "iColShow2": "true",
                                                 "iTblCellFormat2": "normal",
                                                 "iTblCellImageSize2": "200",
                                                 "iTblCellBooleanCheckbox2": "false",
                                                 "iTblCellBooleanColorFalse2": "#ff0000",
                                                 "iTblCellBooleanColorTrue2": "#00ff00",
                                                 "iTblCellNumberDecimals2": "0",
                                                 "iTblCellNumberDecimalSeperator2": ",",
                                                 "iTblCellNumberThousandSeperator2": ".",
                                                 "iTblTextAlign2": "center",
                                                 "iColShow3": "true",
                                                 "iTblCellFormat3": "normal",
                                                 "iTblCellImageSize3": "200",
                                                 "iTblCellBooleanCheckbox3": "false",
                                                 "iTblCellBooleanColorFalse3": "#ff0000",
                                                 "iTblCellBooleanColorTrue3": "#00ff00",
                                                 "iTblCellNumberDecimals3": "0",
                                                 "iTblCellNumberDecimalSeperator3": ",",
                                                 "iTblCellNumberThousandSeperator3": ".",
                                                 "iTblTextAlign3": "left",
                                                 "iColShow4": "true",
                                                 "iTblCellFormat4": "number",
                                                 "iTblCellImageSize4": "200",
                                                 "iTblCellBooleanCheckbox4": "false",
                                                 "iTblCellBooleanColorFalse4": "#ff0000",
                                                 "iTblCellBooleanColorTrue4": "#00ff00",
                                                 "iTblCellNumberDecimals4": "0",
                                                 "iTblCellNumberDecimalSeperator4": ",",
                                                 "iTblCellNumberThousandSeperator4": ".",
                                                 "iTblTextAlign4": "right",
                                                 "iColShow5": "true",
                                                 "iTblCellFormat5": "number",
                                                 "iTblCellImageSize5": "200",
                                                 "iTblCellBooleanCheckbox5": "false",
                                                 "iTblCellBooleanColorFalse5": "#ff0000",
                                                 "iTblCellBooleanColorTrue5": "#00ff00",
                                                 "iTblCellNumberDecimals5": "0",
                                                 "iTblCellNumberDecimalSeperator5": ",",
                                                 "iTblCellNumberThousandSeperator5": ".",
                                                 "iTblTextAlign5": "right",
                                                 "iColShow6": "true",
                                                 "iTblCellFormat6": "number",
                                                 "iTblCellImageSize6": "200",
                                                 "iTblCellBooleanCheckbox6": "false",
                                                 "iTblCellBooleanColorFalse6": "#ff0000",
                                                 "iTblCellBooleanColorTrue6": "#00ff00",
                                                 "iTblCellNumberDecimals6": "0",
                                                 "iTblCellNumberDecimalSeperator6": ",",
                                                 "iTblCellNumberThousandSeperator6": ".",
                                                 "iTblTextAlign6": "right",
                                                 "iColShow7": "true",
                                                 "iTblCellFormat7": "number",
                                                 "iTblCellImageSize7": "200",
                                                 "iTblCellBooleanCheckbox7": "false",
                                                 "iTblCellBooleanColorFalse7": "#ff0000",
                                                 "iTblCellBooleanColorTrue7": "#00ff00",
                                                 "iTblCellNumberDecimals7": "0",
                                                 "iTblCellNumberDecimalSeperator7": ",",
                                                 "iTblCellNumberThousandSeperator7": ".",
                                                 "iTblTextAlign7": "right",
                                                 "iColShow8": "true",
                                                 "iTblCellFormat8": "number",
                                                 "iTblCellImageSize8": "200",
                                                 "iTblCellBooleanCheckbox8": "false",
                                                 "iTblCellBooleanColorFalse8": "#ff0000",
                                                 "iTblCellBooleanColorTrue8": "#00ff00",
                                                 "iTblCellNumberDecimals8": "0",
                                                 "iTblCellNumberDecimalSeperator8": ",",
                                                 "iTblCellNumberThousandSeperator8": ".",
                                                 "iTblTextAlign8": "right",
                                                 "iColShow9": "true",
                                                 "iTblCellFormat9": "number",
                                                 "iTblCellImageSize9": "200",
                                                 "iTblCellBooleanCheckbox9": "false",
                                                 "iTblCellBooleanColorFalse9": "#ff0000",
                                                 "iTblCellBooleanColorTrue9": "#00ff00",
                                                 "iTblCellNumberDecimals9": "0",
                                                 "iTblCellNumberDecimalSeperator9": ",",
                                                 "iTblCellNumberThousandSeperator9": ".",
                                                 "iTblTextAlign9": "right",
                                                 "iColShow10": "true",
                                                 "iTblCellFormat10": "normal",
                                                 "iTblCellImageSize10": "200",
                                                 "iTblCellBooleanCheckbox10": "false",
                                                 "iTblCellBooleanColorFalse10": "#ff0000",
                                                 "iTblCellBooleanColorTrue10": "#00ff00",
                                                 "iTblCellNumberDecimals10": "0",
                                                 "iTblCellNumberDecimalSeperator10": ",",
                                                 "iTblCellNumberThousandSeperator10": ".",
                                                 "iTblTextAlign10": "center",
                                                 "iColShow11": "true",
                                                 "iTblCellFormat11": "number",
                                                 "iTblCellImageSize11": "200",
                                                 "iTblCellBooleanCheckbox11": "false",
                                                 "iTblCellBooleanColorFalse11": "#ff0000",
                                                 "iTblCellBooleanColorTrue11": "#00ff00",
                                                 "iTblCellNumberDecimals11": "0",
                                                 "iTblCellNumberDecimalSeperator11": ",",
                                                 "iTblCellNumberThousandSeperator11": ".",
                                                 "iTblTextAlign11": "right",
                                                 "iColShow12": "true",
                                                 "iTblCellFormat12": "number",
                                                 "iTblCellImageSize12": "200",
                                                 "iTblCellBooleanCheckbox12": "false",
                                                 "iTblCellBooleanColorFalse12": "#ff0000",
                                                 "iTblCellBooleanColorTrue12": "#00ff00",
                                                 "iTblCellNumberDecimals12": "0",
                                                 "iTblCellNumberDecimalSeperator12": ",",
                                                 "iTblCellNumberThousandSeperator12": ".",
                                                 "iTblTextAlign12": "right",
                                                 "iColShow13": "true",
                                                 "iTblCellFormat13": "number",
                                                 "iTblCellImageSize13": "200",
                                                 "iTblCellBooleanCheckbox13": "false",
                                                 "iTblCellBooleanColorFalse13": "#ff0000",
                                                 "iTblCellBooleanColorTrue13": "#00ff00",
                                                 "iTblCellNumberDecimals13": "0",
                                                 "iTblCellNumberDecimalSeperator13": ",",
                                                 "iTblCellNumberThousandSeperator13": ".",
                                                 "iTblTextAlign13": "right",
                                                 "iColShow14": "true",
                                                 "iTblCellFormat14": "normal",
                                                 "iTblCellImageSize14": "200",
                                                 "iTblCellBooleanCheckbox14": "false",
                                                 "iTblCellBooleanColorFalse14": "#ff0000",
                                                 "iTblCellBooleanColorTrue14": "#00ff00",
                                                 "iTblCellNumberDecimals14": "0",
                                                 "iTblCellNumberDecimalSeperator14": ",",
                                                 "iTblCellNumberThousandSeperator14": ".",
                                                 "iTblTextAlign14": "center",
                                                 "iColShow15": "true",
                                                 "iTblCellFormat15": "normal",
                                                 "iTblCellImageSize15": "200",
                                                 "iTblCellBooleanCheckbox15": "false",
                                                 "iTblCellBooleanColorFalse15": "#ff0000",
                                                 "iTblCellBooleanColorTrue15": "#00ff00",
                                                 "iTblCellNumberDecimals15": "0",
                                                 "iTblCellNumberDecimalSeperator15": ",",
                                                 "iTblCellNumberThousandSeperator15": ".",
                                                 "iTblTextAlign15": "left",
                                                 "iTblCellDatetimeFormat1": "d.m.y",
                                                 "iColName4": "Normalbetten",
                                                 "iColName5": "Kap Intensiv",
                                                 "iColName6": "Covid Intensiv",
                                                 "iColName7": "NonCovid Intensiv",
                                                 "iColName8": "Intensiv Frei",
                                                 "iColName9": "Tests",
                                                 "iColName10": "Upd",
                                                 "iColName11": "Geheilt",
                                                 "iColName12": "Geheilt kum",
                                                 "iTblFixedHead": true,
                                                 "iHorScroll": false,
                                                 "iColWidth1": "70px",
                                                 "iColName1": "Datum",
                                                 "iColWidth2": "40px",
                                                 "iColWidth3": "60px",
                                                 "iColWidth4": "70px",
                                                 "iColWidth5": "70px",
                                                 "iColWidth6": "90px",
                                                 "iColWidth7": "100px",
                                                 "iColWidth8": "90px",
                                                 "iColWidth9": "60px",
                                                 "iColWidth10": "50px",
                                                 "iColWidth11": "80px",
                                                 "iColWidth12": "140px",
                                                 "iTblCellThresholdsDp1": "",
                                                 "iTblCellThresholdsText1": "",
                                                 "iTblCellThresholdsDp2": "",
                                                 "iTblCellThresholdsText2": "",
                                                 "iTblCellThresholdsDp3": "",
                                                 "iTblCellThresholdsText3": "",
                                                 "iTblCellThresholdsDp4": "",
                                                 "iTblCellThresholdsText4": "",
                                                 "iTblCellThresholdsDp5": "",
                                                 "iTblCellThresholdsText5": "",
                                                 "iTblCellThresholdsDp6": "",
                                                 "iTblCellThresholdsText6": "",
                                                 "iTblCellThresholdsDp7": "",
                                                 "iTblCellThresholdsText7": "",
                                                 "iTblCellThresholdsDp8": "",
                                                 "iTblCellThresholdsText8": "",
                                                 "iTblCellThresholdsDp9": "",
                                                 "iTblCellThresholdsText9": "",
                                                 "iTblCellThresholdsDp10": "",
                                                 "iTblCellThresholdsText10": "",
                                                 "iTblCellThresholdsDp11": "",
                                                 "iTblCellThresholdsText11": "",
                                                 "iTblCellThresholdsDp12": "",
                                                 "iTblCellThresholdsText12": "",
                                                 "iTblCellThresholdsDp13": "",
                                                 "iTblCellThresholdsText13": "",
                                                 "iTblCellThresholdsDp14": "",
                                                 "iTblCellThresholdsText14": "",
                                                 "iColWidth13": "90",
                                                 "iColName13": "Aktiv",
                                                 "iColName14": "Upd",
                                                 "iColAttr14": "Upd",
                                                 "iColAttr1": "",
                                                 "iColName2": "BL"
                                               },
                                               "style": {
                                                 "left": "10px",
                                                 "top": "610px",
                                                 "height": "191px",
                                                 "width": "1462px",
                                                 "z-index": "4"
                                               },
                                               "widgetSet": "vis-inventwo"
                                             },
                                             "e00005": {
                                               "tpl": "tplVis-materialdesign-Button-State",
                                               "data": {
                                                 "oid": "0_userdata.0.Corona.AT.Faelle.Refresh",
                                                 "g_fixed": false,
                                                 "g_visibility": false,
                                                 "g_css_font_text": true,
                                                 "g_css_background": true,
                                                 "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",
                                                 "buttonStyle": "unelevated",
                                                 "vibrateOnMobilDevices": "50",
                                                 "iconPosition": "left",
                                                 "autoLockAfter": "10",
                                                 "lockFilterGrayscale": "30",
                                                 "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,
                                                 "buttontext": "Refresh",
                                                 "colorPress": "#ff0000",
                                                 "labelWidth": "0",
                                                 "exportData": "true",
                                                 "value": "true",
                                                 "textFontFamily": "{vis-materialdesign.0.fonts.button.text}",
                                                 "textFontSize": "{vis-materialdesign.0.fontSizes.button.text}",
                                                 "lockIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.lock_icon;dark:vis-materialdesign.0.colors.dark.button.lock_icon; mode === \"true\" ? dark : light}",
                                                 "mdwButtonPrimaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.primary;dark:vis-materialdesign.0.colors.dark.button.default.primary; mode === \"true\" ? dark : light}",
                                                 "mdwButtonSecondaryColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.button.default.secondary;dark:vis-materialdesign.0.colors.dark.button.default.secondary; mode === \"true\" ? dark : light}",
                                                 "image": "pencil"
                                               },
                                               "style": {
                                                 "left": "10px",
                                                 "top": "10px",
                                                 "width": "71px",
                                                 "height": "29px",
                                                 "color": "#FF0000",
                                                 "background-color": "#000000",
                                                 "z-index": "3"
                                               },
                                               "widgetSet": "materialdesign"
                                             },
                                             "e00006": {
                                               "tpl": "tplVis-materialdesign-Select",
                                               "data": {
                                                 "oid": "0_userdata.0.Corona.AT.Hospitalisierung.BL",
                                                 "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",
                                                 "inputType": "text",
                                                 "vibrateOnMobilDevices": "50",
                                                 "inputLayout": "regular",
                                                 "inputAlignment": "left",
                                                 "inputTextFontFamily": "{vis-materialdesign.0.fonts.input.text}",
                                                 "inputTextFontSize": "-3",
                                                 "inputLabelFontFamily": "{vis-materialdesign.0.fonts.input.label}",
                                                 "inputLabelFontSize": "{vis-materialdesign.0.fontSizes.input.label}",
                                                 "inputAppendixFontSize": "-2",
                                                 "inputAppendixFontFamily": "{vis-materialdesign.0.fonts.input.appendix}",
                                                 "showInputMessageAlways": false,
                                                 "inputMessageFontFamily": "{vis-materialdesign.0.fonts.input.message}",
                                                 "inputMessageFontSize": "{vis-materialdesign.0.fontSizes.input.message}",
                                                 "showInputCounter": false,
                                                 "inputCounterFontSize": "{vis-materialdesign.0.fontSizes.input.counter}",
                                                 "inputCounterFontFamily": "{vis-materialdesign.0.fonts.input.counter}",
                                                 "clearIconShow": false,
                                                 "listDataMethod": "jsonStringObject",
                                                 "countSelectItems": "1",
                                                 "listPosition": "auto",
                                                 "showSelectedIcon": "no",
                                                 "listItemFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.text}",
                                                 "listItemFont": "{vis-materialdesign.0.fonts.input.dropdown.text}",
                                                 "listItemSubFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.subText}",
                                                 "listItemSubFont": "{vis-materialdesign.0.fonts.input.dropdown.subText}",
                                                 "showValue": false,
                                                 "listItemValueFontSize": "{vis-materialdesign.0.fontSizes.input.dropdown.value}",
                                                 "listItemValueFont": "{vis-materialdesign.0.fonts.input.dropdown.value}",
                                                 "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,
                                                 "valueList": "",
                                                 "valueListLabels": "",
                                                 "value2": "900",
                                                 "label2": "Wien",
                                                 "value3": "3",
                                                 "label3": "Berlin",
                                                 "value4": "4",
                                                 "label4": "Deutschland",
                                                 "openOnClear": true,
                                                 "listItemHeight": "1",
                                                 "listPositionOffset": true,
                                                 "inputLabelText": "",
                                                 "inputLabelColor": "",
                                                 "inputLayoutBackgroundColor": "#eee9c4",
                                                 "listItemBackgroundColor": "#eee9c4",
                                                 "listItemFontColor": "#000000",
                                                 "listItemBackgroundHoverColor": "#ff0000",
                                                 "listItemBackgroundSelectedColor": "#000000",
                                                 "value5": "5",
                                                 "label5": "Frankfurt",
                                                 "value6": "6",
                                                 "label6": "München",
                                                 "value7": "7",
                                                 "label7": "Köln",
                                                 "value8": "8",
                                                 "label8": "Hamburg",
                                                 "listIconSize": "20",
                                                 "inputLayoutBorderColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border;dark:vis-materialdesign.0.colors.dark.input.border; mode === \"true\" ? dark : light}",
                                                 "inputLayoutBorderColorHover": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_hover;dark:vis-materialdesign.0.colors.dark.input.border_hover; mode === \"true\" ? dark : light}",
                                                 "inputLayoutBorderColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.border_selected;dark:vis-materialdesign.0.colors.dark.input.border_selected; mode === \"true\" ? dark : light}",
                                                 "inputTextColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.text;dark:vis-materialdesign.0.colors.dark.input.text; mode === \"true\" ? dark : light}",
                                                 "inputLabelColorSelected": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.label_selected;dark:vis-materialdesign.0.colors.dark.input.label_selected; mode === \"true\" ? dark : light}",
                                                 "inputAppendixColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.appendix;dark:vis-materialdesign.0.colors.dark.input.appendix; mode === \"true\" ? dark : light}",
                                                 "inputMessageColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.message;dark:vis-materialdesign.0.colors.dark.input.message; mode === \"true\" ? dark : light}",
                                                 "inputCounterColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.counter;dark:vis-materialdesign.0.colors.dark.input.counter; mode === \"true\" ? dark : light}",
                                                 "collapseIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.icon_collapse;dark:vis-materialdesign.0.colors.dark.input.icon_collapse; mode === \"true\" ? dark : light}",
                                                 "listItemRippleEffectColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.effect;dark:vis-materialdesign.0.colors.dark.input.menu.effect; mode === \"true\" ? dark : light}",
                                                 "listIconColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.icon;dark:vis-materialdesign.0.colors.dark.input.menu.icon; mode === \"true\" ? dark : light}",
                                                 "listItemSubFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.subText;dark:vis-materialdesign.0.colors.dark.input.menu.subText; mode === \"true\" ? dark : light}",
                                                 "listItemValueFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.menu.value;dark:vis-materialdesign.0.colors.dark.input.menu.value; mode === \"true\" ? dark : light}",
                                                 "jsonStringObject": "{0_userdata.0.Corona.AT.Hospitalisierung.GKZBL}",
                                                 "valueListIcons": "",
                                                 "clearIcon": "",
                                                 "clearIconColor": "#mdwTheme:vis-materialdesign.0.colors.input.icon_clear",
                                                 "g_menuItems_§0": true,
                                                 "g_menuItems_§1": true
                                               },
                                               "style": {
                                                 "left": "530px",
                                                 "top": "320px",
                                                 "width": "198px",
                                                 "height": "31px",
                                                 "z-index": "0"
                                               },
                                               "widgetSet": "materialdesign"
                                             },
                                             "e00007": {
                                               "tpl": "tplVis-materialdesign-Chart-JSON",
                                               "data": {
                                                 "oid": "0_userdata.0.Corona.AT.Hospitalisierung.chart4",
                                                 "g_fixed": false,
                                                 "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,
                                                 "chartType": "line",
                                                 "showLegend": true,
                                                 "legendPosition": "top",
                                                 "legendPointStyle": true,
                                                 "showTooltip": "true",
                                                 "tooltipMode": "nearest",
                                                 "tooltipShowColorBox": "true",
                                                 "xAxisPosition": "bottom",
                                                 "xAxisValueDistanceToAxis": "10",
                                                 "xAxisShowAxis": true,
                                                 "xAxisShowAxisLabels": true,
                                                 "xAxisShowGridLines": true,
                                                 "xAxisShowTicks": true,
                                                 "xAxisMinRotation": "45",
                                                 "xAxisMaxRotation": "60",
                                                 "yAxisValueDistanceToAxis": "6",
                                                 "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,
                                                 "xAxisMaxLabel": "15",
                                                 "xAxisTitle": "",
                                                 "xAxisTitleFontFamily": "Arial, Helvetica, sans-serif",
                                                 "axisLabelAutoSkip": true,
                                                 "xAxisOffsetGridLines": false,
                                                 "xAxisTickLength": "12",
                                                 "xAxisZeroLineWidth": "0.8",
                                                 "xAxisValueFontSize": "14",
                                                 "xAxisTitleColor": "#0e0c0c",
                                                 "xAxisValueLabelColor": "#000000",
                                                 "xAxisGridLinesColor": "#ffffff",
                                                 "xAxisGridLinesWitdh": "0.3",
                                                 "xAxisZeroLineColor": "#ff0000",
                                                 "yAxisValueFontSize": "12",
                                                 "yAxisValueLabelColor": "#000000",
                                                 "colorScheme": "scrounger.pie",
                                                 "disableHoverEffects": true,
                                                 "barWidth": "6",
                                                 "backgroundColor": "#eee9c4",
                                                 "chartAreaBackgroundColor": "#000000",
                                                 "chartPaddingTop": "10",
                                                 "chartPaddingLeft": "10",
                                                 "chartPaddingRight": "10",
                                                 "chartPaddingBottom": "10",
                                                 "globalColor": "#fe972f",
                                                 "animationDuration": "",
                                                 "yAxisValueFontFamily": "Arial, Helvetica, sans-serif",
                                                 "xAxisValueFontFamily": "Tahoma, Geneva, sans-serif",
                                                 "legendFontColor": "#000000",
                                                 "legendFontFamily": "{vis-materialdesign.0.fonts.charts.legend}",
                                                 "legendFontSize": "{vis-materialdesign.0.fontSizes.charts.legend}",
                                                 "tooltipTimeFormats": "{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}",
                                                 "tooltipBackgroundColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_background;dark:vis-materialdesign.0.colors.dark.charts.tooltip_background; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_title;dark:vis-materialdesign.0.colors.dark.charts.tooltip_title; mode === \"true\" ? dark : light}",
                                                 "tooltipTitleFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_title}",
                                                 "tooltipTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_title}",
                                                 "tooltipBodyFontColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.tooltip_text;dark:vis-materialdesign.0.colors.dark.charts.tooltip_text; mode === \"true\" ? dark : light}",
                                                 "tooltipBodyFontFamily": "{vis-materialdesign.0.fonts.charts.tooltip_text}",
                                                 "tooltipBodyFontSize": "{vis-materialdesign.0.fontSizes.charts.tooltip_text}",
                                                 "xAxisTicksSource": "auto",
                                                 "xAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.x_axis_title}",
                                                 "xAxisDistanceBetweenTicks": "10",
                                                 "yAxisTitleColor": "{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.charts.y_axis_values;dark:vis-materialdesign.0.colors.dark.charts.y_axis_values; mode === \"true\" ? dark : light}",
                                                 "yAxisTitleFontFamily": "{vis-materialdesign.0.fonts.charts.y_axis_title}",
                                                 "yAxisTitleFontSize": "{vis-materialdesign.0.fontSizes.charts.y_axis_title}",
                                                 "xAxisOffset": false,
                                                 "xAxisLabelUseTodayYesterday": false,
                                                 "visibility-cond": "==",
                                                 "visibility-val": 1,
                                                 "visibility-groups-action": "hide",
                                                 "legendPadding": "20",
                                                 "titleLayout": "#mdwTheme:vis-materialdesign.0.fontSizes.card.title",
                                                 "titleFontFamily": "#mdwTheme:vis-materialdesign.0.fonts.card.title",
                                                 "colorBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background",
                                                 "colorTitleSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_title",
                                                 "colorTextSectionBackground": "#mdwTheme:vis-materialdesign.0.colors.card.background_body",
                                                 "colorTitle": "#mdwTheme:vis-materialdesign.0.colors.card.title",
                                                 "tooltipPosition": "nearest",
                                                 "tooltipBodyAlignment": "left"
                                               },
                                               "style": {
                                                 "left": "730px",
                                                 "top": "310px",
                                                 "width": "720px",
                                                 "height": "300px",
                                                 "z-index": "1",
                                                 "border-style": "solid",
                                                 "border-width": "1px",
                                                 "border-color": "red"
                                               },
                                               "widgetSet": "materialdesign"
                                             }
                                           },
                                           "name": "ATHospitalisierung",
                                           "filterList": []
                                          }
                                          


                                          HospitalisierungAT.PNG

                                          iobroker läuft unter Docker auf QNAP TS-451+
                                          SkriptRecovery: https://forum.iobroker.net/post/930558

                                          sigi234S 1 Antwort Letzte Antwort
                                          2
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          809

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe