NEWS
View Adapter Status
-
@Oli den Schalter sleber habe ich mir aus meiner VIS kopiert, wo der Alive DP fest hinterlegt war.
In der Konfiguration kann man die Instanz dann auch deaktivieren.
-
versuche mal im Wiget die oid in Schweifklammern zu setzen
Edit:
Habe es getestet funktioniert bei mir mit den Klammern. -
@Oli echt ? Bei mir geht es nicht.
Magst du vllt. deinen Schalter exportieren und zur Verfügung stellen?
-
ich hab den von dir genommen
ich habe das beim Bing Adapter ausprobiert, dieser ging allerdings nach kurzer Zeit von sich aus wieder auf true, woran das liegt kann ich dir nicht sagen.
Habe noch einen kleinen Fehler im Script gefunden
if(connect == false){ var con = 0; } else { var con = 1; var strStatePath = devicenameName + ".info.connection"; if (isState(strStatePath, true)) { var connectS = getState(devicenameName + ".info.connection").val; if (connectS == false) { con = 2; } } } }
Steht bei mir im Script ab Zeile 33.
-
@sigi234 sagte in View Adapter Status:
@Bachmann77 sagte in View Adapter Status:
@sigi234
hät ja gern mal gesehen wie deine komplette vis aussiehtJa ist nur ein Ausschnitt davon.
Ich baue gerade meine komplette Vis auf vis-materialdesign von @Scrounger um. Hier einige Beispiele:
Würdest du mir die widgets mit denen du den Füllstand des Toners anzeigen lässt zu Verfügung stellen?
-
@saeft_2003 sagte in View Adapter Status:
Würdest du mir die widgets mit denen du den Füllstand des Toners anzeigen lässt zu Verfügung stellen?
-
Danke
-
@sigi234 vielen Dank für die Inspiration für den Adapter Status.
Da ich aber ein fauler Mensch bin und keine Lust habe jedes Mal das Widget anpassen zu müssen, wenn ich einen neuen Adapter hinzufüge oder entferne, habe ich das ganze mit nem Skript und meinem IconList Widget dynamisch erzeugt. (Adapter Version v0.2.59 - demnächst im latest !!!)
Vorteil des Widget ist, dass es responsiv ist (ein layout für Handy, Tablet, Desktop) und man auch noch die Adapter starten bzw. neustarten kannView zum importieren
Skript, Datenpunkte müsst ihr entsprechend erstellen und anpassen - siehe Kommentare im skript!
Achtung wenn ich Bindings verwende geht meine vis in die Knie, deshalb wird das skript zyklisch aufgerufen.
Javascript Adapter muss folgende libraries importieren und setObject aktiviert sein!
Weiß jemand noch wie wo man den Status abgreifen kann das ein Update für den Adapter zur Verfügung steht? Dann könnte ich noch ein Badget einfügen.
-
@Scrounger sagte in View Adapter Status:
Datenpunkte müsst ihr entsprechend erstellen und anpassen
Als was müssen die DP angelegt werden (Zeichenkette, Werteliste, ...)
Danke
-
@Negalein
Zeichenkette -
@Scrounger sagte in View Adapter Status:
Weiß jemand noch wie wo man den Status abgreifen kann das ein Update für den Adapter zur Verfügung steht? Dann könnte ich noch ein Badget einfügen.
// Adapter Update Notification Script /* * @author Moritz Heusinger <moritz.heusinger@gmail.com> * The scripts checks for adapter upgrades, everyday at 06:00 p.m., if there * are upgrades available it will send an E-Mail to the configured receiverMail. * * Requirement: Running instance of the E-Mail adapter; Admin >= 3.6 * * logging: if true, information will be logged * senderMail: mail address of the sender * receiverMail: target mail address */ const logging = true; const senderMail = 'xxxxxxxxxxt'; const receiverMail = 'xxxxxxxxxxxt'; on({id: 'admin.0.info.updatesJson', ack: true, change: 'ne'}, (obj) => { if(!getState('admin.0.info.newUpdates').val) return; if (logging) log('New adapter updates are available', 'info'); let upgradeable = JSON.parse(obj.state.val); let text = 'Die folgenden Adapter sind aktualisierbar:\n'; for (let adapter in upgradeable) { text += 'Adapter ' + JSON.stringify(adapter) + ' kann von ' + upgradeable[adapter].installedVersion + ' auf ' + upgradeable[adapter].availableVersion + ' aktualisiert werden.\n'; } // endFor sendTo('email', { from: senderMail, to: receiverMail, subject: 'Es sind neue Adapter Updates für deinen ioBroker verfügbar', text: text }); });
-
13:02:30.106 warn javascript.0 (8000) at getStatusColor (script.js.Sigi.Adapter_Abfrage:93:21) 13:02:30.106 warn javascript.0 (8000) at Object.adapterStatus (script.js.Sigi.Adapter_Abfrage:87:33)
-
hab auch jetzt alle 30 Sekunden Warn-Meldungen
javascript.0 2020-02-22 14:16:30.167 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.167 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.167 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.167 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.167 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.167 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.167 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.167 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.167 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:86:33) javascript.0 2020-02-22 14:16:30.166 warn (5214) at getStatusColor (script.js.System.Adapterliste:92:21) javascript.0 2020-02-22 14:16:30.166 warn (5214) getState "system.adapter.devices.0.alive" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.164 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.164 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.164 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.164 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.164 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.164 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.164 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.163 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.163 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:76:136) javascript.0 2020-02-22 14:16:30.163 warn (5214) getState "system.adapter.devices.0.uptime" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.163 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.163 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.163 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.163 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.162 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.162 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.162 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.162 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.162 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:72:120) javascript.0 2020-02-22 14:16:30.161 warn (5214) getState "system.adapter.devices.0.memRss" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.160 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.160 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.160 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.160 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.160 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.160 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.160 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.160 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.160 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:68:120) javascript.0 2020-02-22 14:16:30.159 warn (5214) getState "system.adapter.devices.0.memHeapUsed" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.159 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.159 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.159 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.159 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.159 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.159 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.157 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.157 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.157 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:64:120) javascript.0 2020-02-22 14:16:30.157 warn (5214) getState "system.adapter.devices.0.memHeapTotal" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.157 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.157 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.156 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.156 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.156 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.156 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.156 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.156 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.156 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:60:120) javascript.0 2020-02-22 14:16:30.155 warn (5214) getState "system.adapter.devices.0.cpu" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.149 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.149 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.149 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.149 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.149 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.149 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.149 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.148 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.148 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:86:33) javascript.0 2020-02-22 14:16:30.148 warn (5214) at getStatusColor (script.js.System.Adapterliste:92:21) javascript.0 2020-02-22 14:16:30.148 warn (5214) getState "system.adapter.fontui.0.alive" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.146 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.146 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.146 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.146 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.146 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.146 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.146 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.145 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.145 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:76:136) javascript.0 2020-02-22 14:16:30.145 warn (5214) getState "system.adapter.fontui.0.uptime" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.145 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.145 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.145 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.145 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.145 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.144 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.144 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.144 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.144 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:72:120) javascript.0 2020-02-22 14:16:30.144 warn (5214) getState "system.adapter.fontui.0.memRss" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.144 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.144 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.144 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.144 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.143 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.143 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.143 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.143 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.143 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:68:120) javascript.0 2020-02-22 14:16:30.143 warn (5214) getState "system.adapter.fontui.0.memHeapUsed" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.143 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.142 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.142 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.142 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.142 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.142 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.142 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.142 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.142 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:64:120) javascript.0 2020-02-22 14:16:30.140 warn (5214) getState "system.adapter.fontui.0.memHeapTotal" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.140 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.140 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.140 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.140 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.140 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.140 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.140 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.139 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.139 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:60:120) javascript.0 2020-02-22 14:16:30.139 warn (5214) getState "system.adapter.fontui.0.cpu" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.096 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.096 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.096 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.096 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.096 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.095 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.095 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.095 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.095 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:60:120) javascript.0 2020-02-22 14:16:30.094 warn (5214) getState "system.adapter.places.0.cpu" not found (3) javascript.0 2020-02-22 14:16:30.066 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.066 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.066 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.066 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.066 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.066 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.066 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.065 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.065 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:86:33) javascript.0 2020-02-22 14:16:30.065 warn (5214) at getStatusColor (script.js.System.Adapterliste:92:21) javascript.0 2020-02-22 14:16:30.064 warn (5214) getState "system.adapter.proxy.0.alive" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.062 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.062 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.062 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.062 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.062 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.062 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.062 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.062 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.062 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:76:136) javascript.0 2020-02-22 14:16:30.061 warn (5214) getState "system.adapter.proxy.0.uptime" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.061 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.061 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.061 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.061 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.061 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.061 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.061 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.061 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.060 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:72:120) javascript.0 2020-02-22 14:16:30.060 warn (5214) getState "system.adapter.proxy.0.memRss" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.060 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.060 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.060 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.060 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.060 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.059 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.059 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.059 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.059 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:68:120) javascript.0 2020-02-22 14:16:30.059 warn (5214) getState "system.adapter.proxy.0.memHeapUsed" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.058 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.058 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.058 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.058 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.058 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.058 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.058 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.058 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.058 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:64:120) javascript.0 2020-02-22 14:16:30.057 warn (5214) getState "system.adapter.proxy.0.memHeapTotal" not found (3) states[id]=null javascript.0 2020-02-22 14:16:30.057 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.057 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.057 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.057 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.057 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.057 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.057 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.056 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.056 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:60:120) javascript.0 2020-02-22 14:16:30.056 warn (5214) getState "system.adapter.proxy.0.cpu" not found (3) javascript.0 2020-02-22 14:16:30.050 warn (5214) at Timer.processTimers (timers.js:223:10) javascript.0 2020-02-22 14:16:30.050 warn (5214) at listOnTimeout (timers.js:263:5) javascript.0 2020-02-22 14:16:30.050 warn (5214) at tryOnTimeout (timers.js:300:5) javascript.0 2020-02-22 14:16:30.050 warn (5214) at ontimeout (timers.js:436:11) javascript.0 2020-02-22 14:16:30.049 warn (5214) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7) javascript.0 2020-02-22 14:16:30.049 warn (5214) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11 javascript.0 2020-02-22 14:16:30.049 warn (5214) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10) javascript.0 2020-02-22 14:16:30.049 warn (5214) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1340:34) javascript.0 2020-02-22 14:16:30.049 warn (5214) at Object.adapterStatus (script.js.System.Adapterliste:60:120) javascript.0 2020-02-22 14:16:30.048 warn (5214) getState "system.adapter.systeminfo.0.cpu" not found (3)
-
@Negalein sagte in View Adapter Status:
hab auch jetzt alle 30 Sekunden Warn-Meldungen
Ja, hatte ich auch kommt wenn die Adapter nicht aktiviert sind.
Bei dir sind es einige:
getState "system.adapter.proxy.0.cpu" not found (3) -
@sigi234 sagte in View Adapter Status:
Ja, hatte ich auch kommt wenn die Adapter nicht aktiviert sind.
Ah, ok.
Ja, habe einige deaktiviert. Muss ich mal löschen.Weißt du eventuell, wie ich die Farbe der rechten Spalte (Werte) ändere?
-
@Negalein sagte in View Adapter Status:
Weißt du eventuell, wie ich die Farbe der rechten Spalte (Werte) ändere?
Nö,Experimentiere auch gerade.
-
@sigi234 sagte in View Adapter Status:
Nö,Experimentiere auch gerade.
finde keinen Punkt dafür. Alle anderen Farbwerte hab ich gefunden.
Kann uns sicher @Scrounger weiterhelfen. -
@Negalein sagte in View Adapter Status:
@sigi234 sagte in View Adapter Status:
Nö,Experimentiere auch gerade.
finde keinen Punkt dafür. Alle anderen Farbwerte hab ich gefunden.
Kann uns sicher @Scrounger weiterhelfen.Ich denke das geht im Skript ab Zeile 54
Tipp:
In Zeile61
muss du noch das % Zeichen löschen, stehen 2 mal drinnen. -
-
@sigi234 sagte in View Adapter Status:
@Scrounger sagte in View Adapter Status:
Weiß jemand noch wie wo man den Status abgreifen kann das ein Update für den Adapter zur Verfügung steht? Dann könnte ich noch ein Badget einfügen.
// Adapter Update Notification Script /* * @author Moritz Heusinger <moritz.heusinger@gmail.com> * The scripts checks for adapter upgrades, everyday at 06:00 p.m., if there * are upgrades available it will send an E-Mail to the configured receiverMail. * * Requirement: Running instance of the E-Mail adapter; Admin >= 3.6 * * logging: if true, information will be logged * senderMail: mail address of the sender * receiverMail: target mail address */ const logging = true; const senderMail = 'xxxxxxxxxxt'; const receiverMail = 'xxxxxxxxxxxt'; on({id: 'admin.0.info.updatesJson', ack: true, change: 'ne'}, (obj) => { if(!getState('admin.0.info.newUpdates').val) return; if (logging) log('New adapter updates are available', 'info'); let upgradeable = JSON.parse(obj.state.val); let text = 'Die folgenden Adapter sind aktualisierbar:\n'; for (let adapter in upgradeable) { text += 'Adapter ' + JSON.stringify(adapter) + ' kann von ' + upgradeable[adapter].installedVersion + ' auf ' + upgradeable[adapter].availableVersion + ' aktualisiert werden.\n'; } // endFor sendTo('email', { from: senderMail, to: receiverMail, subject: 'Es sind neue Adapter Updates für deinen ioBroker verfügbar', text: text }); });
Danke, Bau ich demnächst noch ein