NEWS
Javascript Adapter und Skripte
-
Hi!
Kurzer Überblick bevors zum Thema geht:
Raspberry Pi 4 / 4GB Ram - iobroker mit redis, Auslastung vom RAM (36% frei - 15 prozesse) als master,
selber PI als slave mit (50% freiem RAM - 17 Prozesse) (Betriebssystem ist noch Bullseye - hab irgendwo gelesen dass ein bookworm update irgendwie voraussetzt den iobroker neu zu installieren... bin mir aber nicht sicher ob das stimmt)Beide iobroker (master und slave) haben einen Zigbee Instanz für einen Stick (den der hier aus dem Forum angeboten wurde mit WLAN und Netzwerkanbindung, also quasi standalone) zu verwalten. Da laufen ein paar scripts/automationen drüber.
Ich kämpfe seit längerem mit Timeouts in iobroker "could not process news" oder "could not load adapters" oder die Seiten laden einfach langsam. Ich bin mir allerdings nicht sicher obs vielleicht nicht doch am Netzwerk liegt, die Belastung meines Systems ist jetzt noch nicht am Ende (könnte aber natürlich schon besser sein).
Scripts ist das Stichwort. Ich frage mich ob es besser wäre mehrere Skripte die das gleiche machen in eines zu packen - würde das die Performance ein wenig optimieren? Beispiel: Ich habe für jeden Zigbee Wall Switch der einen Shelly schaltet ein eigenes Script am laufen, diese Blöcke könnte ich aber locker auch in ein script schmeißen und es dann "Lichtsteuerung" nennen. Würde das einen Unterschied machen? Wir das System duch mehrere einzelne Blockly Scripts mehr belastet als durch ein einziges in dem alle sind und einfach auf ihre Trigger warten?
Wenn dem so ist, würde ich gerne mal dort mit dem Optimieren ansetzen, weil das einfach einer der größeren Brocken an meinem iobroker ist.
Bin für jede Info dankbar!lg, Phil.
-
@marvintherobot sagte in Javascript Adapter und Skripte:
Kurzer Überblick
Den Überblick ergibt tatsächlich das Ergebnis von
iob diag
(die Langfassung bitte in </> codetags hier rein stellen) -
@marvintherobot sagte in Javascript Adapter und Skripte:
Ich kämpfe seit längerem mit Timeouts in iobroker "could not process news" oder "could not load adapters"
Beides sind Infos, welche aus dem Internet geladen werden. Irgendwelche Blocker aktiv? Pihole o.ä.?
@marvintherobot sagte in Javascript Adapter und Skripte:
Wir das System duch mehrere einzelne Blockly Scripts mehr belastet als durch ein einziges in dem alle sind und einfach auf ihre Trigger warten?
So geringfügig, dass ich dafür nicht die Übersicht zerschießen würde.
@marvintherobot sagte in Javascript Adapter und Skripte:
hab irgendwo gelesen dass ein bookworm update irgendwie voraussetzt den iobroker neu zu installieren
Indirekt. Man kann Raspberry Pi OS in 100 einzelnen Schritten (die nirgendwo offiziell dokumentiert sind) zwar auf bookworm bringen, aber das wird niemand empfehlen. Daher ist eine Neuinstallation des Betriebssystems einfacher. Was logischerweise auch eine Neuinstallation von ioBroker mit sich bringt.
-
@meister-mopper jep, hab ich kurz überlegt das auch alles hier reinzustellen - mir ist beim überfliegen aber nicht wirklich was negatives aufgefallen, aber mach ich natürlich gern:
======================= SUMMARY ======================= v.2025-02-23 Static hostname: himbotop Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.103-v7l+ Architecture: arm Installation: native Kernel: armv7l Userland: 32 bit Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 Display-Server: false Boot Target: multi-user.target Pending OS-Updates: 55 Pending iob updates: 5 Nodejs-Installation: /usr/bin/nodejs v20.18.2 /usr/bin/node v20.18.2 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 Recommended versions are nodejs 20.19.1 and npm 10.8.2 nodeJS installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 2.1G 596M 0.0K 1.2G 1.6G Swap: 99M 99M 0.0K Total: 3.9G 2.2G 596M Active iob-Instances: 31 Upgrade policy: none ioBroker Core: js-controller 7.0.6 admin 7.6.3 ioBroker Status: iobroker is running on this host. At least one iobroker host is running. Objects type: redis States type: redis Status admin and web instance: + system.adapter.admin.0 : admin : himbotop - enabled, port: 8089, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : himbotop - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin system.adapter.webuntis.0 : webuntis : himbotop - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 27809 States: 22400 Size of iob-Database: find: Failed to change directory: /root: Permission denied find: Failed to restore initial working directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to restore initial working directory: /root: Permission denied Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time! =================== END OF SUMMARY ====================
Doch etwas ist mir bei den Tests jetzt aufgefallen! iob diag gibt mir beim check der redis db einen error (no connection), im Summary kommt nichts davon vor und ich hab auch keine merkbaren Probleme damit...
-
@marvintherobot Das ist nur das summary.
Gewünscht ist:
@meister-mopper sagte in Javascript Adapter und Skripte:
(die Langfassung bitte in </> codetags hier rein stellen)
-
@haus-automatisierung sagte in Javascript Adapter und Skripte:
Beides sind Infos, welche aus dem Internet geladen werden. Irgendwelche Blocker aktiv? Pihole o.ä.?
Ich habe einen Dreamrouter auf dem ein Adblocker läuft (dnsmasq file). Welche Hosts wären das, die hier geblockt werden könnten? dann schau ich die conf mal durch...
-
@marvintherobot sagte in Javascript Adapter und Skripte:
Welche Hosts wären das, die hier geblockt werden könnten?
Müsste von
iobroker.net
undiobroker.live
kommen.https://iobroker.readthedocs.io/de/latest/ecosystem/domains.html
-
sorry, falsch gelesen - hier die langfassung
Script v.2025-02-23 *** BASE SYSTEM *** Static hostname: himbotop Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.103-v7l+ Architecture: arm OS is similar to: Model : Raspberry Pi 4 Model B Rev 1.1 Docker : false Virtualization : none Kernel : armv7l Userland : 32 bit Systemuptime and Load: 09:38:05 up 77 days, 12:36, 1 user, load average: 1.89, 2.01, 1.80 CPU threads: 4 *** LIFE CYCLE STATUS *** Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Wed 2025-04-23 09:38:05 CEST Universal time: Wed 2025-04-23 07:38:05 UTC RTC time: n/a Time zone: Europe/Vienna (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': pi HOME=/home/pi GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth redis gpio i2c *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 2.0G 617M 0.0K 1.2G 1.7G Swap: 99M 99M 0.0K Total: 3.9G 2.1G 617M Active iob-Instances: 31 3837 M total memory 2031 M used memory 1419 M active memory 1658 M inactive memory 641 M free memory 96 M buffer memory 1067 M swap cache 99 M total swap 99 M used swap 0 M free swap *** top - Table Of Processes *** top - 09:38:05 up 77 days, 12:36, 1 user, load average: 1.89, 2.01, 1.80 Tasks: 162 total, 2 running, 159 sleeping, 0 stopped, 1 zombie %Cpu(s): 22.9 us, 27.1 sy, 0.0 ni, 47.1 id, 0.0 wa, 0.0 hi, 2.9 si, 0.0 st MiB Mem : 3837.7 total, 761.8 free, 2017.4 used, 1058.5 buff/cache MiB Swap: 100.0 total, 0.0 free, 100.0 used. 1680.1 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 110G 15G 91G 14% / devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 768M 976K 767M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/loop2 squashfs 90M 90M 0 100% /snap/core/16932 /dev/loop3 squashfs 90M 90M 0 100% /snap/core/17202 /dev/sda1 vfat 253M 50M 203M 20% /boot //192.168.0.100/JobiBackup/Backup/iobroker cifs 1.8T 1.3T 555G 70% /opt/iobroker/serverbackups /dev/loop0 squashfs 54M 54M 0 100% /snap/core20/2497 /dev/loop4 squashfs 58M 58M 0 100% /snap/core24/742 /dev/loop5 squashfs 51M 51M 0 100% /snap/certbot/4483 /dev/loop1 squashfs 51M 51M 0 100% /snap/certbot/4559 /dev/loop8 squashfs 54M 54M 0 100% /snap/core20/2502 /dev/loop6 squashfs 58M 58M 0 100% /snap/core24/890 tmpfs tmpfs 384M 4.0K 384M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Tue Feb 4 20:01:59 2025] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:5E:70:28 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=4ce9aaa3-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [Tue Feb 4 20:02:01 2025] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Tue Feb 4 20:02:01 2025] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Tue Feb 4 20:02:02 2025] EXT4-fs (sda2): re-mounted. Opts: (null) Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime |-/snap/core/16932 /dev/loop2 squashfs ro,nodev,relatime |-/snap/certbot/4559 /dev/loop1 squashfs ro,nodev,relatime |-/snap/core20/2497 /dev/loop0 squashfs ro,nodev,relatime |-/snap/core/17202 /dev/loop3 squashfs ro,nodev,relatime |-/snap/core24/742 /dev/loop4 squashfs ro,nodev,relatime |-/snap/certbot/4483 /dev/loop5 squashfs ro,nodev,relatime |-/snap/core24/890 /dev/loop6 squashfs ro,nodev,relatime |-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro |-/snap/core20/2502 /dev/loop8 squashfs ro,nodev,relatime `-/opt/iobroker/serverbackups //192.168.0.100/JobiBackup/Backup/iobroker cifs rw,relatime,vers=2.1,sec=none,cache=strict,uid=1001,forceuid,gid=1001,forcegid,addr=192.168.0.100,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,bsize=1048576,echo_interval=60,actimeo=1 Files in neuralgic directories: /var: 2.2G /var/ 1.3G /var/lib 795M /var/lib/snapd 567M /var/cache 561M /var/cache/apt Archived and active journals take up 224.0M in the file system. /opt/iobroker/backups: 1.9G /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.3G /opt/iobroker/iobroker-data/ 1.1G /opt/iobroker/iobroker-data/files 615M /opt/iobroker/iobroker-data/files/javascript.admin 559M /opt/iobroker/iobroker-data/files/javascript.admin/static 556M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to restore initial working directory: /root: Permission denied USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** ZigBee Settings *** HINT: Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting: tcp HINT: Your zigbee.1 COM-Port is NOT matching 'by-id'. Please check your setting: tcp Zigbee Network Settings on your coordinator/in nvbackup are: zigbee.X Extended Pan ID: *** MASKED *** Pan ID: *** MASKED *** Channel: *** MASKED *** Network Key: *** MASKED *** To unmask the settings run 'iob diag --unmask' *** NodeJS-Installation *** /usr/bin/nodejs v20.18.2 /usr/bin/node v20.18.2 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 nodejs: Installed: 20.18.2-1nodesource1 Candidate: 20.19.1-1nodesource1 Version table: 20.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.18.3-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages *** 20.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 20.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 12.22.12~dfsg-1~deb11u6 500 500 http://security.debian.org/debian-security bullseye-security/main armhf Packages 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/main armhf Packages find: Failed to restore initial working directory: /root: Permission denied Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. At least one iobroker host is running. Objects type: redis States type: redis Hosts: himbotop himbotop (version: 7.0.6, hostname: himbotop , alive, uptime: 2412570) polka polka (version: 7.0.6, hostname: polka , alive, uptime: 5428195) Core adapters versions js-controller: 7.0.6 admin: 7.6.3 javascript: 8.8.3 nodejs modules from github: 2 +-- iobroker.govee-app@0.0.3 (git+ssh://git@github.com/TA2k/ioBroker.govee-app.git#52104ded6577385581c0bda677d51d2f2d0b7f30) +-- iobroker.javascript@8.8.3 (git+ssh://git@github.com/ioBroker/ioBroker.javascript.git#840d03855636c4271971afc202532d008c22d264) Adapter State + system.adapter.admin.0 : admin : himbotop - enabled, port: 8089, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.alexa2.0 : alexa2 : polka - enabled + system.adapter.alexa2.1 : alexa2 : himbotop - enabled + system.adapter.backitup.0 : backitup : himbotop - enabled + system.adapter.backitup.1 : backitup : polka - enabled system.adapter.ble.0 : ble : himbotop - disabled + system.adapter.daikin.0 : daikin : polka - enabled + system.adapter.daikin.1 : daikin : polka - enabled + system.adapter.daikin.2 : daikin : polka - enabled + system.adapter.daikin.3 : daikin : polka - enabled + system.adapter.denon.0 : denon : polka - enabled system.adapter.discovery.0 : discovery : himbotop - disabled system.adapter.ds18b20.0 : ds18b20 : himbotop - disabled system.adapter.ds18b20.1 : ds18b20 : polka - disabled system.adapter.ecovacs-deebot.0 : ecovacs-deebot : himbotop - disabled system.adapter.fakeroku.0 : fakeroku : himbotop - disabled system.adapter.govee-app.0 : govee-app : himbotop - disabled + system.adapter.harmony.0 : harmony : himbotop - enabled system.adapter.hue-extended.0 : hue-extended : himbotop - disabled, port: 443 system.adapter.hue.0 : hue : himbotop - disabled, port: 80 system.adapter.icons-icons8.0 : icons-icons8 : himbotop - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png : himbotop - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : himbotop - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : himbotop - disabled system.adapter.info.0 : info : himbotop - disabled system.adapter.jarvis.0 : jarvis : himbotop - disabled, port: 8082, bind: 192.168.0.19, run as: admin + system.adapter.javascript.0 : javascript : polka - enabled + system.adapter.kecontact.0 : kecontact : polka - enabled + system.adapter.lovelace.0 : lovelace : himbotop - enabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.lovelace.1 : lovelace : himbotop - enabled, port: 8092, bind: 0.0.0.0, run as: admin system.adapter.mielecloudservice.0 : mielecloudservice : polka - disabled + system.adapter.modbus.0 : modbus : himbotop - enabled + system.adapter.mqtt-client.0 : mqtt-client : himbotop - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.0 : mqtt : polka - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.nuki-extended.0 : nuki-extended : himbotop - enabled system.adapter.ping.0 : ping : himbotop - disabled + system.adapter.robonect.0 : robonect : polka - enabled system.adapter.robonect.1 : robonect : himbotop - disabled + system.adapter.shelly.0 : shelly : himbotop - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : polka - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sql.0 : sql : himbotop - enabled, port: 3306 + system.adapter.sql.1 : sql : polka - enabled, port: 3306 + system.adapter.telegram.0 : telegram : himbotop - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.toyota.0 : toyota : polka - enabled + system.adapter.tuya.0 : tuya : polka - enabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: himbotop - enabled system.adapter.vis-2.0 : vis-2 : himbotop - disabled system.adapter.vis-colorpicker.0 : vis-colorpicker : himbotop - disabled system.adapter.vis-google-fonts.0 : vis-google-fonts : himbotop - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : himbotop - disabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : himbotop - disabled system.adapter.vis-material-webfont.0 : vis-material-webfont : himbotop - enabled system.adapter.vis-material.0 : vis-material : himbotop - enabled system.adapter.vis-materialdesign.0 : vis-materialdesign : himbotop - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : himbotop - disabled system.adapter.vis.0 : vis : himbotop - disabled system.adapter.weatherunderground.0 : weatherunderground : himbotop - enabled + system.adapter.web.0 : web : himbotop - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin system.adapter.webuntis.0 : webuntis : himbotop - disabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wifilight.0 : wifilight : himbotop - disabled system.adapter.yahka.0 : yahka : polka - disabled + system.adapter.zigbee.0 : zigbee : himbotop - enabled, port: tcp://192.168.0.96:6639 + system.adapter.zigbee.1 : zigbee : polka - enabled, port: tcp://192.168.0.98:6638 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : himbotop - enabled, port: 8089, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.lovelace.0 : lovelace : himbotop - enabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.lovelace.1 : lovelace : himbotop - enabled, port: 8092, bind: 0.0.0.0, run as: admin + system.adapter.mqtt-client.0 : mqtt-client : himbotop - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.0 : mqtt : polka - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : himbotop - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : polka - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sql.0 : sql : himbotop - enabled, port: 3306 + system.adapter.sql.1 : sql : polka - enabled, port: 3306 + system.adapter.telegram.0 : telegram : himbotop - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : himbotop - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.zigbee.0 : zigbee : himbotop - enabled, port: tcp://192.168.0.96:6639 + system.adapter.zigbee.1 : zigbee : polka - enabled, port: tcp://192.168.0.98:6638 ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: none Installed ioBroker-Adapters No connection to objects 127.0.0.1:6379[redis] /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 throw e; ^ Error: Connection is closed. at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:633:26) at Socket.emit (node:events:518:28) at TCP.<anonymous> (node:net:343:12) Emitted 'error' event on ScanStream instance at: at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22 at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v20.18.2 Objects and States Please stand by - This may take a while Objects: 27809 States: 22400 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://ftp.debian.org/debian bullseye-backports InRelease Hit:5 http://archive.raspberrypi.org/debian buster InRelease Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Pending Updates: 55 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 10988 712/sshd: /usr/sbin tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 89787637 17812/io.shelly.0 tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 109 13682 696/redis-server 0. tcp6 0 0 :::8082 :::* LISTEN 1001 100029705 1393/io.web.0 tcp6 0 0 :::22 :::* LISTEN 0 10990 712/sshd: /usr/sbin tcp6 0 0 :::8089 :::* LISTEN 1001 100031554 1386/io.admin.0 tcp6 0 0 :::8091 :::* LISTEN 1001 139582185 29950/io.lovelace.0 tcp6 0 0 :::8092 :::* LISTEN 1001 139580787 29951/io.lovelace.1 tcp6 0 0 :::61991 :::* LISTEN 1001 89787575 17793/io.harmony.0 udp 0 0 0.0.0.0:61991 0.0.0.0:* 1001 89787576 17793/io.harmony.0 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 14378 689/dhcpcd udp 0 0 0.0.0.0:51877 0.0.0.0:* 108 13330 371/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 13328 371/avahi-daemon: r udp6 0 0 :::53654 :::* 108 13331 371/avahi-daemon: r udp6 0 0 :::5353 :::* 108 13329 371/avahi-daemon: r *** Log File - Last 25 Lines *** 2025-04-23 09:27:15.415 - info: modbus.0 (1164) starting. Version 6.3.2 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.18.2, js-controller: 7.0.6 2025-04-23 09:27:17.300 - warn: modbus.0 (1164) Used invalid characters: modbus.0.holdingRegisters.40001_Wert_=_"SunS"_(0x53756e53)__Identifiziert_dies_eindeutig_als_eine_SunSpec_Modbus-Karte changed to modbus.0.holdingRegisters.40001_Wert_=__SunS__(0x53756e53)__Identifiziert_dies_eindeutig_als_eine_SunSpec_Modbus-Karte 2025-04-23 09:27:19.462 - info: modbus.0 (1164) Connected to slave 192.168.0.39 2025-04-23 09:28:36.608 - info: lovelace.0 (29950) New browser_mod instance 5f_e5718 2025-04-23 09:28:36.609 - info: lovelace.0 (29950) New browser_mod instance 5f_e5718 2025-04-23 09:28:37.730 - info: lovelace.0 (29950) New browser_mod instance 5f_e5718 2025-04-23 09:28:37.731 - info: lovelace.0 (29950) New browser_mod instance 5f_e5718 2025-04-23 09:28:42.834 - info: lovelace.0 (29950) New browser_mod instance df806a3a-1f00ea06 2025-04-23 09:28:43.889 - info: lovelace.0 (29950) New browser_mod instance df806a3a-1f00ea06 2025-04-23 09:31:43.623 - info: shelly.0 (17812) [MQTT] Client Close: 192.168.2.84 (shellyplus1 / shellyplus1-441793a393f4 / shellyplus1#441793a393f4#1) (false) 2025-04-23 09:31:56.391 - info: lovelace.0 (29950) New browser_mod instance 5f_e5718 2025-04-23 09:32:02.374 - info: shelly.0 (17812) [MQTT] Device with client id "shellyplus1-441793a393f4" connected! 2025-04-23 09:32:12.354 - info: shelly.0 (17812) [MQTT] Client Close: (shellyplus1 / shellyplus1-441793a393f4 / shellyplus1#441793a393f4#1) (false) 2025-04-23 09:32:14.433 - info: shelly.0 (17812) [MQTT] Device with client id "shellyplus1-441793a393f4" connected! 2025-04-23 09:32:17.733 - error: shelly.0 (17812) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a393f4" 2025-04-23 09:32:24.429 - info: shelly.0 (17812) [MQTT] Client Close: (shellyplus1 / shellyplus1-441793a393f4 / shellyplus1#441793a393f4#1) (false) 2025-04-23 09:32:24.913 - error: shelly.0 (17812) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a393f4" 2025-04-23 09:32:28.850 - info: shelly.0 (17812) [MQTT] Device with client id "shellyplus1-441793a393f4" connected! 2025-04-23 09:32:38.839 - info: shelly.0 (17812) [MQTT] Client Close: (shellyplus1 / shellyplus1-441793a393f4 / shellyplus1#441793a393f4#1) (false) 2025-04-23 09:32:45.910 - error: shelly.0 (17812) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a393f4" 2025-04-23 09:32:48.499 - info: shelly.0 (17812) [MQTT] Device with client id "shellyplus1-441793a393f4" connected! 2025-04-23 09:36:07.082 - info: shelly.0 (17812) [MQTT] Device with client id "shellyplus1-441793a393f4" connected! 2025-04-23 09:36:17.072 - info: shelly.0 (17812) [MQTT] Client Close: (shellyplus1 / shellyplus1-441793a393f4 / shellyplus1#441793a393f4#1) (false) 2025-04-23 09:36:21.456 - error: shelly.0 (17812) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a393f4" 2025-04-23 09:36:32.959 - info: shelly.0 (17812) [MQTT] Device with client id "shellyplus1-441793a393f4" connected!
-
@haus-automatisierung sagte in Javascript Adapter und Skripte:
Müsste von iobroker.net und iobroker.live kommen.
hab ich mal gewhitelisted
-
@marvintherobot sagte in Javascript Adapter und Skripte:
No connection to objects 127.0.0.1:6379[redis]
@marvintherobot sagte in Javascript Adapter und Skripte:
find: Failed to change directory: /root: Permission denied
@marvintherobot sagte in Javascript Adapter und Skripte:
1 zombie
@marvintherobot sagte in Javascript Adapter und Skripte:
Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time!
@marvintherobot sagte in Javascript Adapter und Skripte:
32 bit
-
@marvintherobot sagte in Javascript Adapter und Skripte:
Model : Raspberry Pi 4 Model B Rev 1.1
Musst du ohnehin mal komplett von Grund auf neu aufsetzen, du fährst da ja noch ein reines 32Bit-System.
Und du stehst da in den falschen Verzeichnissen herum. In /root hast du nix zu suchen:
find: Failed to restore initial working directory: /root: Permission denied
-
Danke für die Infos - ich werd das wohl jetz so nicht umbügeln können.
das werd ich dann wohl erst mit einem RPI 5 machen...Kann ich zumindest auf dem neuen iobroker ein backup einspielen oder wär das wieder vermurkst?
-
@marvintherobot sagte in Javascript Adapter und Skripte:
Kann ich zumindest auf dem neuen iobroker ein backup einspielen
Kannst Du machen, das wäre die richtige Vorgehensweise.