Danke, so wie es aussieht funktionieren beide Varianten jetzt.
Ich habe endlich den Listenblock entdeckt und das "Wert von" rausgekickt.
Danke, so wie es aussieht funktionieren beide Varianten jetzt.
Ich habe endlich den Listenblock entdeckt und das "Wert von" rausgekickt.
@haus-automatisierung Ich habe jetzt mal versucht das Skript nachzubauen, allerdings hab ich das Problem, dass ich den Listenblock so nicht habe. Das Problem hatte ich auch schon bei anderen Skripten, die ich nachbauen wollte.
Gibt es irgendwo eine Beschreibung, wenn Blöcke (mit anderen Versionen?) geändert werden?
Und: muss ich vorher eine Liste erstellen oder reicht es, wenn ich nur den Block und die Variable result (wie bei dir gezeigt) nehme?
@paul53 Verstanden. Könnte ich (rein theoretisch) über einen timeout einen Zeitpuffer einbauen, damit es auch so funktioniert?
Es funktioniert so immer noch nicht. Bei Telegram kommt nichts an und die DP wurden mit (null) beschrieben.
@paul53 Ich habe jetzt die Variablen am Anfang vom Skript gesetzt, um beim start schon mit 100 bzw. -100 loszulegen. Zudem werden die Werte jetzt am Tagesende geschrieben.
Wieso muss ich die Variablen an Telegram übergeben? Ich habe doch in dem Schritt davor mein DP mit den Variablen aktualisiert?
@haus-automatisierung Bei Influx bekomme ich nur die letzten oder die median Werte hin. Ich muss dann ja auch irgendwo den Zeitraum definieren, von dem er meine Mix/Max Werte ermitteln soll.
Grundsätzlich möchte ich die kompletten Temperaturdaten sowie die Min/Max-Werte in Grafana als Boxplot darstellen. Aber da habe ich auch noch einen weiten Weg vor mir, weil ich am liebsten über Plotly gehen will.
Moin zusammen,
ich habe einen Temperatursensor, der bei Änderung der Temperatur einen Wert als DP schreibt. Diesen Wert zeichne ich mit meiner InfluxDB auf und visualisiere in Grafana.
Jetzt möchte ich den Min und Max Wert des letzten Tages ebenfalls in einem DP per InfluxDB speichern.
Ich habe jetzt schon so viel rumprobiert, bekomme es aber einfach nicht hin. Ich habe es versucht mit Variablen zu lösen, da ich Listen noch nicht verstanden habe. (Variablen scheinbar auch noch nicht...)
So sieht es aus. Ich bekomme immer nur den Wert 0.
Herangehensweise:
Ich möchte prüfen, ob die aktuelle Temp größer als die aktuelle max. Temp (die Variable) ist. Sofern sie größer ist, soll die Variable entsprechend angepasst werden. Einmal täglich soll der so ermittelte Wert in den DP geschrieben werden. Danach soll die Variable zurückgesetzt werden.
@thomas-braun said in [gelöst] Javascript Adapter funktioniert nicht /JS-Controlle:
Da liegt es erstaunlich oft dran...
Ich weiß... 'Näwah tatsch äh runnink süstäm'...
Damit habe ich mir eigtl schon die Finger verbrannt und wollte jetzt alles (halbwegs) aktuell halten.
Das ganze ist zwei Tage nachdem ich mein System komplett neu aufgezogen habe passiert, deswegen hatte ich das garnicht auf dem Schirm.
iob diag
Skript v.2023-10-10
*** BASE SYSTEM ***
Static hostname: raspberrypi
Icon name: computer
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-rpi7-rpi-v8
Architecture: arm64
Model : Raspberry Pi 4 Model B Rev 1.1
Docker : false
Virtualization : none
Kernel : aarch64
Userland : arm64
Systemuptime and Load:
16:14:10 up 4:14, 3 users, load average: 0.70, 0.56, 0.45
CPU threads: 4
*** RASPBERRY THROTTLING ***
Current issues:
No throttling issues detected.
Previously detected issues:
No throttling issues detected.
*** Time and Time Zones ***
Local time: Fri 2024-01-26 16:14:10 CET
Universal time: Fri 2024-01-26 15:14:10 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
*** User and Groups ***
pi
/home/pi
pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
*** X-Server-Setup ***
X-Server: false
Desktop:
Terminal: tty
Boot Target: multi-user.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 4.0G 1.2G 2.2G 1.4M 714M 2.8G
Swap: 104M 0B 104M
Total: 4.1G 1.2G 2.3G
3792 M total memory
1101 M used memory
1437 M active memory
163 M inactive memory
2082 M free memory
60 M buffer memory
620 M swap cache
99 M total swap
0 M used swap
99 M free swap
Raspberry only:
oom events: 0
lifetime oom required: 0 Mbytes
total time in oom handler: 0 ms
max time spent in oom handler: 0 ms
*** FAILED SERVICES ***
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.6G 0 1.6G 0% /dev
tmpfs tmpfs 380M 1.3M 379M 1% /run
/dev/sda2 ext4 110G 6.9G 98G 7% /
tmpfs tmpfs 1.9G 8.0K 1.9G 1% /dev/shm
tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock
/dev/sda1 vfat 510M 74M 437M 15% /boot/firmware
tmpfs tmpfs 380M 32K 380M 1% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Fri Jan 26 11:59:45 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:61:2A:FD vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=def89f0e-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB
[Fri Jan 26 11:59:48 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
[Fri Jan 26 11:59:49 2024] EXT4-fs (sda2): re-mounted. Quota mode: none.
Show mounted filesystems \(real ones only\):
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda2 ext4 rw,noatime
`-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
Files in neuralgic directories:
/var:
733M /var/
254M /var/log/journal/be2ab101d79b4303b4dc531310d8bc39
254M /var/log/journal
254M /var/log
191M /var/lib
Archived and active journals take up 253.3M in the file system.
/opt/iobroker/backups:
73M /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
341M /opt/iobroker/iobroker-data/
292M /opt/iobroker/iobroker-data/files
89M /opt/iobroker/iobroker-data/files/echarts.admin
67M /opt/iobroker/iobroker-data/files/javascript.admin
57M /opt/iobroker/iobroker-data/files/echarts
The five largest files in iobroker-data are:
24M /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.js.map
24M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.2b7495c2.js.map
23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.245b61c0.js.map
21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map
17M /opt/iobroker/iobroker-data/files/echarts/preview/static/js/main.1b756fe6.js.map
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2255680-if00
*** 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
nodejs:
Installed: 18.19.0-1nodesource1
Candidate: 18.19.0-1nodesource1
Version table:
18.19.0+dfsg-6~deb12u1 500
500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
*** 18.19.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
100 /var/lib/dpkg/status
18.18.2-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.18.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.18.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.17.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.17.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.16.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.16.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.15.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.2-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.13.0+dfsg1-1 500
500 http://deb.debian.org/debian bookworm/main arm64 Packages
18.13.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.12.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.11.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.10.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.9.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.9.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.8.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.7.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.6.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.5.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.4.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.3.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.2.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.1.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.0.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
Temp directories causing npm8 problem: 0
No problems detected
Errors in npm tree:
npm ERR! code ELSPROBLEMS
npm ERR! invalid: color-convert@1.9.3 /opt/iobroker/node_modules/color-convert
npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-26T15_14_18_362Z-debug-0.log
*** ioBroker-Installation ***
ioBroker Status
iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Core adapters versions
js-controller: 5.0.17
admin: 6.12.0
javascript: 7.1.6
Adapters from github: 0
Adapter State
+ system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.alias-manager.0 : alias-manager : raspberrypi - disabled
+ system.adapter.backitup.0 : backitup : raspberrypi - enabled
system.adapter.deconz.0 : deconz : raspberrypi - disabled, port: 80
system.adapter.discovery.0 : discovery : raspberrypi - disabled
system.adapter.echarts.0 : echarts : raspberrypi - disabled
system.adapter.influxdb.0 : influxdb : raspberrypi - disabled, port: 8086
+ system.adapter.javascript.0 : javascript : raspberrypi - enabled
system.adapter.mqtt.0 : mqtt : raspberrypi - disabled, port: 1883, bind: 192.168.178.21
+ system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0
+ system.adapter.sureflap.0 : sureflap : raspberrypi - enabled
+ system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0
system.adapter.vis.0 : vis : raspberrypi - disabled
system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin
+ system.adapter.wolf-smartset.0 : wolf-smartset : raspberrypi - enabled
system.adapter.yahka.0 : yahka : raspberrypi - disabled
+ system.adapter.yahka.1 : yahka : raspberrypi - enabled
+ system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0
+ instance is alive
Enabled adapters with bindings
+ system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
+ system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0
+ system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0
+ system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0
ioBroker-Repositories
stable : http://download.iobroker.net/sources-dist.json
beta : http://download.iobroker.net/sources-dist-latest.json
Active repo(s): stable
Installed ioBroker-Instances
Used repository: stable
Adapter "admin" : 6.12.0 , installed 6.12.0
Adapter "alias-manager": 1.2.6 , installed 1.2.6
Adapter "backitup" : 2.9.8 , installed 2.9.8
Adapter "deconz" : 1.3.23 , installed 1.3.23
Adapter "discovery" : 4.2.0 , installed 4.2.0
Adapter "echarts" : 1.7.2 , installed 1.7.2
Adapter "influxdb" : 3.2.0 , installed 3.2.0
Adapter "javascript" : 7.1.6 , installed 7.1.6
Controller "js-controller": 5.0.17 , installed 5.0.17
Adapter "mqtt" : 5.1.0 , installed 5.1.0
Adapter "shelly" : 6.6.1 , installed 6.6.1
Adapter "simple-api" : 2.7.2 , installed 2.7.2
Adapter "socketio" : 6.6.0 , installed 6.6.0
Adapter "sureflap" : 1.2.3 , installed 1.2.3
Adapter "telegram" : 3.0.1 , installed 3.0.1
Adapter "vis" : 1.5.4 , installed 1.5.4
Adapter "web" : 6.1.10 , installed 6.1.10
Adapter "wolf-smartset": 1.1.1 , installed 1.1.1
Adapter "ws" : 2.5.8 , installed 2.5.8
Adapter "yahka" : 1.0.3 , installed 1.0.3
Adapter "zigbee" : 1.10.1 , installed 1.10.1
Objects and States
Please stand by - This may take a while
Objects: 3450
States: 2720
*** OS-Repositories and Updates ***
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Pending Updates: 0
*** 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 127.0.0.1:38299 0.0.0.0:* LISTEN 1001 114757 1208/io.yahka.1
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 13009 746/sshd: /usr/sbin
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 0 14961 733/vncserver-x11-c
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 12992 719/cupsd
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 17121 908/iobroker.js-con
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 15187 908/iobroker.js-con
tcp6 0 0 :::22 :::* LISTEN 0 13011 746/sshd: /usr/sbin
tcp6 0 0 ::1:631 :::* LISTEN 0 12991 719/cupsd
tcp6 0 0 :::39177 :::* LISTEN 1001 18058 1208/io.yahka.1
tcp6 0 0 :::5900 :::* LISTEN 0 14960 733/vncserver-x11-c
tcp6 0 0 :::8081 :::* LISTEN 1001 13278 1009/io.admin.0
tcp6 0 0 :::8086 :::* LISTEN 999 13118 842/influxd
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 13112 823/cups-browsed
udp 0 0 0.0.0.0:40066 0.0.0.0:* 104 12850 558/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 12848 558/avahi-daemon: r
udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 18451 1063/io.shelly.0
udp6 0 0 fe80::44e4:421c:c1e:546 :::* 0 13169 684/NetworkManager
udp6 0 0 fe80::d890:c26c:38f:546 :::* 0 14997 684/NetworkManager
udp6 0 0 :::5353 :::* 104 12849 558/avahi-daemon: r
udp6 0 0 :::57318 :::* 104 12851 558/avahi-daemon: r
*** Log File - Last 25 Lines ***
2024-01-26 16:13:00.531 - info: wolf-smartset.0 (5282) terminating
2024-01-26 16:13:00.704 - info: host.raspberrypi instance system.adapter.wolf-smartset.0 scheduled normal terminated and will be restarted on schedule.
2024-01-26 16:13:00.705 - info: host.raspberrypi Restart adapter system.adapter.wolf-smartset.0 because enabled
2024-01-26 16:13:01.766 - info: host.raspberrypi instance system.adapter.wolf-smartset.0 started with pid 5298
2024-01-26 16:13:04.274 - info: wolf-smartset.0 (5298) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.wolf-smartset, node: v18.19.0, js-controller: 5.0.17
2024-01-26 16:13:05.255 - info: wolf-smartset.0 (5298) Initialization with Login and new Session done!
2024-01-26 16:14:00.018 - info: wolf-smartset.0 (5298) Scheduled restart.
2024-01-26 16:14:00.065 - info: wolf-smartset.0 (5298) terminating
2024-01-26 16:14:00.067 - info: wolf-smartset.0 (5298) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2024-01-26 16:14:00.525 - info: wolf-smartset.0 (5298) terminating
2024-01-26 16:14:00.641 - info: host.raspberrypi instance system.adapter.wolf-smartset.0 scheduled normal terminated and will be restarted on schedule.
2024-01-26 16:14:00.642 - info: host.raspberrypi Restart adapter system.adapter.wolf-smartset.0 because enabled
2024-01-26 16:14:01.757 - info: host.raspberrypi instance system.adapter.wolf-smartset.0 started with pid 5315
2024-01-26 16:14:04.201 - info: wolf-smartset.0 (5315) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.wolf-smartset, node: v18.19.0, js-controller: 5.0.17
2024-01-26 16:14:05.200 - info: wolf-smartset.0 (5315) Initialization with Login and new Session done!
2024-01-26 16:15:00.024 - info: wolf-smartset.0 (5315) Scheduled restart.
2024-01-26 16:15:00.073 - info: wolf-smartset.0 (5315) terminating
2024-01-26 16:15:00.076 - info: wolf-smartset.0 (5315) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2024-01-26 16:15:00.644 - warn: wolf-smartset.0 (5315) get state error: Connection is closed.
2024-01-26 16:15:00.646 - info: wolf-smartset.0 (5315) terminating
2024-01-26 16:15:00.734 - info: host.raspberrypi instance system.adapter.wolf-smartset.0 scheduled normal terminated and will be restarted on schedule.
2024-01-26 16:15:00.736 - info: host.raspberrypi Restart adapter system.adapter.wolf-smartset.0 because enabled
2024-01-26 16:15:01.790 - info: host.raspberrypi instance system.adapter.wolf-smartset.0 started with pid 5586
2024-01-26 16:15:04.720 - info: wolf-smartset.0 (5586) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.wolf-smartset, node: v18.19.0, js-controller: 5.0.17
2024-01-26 16:15:05.895 - info: wolf-smartset.0 (5586) Initialization with Login and new Session done!
Habe ich mir jetzt ein npm Problem eingefangen?
Edit: Hatte beim Javascript Adapter Color-Convert drin, bei der Neuinstallation habe ich vergessen, es nachzutragen. Der Fehler ist jetzt auch weg.
@thomas-braun Oh man, es lag wirklich am Update. Mea Culpa
iob diag
Skript v.2023-10-10
*** BASE SYSTEM ***
Static hostname: raspberrypi
Icon name: computer
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-rpi7-rpi-v8
Architecture: arm64
Model : Raspberry Pi 4 Model B Rev 1.1
Docker : false
Virtualization : none
Kernel : aarch64
Userland : arm64
Systemuptime and Load:
10:15:27 up 12 days, 15:04, 3 users, load average: 0.37, 0.45, 0.39
CPU threads: 4
*** RASPBERRY THROTTLING ***
Current issues:
No throttling issues detected.
Previously detected issues:
No throttling issues detected.
*** Time and Time Zones ***
Local time: Fri 2024-01-26 10:15:27 CET
Universal time: Fri 2024-01-26 09:15:27 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
*** User and Groups ***
pi
/home/pi
pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
*** X-Server-Setup ***
X-Server: false
Desktop:
Terminal: tty
Boot Target: multi-user.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 4.0G 1.6G 998M 1.4M 1.5G 2.4G
Swap: 104M 0B 104M
Total: 4.1G 1.6G 1.1G
3792 M total memory
1526 M used memory
1986 M active memory
657 M inactive memory
951 M free memory
139 M buffer memory
1251 M swap cache
99 M total swap
0 M used swap
99 M free swap
Raspberry only:
oom events: 0
lifetime oom required: 0 Mbytes
total time in oom handler: 0 ms
max time spent in oom handler: 0 ms
*** FAILED SERVICES ***
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.6G 0 1.6G 0% /dev
tmpfs tmpfs 380M 1.3M 379M 1% /run
/dev/sda2 ext4 110G 7.0G 97G 7% /
tmpfs tmpfs 1.9G 8.0K 1.9G 1% /dev/shm
tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock
/dev/sda1 vfat 510M 74M 437M 15% /boot/firmware
tmpfs tmpfs 380M 32K 380M 1% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Sat Jan 13 19:11:13 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:61:2A:FD vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=def89f0e-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB
[Sat Jan 13 19:11:17 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
[Sat Jan 13 19:11:18 2024] EXT4-fs (sda2): re-mounted. Quota mode: none.
Show mounted filesystems \(real ones only\):
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda2 ext4 rw,noatime
`-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
Files in neuralgic directories:
/var:
725M /var/
246M /var/log/journal/be2ab101d79b4303b4dc531310d8bc39
246M /var/log/journal
246M /var/log
191M /var/lib
Archived and active journals take up 245.3M in the file system.
/opt/iobroker/backups:
73M /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
343M /opt/iobroker/iobroker-data/
292M /opt/iobroker/iobroker-data/files
89M /opt/iobroker/iobroker-data/files/echarts.admin
67M /opt/iobroker/iobroker-data/files/javascript.admin
57M /opt/iobroker/iobroker-data/files/echarts
The five largest files in iobroker-data are:
24M /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.js.map
24M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.2b7495c2.js.map
23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.245b61c0.js.map
21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map
17M /opt/iobroker/iobroker-data/files/echarts/preview/static/js/main.1b756fe6.js.map
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2255680-if00
*** 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
nodejs:
Installed: 18.19.0-1nodesource1
Candidate: 18.19.0-1nodesource1
Version table:
18.19.0+dfsg-6~deb12u1 500
500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
*** 18.19.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
100 /var/lib/dpkg/status
18.18.2-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.18.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.18.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.17.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.17.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.16.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.16.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.15.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.2-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.13.0+dfsg1-1 500
500 http://deb.debian.org/debian bookworm/main arm64 Packages
18.13.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.12.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.11.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.10.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.9.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.9.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.8.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.7.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.6.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.5.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.4.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.3.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.2.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.1.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.0.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
Temp directories causing npm8 problem: 0
No problems detected
Errors in npm tree:
npm ERR! code ELSPROBLEMS
npm ERR! extraneous: @types/caseless@0.12.5 /opt/iobroker/node_modules/@types/caseless
npm ERR! extraneous: @types/request@2.48.12 /opt/iobroker/node_modules/@types/request
npm ERR! extraneous: @types/tough-cookie@4.0.5 /opt/iobroker/node_modules/@types/tough-cookie
npm ERR! extraneous: coffeescript@2.7.0 /opt/iobroker/node_modules/coffeescript
npm ERR! extraneous: jsonata@2.0.3 /opt/iobroker/node_modules/jsonata
npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2
npm ERR! extraneous: typescript@5.2.2 /opt/iobroker/node_modules/typescript
npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
npm ERR! extraneous: form-data@2.5.1 /opt/iobroker/node_modules/@types/request/node_modules/form-data
npm ERR! extraneous: debug@4.3.4 /opt/iobroker/node_modules/virtual-tsc/node_modules/debug
npm ERR! extraneous: ms@2.1.2 /opt/iobroker/node_modules/virtual-tsc/node_modules/ms
npm ERR! invalid: form-data@ /opt/iobroker/node_modules/iobroker.javascript/node_modules/form-data
npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-01-26T09_15_34_808Z-debug-0.log
*** ioBroker-Installation ***
ioBroker Status
iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Core adapters versions
js-controller: 5.0.17
admin: 6.12.0
javascript: 7.1.6
Adapters from github: 0
Adapter State
+ system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.alias-manager.0 : alias-manager : raspberrypi - disabled
+ system.adapter.backitup.0 : backitup : raspberrypi - enabled
system.adapter.deconz.0 : deconz : raspberrypi - disabled, port: 80
system.adapter.discovery.0 : discovery : raspberrypi - disabled
system.adapter.echarts.0 : echarts : raspberrypi - disabled
system.adapter.influxdb.0 : influxdb : raspberrypi - disabled, port: 8086
system.adapter.javascript.0 : javascript : raspberrypi - enabled
system.adapter.mqtt.0 : mqtt : raspberrypi - disabled, port: 1883, bind: 192.168.178.21
+ system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0
+ system.adapter.sureflap.0 : sureflap : raspberrypi - enabled
+ system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0
system.adapter.vis.0 : vis : raspberrypi - disabled
system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin
+ system.adapter.wolf-smartset.0 : wolf-smartset : raspberrypi - enabled
system.adapter.yahka.0 : yahka : raspberrypi - disabled
+ system.adapter.yahka.1 : yahka : raspberrypi - enabled
+ system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0
+ instance is alive
Enabled adapters with bindings
+ system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
+ system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0
+ system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0
+ system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0
ioBroker-Repositories
stable : http://download.iobroker.net/sources-dist.json
beta : http://download.iobroker.net/sources-dist-latest.json
Active repo(s): stable
Installed ioBroker-Instances
Used repository: stable
Adapter "admin" : 6.12.0 , installed 6.12.0
Adapter "alias-manager": 1.2.6 , installed 1.2.6
Adapter "backitup" : 2.9.8 , installed 2.9.8
Adapter "deconz" : 1.3.23 , installed 1.3.23
Adapter "discovery" : 4.2.0 , installed 4.2.0
Adapter "echarts" : 1.7.2 , installed 1.7.2
Adapter "influxdb" : 3.2.0 , installed 3.2.0
Adapter "javascript" : 7.1.6 , installed 7.1.6
Controller "js-controller": 5.0.17 , installed 5.0.17
Adapter "mqtt" : 5.1.0 , installed 5.1.0
Adapter "shelly" : 6.6.1 , installed 6.6.1
Adapter "simple-api" : 2.7.2 , installed 2.7.2
Adapter "socketio" : 6.6.0 , installed 6.6.0
Adapter "sureflap" : 1.2.3 , installed 1.2.1 [Updatable]
Adapter "telegram" : 3.0.1 , installed 3.0.1
Adapter "vis" : 1.5.4 , installed 1.5.4
Adapter "web" : 6.1.10 , installed 6.1.10
Adapter "wolf-smartset": 1.1.1 , installed 1.1.1
Adapter "ws" : 2.5.8 , installed 2.5.8
Adapter "yahka" : 1.0.3 , installed 1.0.3
Adapter "zigbee" : 1.10.1 , installed 1.9.7 [Updatable]
Objects and States
Please stand by - This may take a while
Objects: 3416
States: 2681
*** OS-Repositories and Updates ***
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Pending Updates: 34
*** 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 127.0.0.1:45127 0.0.0.0:* LISTEN 1001 3524116 2590/io.yahka.1
tcp 0 0 127.0.0.1:39037 0.0.0.0:* LISTEN 1001 1987251 2590/io.yahka.1
tcp 0 0 127.0.0.1:34867 0.0.0.0:* LISTEN 1001 2011832 2590/io.yahka.1
tcp 0 0 127.0.0.1:32813 0.0.0.0:* LISTEN 1001 4995153 2590/io.yahka.1
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 6428985 320870/cupsd
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 0 13972 767/vncserver-x11-c
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 25428 2423/iobroker.js-co
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 22407 2423/iobroker.js-co
tcp 0 0 127.0.0.1:39725 0.0.0.0:* LISTEN 1001 4090455 2590/io.yahka.1
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 17419 772/sshd: /usr/sbin
tcp 0 0 127.0.0.1:38591 0.0.0.0:* LISTEN 1001 6656388 2590/io.yahka.1
tcp 0 0 127.0.0.1:44885 0.0.0.0:* LISTEN 1001 4718584 2590/io.yahka.1
tcp 0 0 127.0.0.1:36733 0.0.0.0:* LISTEN 1001 3118844 2590/io.yahka.1
tcp 0 0 127.0.0.1:40705 0.0.0.0:* LISTEN 1001 6655452 2590/io.yahka.1
tcp 0 0 127.0.0.1:45021 0.0.0.0:* LISTEN 1001 964360 2590/io.yahka.1
tcp6 0 0 :::5900 :::* LISTEN 0 13971 767/vncserver-x11-c
tcp6 0 0 :::8086 :::* LISTEN 999 17528 869/influxd
tcp6 0 0 :::8081 :::* LISTEN 1001 23450 2441/io.admin.0
tcp6 0 0 :::22 :::* LISTEN 0 17421 772/sshd: /usr/sbin
tcp6 0 0 ::1:631 :::* LISTEN 0 6428984 320870/cupsd
tcp6 0 0 :::46001 :::* LISTEN 1001 26737 2590/io.yahka.1
udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 15817 573/avahi-daemon: r
udp 0 0 0.0.0.0:56777 0.0.0.0:* 104 15819 573/avahi-daemon: r
udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 26109 2759/io.shelly.0
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 6429833 320872/cups-browsed
udp6 0 0 :::5353 :::* 104 15818 573/avahi-daemon: r
udp6 0 0 fe80::44e4:421c:c1e:546 :::* 0 14130 711/NetworkManager
udp6 0 0 fe80::d890:c26c:38f:546 :::* 0 16841 711/NetworkManager
udp6 0 0 :::46009 :::* 104 15820 573/avahi-daemon: r
*** Log File - Last 25 Lines ***
2024-01-26 10:16:29.963 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
2024-01-26 10:16:29.963 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/index.js:143:19)
2024-01-26 10:16:29.963 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
2024-01-26 10:16:29.963 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
2024-01-26 10:16:29.963 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
2024-01-26 10:16:29.963 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/lib/request.js:5:18)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
2024-01-26 10:16:29.964 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19)
2024-01-26 10:16:29.965 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
2024-01-26 10:16:29.965 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:45:23)
2024-01-26 10:16:29.965 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
2024-01-26 10:16:29.965 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
2024-01-26 10:16:29.965 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
2024-01-26 10:16:29.965 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
2024-01-26 10:16:29.966 - error: host.raspberrypi Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
2024-01-26 10:16:29.966 - error: host.raspberrypi Caught by controller[0]: at node:internal/main/run_main_module:28:49
2024-01-26 10:16:29.966 - error: host.raspberrypi Caught by controller[0]: Node.js v18.19.0
2024-01-26 10:16:29.966 - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2024-01-26 10:16:29.966 - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled
Moin zusammen,
ich habe vor kurzem meinen Pi neu aufgesetzt. Soweit hat alles funktioniert. Der Js-Controller auch. Ich habe ein Backup reingezogen, es hat immernoch alles funktioniert.
Nun habe ich mich an ein paar Skripten versucht (nagut, eher C&P), jetzt ist der Adapter rot und steigt auch sofort wieder aus.
Was ich vergeblich probiert habe:
Es scheint ein Problem mit dem JS-Controller zu geben? Kann es daran liegen, dass ich ein veraltetes Backup in den IOB geladen habe? Oder kann ich mir mit dem Skript was zerschossen haben?
Besten Dank für euren Input und viele Grüße
@homoran das kann sein, ich konnte aber nirgends eingreifen. nachdem dort sinngemäß successful stand, habe ich etwas voreilig auf refresh gedrückt und konnte mir den verlauf nicht mehr im detail ansehen.
@thomas-braun du hattest recht und mit deiner lösung funktioniert es. vielen dank - das hätte ich nicht hinbekommen.
ab jetzt wird alles aktuell gehalten.
@thomas-braun jep, alles sehr veraltet, aber vorher lief es eigentlich.
Backitup hatte gesagt, dass er durch ist.
iob dialog
Skript v.2023-10-10
*** BASE SYSTEM ***
Static hostname: raspberrypi
Icon name: computer
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-rpi7-rpi-v8
Architecture: arm64
Model : Raspberry Pi 4 Model B Rev 1.1
Docker : false
Virtualization : none
Kernel : aarch64
Userland : arm64
Systemuptime and Load:
13:00:09 up 1:17, 4 users, load average: 0.26, 0.16, 0.33
CPU threads: 4
*** RASPBERRY THROTTLING ***
Current issues:
No throttling issues detected.
Previously detected issues:
No throttling issues detected.
*** Time and Time Zones ***
Local time: Wed 2024-01-10 13:00:09 CET
Universal time: Wed 2024-01-10 12:00:09 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
*** User and Groups ***
pi
/home/pi
pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
*** X-Server-Setup ***
X-Server: false
Desktop:
Terminal: tty
Boot Target: graphical.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 4.0G 574M 1.7G 42M 1.8G 3.4G
Swap: 104M 0B 104M
Total: 4.1G 574M 1.8G
3792 M total memory
548 M used memory
706 M active memory
1207 M inactive memory
1607 M free memory
92 M buffer memory
1660 M swap cache
99 M total swap
0 M used swap
99 M free swap
Raspberry only:
oom events: 0
lifetime oom required: 0 Mbytes
total time in oom handler: 0 ms
max time spent in oom handler: 0 ms
*** FAILED SERVICES ***
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.6G 0 1.6G 0% /dev
tmpfs tmpfs 380M 1.3M 378M 1% /run
/dev/sda2 ext4 29G 6.3G 22G 23% /
tmpfs tmpfs 1.9G 216K 1.9G 1% /dev/shm
tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock
/dev/sda1 vfat 510M 74M 437M 15% /boot/firmware
tmpfs tmpfs 380M 40K 380M 1% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Wed Jan 10 11:42:14 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:61:2A:FD vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=ee71d179-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB
[Wed Jan 10 11:42:18 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
[Wed Jan 10 11:42:22 2024] EXT4-fs (sda2): re-mounted. Quota mode: none.
Show mounted filesystems \(real ones only\):
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda2 ext4 rw,noatime
|-/run/user/1000/doc portal fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
`-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
Files in neuralgic directories:
/var:
611M /var/
191M /var/lib
187M /var/cache
174M /var/cache/apt
132M /var/log/journal/a268e5d002bb48d195e4958fbaefe16d
Archived and active journals take up 131.3M in the file system.
/opt/iobroker/backups:
6.5M /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
232M /opt/iobroker/iobroker-data/
204M /opt/iobroker/iobroker-data/files
88M /opt/iobroker/iobroker-data/files/echarts.admin
57M /opt/iobroker/iobroker-data/files/echarts
32M /opt/iobroker/iobroker-data/files/echarts/static/js
The five largest files in iobroker-data are:
23M /opt/iobroker/iobroker-data/files/echarts/static/js/main.eb0afecd.js.map
23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.7952f0f7.js.map
23M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.eb0afecd.js.map
17M /opt/iobroker/iobroker-data/files/echarts/preview/static/js/main.1b04901d.js.map
17M /opt/iobroker/iobroker-data/files/echarts.admin/preview/static/js/main.1b04901d.js.map
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2255680-if00
*** 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
nodejs:
Installed: 18.19.0-1nodesource1
Candidate: 18.19.0-1nodesource1
Version table:
18.19.0+dfsg-6~deb12u1 500
500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
*** 18.19.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
100 /var/lib/dpkg/status
18.18.2-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.18.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.18.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.17.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.17.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.16.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.16.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.15.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.2-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.14.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.13.0+dfsg1-1 500
500 http://deb.debian.org/debian bookworm/main arm64 Packages
18.13.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.12.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.11.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.10.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.9.1-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.9.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.8.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.7.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.6.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.5.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.4.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.3.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.2.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.1.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
18.0.0-1nodesource1 600
500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
Temp directories causing npm8 problem: 0
No problems detected
Errors in npm tree:
*** ioBroker-Installation ***
ioBroker Status
iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Core adapters versions
js-controller: 5.0.17
admin: 5.1.25
javascript: 5.2.13
Adapters from github: 0
Adapter State
system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.alias-manager.0 : alias-manager : raspberrypi - disabled
+ system.adapter.backitup.0 : backitup : raspberrypi - enabled
system.adapter.deconz.0 : deconz : raspberrypi - disabled, port: 80
system.adapter.discovery.0 : discovery : raspberrypi - disabled
system.adapter.echarts.0 : echarts : raspberrypi - disabled
system.adapter.influxdb.0 : influxdb : raspberrypi - disabled, port: 8086
system.adapter.javascript.0 : javascript : raspberrypi - disabled
system.adapter.mqtt.0 : mqtt : raspberrypi - disabled, port: 1883, bind: 192.168.178.21
system.adapter.shelly.0 : shelly : raspberrypi - disabled, port: 1882, bind: 0.0.0.0
system.adapter.sureflap.0 : sureflap : raspberrypi - disabled
system.adapter.telegram.0 : telegram : raspberrypi - disabled, port: 8443, bind: 0.0.0.0
system.adapter.vis.0 : vis : raspberrypi - disabled
system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin
system.adapter.wolf-smartset.0 : wolf-smartset : raspberrypi - disabled
system.adapter.yahka.0 : yahka : raspberrypi - disabled
system.adapter.yahka.1 : yahka : raspberrypi - disabled
+ instance is alive
Enabled adapters with bindings
system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
ioBroker-Repositories
stable : http://download.iobroker.net/sources-dist.json
beta : http://download.iobroker.net/sources-dist-latest.json
Active repo(s): stable
Installed ioBroker-Instances
Used repository: stable
Adapter "admin" : 6.12.0 , installed 5.1.25 [Updatable]
Adapter "alias-manager": 1.2.6 , installed 1.2.3 [Updatable]
Adapter "backitup" : 2.9.8 , installed 2.1.17 [Updatable]
Adapter "deconz" : 1.3.23 , installed 1.3.19 [Updatable]
Adapter "discovery" : 4.2.0 , installed 2.7.0 [Updatable]
Adapter "echarts" : 1.7.2 , installed 1.5.1 [Updatable]
Adapter "influxdb" : 3.2.0 , installed 1.9.5 [Updatable]
Adapter "javascript" : 7.1.6 , installed 5.2.13 [Updatable]
Controller "js-controller": 5.0.17 , installed 5.0.17
Adapter "mqtt" : 5.1.0 , installed 2.4.0 [Updatable]
Adapter "shelly" : 6.6.1 , installed 4.0.7 [Updatable]
Adapter "simple-api" : 2.7.2 , installed 2.7.2
Adapter "socketio" : 6.6.0 , installed 4.2.0 [Updatable]
Adapter "sureflap" : 1.2.1 , installed 1.1.8 [Updatable]
Adapter "telegram" : 3.0.1 , installed 1.10.0 [Updatable]
Adapter "vis" : 1.5.4 , installed 1.4.16 [Updatable]
Adapter "web" : 6.1.10 , installed 4.3.0 [Updatable]
Adapter "wolf-smartset": 1.1.1 , installed 1.1.1
Adapter "ws" : 2.5.8 , installed 1.3.0 [Updatable]
Adapter "yahka" : 1.0.3 , installed 0.13.1 [Updatable]
Objects and States
Please stand by - This may take a while
Objects: 2850
States: 2217
*** OS-Repositories and Updates ***
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Pending Updates: 0
*** 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 12191 839/sshd: /usr/sbin
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 17653 814/cupsd
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 32026 7618/iobroker.js-co
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 32019 7618/iobroker.js-co
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 1000 15100 1179/wayvnc
tcp6 0 0 :::22 :::* LISTEN 0 12193 839/sshd: /usr/sbin
tcp6 0 0 ::1:631 :::* LISTEN 0 17652 814/cupsd
udp 0 0 0.0.0.0:39203 0.0.0.0:* 104 14656 608/avahi-daemon: r
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 17215 1107/cups-browsed
udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 14654 608/avahi-daemon: r
udp6 0 0 :::59079 :::* 104 14657 608/avahi-daemon: r
udp6 0 0 fe80::bee6:def8:c02:546 :::* 0 18561 744/NetworkManager
udp6 0 0 fe80::4914:f794:31f:546 :::* 0 12286 744/NetworkManager
udp6 0 0 :::5353 :::* 104 14655 608/avahi-daemon: r
*** Log File - Last 25 Lines ***
2024-01-10 12:21:55.095 - info: host.raspberrypi iobroker npm-rebuild: Rebuilding native modules done
2024-01-10 12:21:56.112 - info: host.raspberrypi iobroker npm-rebuild: exit 0
2024-01-10 12:21:56.240 - info: host.raspberrypi instance system.adapter.admin.0 started with pid 9646
2024-01-10 12:21:57.438 - error: host.raspberrypi Caught by controller[0]: node:internal/modules/cjs/loader:1137
2024-01-10 12:21:57.439 - error: host.raspberrypi Caught by controller[0]: throw err;
2024-01-10 12:21:57.439 - error: host.raspberrypi Caught by controller[0]: ^
2024-01-10 12:21:57.440 - error: host.raspberrypi Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js'
2024-01-10 12:21:57.440 - error: host.raspberrypi Caught by controller[0]: Require stack:
2024-01-10 12:21:57.440 - error: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js
2024-01-10 12:21:57.441 - error: host.raspberrypi Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
2024-01-10 12:21:57.441 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:975:27)
2024-01-10 12:21:57.441 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19)
2024-01-10 12:21:57.442 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
2024-01-10 12:21:57.442 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:18:18)
2024-01-10 12:21:57.442 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
2024-01-10 12:21:57.443 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
2024-01-10 12:21:57.443 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
2024-01-10 12:21:57.443 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
2024-01-10 12:21:57.444 - error: host.raspberrypi Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
2024-01-10 12:21:57.444 - error: host.raspberrypi Caught by controller[0]: code: 'MODULE_NOT_FOUND',
2024-01-10 12:21:57.444 - error: host.raspberrypi Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.admin/main.js' ]
2024-01-10 12:21:57.445 - error: host.raspberrypi Caught by controller[0]: }
2024-01-10 12:21:57.445 - error: host.raspberrypi Caught by controller[0]: Node.js v18.19.0
2024-01-10 12:21:57.446 - error: host.raspberrypi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2024-01-10 12:21:57.446 - info: host.raspberrypi Rebuild for adapter system.adapter.admin.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
und die summary
======================= SUMMARY =======================
v.2023-10-10
Static hostname: raspberrypi
Icon name: computer
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-rpi7-rpi-v8
Architecture: arm64
Installation: native
Kernel: aarch64
Userland: arm64
Timezone: Europe/Berlin (CET, +0100)
User-ID: 1000
X-Server: false
Boot Target: graphical.target
Pending OS-Updates: 0
Pending iob updates: 17
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 and npm
Your nodejs installation is correct
MEMORY:
total used free shared buff/cache available
Mem: 4.0G 585M 1.7G 42M 1.9G 3.4G
Swap: 104M 0B 104M
Total: 4.1G 585M 1.8G
Active iob-Instances: 2
Active repo(s): stable
ioBroker Core: js-controller 5.0.17
admin 5.1.25
ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Status admin and web instance:
system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 2850
States: 2217
Size of iob-Database:
9.5M /opt/iobroker/iobroker-data/objects.jsonl
5.3M /opt/iobroker/iobroker-data/objects.json.migrated
5.3M /opt/iobroker/iobroker-data/objects.json.bak.migrated
644K /opt/iobroker/iobroker-data/states.jsonl
396K /opt/iobroker/iobroker-data/states.json.bak.migrated
392K /opt/iobroker/iobroker-data/states.json.migrated
=================== END OF SUMMARY ====================
@crunchip woran erkennst du das? ich dachte wenn enabled dort steht, läuft er admin?
system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin