Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Material Design Widets: Netzwerk Status

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Material Design Widets: Netzwerk Status

    This topic has been deleted. Only users with topic management privileges can see it.
    • Gargano
      Gargano @Rosi8818 last edited by

      @rosi8818 egal, entweder hochladen oder copy/paste. Wichtig ist, daß alle Informationen da sind ( nichts abgeschnitten)

      R 1 Reply Last reply Reply Quote 0
      • R
        Rosi8818 @Gargano last edited by

        @gargano anbei das Log (nachdem herunterladen hat er es in einem extra Browser fenster geöffnet)
        cc05ba96-84fb-42a8-b136-158f89cf0340-image.png

        2021-03-19 12:44:33.912 - info: javascript.0 (10688) Start javascript script.js.Hilfsscripte.Statusabfrage_aus_github
        2021-03-19 12:44:34.019 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at script.js.Hilfsscripte.Statusabfrage_aus_github:257:1
        at script.js.Hilfsscripte.Statusabfrage_aus_github:284:3
        at Script.runInContext (vm.js:130:18)
        at Script.runInNewContext (vm.js:135:17)
        at execute (/opt/iobroker/node_modules/iobroker.javascript/main.js:1423:27)
        at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1622:38)
        at /opt/iobroker/node_modules/iobroker.javascript/main.js:1722:17
        at /opt/iobroker/node_modules/iobroker.javascript/main.js:1238:17
        at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17
        2021-03-19 12:44:34.019 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: registered 39 subscriptions and 1 schedule
        2021-03-19 12:44:44.140 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:44.163 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:44.410 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:44.551 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:44.804 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:44.906 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:45.424 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:45.493 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:45.908 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:46.195 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:44:46.649 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
        at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
        at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
        at processImmediate (internal/timers.js:461:21)
        2021-03-19 12:45:00.044 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
        at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
        at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1296:34)
        at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:173:10)
        at /opt/iobroker/node_modules/node-schedule/lib/schedule.js:552:11
        at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:510:7)
        at listOnTimeout (internal/timers.js:554:17)
        at processTimers (internal/timers.js:497:7)
        2021-03-19 12:45:17.416 - info: javascript.0 (10688) Stop script script.js.Hilfsscripte.Statusabfrage_aus_github
        2021-03-19 12:46:24.170 - info: javascript.0 (10688) script.js.Hilfsscripte.SmartHomeTablett_laden: 36
        
        Gargano 1 Reply Last reply Reply Quote 0
        • Gargano
          Gargano @Rosi8818 last edited by Gargano

          @rosi8818 Was ist denn bei Dir im Script in Zeile 119 ?

          Bite mal einige Zeile drüber und drunter posten,oder mal den ganzen Code

          R 1 Reply Last reply Reply Quote 0
          • R
            Rosi8818 @Gargano last edited by

            @gargano unter hier das Script, Zeile 57 angepasst auf den Adapter der in den Fehler läuft

            /* Versionshistorie:
             * 
             * 1.0.2:
             * - neu: Anzeige der letzten An- und Abmeldung
             * - neu: Verwendung eigener Bilder möglich
             * 
             * 1.0.1:
             * - neu: In dem Mapping der IP-Adressen kann jetzt eine URL vergeben werden ('http' oder direkt eine spezifische URL)
             * - geändert: Styling der Details
             * - entfernt: MAC-Adresse
             * 
             * 1.0.0:
             * - Initial Release
             */
            
            const moment = require("moment");
             
            // Skript Einstellungen *************************************************************************************************************************************************
             
            let dpList = '0_userdata.0.vis.NetzwerkStatus.jsonList';          // Datenpunkt für IconList Widget (Typ: Zeichenkette (String))
             
            let dpSortMode = '0_userdata.0.vis.NetzwerkStatus.sortMode';      // Datenpunkt für Sortieren (Typ: Zeichenkette (String))
            let dpFilterMode = '0_userdata.0.vis.NetzwerkStatus.filterMode';  // Datenpunkt für Filter (Typ: Zeichenkette (String))
             
            const checkInterval = 30;                                         // Interval wie oft Status der Skripte aktualisiert werden soll (in Sekunden)
             
            let sprache = 'de';                                               // Sprache für formatierung letzte Änderung
            let formatierungLastChange = "ddd DD.MM - HH:mm";                 // Formatierung letzte Änderung -> siehe momentjs library
            
            let imagePath = '/vis.0/myImages/networkDevices/'                 // Pfad zu den verwendeten Bildern (bitte über den VIS Dateimanager hochladen)
                                                                              // nach Variable imagePath suchen und die entsprechenden Zeilen aus- bzw. einkommentieren
                                                                              // Das Bild (Dateiformat png) in der Mapping-Liste hinterlegen
            let defaultImage = 'ip-network-outline';                          // Standardbild, falls kein Bild angegeben wurde (Material Design Icons)
            //let defaultImage = `${imagePath}default.png`;                   // Standardbild, falls kein Bild angegeben wurde (eigenes Bild)
             
            let farbeGeraetOnline = 'green';                                  // Status Bar Farbe wenn Geräte online ist
            let farbeGeraetOffline = 'FireBrick';                             // Status Bar Farbe wenn Geräte offline ist
             
            let sortResetAfter = 120;                                         // Sortierung nach X Sekunden auf sortReset zurücksetzen (0=deaktiviert)
            let sortReset = 'name'                                            // Sortierung auf die zurückgesetzt werden soll
             
            let filterResetAfter = 120;                                       // Filter nach X Sekunden zurücksetzen (0=deaktiviert)
            
            const deviceNames = 
            [{ ip: "192.168.178.11", alias: "Your Computer", 	  image: "desktop-classic" },
            { ip: "192.168.178.12", alias: "Sonoff Living Room", image: "toggle-switch-outline", link: "http" },
            { ip: "192.168.178.13", alias: "Diskstation", 		  image: "NAS", 				  link: "http://diskstation:5000" }
            ];
             
            // **********************************************************************************************************************************************************************
             
            // Fomate für moment Lib
            moment.locale(sprache);
            
            // auf Änderungen aktiver Skripts hören
            //let activeSelector = `[id=tr-064.*.devices.*.active]`;
            let activeSelector = `[id=tr-064.2.devices.*.active]`;
            let deviceActiveList = $(activeSelector);
            if (deviceActiveList.length === 0) {
                // Fehlermeldung ausgeben, wenn selector kein result liefert
                console.error(`no result for selector '${activeSelector}'`)
            } else {
                // listener nur für Änderung bei alive
                deviceActiveList.on(netzwerkStatus);
            } 
             
            // auf Änderungen der Sortieung hören
            on({ id: dpSortMode, change: 'any' }, netzwerkStatus);
            on({ id: dpSortMode, change: 'any' }, resetSort);
             
            // // auf Änderungen der Filter hören
            on({ id: dpFilterMode, change: 'any' }, netzwerkStatus);
            on({ id: dpFilterMode, change: 'any' }, resetFilter);
             
             
            // Funktion adapterStatus alle x Sekunden ausführen
            schedule('*/' + checkInterval + ' * * * * *', netzwerkStatus);
             
            function netzwerkStatus() {
                try {
                    let deviceList = [];
             
                    for (var i = 0; i <= deviceActiveList.length - 1; i++) {
                        let id = deviceActiveList[i].replace('.active', '');
                        let obj = getObject(id);
             
                        let pattern = /(?:\d{1,3}\.){3}\d{1,3}/i;
            
                        let ipAddress = obj.common.name.match(pattern)[0];
                        let image = defaultImage;
                        let deviceName = obj.common.name.replace(/ \((?:\d{1,3}\.){3}\d{1,3}\)/g, '');
                        let device = deviceNames.find(element => element.ip == ipAddress);
                        let listType = 'text';
                        let buttonLink = '';
            //console.log("1");
                        if(device) {
                            deviceName = device.alias;
                            image = device.image;
                            //image = `${imagePath}${device.image}.png`;
            //console.log("2");
                            if(device.link) {
                                listType = 'buttonLink';
            
                                if(device.link == 'http') {
                                    buttonLink = `http://${ipAddress}`;
                                } else {
                                    buttonLink = device.link;
                                }
                            }
                        }
            
                        let macAddress = obj.native.mac;
                        let imageColor = 'black';
                        let statusBarColor = farbeGeraetOffline;
                        let status = 2;
             
                        if (getState(deviceActiveList[i]).val) {
                            statusBarColor = farbeGeraetOnline;
                            status = 1;
                        }
            
                        if(listType === 'buttonLink') {
                            deviceName = `<span style="text-decoration: underline">${deviceName}</span>`                
                        }
            
                        let lastSignIn = 'noch nicht angemeldet';
                        let lastSignOff = 'noch nicht abgemeldet';
            
                        // Letzte Anmeldung auslesen
                        if(existsState(id + '.lastActive')) {
                            lastSignIn = 'angemeldet seit: ' + moment((getState(id + '.lastActive').val)).format("DD.MM.YY HH:mm:ss");
                        }        
            
                        // Letzte Abmeldung auslesen
                        if(existsState(id + '.lastInactive')) {
                            lastSignOff = 'abgemeldet seit: ' + moment((getState(id + '.lastInactive').val)).format("DD.MM.YY HH:mm:ss");
                        }
            
                        let subText = `<div style="color: black; font-family: RobotoCondensed-BoldItalic">${ipAddress}</div>
                                       <div style="color: grey; font-family: RobotoCondensed-Regular">${lastSignIn}</div>
                                       <div style="color: grey; font-family: RobotoCondensed-Regular">${lastSignOff}</div>`
             
                        deviceList.push({
                            text: deviceName,
                            subText: subText,
                            statusBarColor: statusBarColor,
                            image: image,
                            imageColor: imageColor,
                            listType: listType,
                            buttonLink: buttonLink,
                            showValueLabel: false,
                            name: deviceName,
                            ipAddress: ipAddress,
                            status: status
                        });
                    }
             
                    let sortMode = myHelper().getStateValueIfExist(dpSortMode, 'name');
             
                    if (sortMode === 'name' || sortMode === 'ipAddress') {
                        deviceList.sort(function (a, b) {
                            return a[sortMode].toLowerCase() == b[sortMode].toLowerCase() ? 0 : +(a[sortMode].toLowerCase() > b[sortMode].toLowerCase()) || -1;
                        });
                    } else if (sortMode === 'status') {
                        deviceList.sort(function (a, b) {
                            return a[sortMode] == b[sortMode] ? 0 : +(a[sortMode] < b[sortMode]) || -1;
                        });
                    } else {
                        // default: nach name sortieren
                        sortMode = 'name'
                        deviceList.sort(function (a, b) {
                            return a[sortMode].toLowerCase() == b[sortMode].toLowerCase() ? 0 : +(a[sortMode].toLowerCase() > b[sortMode].toLowerCase()) || -1;
                        });
                    }
             
             
                    let filterMode = myHelper().getStateValueIfExist(dpFilterMode, null);
             
                    if (filterMode && filterMode !== null && filterMode !== '') {
                        if (filterMode === 'offline') {
                            deviceList = deviceList.filter(function (item) {
                                return item.status === 2;
                            });
                        } else if (filterMode === 'online') {
                            deviceList = deviceList.filter(function (item) {
                                return item.status === 1;
                            });
                        }
                    }
             
             
                    let result = JSON.stringify(deviceList);
                    if (getState(dpList) !== result) {
                        setState(dpList, result, true);
                    }
             
                } catch (err) {
                    console.error(`[netzwerkStatus] error: ${err.message}, stack: ${err.stack}`);
                }
            }
             
            function resetSort() {
                let sortMode = myHelper().getStateValueIfExist(dpSortMode, null);
             
                if (sortResetAfter > 0) {
                    setTimeout(function () {
                        if (sortMode !== null && sortMode === myHelper().getStateValueIfExist(dpSortMode, null)) {
                            setState(dpSortMode, sortReset);
                        }
                    }, sortResetAfter * 1000);
                }
            }
             
            function resetFilter() {
                let filterMode = myHelper().getStateValueIfExist(dpFilterMode, null);
             
                if (filterResetAfter > 0) {
                    setTimeout(function () {
                        if (filterMode !== null && filterMode === myHelper().getStateValueIfExist(dpFilterMode, null)) {
                            setState(dpFilterMode, '');
                        }
                    }, filterResetAfter * 1000);
                }
            }
             
            // Beim Staren des Skriptes Adapter Status abrufen
            netzwerkStatus();
             
            function myHelper() {
                return {
                    getStateValueIfExist: function (id, nullValue = undefined, prepand = '', append = '') {
                        if (existsState(id)) {
                            return prepand + getState(id).val + append;
                        } else {
                            return nullValue;
                        }
                    },
                    getCommonPropertyIfExist: function (object, prop, nullValue = undefined, prepand = '', append = '') {
                        if (myHelper().checkCommonPropertyExist(object, prop)) {
                            return prepand + object.common[prop] + append;
                        } else {
                            return nullValue;
                        }
                    },
                    checkCommonPropertyExist: function (object, prop) {
                        if (object && object.common && object.common[prop]) {
                            return true;
                        } else {
                            return false;
                        }
                    }
                }
            }
            
            Gargano 1 Reply Last reply Reply Quote 0
            • Gargano
              Gargano @Rosi8818 last edited by Gargano

              @rosi8818 sagte in Material Design Widets: Netzwerk Status:

              deviceActiveList[i]

              also immer noch den Fehler 'NULL'.
              Da stimmt eine ID nicht die zum Lesen benötigt wird.

              Kannst Du mal in Zeile 116 einfügen :
              also über :
              if (getState(deviceActiveList[i]).val) {

              console.log ('deviceActiveList :'+deviceActiveList[i]);
              

              und mal schauen ob die einzelnen Items vorhanden sind.

              Wahrscheinlich hilft es nur mit logs da dran zu kommen

              Ach ja, versuch im Widget auf eine Sort Option zu drücken

              R 1 Reply Last reply Reply Quote 0
              • R
                Rosi8818 @Gargano last edited by

                @gargano hab ich gemacht, auch auf sortieren geklickt (im VIS sagt er kein DP vorhanden, hab trotzdem geklickt)
                59137084-6e99-49e6-ab09-641816cb08d2-image.png
                ist aber vorhanden
                113ed268-0942-48f4-b5a8-6e4227403c98-image.png

                hier das Logfile

                2021-03-19 13:18:58.680 - info: javascript.0 (10688) Start javascript script.js.Hilfsscripte.Statusabfrage_aus_github
                2021-03-19 13:18:58.704 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.AmazonPlug022J.active
                2021-03-19 13:18:58.705 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Brother-Farbdrucker.active
                2021-03-19 13:18:58.706 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Honor-9-Lite.active
                2021-03-19 13:18:58.707 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Tablett.active
                2021-03-19 13:18:58.707 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.ESP-DCCFB4.active
                2021-03-19 13:18:58.708 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Buero.active
                2021-03-19 13:18:58.708 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Keller.active
                2021-03-19 13:18:58.709 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Show-Wohnzimmer.active
                2021-03-19 13:18:58.710 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Kamera-Lehrte-Hauseingang.active
                2021-03-19 13:18:58.710 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-hinten.active
                2021-03-19 13:18:58.711 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-vorn.active
                2021-03-19 13:18:58.712 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.QNAP-INTRANETSERVER.active
                2021-03-19 13:18:58.712 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop-WLAN.active
                2021-03-19 13:18:58.713 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop.active
                2021-03-19 13:18:58.713 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Honor-View10.active
                2021-03-19 13:18:58.714 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Notebook.active
                2021-03-19 13:18:58.715 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Tablet.active
                2021-03-19 13:18:58.715 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Desktop.active
                2021-03-19 13:18:58.716 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Echo-1.active
                2021-03-19 13:18:58.716 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-HONOR-20.active
                2021-03-19 13:18:58.717 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Honor-9.active
                2021-03-19 13:18:58.718 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Tablett.active
                2021-03-19 13:18:58.718 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Amazon-Echo.active
                2021-03-19 13:18:58.719 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Honor-View10.active
                2021-03-19 13:18:58.719 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Medium-Louie.active
                2021-03-19 13:18:58.720 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Esszimmer.active
                2021-03-19 13:18:58.721 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Wohnzimmer.active
                2021-03-19 13:18:58.723 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
                at netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
                at script.js.Hilfsscripte.Statusabfrage_aus_github:257:1
                at script.js.Hilfsscripte.Statusabfrage_aus_github:284:3
                at Script.runInContext (vm.js:130:18)
                at Script.runInNewContext (vm.js:135:17)
                at execute (/opt/iobroker/node_modules/iobroker.javascript/main.js:1423:27)
                at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1622:38)
                at /opt/iobroker/node_modules/iobroker.javascript/main.js:1722:17
                at /opt/iobroker/node_modules/iobroker.javascript/main.js:1238:17
                at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17
                2021-03-19 13:18:58.724 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: registered 39 subscriptions and 1 schedule
                2021-03-19 13:19:00.004 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.AmazonPlug022J.active
                2021-03-19 13:19:00.006 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Brother-Farbdrucker.active
                2021-03-19 13:19:00.008 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Honor-9-Lite.active
                2021-03-19 13:19:00.009 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Tablett.active
                2021-03-19 13:19:00.010 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.ESP-DCCFB4.active
                2021-03-19 13:19:00.010 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Buero.active
                2021-03-19 13:19:00.012 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Keller.active
                2021-03-19 13:19:00.013 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Show-Wohnzimmer.active
                2021-03-19 13:19:00.014 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Kamera-Lehrte-Hauseingang.active
                2021-03-19 13:19:00.015 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-hinten.active
                2021-03-19 13:19:00.016 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-vorn.active
                2021-03-19 13:19:00.017 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.QNAP-INTRANETSERVER.active
                2021-03-19 13:19:00.017 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop-WLAN.active
                2021-03-19 13:19:00.018 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop.active
                2021-03-19 13:19:00.019 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Honor-View10.active
                2021-03-19 13:19:00.024 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Notebook.active
                2021-03-19 13:19:00.025 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Tablet.active
                2021-03-19 13:19:00.026 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Desktop.active
                2021-03-19 13:19:00.027 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Echo-1.active
                2021-03-19 13:19:00.028 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-HONOR-20.active
                2021-03-19 13:19:00.029 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Honor-9.active
                2021-03-19 13:19:00.029 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Tablett.active
                2021-03-19 13:19:00.030 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Amazon-Echo.active
                2021-03-19 13:19:00.031 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Honor-View10.active
                2021-03-19 13:19:00.032 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Medium-Louie.active
                2021-03-19 13:19:00.033 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Esszimmer.active
                2021-03-19 13:19:00.034 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Wohnzimmer.active
                2021-03-19 13:19:00.037 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
                at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
                at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1296:34)
                at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:173:10)
                at /opt/iobroker/node_modules/node-schedule/lib/schedule.js:552:11
                at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:510:7)
                at listOnTimeout (internal/timers.js:554:17)
                at processTimers (internal/timers.js:497:7)
                2021-03-19 13:19:29.283 - info: javascript.0 (10688) script.js.Hilfsscripte.SmartHomeTablett_laden: 29
                2021-03-19 13:19:29.284 - warn: javascript.0 (10688) You are assigning a string to the state "0_userdata.0.Status.alertmessages" which expects a object. Please fix your code to use a object or change the state type to string. This warning might become an error in future versions.
                2021-03-19 13:19:29.286 - warn: javascript.0 (10688) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1422:20)
                2021-03-19 13:19:29.286 - warn: javascript.0 (10688) at Object.materialDesignWidgets.sendTo (script.js.Hilfsscripte.SmartHomeTablett_laden:29:5)
                2021-03-19 13:19:29.287 - warn: javascript.0 (10688) at Object. (script.js.Hilfsscripte.SmartHomeTablett_laden:15:31)
                2021-03-19 13:19:29.287 - warn: javascript.0 (10688) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
                2021-03-19 13:19:29.287 - warn: javascript.0 (10688) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
                2021-03-19 13:19:29.287 - warn: javascript.0 (10688) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
                2021-03-19 13:19:29.287 - warn: javascript.0 (10688) at processImmediate (internal/timers.js:461:21)
                2021-03-19 13:19:30.006 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.AmazonPlug022J.active
                2021-03-19 13:19:30.008 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Brother-Farbdrucker.active
                2021-03-19 13:19:30.009 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Honor-9-Lite.active
                2021-03-19 13:19:30.010 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Tablett.active
                2021-03-19 13:19:30.011 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.ESP-DCCFB4.active
                2021-03-19 13:19:30.012 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Buero.active
                2021-03-19 13:19:30.013 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Keller.active
                2021-03-19 13:19:30.014 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Show-Wohnzimmer.active
                2021-03-19 13:19:30.014 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Kamera-Lehrte-Hauseingang.active
                2021-03-19 13:19:30.016 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-hinten.active
                2021-03-19 13:19:30.017 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-vorn.active
                2021-03-19 13:19:30.017 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.QNAP-INTRANETSERVER.active
                2021-03-19 13:19:30.018 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop-WLAN.active
                2021-03-19 13:19:30.019 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop.active
                2021-03-19 13:19:30.020 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Honor-View10.active
                2021-03-19 13:19:30.021 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Notebook.active
                2021-03-19 13:19:30.022 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Tablet.active
                2021-03-19 13:19:30.023 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Desktop.active
                2021-03-19 13:19:30.023 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Echo-1.active
                2021-03-19 13:19:30.024 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-HONOR-20.active
                2021-03-19 13:19:30.026 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Honor-9.active
                2021-03-19 13:19:30.027 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Tablett.active
                2021-03-19 13:19:30.028 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Amazon-Echo.active
                2021-03-19 13:19:30.029 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Honor-View10.active
                2021-03-19 13:19:30.029 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Medium-Louie.active
                2021-03-19 13:19:30.030 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Esszimmer.active
                2021-03-19 13:19:30.031 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Wohnzimmer.active
                2021-03-19 13:19:30.034 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
                at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
                at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1296:34)
                at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:173:10)
                at /opt/iobroker/node_modules/node-schedule/lib/schedule.js:552:11
                at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:510:7)
                at listOnTimeout (internal/timers.js:554:17)
                at processTimers (internal/timers.js:497:7)
                2021-03-19 13:20:00.032 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.AmazonPlug022J.active
                2021-03-19 13:20:00.034 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Brother-Farbdrucker.active
                2021-03-19 13:20:00.036 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Honor-9-Lite.active
                2021-03-19 13:20:00.037 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Conny-Tablett.active
                2021-03-19 13:20:00.039 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.ESP-DCCFB4.active
                2021-03-19 13:20:00.053 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Buero.active
                2021-03-19 13:20:00.062 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Keller.active
                2021-03-19 13:20:00.066 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Echo-Show-Wohnzimmer.active
                2021-03-19 13:20:00.068 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Kamera-Lehrte-Hauseingang.active
                2021-03-19 13:20:00.069 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-hinten.active
                2021-03-19 13:20:00.071 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Licht-Wohnzimmer-vorn.active
                2021-03-19 13:20:00.072 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.QNAP-INTRANETSERVER.active
                2021-03-19 13:20:00.076 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop-WLAN.active
                2021-03-19 13:20:00.077 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Desktop.active
                2021-03-19 13:20:00.078 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Honor-View10.active
                2021-03-19 13:20:00.079 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Notebook.active
                2021-03-19 13:20:00.080 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Ralf-Tablet.active
                2021-03-19 13:20:00.081 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Desktop.active
                2021-03-19 13:20:00.082 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Echo-1.active
                2021-03-19 13:20:00.082 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-HONOR-20.active
                2021-03-19 13:20:00.083 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Honor-9.active
                2021-03-19 13:20:00.083 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rebecca-Tablett.active
                2021-03-19 13:20:00.084 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Amazon-Echo.active
                2021-03-19 13:20:00.084 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Honor-View10.active
                2021-03-19 13:20:00.084 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Riko-Medium-Louie.active
                2021-03-19 13:20:00.085 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Esszimmer.active
                2021-03-19 13:20:00.085 - info: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: deviceActiveList :tr-064.2.devices.Rolladen-Wohnzimmer.active
                2021-03-19 13:20:00.087 - error: javascript.0 (10688) script.js.Hilfsscripte.Statusabfrage_aus_github: [netzwerkStatus] error: Cannot read property '0' of null, stack: TypeError: Cannot read property '0' of null
                at Object.netzwerkStatus (script.js.Hilfsscripte.Statusabfrage_aus_github:119:59)
                at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1296:34)
                at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:173:10)
                at /opt/iobroker/node_modules/node-schedule/lib/schedule.js:552:11
                at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:510:7)
                at listOnTimeout (internal/timers.js:554:17)
                at processTimers (internal/timers.js:497:7)
                
                
                Gargano 1 Reply Last reply Reply Quote 0
                • Gargano
                  Gargano @Rosi8818 last edited by

                  @rosi8818 In JsonList steht auch nichts drin.

                  Bei tr-064.2.devices.Rolladen-Wohnzimmer.active bricht er ab und erzeugt dann wohl keine JsonList.

                  Also schau mal was in tr-064.2.devices.Rolladen-Wohnzimmer.active los ist.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Rosi8818 @Gargano last edited by

                    @gargano der sieht sauber aus aber mir ist was anderes aufgefallen
                    ja er bricht bei Wohnzimmer ab, ich bin das Logfile durchgegangen und habe es schritt für schritt mit den DP vergleichen.
                    Der DP danach hat statt channel state drin stehenDas wird doch vom Adapter tr64 eingetragen oder?
                    Das ist genau der DP nach Wohnzimmer, denn ab da hört es auf.

                    a88d5afe-5e5b-4be1-94af-8690a5278b4b-image.png

                    Gargano 1 Reply Last reply Reply Quote 0
                    • Gargano
                      Gargano @Rosi8818 last edited by

                      @rosi8818 bei mir sind das auch alle Channels

                      R 3 Replies Last reply Reply Quote 0
                      • R
                        Rosi8818 @Gargano last edited by

                        @gargano ist der einzige mit State. den versuche ich mal zu ändern und melde mich

                        1 Reply Last reply Reply Quote 0
                        • R
                          Rosi8818 @Gargano last edited by

                          @gargano ändern brachte nicht, ich hab ihn gelöscht und das Script läuft durch...
                          jetzt starte ich den Adapter tr64 neu mal sehen was er dann macht..

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rosi8818 @Gargano last edited by

                            @gargano nach dem starten des Adapters hat er den jetzt als channel angelegt und läuft durch.
                            In vis kommt kein Fehler wenn ich auf Sortieren oder filtern gehe aber beide Funktionen ohne Funktion...

                            hast Du da noch ein Tipp? (die habe ich im default gelassen)

                            Gargano 2 Replies Last reply Reply Quote 0
                            • Gargano
                              Gargano @Rosi8818 last edited by Gargano

                              @rosi8818 Beim Sortieren Button schauen

                              fcb8aaa5-5faa-4f7b-9b06-e9d94bbee0af-grafik.png

                              efd369f2-10cd-4afb-b84e-d67d4eef486d-grafik.png

                              Ebenso beim Filtern.

                              Die DP's sollten sich dann ändern beim Drücken der Buttons

                              2b48eb9f-d061-446e-b4c5-a8c559b836fa-grafik.png

                              R 1 Reply Last reply Reply Quote 1
                              • Gargano
                                Gargano @Rosi8818 last edited by

                                @rosi8818 Hab gesehen, das ganze Script ist in try..catch eingebettet. Jeder Fehler landet dann hier :

                                    } catch (err) {
                                
                                        console.error(`[netzwerkStatus] error: ${err.message}, stack: ${err.stack}`);
                                
                                    }
                                
                                R 1 Reply Last reply Reply Quote 1
                                • R
                                  Rosi8818 @Gargano last edited by Rosi8818

                                  @gargano ich bin etwas verwundert, ich habe keine Objekt ID wenn ich oben sortieren markiere, nur

                                  6724a0ef-ceb6-44a3-b9f9-9796265526f9-image.png
                                  der schon ausgefüllt war

                                  HAT sich erledigt 🙂

                                  Gargano 1 Reply Last reply Reply Quote 0
                                  • R
                                    Rosi8818 @Gargano last edited by

                                    @gargano das sagt mir überhaupt nichts, leider. kann ich das ignorieren oder muss ich aktiv werden?

                                    Gargano 1 Reply Last reply Reply Quote 0
                                    • Gargano
                                      Gargano @Rosi8818 last edited by

                                      @rosi8818 War nur eine Info zu dem try..catch ...

                                      1 Reply Last reply Reply Quote 1
                                      • Gargano
                                        Gargano @Rosi8818 last edited by

                                        @rosi8818 Also geht es jetzt ?

                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          Rosi8818 @Gargano last edited by

                                          @gargano 👍 👍 👍
                                          jepp, ich freu mich so, eine Menge gelernt dank deiner Geduld 🙂
                                          Danke

                                          Gargano H 2 Replies Last reply Reply Quote 0
                                          • Gargano
                                            Gargano @Rosi8818 last edited by

                                            @rosi8818 Immer wieder gerne 👌

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            730
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            50
                                            280
                                            40371
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo