Hab was gefunden das jedem der das Problem hat weiter Hilft siehe link
Es liegt an der Version vom Semp Adapter ab Version Version v1.4.7 läufts wieder.
Hab was gefunden das jedem der das Problem hat weiter Hilft siehe link
Es liegt an der Version vom Semp Adapter ab Version Version v1.4.7 läufts wieder.
 @homoran
Hallo, es geht um den Semp Adapter für das SunnyPortal (SMA) . Installiert habe ich das System PI OS mit dem Raspberry PI Imager. Alles upgedatet wie beschrieben [Beschreibung Installation] https://allestester.ch/iobroker-raspberry-pi-4-installieren-anleitung/#Der_erste_Start_des_Raspberry_Pi_4_–_Schritt_4 iobroker Installiert und gestartet.
Skript v.2024-05-22
*** BASE SYSTEM ***
Static hostname: marcusmatic
Icon name: computer
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.47+rpt-rpi-v8
Architecture: arm64
Model : Raspberry Pi 4 Model B Rev 1.2
Docker : false
Virtualization : none
Kernel : aarch64
Userland : 64 bit
Systemuptime and Load:
18:26:44 up 7 min, 2 users, load average: 0.59, 0.53, 0.31
CPU threads: 4
*** RASPBERRY THROTTLING ***
Current issues:
No throttling issues detected.
Previously detected issues:
No throttling issues detected.
*** Time and Time Zones ***
Local time: Mon 2024-09-16 18:26:44 CEST
Universal time: Mon 2024-09-16 16:26:44 UTC
RTC time: n/a
Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
*** Users and Groups ***
User that called 'iob diag':
badusch
HOME=/home/badusch
GROUPS=badusch adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
User that is running 'js-controller':
iobroker
HOME=/home/iobroker
GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
*** Display-Server-Setup ***
Display-Server: false
Desktop:
Terminal: tty
Boot Target: multi-user.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 4.0G 540M 3.1G 1.2M 447M 3.4G
Swap: 209M 0B 209M
Total: 4.2G 540M 3.3G
Active iob-Instances: 6
3790 M total memory
515 M used memory
662 M active memory
121 M inactive memory
2916 M free memory
33 M buffer memory
394 M swap cache
199 M total swap
0 M used swap
199 M free swap
*** top - Table Of Processes ***
top - 18:26:44 up 7 min, 2 users, load average: 0.59, 0.53, 0.31
Tasks: 169 total, 2 running, 167 sleeping, 0 stopped, 0 zombie
%Cpu(s): 20.0 us, 0.0 sy, 0.0 ni, 80.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 3791.0 total, 2915.6 free, 516.7 used, 427.5 buff/cache
MiB Swap: 200.0 total, 200.0 free, 0.0 used. 3274.3 avail Mem
*** 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.2M 378M 1% /run
/dev/sda2 ext4 235G 4.5G 218G 3% /
tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock
/dev/sda1 vfat 510M 64M 447M 13% /boot/firmware
tmpfs tmpfs 380M 0 380M 0% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Mon Sep 16 18:18:48 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:BA:8A:A4 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=91d24186-02 rootfstype=ext4 fsck.repair=yes rootwait
[Mon Sep 16 18:18:51 2024] EXT4-fs (sda2): mounted filesystem 56f80fa2-e005-4cca-86e6-19da1069914d ro with ordered data mode. Quota mode: none.
[Mon Sep 16 18:18:53 2024] EXT4-fs (sda2): re-mounted 56f80fa2-e005-4cca-86e6-19da1069914d r/w. Quota mode: none.
Show mounted filesystems:
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda2 ext4 rw,noatime
|-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
| |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
| |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
| |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
| |-/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700
| |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime
| |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime
| |-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime
| `-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime
|-/proc proc proc rw,relatime
| `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1648
| `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime
|-/dev udev devtmpfs rw,nosuid,relatime,size=1670656k,nr_inodes=417664,mode=755
| |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
| |-/dev/shm tmpfs tmpfs rw,nosuid,nodev
| `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
|-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=388200k,mode=755
| |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k
| |-/run/credentials/systemd-sysctl.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| |-/run/credentials/systemd-sysusers.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime
| |-/run/credentials/systemd-tmpfiles-setup.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=388196k,nr_inodes=97049,mode=700,uid=1000,gid=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:
907M /var/
469M /var/cache
463M /var/cache/apt
351M /var/cache/apt/archives
166M /var/lib
Archived and active journals take up 71.6M in the file system.
/opt/iobroker/backups:
4.0K /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
509M /opt/iobroker/iobroker-data/
503M /opt/iobroker/iobroker-data/files
441M /opt/iobroker/iobroker-data/files/javascript.admin
409M /opt/iobroker/iobroker-data/files/javascript.admin/static
408M /opt/iobroker/iobroker-data/files/javascript.admin/static/js
The five largest files in iobroker-data are:
14M /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.2cca4954.js
8.7M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/838.0aa41cb0.chunk.js.map
8.6M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/310.89a60ae1.chunk.js.map
7.0M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/675.a9c6d34a.chunk.js.map
7.0M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/675.279d2690.chunk.js.map
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'
*** NodeJS-Installation ***
/usr/bin/nodejs v20.17.0
/usr/bin/node v20.17.0
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.29.3
nodejs:
Installed: 20.17.0-1nodesource1
Candidate: 20.17.0-1nodesource1
Version table:
*** 20.17.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
100 /var/lib/dpkg/status
20.16.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.15.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.15.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.14.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.13.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.13.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.12.2-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.12.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.12.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.11.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.11.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.10.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.9.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.8.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.8.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.7.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.6.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.6.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.5.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.5.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.4.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.3.1-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.3.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.2.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.1.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
20.0.0-1nodesource1 600
500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
18.19.0+dfsg-6~deb12u2 500
500 http://deb.debian.org/debian bookworm/main arm64 Packages
18.19.0+dfsg-6~deb12u1 500
500 http://deb.debian.org/debian-security bookworm-security/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: 6.0.11
admin: 7.0.23
javascript: 8.7.6
nodejs modules from github: 0
Adapter State
+ system.adapter.admin.0 : admin : marcusmatic - enabled, port: 8081, bind: 0.0.0.0, run as: admin
+ system.adapter.backitup.0 : backitup : marcusmatic - enabled
+ system.adapter.discovery.0 : discovery : marcusmatic - enabled
+ system.adapter.javascript.0 : javascript : marcusmatic - enabled
+ system.adapter.semp.0 : semp : marcusmatic - enabled
+ instance is alive
Enabled adapters with bindings
+ system.adapter.admin.0 : admin : marcusmatic - enabled, port: 8081, bind: 0.0.0.0, run as: admin
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-Instances
Used repository: stable
Adapter "admin" : 7.0.23 , installed 7.0.23
Adapter "backitup" : 3.0.22 , installed 3.0.22
Adapter "discovery" : 4.5.0 , installed 4.5.0
Adapter "javascript" : 8.7.6 , installed 8.7.6
Controller "js-controller": 6.0.11 , installed 6.0.11
Adapter "semp" : 1.4.6 , installed 1.4.6
Objects and States
Please stand by - This may take a while
Objects: 217
States: 157
*** 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://archive.raspberrypi.com/debian bookworm InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://deb.nodesource.com/node_20.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:9000 0.0.0.0:* LISTEN 1001 6277 660/iobroker.js-con
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 6272 660/iobroker.js-con
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 5521 689/sshd: /usr/sbin
tcp6 0 0 :::22 :::* LISTEN 0 5523 689/sshd: /usr/sbin
tcp6 0 0 :::8081 :::* LISTEN 1001 7411 756/io.admin.0
udp 0 0 0.0.0.0:52890 0.0.0.0:* 104 475 534/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 473 534/avahi-daemon: r
udp6 0 0 :::5353 :::* 104 474 534/avahi-daemon: r
udp6 0 0 :::42278 :::* 104 476 534/avahi-daemon: r
*** Log File - Last 25 Lines ***
2024-09-16 18:21:12.759 - info: semp.0 (943) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-09-16 18:21:12.787 - info: host.marcusmatic stopInstance system.adapter.semp.0 send kill signal
2024-09-16 18:21:13.262 - info: semp.0 (943) terminating
2024-09-16 18:21:13.308 - info: host.marcusmatic instance system.adapter.semp.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-09-16 18:21:15.403 - info: admin.0 (756) <== Disconnect system.user.admin from ::ffff:192.168.2.40
2024-09-16 18:21:16.724 - info: host.marcusmatic instance system.adapter.semp.0 in version "1.4.6" started with pid 958
2024-09-16 18:21:18.813 - debug: semp.0 (958) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-09-16 18:21:18.849 - debug: semp.0 (958) Objects client ready ... initialize now
2024-09-16 18:21:18.851 - debug: semp.0 (958) Objects create System PubSub Client
2024-09-16 18:21:18.853 - debug: semp.0 (958) Objects create User PubSub Client
2024-09-16 18:21:18.879 - debug: semp.0 (958) Objects client initialize lua scripts
2024-09-16 18:21:18.889 - debug: semp.0 (958) Objects connected to redis: 127.0.0.1:9001
2024-09-16 18:21:18.909 - debug: semp.0 (958) Redis States: Use Redis connection: 127.0.0.1:9000
2024-09-16 18:21:18.917 - debug: semp.0 (958) States create System PubSub Client
2024-09-16 18:21:18.919 - debug: semp.0 (958) States create User PubSub Client
2024-09-16 18:21:18.935 - debug: semp.0 (958) States connected to redis: 127.0.0.1:9000
2024-09-16 18:21:18.967 - debug: semp.0 (958) Plugin sentry Initialize Plugin (enabled=true)
2024-09-16 18:21:19.394 - info: semp.0 (958) starting. Version 1.4.6 in /opt/iobroker/node_modules/iobroker.semp, node: v20.17.0, js-controller: 6.0.11
2024-09-16 18:21:19.418 - debug: semp.0 (958) {"IPAddress":"192.168.2.52","UUID":"7cee8abe-0d05-4fd4-8c77-2dcfa6329bf4","SempPort":9765,"SempName":"ioBroker Gateway","SempManufacturer":"ioBroker","DeviceBaseID":89551690,"extendedLog":false,"LogToCSV":false,"LogToCSVPath":"/home/pi/semp.csv","devices":[],"DeviceID":"","DeviceName":"","DeviceVendor":"","DeviceSerialnumber":"","DeviceType":null,"DeviceMinPower":null,"DeviceMaxPower":null,"DeviceInterruptionAllowed":false,"DeviceMinOnTime":null,"DeviceMaxOnTime":null,"DeviceMinOffTime":null,"DeviceMaxOffTime":null,"DeviceMeasurementMethod":null,"DeviceOIDPower":"","DeviceMeasurementUnit":null,"DeviceStatusDetectionType":null,"DeviceOIDStatus":"","DeviceStatusDetectionLimit":null,"DeviceStatusDetectionLimitTimeOn":null,"DeviceStatusDetectionLimitTimeOff":null,"DeviceStatusDetectionMinRunTime":null,"DeviceHasOIDSwitch":false,"DeviceOIDSwitch":"","DeviceTimerActive":false,"DeviceTimerCancelIfNotOn":false,"DeviceTimerCancelIfNotOnTime":null,"DeviceBatteryCapacity":null,"DeviceWallboxChargeTime":null,"DeviceWallboxPhases":null,"DeviceWallbox3phaseSwitchLimit":null,"DeviceWallbox3phaseSwitchDelay":null,"DeviceWallboxNeedCurrentRecommendation":false,"DeviceURLReadPollRate":null}
2024-09-16 18:21:19.419 - debug: semp.0 (958) check BaseID 89551690 type number
2024-09-16 18:21:19.420 - debug: semp.0 (958) check BaseID 89551690 type number
2024-09-16 18:21:19.421 - debug: semp.0 (958) BaseID: is integer number
2024-09-16 18:21:19.424 - debug: semp.0 (958) SSDPServer created: http://192.168.2.52:9765/description.xml 7cee8abe-0d05-4fd4-8c77-2dcfa6329bf4
2024-09-16 18:21:19.436 - error: semp.0 (958) exception in onReady [TypeError: Missing parameter name at 1: https://git.new/pathToRegexpError]
2024-09-16 18:22:53.788 - info: admin.0 (756) <== Disconnect system.user.admin from ::ffff:192.168.2.40 admin
```
Guten Tag,
Ich heiße Marcus.
Hoffe das ich das Thema richtig eingerichtet habe und würde mich über ein paar nette hilfreiche Antworten freuen.
Ich habe die Tage meinen iobroker von SD auf SSD umgestellt. Hab alles frisch installiert. Raspberry Pi 4B 8G mit Pi OS 64Bit light. Alle Updates und Pakete installiert.
Nun bekomme ich folgenden Fehler angezeigt.
2024-09-16 02:20:53.479 - error: semp.0 (1923) exception in onReady [TypeError: Missing parameter name at 1: https://git.new/pathToRegexpError]
Der Adapter wird unter Instanzen grün. Im Sunnyportal wird kein Gerät gefunden.
Da ich völliger Laie bin kann ich mit dem Angezeigtem Fehler nichts anfangen. Auch in Google finde ich nichts brauchbares.
LG Marcus