NEWS
Javascript Adapter stürzt ab
-
@thomas-braun : bitte hilf mir.
-
@dos1973 sagte in Javascript Adapter stürzt ab:
bitte hilf mir.
Hilf mir! Mit der Langfassung von
iob diag
z. B.
Und der Threadersteller macht das selbe, nachdem er nodejs@18 installiert hat.
-
@thomas-braun sagte in Javascript Adapter stürzt ab:
iob diag
kommt
======================= SUMMARY ======================= v.2023-10-10 Static hostname: pve-iobroker Icon name: computer-vm Chassis: vm 🖴 Virtualization: kvm Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-13-amd64 Architecture: x86-64 Hardware Vendor: QEMU Hardware Model: Standard PC _i440FX + PIIX, 1996_ Firmware Version: rel-1.16.1-0-g3208b098f51a-prebuilt.qemu.org Installation: kvm Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 32 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs 18.19.0 and npm 10.2.3 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 16G 4.1G 11G 581K 1.1G 12G Swap: 1.0G 0B 1.0G Total: 17G 4.1G 12G Active iob-Instances: 35 Active repo(s): Stable (default) ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : pve-iobroker - enabled, port: 8081, bind: 192.168.10.6, run as: admin + system.adapter.web.0 : web : pve-iobroker - enabled, port: 8082, bind: 192.168.10.6, run as: admin Objects: 46994 States: 45888 Size of iob-Database: 53M /opt/iobroker/iobroker-data/objects.jsonl 28M /opt/iobroker/iobroker-data/objects.json.migrated 28M /opt/iobroker/iobroker-data/objects.json.bak.migrated 28M /opt/iobroker/iobroker-data/states.jsonl 8.4M /opt/iobroker/iobroker-data/states.json.migrated 8.4M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
-
ich würde als erstes mal die javascript version downgraden um ein paar versionsnummern - auch mal ein rückschritt des js-controllers würde ich als nächstes testen
-
@liv-in-sky
probiere ich gleich aus... würde nur thomas noch ein moment geben. Danke. -
@dos1973 kein thema - würd ich auch
-
@dos1973 sagte in Javascript Adapter stürzt ab:
Pending OS-Updates: 32
Kiste durchpatchen. Dann nochmal schauen. Und am besten die lange Fassung vom diag.
-
@thomas-braun
hate ich heute schon gemacht, keine Änderung. aber kommt.
(das ist ein restortes Backup) -
gesamt als anhang
diag2.txt======================= SUMMARY ======================= v.2023-10-10 Static hostname: pve-iobroker Icon name: computer-vm Chassis: vm 🖴 Virtualization: kvm Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-13-amd64 Architecture: x86-64 Hardware Vendor: QEMU Hardware Model: Standard PC _i440FX + PIIX, 1996_ Firmware Version: rel-1.16.1-0-g3208b098f51a-prebuilt.qemu.org Installation: kvm Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.0 and npm 10.2.3 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 16G 4.1G 10G 577K 1.7G 12G Swap: 1.0G 0B 1.0G Total: 17G 4.1G 11G Active iob-Instances: 35 Active repo(s): Stable (default) ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : pve-iobroker - enabled, port: 8081, bind: 192.168.10.6, run as: admin + system.adapter.web.0 : web : pve-iobroker - enabled, port: 8082, bind: 192.168.10.6, run as: admin Objects: 47009 States: 45903 Size of iob-Database: 53M /opt/iobroker/iobroker-data/objects.jsonl 28M /opt/iobroker/iobroker-data/objects.json.migrated 28M /opt/iobroker/iobroker-data/objects.json.bak.migrated 59M /opt/iobroker/iobroker-data/states.jsonl 8.4M /opt/iobroker/iobroker-data/states.json.migrated 8.4M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
-
ab und an kommt diese Meldung:
Cannot read compact mode by host "system.host.pve-iobroker": timeout
-
@dos1973 sagte in Javascript Adapter stürzt ab:
Cannot read compact mode by host "system.host.
schau mal: https://forum.iobroker.net/topic/55373/seit-update-node-v12-v14-ständige-fehlermeldung
-
@liv-in-sky
ich hatte alle scripte deaktiviert und neu gestartet - gleicher effekt.edit: also iobroker neu gestartet.
-
bitte genügend log (als text) posten, damit man den absturz des adapters auch sieht.
oder ist es nur das skript?
ich würde auch mal davon ausgehen, das durch das ändern du dir irgend einen fehler im skript eingehandelt hast, der eine schleife produziert oder ein heap-overflow oder sowas ähnliches.kannst du das skript schon einkreisen was den "absturz" verursacht? dann das hier auch für einen review posten
-
es ist kein script.
ich kann alle scripte deaktivieren und ein neues erstellen. Der Fehler bleibt -
vielen dank für die beantwortung des 2.Teils meines Posts.
Wenn du noch den 1.Teil nachlieferst erreichen wir das glücklichsein früher -
aktuell sind alle scripte deaktiviert.
admin.0 2024-01-05 17:53:52.121 info <== Disconnect system.user.admin from 192.168.10.180 javascript admin.0 2024-01-05 17:53:52.121 info <== Disconnect system.user.admin from 192.168.10.180 javascript admin.0 2024-01-05 17:53:51.461 info ==> Connected system.user.admin from 192.168.10.180 admin.0 2024-01-05 17:53:49.843 error Alias subscription error. Please check your alias definitions: sourceId=javascript.0.lmair.temp-sensoren.channel10-wohnzimmer.temperature, sourceObj={"common":{"name":"temperature","desc":"temperature von channel10-wohnzimmer","type":"number","def":0,"role":"value","custom":{"sql.0":{"enabled":true,"changesOnly":true,"debounce":"1000","retention":"31536000","changesRelogInterval":"300","changesMinDelta":0,"storageType":"","aliasId":"","debounceTime":0,"blockTime":1000,"ignoreBelowNumber":"","disableSkippedValueLogging":false,"counter":false,"customRetentionDuration":365,"maxLength":10,"enableDebugLogs":false},"influxdb.0":{"enabled":true,"storageType":"","aliasId":"","debounceTime":0,"blockTime":0,"changesOnly":true,"changesRelogInterval":0,"changesMinDelta":0,"ignoreBelowNumber":"","disableSkippedValueLogging":false,"enableDebugLogs":false,"debounce":1000}}},"native":{},"type":"state","_id":"javascript.0.lmair.temp-sensoren.channel10-wohnzimmer.temperature","acl":{"object":1636,"state":1636,"ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1701654836793} admin.0 2024-01-05 17:53:49.843 error Alias subscription error. Please check your alias definitions: sourceId=javascript.0.lmair.temp-sensoren.channel10-wohnzimmer.humidity, sourceObj={"common":{"name":"humidity","desc":"humidity von channel10-wohnzimmer","type":"number","def":0,"role":"value","custom":{"sql.0":{"enabled":true,"changesOnly":true,"debounce":"1000","retention":"31536000","changesRelogInterval":"300","changesMinDelta":0,"storageType":"","aliasId":"","counter":false,"debounceTime":0,"blockTime":1000,"ignoreBelowNumber":"","disableSkippedValueLogging":false,"customRetentionDuration":365,"maxLength":10,"enableDebugLogs":false},"influxdb.0":{"enabled":true,"changesOnly":true,"debounce":"1000","retention":"31536000","changesRelogInterval":0,"changesMinDelta":0,"storageType":"","aliasId":"","debounceTime":0,"blockTime":1000,"ignoreBelowNumber":"","disableSkippedValueLogging":false,"enableDebugLogs":false}}},"native":{},"type":"state","_id":"javascript.0.lmair.temp-sensoren.channel10-wohnzimmer.humidity","acl":{"object":1636,"state":1636,"ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1701654830818} admin.0 2024-01-05 17:53:49.842 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHSW-25#C45BBE6C2843#1.hostname, sourceObj={"type":"state","common":{"name":{"en":"Device IP address or hostname","de":"Geräte-IP-Adresse oder Hostname","ru":"IP-адрес устройства или имя хоста","pt":"Endereço IP do dispositivo ou nome de host","nl":"IP-adres of gastnaam","fr":"Adresse IP ou nom d'hôte","it":"Indirizzo IP del dispositivo o nome host","es":"Dirección IP o nombre de host","pl":"Adres IP lub hostname","uk":"Пристрої IP адреси або ім'я користувача","zh-cn":"設備 IP 地址或主機名"},"type":"string","role":"info.ip","read":true,"write":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473434256,"_id":"shelly.1.SHSW-25#C45BBE6C2843#1.hostname","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.842 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHSW-25#C45BBE6C2843#1.Relay1.Power, sourceObj={"type":"state","common":{"name":"Power","type":"number","role":"value.power","read":true,"write":false,"def":0,"unit":"W","custom":{"sourceanalytix.0":{"enabled":true,"selectedUnit":"Detect automatically","deviceResetLogicEnabled":true,"threshold":1,"start_day":0.004141953866666666,"start_week":0,"start_month":0,"start_quarter":0,"start_year":0,"selectedPrice":"ElectricityDay","costs":true,"consumption":true,"meter_values":true,"basicRate":true,"valueAtDeviceInit":null,"valueAtDeviceReset":null,"cumulativeValue":0.004141953866666666}}},"native":{},"_id":"shelly.1.SHSW-25#C45BBE6C2843#1.Relay1.Power","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473433765} admin.0 2024-01-05 17:53:49.842 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHSW-25#C45BBE6C2843#1.Relay0.Power, sourceObj={"type":"state","common":{"name":"Power","type":"number","role":"value.power","read":true,"write":false,"def":0,"unit":"W","custom":{"sourceanalytix.0":{"enabled":true,"selectedUnit":"Detect automatically","deviceResetLogicEnabled":true,"threshold":1,"start_day":0.057646663513888884,"start_week":0,"start_month":0,"start_quarter":0,"start_year":0,"selectedPrice":"ElectricityDay","costs":true,"consumption":true,"meter_values":true,"basicRate":true,"valueAtDeviceInit":null,"valueAtDeviceReset":null,"cumulativeValue":0.057646663513888884}}},"native":{},"_id":"shelly.1.SHSW-25#C45BBE6C2843#1.Relay0.Power","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473433739} admin.0 2024-01-05 17:53:49.842 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHHT-1#D34034#1.name, sourceObj={"type":"state","common":{"name":{"en":"Device name","de":"Bezeichnung des Geräts","ru":"Наименование устройства","pt":"Nome do dispositivo","nl":"Devicenaam","fr":"Nom du dispositif","it":"Nome del dispositivo","es":"Nombre del dispositivo","pl":"Device name","uk":"Назва пристрою","zh-cn":"证人姓名"},"type":"string","role":"info.name","read":true,"write":true,"icon":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMEMyOC43IDAgMCAyOC43IDAgNjRWNDQ4YzAgMzUuMyAyOC43IDY0IDY0IDY0SDMyMGMzNS4zIDAgNjQtMjguNyA2NC02NFY0MjguN2MtMi43IDEuMS01LjQgMi04LjIgMi43bC02MC4xIDE1Yy0zIC43LTYgMS4yLTkgMS40Yy0uOSAuMS0xLjggLjItMi43IC4ySDI0MGMtNi4xIDAtMTEuNi0zLjQtMTQuMy04LjhsLTguOC0xNy43Yy0xLjctMy40LTUuMS01LjUtOC44LTUuNXMtNy4yIDIuMS04LjggNS41bC04LjggMTcuN2MtMi45IDUuOS05LjIgOS40LTE1LjcgOC44cy0xMi4xLTUuMS0xMy45LTExLjNMMTQ0IDM4MWwtOS44IDMyLjhjLTYuMSAyMC4zLTI0LjggMzQuMi00NiAzNC4ySDgwYy04LjggMC0xNi03LjItMTYtMTZzNy4yLTE2IDE2LTE2aDguMmM3LjEgMCAxMy4zLTQuNiAxNS4zLTExLjRsMTQuOS00OS41YzMuNC0xMS4zIDEzLjgtMTkuMSAyNS42LTE5LjFzMjIuMiA3LjggMjUuNiAxOS4xbDExLjYgMzguNmM3LjQtNi4yIDE2LjgtOS43IDI2LjgtOS43YzE1LjkgMCAzMC40IDkgMzcuNSAyMy4ybDQuNCA4LjhoOC45Yy0zLjEtOC44LTMuNy0xOC40LTEuNC0yNy44bDE1LTYwLjFjMi44LTExLjMgOC42LTIxLjUgMTYuOC0yOS43TDM4NCAyMDMuNlYxNjBIMjU2Yy0xNy43IDAtMzItMTQuMy0zMi0zMlYwSDY0ek0yNTYgMFYxMjhIMzg0TDI1NiAwek01NDkuOCAxMzkuN2MtMTUuNi0xNS42LTQwLjktMTUuNi01Ni42IDBsLTI5LjQgMjkuNCA3MSA3MSAyOS40LTI5LjRjMTUuNi0xNS42IDE1LjYtNDAuOSAwLTU2LjZsLTE0LjQtMTQuNHpNMzExLjkgMzIxYy00LjEgNC4xLTcgOS4yLTguNCAxNC45bC0xNSA2MC4xYy0xLjQgNS41IC4yIDExLjIgNC4yIDE1LjJzOS43IDUuNiAxNS4yIDQuMmw2MC4xLTE1YzUuNi0xLjQgMTAuOC00LjMgMTQuOS04LjRMNTEyLjEgMjYyLjdsLTcxLTcxTDMxMS45IDMyMXoiLz48L3N2Zz4="},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704401099005,"_id":"shelly.1.SHHT-1#D34034#1.name","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHHT-1#D34034#1.bat.charger, sourceObj={"type":"state","common":{"name":{"en":"Charger connected","de":"Ladegerät angeschlossen","ru":"Подключенное зарядное устройство","pt":"Carregador conectado","nl":"Vertaling:","fr":"Charger connecté","it":"Caricabatterie collegato","es":"Cargador conectado","pl":"Charger join","zh-cn":"联系人"},"type":"boolean","role":"state","read":true,"write":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704401098995,"_id":"shelly.1.SHHT-1#D34034#1.bat.charger","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHHT-1#D34034#1.tmp.temperatureC, sourceObj={"type":"state","common":{"name":{"en":"Temperature","de":"Temperatur","ru":"Температура","pt":"Temperatura","nl":"Temperatuur","fr":"Température","it":"Temperatura","es":"Temperatura","pl":"Temperatura","zh-cn":"模范"},"type":"number","role":"value.temperature","read":true,"write":false,"unit":"°C"},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704401099023,"_id":"shelly.1.SHHT-1#D34034#1.tmp.temperatureC","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=hm-rpc.1.000858A9960D4A.4.STATE, sourceObj={"type":"state","common":{"name":"STATE","def":false,"type":"boolean","read":true,"write":true,"role":"switch"},"native":{"MIN":false,"OPERATIONS":7,"MAX":true,"FLAGS":1,"ID":"STATE","TYPE":"BOOL","DEFAULT":false,"CONTROL":"SWITCH.STATE"},"from":"system.adapter.hm-rpc.1","user":"system.user.admin","ts":1600591517383,"_id":"hm-rpc.1.000858A9960D4A.4.STATE","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHMOS-01#60A423936DA2#1.sensor.vibration, sourceObj={"type":"state","common":{"name":"Vibration","type":"boolean","role":"sensor","read":true,"write":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704466794189,"_id":"shelly.1.SHMOS-01#60A423936DA2#1.sensor.vibration","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHMOS-01#60A423936DA2#1.hostname, sourceObj={"type":"state","common":{"name":{"en":"Device IP address or hostname","de":"Geräte-IP-Adresse oder Hostname","ru":"IP-адрес устройства или имя хоста","pt":"Endereço IP do dispositivo ou nome de host","nl":"IP-adres of gastnaam","fr":"Adresse IP ou nom d'hôte","it":"Indirizzo IP del dispositivo o nome host","es":"Dirección IP o nombre de host","pl":"Adres IP lub hostname","uk":"Пристрої IP адреси або ім'я користувача","zh-cn":"設備 IP 地址或主機名"},"type":"string","role":"info.ip","read":true,"write":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704465848584,"_id":"shelly.1.SHMOS-01#60A423936DA2#1.hostname","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.842 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHSW-25#C45BBE6C2843#1.Relay0.Switch, sourceObj={"type":"state","common":{"type":"boolean","read":true,"write":true,"name":{"en":"Switch","de":"Schalter","ru":"Переключить","pt":"Interruptor","nl":"Vertaling:","fr":"Interrupteur","it":"Interruttore","es":"Interruptor","pl":"Switch","zh-cn":"目 录"},"role":"switch","def":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473438205,"_id":"shelly.1.SHSW-25#C45BBE6C2843#1.Relay0.Switch","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.842 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHSW-25#C45BBE6C2843#1.Relay1.Switch, sourceObj={"type":"state","common":{"type":"boolean","read":true,"write":true,"name":{"en":"Switch","de":"Schalter","ru":"Переключить","pt":"Interruptor","nl":"Vertaling:","fr":"Interrupteur","it":"Interruttore","es":"Interruptor","pl":"Switch","zh-cn":"目 录"},"role":"switch","def":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473438205,"_id":"shelly.1.SHSW-25#C45BBE6C2843#1.Relay1.Switch","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.842 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHSW-25#C45BBE6C2843#1.name, sourceObj={"type":"state","common":{"name":{"en":"Device name","de":"Bezeichnung des Geräts","ru":"Наименование устройства","pt":"Nome do dispositivo","nl":"Devicenaam","fr":"Nom du dispositif","it":"Nome del dispositivo","es":"Nombre del dispositivo","pl":"Device name","uk":"Назва пристрою","zh-cn":"证人姓名"},"type":"string","role":"info.name","read":true,"write":true,"icon":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMEMyOC43IDAgMCAyOC43IDAgNjRWNDQ4YzAgMzUuMyAyOC43IDY0IDY0IDY0SDMyMGMzNS4zIDAgNjQtMjguNyA2NC02NFY0MjguN2MtMi43IDEuMS01LjQgMi04LjIgMi43bC02MC4xIDE1Yy0zIC43LTYgMS4yLTkgMS40Yy0uOSAuMS0xLjggLjItMi43IC4ySDI0MGMtNi4xIDAtMTEuNi0zLjQtMTQuMy04LjhsLTguOC0xNy43Yy0xLjctMy40LTUuMS01LjUtOC44LTUuNXMtNy4yIDIuMS04LjggNS41bC04LjggMTcuN2MtMi45IDUuOS05LjIgOS40LTE1LjcgOC44cy0xMi4xLTUuMS0xMy45LTExLjNMMTQ0IDM4MWwtOS44IDMyLjhjLTYuMSAyMC4zLTI0LjggMzQuMi00NiAzNC4ySDgwYy04LjggMC0xNi03LjItMTYtMTZzNy4yLTE2IDE2LTE2aDguMmM3LjEgMCAxMy4zLTQuNiAxNS4zLTExLjRsMTQuOS00OS41YzMuNC0xMS4zIDEzLjgtMTkuMSAyNS42LTE5LjFzMjIuMiA3LjggMjUuNiAxOS4xbDExLjYgMzguNmM3LjQtNi4yIDE2LjgtOS43IDI2LjgtOS43YzE1LjkgMCAzMC40IDkgMzcuNSAyMy4ybDQuNCA4LjhoOC45Yy0zLjEtOC44LTMuNy0xOC40LTEuNC0yNy44bDE1LTYwLjFjMi44LTExLjMgOC42LTIxLjUgMTYuOC0yOS43TDM4NCAyMDMuNlYxNjBIMjU2Yy0xNy43IDAtMzItMTQuMy0zMi0zMlYwSDY0ek0yNTYgMFYxMjhIMzg0TDI1NiAwek01NDkuOCAxMzkuN2MtMTUuNi0xNS42LTQwLjktMTUuNi01Ni42IDBsLTI5LjQgMjkuNCA3MSA3MSAyOS40LTI5LjRjMTUuNi0xNS42IDE1LjYtNDAuOSAwLTU2LjZsLTE0LjQtMTQuNHpNMzExLjkgMzIxYy00LjEgNC4xLTcgOS4yLTguNCAxNC45bC0xNSA2MC4xYy0xLjQgNS41IC4yIDExLjIgNC4yIDE1LjJzOS43IDUuNiAxNS4yIDQuMmw2MC4xLTE1YzUuNi0xLjQgMTAuOC00LjMgMTQuOS04LjRMNTEyLjEgMjYyLjdsLTcxLTcxTDMxMS45IDMyMXoiLz48L3N2Zz4="},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473437817,"_id":"shelly.1.SHSW-25#C45BBE6C2843#1.name","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.840 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHMOS-01#60A423936DA2#1.sensor.battery, sourceObj={"type":"state","common":{"name":{"en":"Battery capacity","de":"Batteriekapazität","ru":"Емкость батареи","pt":"Capacidade da bateria","nl":"Batterij capaciteit","fr":"Capacité de la batterie","it":"Capacità della batteria","es":"Capacidad de la batería","pl":"Pojemność baterii","zh-cn":"包 容能力"},"type":"number","role":"value.battery","read":true,"write":false,"min":0,"max":100,"unit":"%"},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704466794183,"_id":"shelly.1.SHMOS-01#60A423936DA2#1.sensor.battery","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.840 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHMOS-01#60A423936DA2#1.sensor.lux, sourceObj={"type":"state","common":{"name":"Illuminance","type":"number","role":"value.brightness","read":true,"write":false,"unit":"Lux"},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704466794186,"_id":"shelly.1.SHMOS-01#60A423936DA2#1.sensor.lux","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.840 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.shellyplus2pm#b48a0a22bcbc#1.hostname, sourceObj={"type":"state","common":{"name":{"en":"Device IP address or hostname","de":"Geräte-IP-Adresse oder Hostname","ru":"IP-адрес устройства или имя хоста","pt":"Endereço IP do dispositivo ou nome de host","nl":"IP-adres of gastnaam","fr":"Adresse IP ou nom d'hôte","it":"Indirizzo IP del dispositivo o nome host","es":"Dirección IP o nombre de host","pl":"Adres IP lub hostname","uk":"Пристрої IP адреси або ім'я користувача","zh-cn":"設備 IP 地址或主機名"},"type":"string","role":"info.ip","read":true,"write":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473428961,"_id":"shelly.1.shellyplus2pm#b48a0a22bcbc#1.hostname","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHMOS-01#60A423936DA2#1.name, sourceObj={"type":"state","common":{"name":{"en":"Device name","de":"Bezeichnung des Geräts","ru":"Наименование устройства","pt":"Nome do dispositivo","nl":"Devicenaam","fr":"Nom du dispositif","it":"Nome del dispositivo","es":"Nombre del dispositivo","pl":"Device name","uk":"Назва пристрою","zh-cn":"证人姓名"},"type":"string","role":"info.name","read":true,"write":true,"icon":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMEMyOC43IDAgMCAyOC43IDAgNjRWNDQ4YzAgMzUuMyAyOC43IDY0IDY0IDY0SDMyMGMzNS4zIDAgNjQtMjguNyA2NC02NFY0MjguN2MtMi43IDEuMS01LjQgMi04LjIgMi43bC02MC4xIDE1Yy0zIC43LTYgMS4yLTkgMS40Yy0uOSAuMS0xLjggLjItMi43IC4ySDI0MGMtNi4xIDAtMTEuNi0zLjQtMTQuMy04LjhsLTguOC0xNy43Yy0xLjctMy40LTUuMS01LjUtOC44LTUuNXMtNy4yIDIuMS04LjggNS41bC04LjggMTcuN2MtMi45IDUuOS05LjIgOS40LTE1LjcgOC44cy0xMi4xLTUuMS0xMy45LTExLjNMMTQ0IDM4MWwtOS44IDMyLjhjLTYuMSAyMC4zLTI0LjggMzQuMi00NiAzNC4ySDgwYy04LjggMC0xNi03LjItMTYtMTZzNy4yLTE2IDE2LTE2aDguMmM3LjEgMCAxMy4zLTQuNiAxNS4zLTExLjRsMTQuOS00OS41YzMuNC0xMS4zIDEzLjgtMTkuMSAyNS42LTE5LjFzMjIuMiA3LjggMjUuNiAxOS4xbDExLjYgMzguNmM3LjQtNi4yIDE2LjgtOS43IDI2LjgtOS43YzE1LjkgMCAzMC40IDkgMzcuNSAyMy4ybDQuNCA4LjhoOC45Yy0zLjEtOC44LTMuNy0xOC40LTEuNC0yNy44bDE1LTYwLjFjMi44LTExLjMgOC42LTIxLjUgMTYuOC0yOS43TDM4NCAyMDMuNlYxNjBIMjU2Yy0xNy43IDAtMzItMTQuMy0zMi0zMlYwSDY0ek0yNTYgMFYxMjhIMzg0TDI1NiAwek01NDkuOCAxMzkuN2MtMTUuNi0xNS42LTQwLjktMTUuNi01Ni42IDBsLTI5LjQgMjkuNCA3MSA3MSAyOS40LTI5LjRjMTUuNi0xNS42IDE1LjYtNDAuOSAwLTU2LjZsLTE0LjQtMTQuNHpNMzExLjkgMzIxYy00LjEgNC4xLTcgOS4yLTguNCAxNC45bC0xNSA2MC4xYy0xLjQgNS41IC4yIDExLjIgNC4yIDE1LjJzOS43IDUuNiAxNS4yIDQuMmw2MC4xLTE1YzUuNi0xLjQgMTAuOC00LjMgMTQuOS04LjRMNTEyLjEgMjYyLjdsLTcxLTcxTDMxMS45IDMyMXoiLz48L3N2Zz4="},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704465850699,"_id":"shelly.1.SHMOS-01#60A423936DA2#1.name","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=hm-rpc.1.000858A9960D4A.7.ENERGY_COUNTER, sourceObj={"type":"state","common":{"name":"ENERGY_COUNTER","def":0,"type":"number","read":true,"write":false,"min":0,"max":838859.1,"unit":"Wh","role":"value.power.consumption","custom":{"sourceanalytix.0":{"enabled":true,"selectedUnit":"Detect automatically","deviceResetLogicEnabled":true,"threshold":1,"start_day":0.602,"start_week":0.5535,"start_month":0.5535,"start_quarter":0.5535,"start_year":0.5535,"alias":"Flur","selectedPrice":"ElectricityDay","costs":true,"consumption":true,"meter_values":true,"basicRate":true,"valueAtDeviceReset":0,"valueAtDeviceInit":null,"cumulativeValue":0.602}}},"native":{"MIN":0,"UNIT":"Wh","OPERATIONS":5,"MAX":838859.1,"FLAGS":1,"ID":"ENERGY_COUNTER","TYPE":"FLOAT","DEFAULT":0,"CONTROL":"POWERMETER_PSM.ENERGY_COUNTER"},"_id":"hm-rpc.1.000858A9960D4A.7.ENERGY_COUNTER","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.sourceanalytix.0","user":"system.user.admin","ts":1704409200042} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHHT-1#D34034#1.hum.value, sourceObj={"type":"state","common":{"name":"Relative humidity","type":"number","role":"value.humidity","read":true,"write":false,"min":0,"max":100,"unit":"%"},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704401099042,"_id":"shelly.1.SHHT-1#D34034#1.hum.value","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHHT-1#D34034#1.bat.value, sourceObj={"type":"state","common":{"name":{"en":"Battery capacity","de":"Batteriekapazität","ru":"Емкость батареи","pt":"Capacidade da bateria","nl":"Batterij capaciteit","fr":"Capacité de la batterie","it":"Capacità della batteria","es":"Capacidad de la batería","pl":"Pojemność baterii","zh-cn":"包 容能力"},"type":"number","role":"value.battery","read":true,"write":false,"min":0,"max":100,"unit":"%"},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704401099042,"_id":"shelly.1.SHHT-1#D34034#1.bat.value","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.841 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHHT-1#D34034#1.hostname, sourceObj={"type":"state","common":{"name":{"en":"Device IP address or hostname","de":"Geräte-IP-Adresse oder Hostname","ru":"IP-адрес устройства или имя хоста","pt":"Endereço IP do dispositivo ou nome de host","nl":"IP-adres of gastnaam","fr":"Adresse IP ou nom d'hôte","it":"Indirizzo IP del dispositivo o nome host","es":"Dirección IP o nombre de host","pl":"Adres IP lub hostname","uk":"Пристрої IP адреси або ім'я користувача","zh-cn":"設備 IP 地址或主機名"},"type":"string","role":"info.ip","read":true,"write":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704346433426,"_id":"shelly.1.SHHT-1#D34034#1.hostname","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.839 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.shellyplus2pm#b48a0a22bcbc#1.Relay1.Switch, sourceObj={"type":"state","common":{"type":"boolean","read":true,"write":true,"name":"Switch","role":"switch","def":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473430038,"_id":"shelly.1.shellyplus2pm#b48a0a22bcbc#1.Relay1.Switch","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.840 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.shellyplus2pm#b48a0a22bcbc#1.name, sourceObj={"type":"state","common":{"name":{"en":"Device name","de":"Bezeichnung des Geräts","ru":"Наименование устройства","pt":"Nome do dispositivo","nl":"Devicenaam","fr":"Nom du dispositif","it":"Nome del dispositivo","es":"Nombre del dispositivo","pl":"Device name","uk":"Назва пристрою","zh-cn":"证人姓名"},"type":"string","role":"info.name","read":true,"write":true,"icon":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMEMyOC43IDAgMCAyOC43IDAgNjRWNDQ4YzAgMzUuMyAyOC43IDY0IDY0IDY0SDMyMGMzNS4zIDAgNjQtMjguNyA2NC02NFY0MjguN2MtMi43IDEuMS01LjQgMi04LjIgMi43bC02MC4xIDE1Yy0zIC43LTYgMS4yLTkgMS40Yy0uOSAuMS0xLjggLjItMi43IC4ySDI0MGMtNi4xIDAtMTEuNi0zLjQtMTQuMy04LjhsLTguOC0xNy43Yy0xLjctMy40LTUuMS01LjUtOC44LTUuNXMtNy4yIDIuMS04LjggNS41bC04LjggMTcuN2MtMi45IDUuOS05LjIgOS40LTE1LjcgOC44cy0xMi4xLTUuMS0xMy45LTExLjNMMTQ0IDM4MWwtOS44IDMyLjhjLTYuMSAyMC4zLTI0LjggMzQuMi00NiAzNC4ySDgwYy04LjggMC0xNi03LjItMTYtMTZzNy4yLTE2IDE2LTE2aDguMmM3LjEgMCAxMy4zLTQuNiAxNS4zLTExLjRsMTQuOS00OS41YzMuNC0xMS4zIDEzLjgtMTkuMSAyNS42LTE5LjFzMjIuMiA3LjggMjUuNiAxOS4xbDExLjYgMzguNmM3LjQtNi4yIDE2LjgtOS43IDI2LjgtOS43YzE1LjkgMCAzMC40IDkgMzcuNSAyMy4ybDQuNCA4LjhoOC45Yy0zLjEtOC44LTMuNy0xOC40LTEuNC0yNy44bDE1LTYwLjFjMi44LTExLjMgOC42LTIxLjUgMTYuOC0yOS43TDM4NCAyMDMuNlYxNjBIMjU2Yy0xNy43IDAtMzItMTQuMy0zMi0zMlYwSDY0ek0yNTYgMFYxMjhIMzg0TDI1NiAwek01NDkuOCAxMzkuN2MtMTUuNi0xNS42LTQwLjktMTUuNi01Ni42IDBsLTI5LjQgMjkuNCA3MSA3MSAyOS40LTI5LjRjMTUuNi0xNS42IDE1LjYtNDAuOSAwLTU2LjZsLTE0LjQtMTQuNHpNMzExLjkgMzIxYy00LjEgNC4xLTcgOS4yLTguNCAxNC45bC0xNSA2MC4xYy0xLjQgNS41IC4yIDExLjIgNC4yIDE1LjJzOS43IDUuNiAxNS4yIDQuMmw2MC4xLTE1YzUuNi0xLjQgMTAuOC00LjMgMTQuOS04LjRMNTEyLjEgMjYyLjdsLTcxLTcxTDMxMS45IDMyMXoiLz48L3N2Zz4="},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473429795,"_id":"shelly.1.shellyplus2pm#b48a0a22bcbc#1.name","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.840 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.SHMOS-01#60A423936DA2#1.sensor.motion, sourceObj={"type":"state","common":{"name":"Motion","type":"boolean","role":"sensor.motion","read":true,"write":false},"native":{},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704466794191,"_id":"shelly.1.SHMOS-01#60A423936DA2#1.sensor.motion","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} admin.0 2024-01-05 17:53:49.839 error Alias subscription error. Please check your alias definitions: sourceId=shelly.1.shellyplus2pm#b48a0a22bcbc#1.Relay1.Power, sourceObj={"type":"state","common":{"name":"Power","type":"number","role":"value.power","read":true,"write":false,"def":0,"unit":"W","custom":{"sourceanalytix.0":{"enabled":true,"selectedUnit":"Detect automatically","deviceResetLogicEnabled":true,"threshold":1,"start_day":0.07416973063888896,"start_week":0.019085312833333336,"start_month":0.019085312833333336,"start_quarter":0.019085312833333336,"start_year":0.019085312833333336,"costs":true,"consumption":true,"meter_values":true,"basicRate":true,"alias":"Bad Spiegellicht","selectedPrice":"ElectricityDay","valueAtDeviceInit":null,"valueAtDeviceReset":null,"cumulativeValue":0.07416973063888896}}},"native":{},"_id":"shelly.1.shellyplus2pm#b48a0a22bcbc#1.Relay1.Power","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.shelly.1","user":"system.user.admin","ts":1704473428832}
nur eins zum provozieren
sobald ich die auswahl für einen DP verändere, dauert speichern ewig. die adapter werden rot.
wenn der DP gespeichert wurde, ist alles wieder gut. Speichern klappt auch nicht immer.
den Wert kopieren geht ohne Propleme. Einen weitere hinzufügen wieder gleiches spiel. -
@dos1973 sagte in Javascript Adapter stürzt ab:
Alias subscription error. Please check your alias definitions
hm, du bist nicht auf die idee gekommen zuerst den fehler zu beheben, der dir zig meldungen im log innerhalb von millisekunden produziert?
https://forum.iobroker.net/topic/42345/admin-0-alias-subscription-error?_=1704476387060evtl sind das mit dem javascript adapter nur folgefehler?
in dem geposteten abschnitt sehe ich nix was den javascript adapter betrifft -
@oliverio
sorry, ich kann dir nicht folgen.Alle DP sind vorhanden.
die FM meldung kommen nicht bei restart der scripte.und was ich nicht nachvollziehen kan. es gibt aktuell nicht ein Script das läuft.
woher kommen die meldungen? warum macht JS das? -
lese die fehlermeldung
Alias subscription error. Please check your alias definitions: sourceId=javascript.0.lmair.temp-sensoren.channel10-wohnzimmer.temperature,
du hast mal ein alias definiert bei dem der datenpunkt nicht mehr existiert. da flipt iobroker aus. due siehst der datenpunkt liegt im javascript.0 bereich. evtl wird bei start hier was gelesen, was den fehler schon provoziert, auch ohne das ein skript läuft
und lese den link. da wird bei einem anderen fall ausführlich nach dem fehler gesucht. das hilft dir sicherlich weiter. ansonsten dann wieder hier
-
@oliverio sagte in Javascript Adapter stürzt ab:
mperature,
verstehe ich nicht, oder ich stehe eben total auf dem Schlauch.
Ziel: javascript.0.lmair.temp-sensoren.channel10-wohnzimmer.temperature die Alias definition "type": "state", "common": { "name": "Wohnzimmer_temp", "role": "value", "type": "number", "read": true, "write": true, "alias": { "id": "javascript.0.lmair.temp-sensoren.channel10-wohnzimmer.temperature" },