NEWS
Test Adapter OpenDTU
-
Du siehst den Reiter 'Von GitHub' in der Mitte?
-
@axel sagte in Test Adapter OpenDTU:
Wie kann ich den denn direkt aus Git installiren? Gebt es da eine Möglichkeit?
dann daneben auf von Github, wie schon erwähnt. Allerdings denke ich, da stimmt was anderes nicht, denn der Adapter liegt auf NPM also müsste es auch angezeigt werden
-
@crunchip sagte in Test Adapter OpenDTU:
Allerdings denke ich, da stimmt was anderes nicht, denn der Adapter liegt auf NPM also müsste es auch angezeigt werden
Stimmt. Gerade getestet.
-
@thomas-braun welches ist denn die aktuelle npm Version? Die 9.6.7?
-
-
@laser sagte in Test Adapter OpenDTU:
welches ist denn die aktuelle npm Version? Die 9.6.7?
Hä?
npm kommt immer im Paket mit nodejs daher und wird nicht manuell angepackt. Wenn dein nodejs sauber installiert ist passt auch die Version von npm dazu. -
@crunchip Das Problem, daß "opendtu" weder in NPM noch in github zu finden war, habe ich auch wieder. Beim letzten Mal lag es an der fehlerhaften NPM Version. Außer einem update und upgrade habe ich nichts gemacht. Warum auch, wenn das System läuft.
-
@laser sagte in Test Adapter OpenDTU:
Warum auch, wenn das System läuft.
Was läuft denn da?
iob diag
sagt dazu?
-
======== Start marking the full check here ========= Skript v.2023-04-16 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.5 Architecture : aarch64 Docker : false Virtualization : none Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" Systemuptime and Load: 20:06:49 up 49 min, 1 user, load average: 2.06, 1.84, 1.36 CPU threads: 4 Raspberry only: throttled=0x0 Other values than 0x0 hint to temperature/voltage problems temp=60.8'C volt=0.9360V *** Time and Time Zones *** Local time: Mon 2023-05-29 20:06:49 CEST Universal time: Mon 2023-05-29 18:06:49 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** otto /home/otto otto adm dialout cdrom sudo audio video plugdev games users input render netdev 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: 7.8G 1.5G 4.7G 1.0M 1.6G 6.2G Swap: 99M 0B 99M Total: 7.9G 1.5G 4.8G 7811 M total memory 1508 M used memory 2309 M active memory 607 M inactive memory 4671 M free memory 92 M buffer memory 1538 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 *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 110G 11G 96G 10% / devtmpfs devtmpfs 3.6G 0 3.6G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 1.6G 1.2M 1.6G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/sda1 vfat 255M 31M 225M 13% /boot tmpfs tmpfs 782M 0 782M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Mon May 29 19:17:02 2023] 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=D8:3A:DD:0D:3B:C5 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=af0e4bd2-02 rootfstype=ext4 fsck.repair=yes rootwait [Mon May 29 19:17:04 2023] EXT4-fs (sda2): INFO: recovery required on readonly filesystem [Mon May 29 19:17:04 2023] EXT4-fs (sda2): write access will be enabled during recovery [Mon May 29 19:17:05 2023] EXT4-fs (sda2): orphan cleanup on readonly fs [Mon May 29 19:17:05 2023] EXT4-fs (sda2): 13 orphan inodes deleted [Mon May 29 19:17:05 2023] EXT4-fs (sda2): recovery complete [Mon May 29 19:17:05 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Mon May 29 19:17:05 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Mon May 29 19:17:07 2023] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 6.0G /var/ 3.6G /var/log 3.4G /var/log/journal/aaa8ad0836ed4822b2dfcde31d4a0fb2 3.4G /var/log/journal 2.2G /var/lib Archived and active journals take up 3.3G in the file system. /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.2G /opt/iobroker/iobroker-data/ 980M /opt/iobroker/iobroker-data/history 158M /opt/iobroker/iobroker-data/files 67M /opt/iobroker/iobroker-data/backup-objects 51M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 11M /opt/iobroker/iobroker-data/objects.jsonl 9.1M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/2.bbf74d5f.chunk.js.map 8.9M /opt/iobroker/iobroker-data/files/echarts/static/js/2.3d2d025f.chunk.js.map 8.9M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/2.3d2d025f.chunk.js.map 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map *** NodeJS-Installation *** /usr/bin/nodejs v18.16.0 /usr/bin/node v18.16.0 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 nodejs: Installed: 18.16.0-deb-1nodesource1 Candidate: 18.16.0-deb-1nodesource1 Version table: *** 18.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl MULTIHOSTSERVICE/enabled: false Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 2 Adapter State + system.adapter.admin.1 : 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.discovery.0 : discovery : raspberrypi - enabled + system.adapter.echarts.0 : echarts : raspberrypi - enabled system.adapter.flot.0 : flot : raspberrypi - disabled + system.adapter.history.0 : history : raspberrypi - enabled + system.adapter.hm-rega.0 : hm-rega : raspberrypi - enabled + system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.i2c.0 : i2c : raspberrypi - enabled + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.influxdb.1 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.info.0 : info : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.logparser.0 : logparser : raspberrypi - enabled + system.adapter.modbus.0 : modbus : raspberrypi - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.net-tools.0 : net-tools : raspberrypi - enabled + system.adapter.owfs.0 : owfs : raspberrypi - enabled, port: 4304 + system.adapter.rpi2.0 : rpi2 : raspberrypi - enabled + system.adapter.shelly.1 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sourceanalytix.0 : sourceanalytix : raspberrypi - enabled + system.adapter.vedirect.0 : vedirect : raspberrypi - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : raspberrypi - enabled system.adapter.vis.0 : vis : raspberrypi - enabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : raspberrypi - disabled, port: /dev/ttyACM0 + instance is alive Enabled adapters with bindings + system.adapter.admin.1 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.influxdb.1 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.owfs.0 : owfs : raspberrypi - enabled, port: 4304 + system.adapter.shelly.1 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, 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.3.5 , installed 6.3.5 Adapter "alias-manager": 1.2.4 , installed 1.2.4 Adapter "backitup" : 2.6.19 , installed 2.6.19 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "echarts" : 1.0.12 , installed 1.0.12 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "history" : 2.2.4 , installed 2.2.4 Adapter "hm-rega" : 3.0.46 , installed 3.0.46 Adapter "hm-rpc" : 1.15.16 , installed 1.15.16 Adapter "i2c" : 1.2.1 , installed 1.2.1 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.26 , installed 1.9.26 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "logparser" : 2.1.1 , installed 2.1.2 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "owfs" : 0.7.0 , installed 0.7.0 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 6.3.1 , installed 6.3.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-hqwidgets": 1.3.0 , installed 1.3.0 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "zigbee" : 1.8.10 , installed 1.8.10 Objects and States Please stand by - This may take a while Objects: 3542 States: 2903 *** 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://archive.raspberrypi.org/debian bullseye InRelease Hit:5 http://deb.debian.org/debian bullseye-backports InRelease Hit:6 https://deb.nodesource.com/node_18.x bullseye InRelease Hit:7 https://repos.influxdata.com/debian bullseye InRelease Hit:8 https://apt.grafana.com stable 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 14432 561/sshd: /usr/sbin tcp 0 0 192.168.2.54:2001 0.0.0.0:* LISTEN 1001 79357 12606/io.hm-rpc.1 tcp 0 0 192.168.2.54:2010 0.0.0.0:* LISTEN 1001 81026 12591/io.hm-rpc.0 tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1001 79950 12436/iobroker.js-c tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1001 79199 12436/iobroker.js-c tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 78802 12636/io.mqtt.0 tcp6 0 0 :::22 :::* LISTEN 0 14434 561/sshd: /usr/sbin tcp6 0 0 :::3000 :::* LISTEN 110 3830 872/grafana tcp6 0 0 :::8087 :::* LISTEN 1001 80534 13066/io.simple-api tcp6 0 0 :::8086 :::* LISTEN 999 14634 748/influxd tcp6 0 0 :::8081 :::* LISTEN 1001 80911 12454/io.admin.1 tcp6 0 0 :::8082 :::* LISTEN 1001 80725 13673/io.web.0 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 14445 723/dhcpcd udp 0 0 0.0.0.0:50020 0.0.0.0:* 108 3556 424/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 3554 424/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 79510 12767/io.shelly.1 udp6 0 0 :::57690 :::* 108 3557 424/avahi-daemon: r udp6 0 0 :::546 :::* 0 12068 723/dhcpcd udp6 0 0 :::5353 :::* 108 3555 424/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-05-29 20:07:44.196 - warn: javascript.0 (12524) at Object.Solar (script.js.Solar.Ges-kW-Solarertrag:7:15) 2023-05-29 20:07:44.196 - warn: javascript.0 (12524) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2541:34) 2023-05-29 20:07:44.196 - warn: javascript.0 (12524) at listOnTimeout (node:internal/timers:569:17) 2023-05-29 20:07:44.197 - warn: javascript.0 (12524) at processTimers (node:internal/timers:512:7) 2023-05-29 20:07:44.253 - warn: javascript.0 (12524) getState "opendtu.0.total.yieldtotal" not found (3) 2023-05-29 20:07:44.254 - warn: javascript.0 (12524) at Object.Solar (script.js.Solar.Ges-kWh-Solarertrag:7:15) 2023-05-29 20:07:44.255 - warn: javascript.0 (12524) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2541:34) 2023-05-29 20:07:44.255 - warn: javascript.0 (12524) at listOnTimeout (node:internal/timers:569:17) 2023-05-29 20:07:44.255 - warn: javascript.0 (12524) at processTimers (node:internal/timers:512:7) 2023-05-29 20:07:44.256 - info: javascript.0 (12524) script.js.Solar.Ges-kWh-Solarertrag: Hoyges: 0 2023-05-29 20:07:44.256 - info: javascript.0 (12524) script.js.Solar.Ges-kWh-Solarertrag: Laden: 75 2023-05-29 20:07:44.256 - info: javascript.0 (12524) script.js.Solar.Ges-kWh-Solarertrag: GesSolar: 75 2023-05-29 20:07:49.194 - warn: javascript.0 (12524) getState "opendtu.0.total.power" not found (3) 2023-05-29 20:07:49.196 - warn: javascript.0 (12524) at Object.Solar (script.js.Solar.Ges-kW-Solarertrag:7:15) 2023-05-29 20:07:49.196 - warn: javascript.0 (12524) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2541:34) 2023-05-29 20:07:49.196 - warn: javascript.0 (12524) at listOnTimeout (node:internal/timers:569:17) 2023-05-29 20:07:49.196 - warn: javascript.0 (12524) at processTimers (node:internal/timers:512:7) 2023-05-29 20:07:49.255 - warn: javascript.0 (12524) getState "opendtu.0.total.yieldtotal" not found (3) 2023-05-29 20:07:49.257 - warn: javascript.0 (12524) at Object.Solar (script.js.Solar.Ges-kWh-Solarertrag:7:15) 2023-05-29 20:07:49.257 - warn: javascript.0 (12524) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:2541:34) 2023-05-29 20:07:49.257 - warn: javascript.0 (12524) at listOnTimeout (node:internal/timers:569:17) 2023-05-29 20:07:49.257 - warn: javascript.0 (12524) at processTimers (node:internal/timers:512:7) 2023-05-29 20:07:49.258 - info: javascript.0 (12524) script.js.Solar.Ges-kWh-Solarertrag: Hoyges: 0 2023-05-29 20:07:49.258 - info: javascript.0 (12524) script.js.Solar.Ges-kWh-Solarertrag: Laden: 75 2023-05-29 20:07:49.258 - info: javascript.0 (12524) script.js.Solar.Ges-kWh-Solarertrag: GesSolar: 75 ============ Mark until here for C&P ============= iob diag has finished.
Habe nochmal die letzte NPV Version manuell installiert (aber erst, als opendtu nicht über die Admin- Oberfläche (Katzenfenster) zu finden war). War das ein Fehler?
https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten -
-
@laser sagte in Test Adapter OpenDTU:
(sda2): 13 orphan inodes deleted
Dein Dateisystem macht die Grätsche.
-
@thomas-braun OK. Da es vorher schon nicht ging, konnte ja nicht mehr viel passieren. HAbe ich mir gedacht. Jetzt muß ich sehen, wie ich die niedrige Version wieder reinbekomme.
Dateisystem? Habe einen neuen Raspi eingebaut. Mit alter SSD. Hat die SSD Alterungserscheinungen? -
-
@laser sagte in Test Adapter OpenDTU:
Hat die SSD Alterungserscheinungen?
Offenbar. Die vergisst inodes. Und/oder zu fährst die Kiste nicht sauber herunter sondern rupfst die brutal vom Strom.
-
@thomas-braun Ich mußte die Stromzufuhr radikal trennen, da vorhin nichts mehr ging (Auch kein Ping auf die Adresse des PI's.)
-
Dann war das Ding auch vorher schon mumpf.
Installier es neu auf einem neuen Speichermedium. -
@thomas-braun Mache ich. Hole morgen eine neue SSD (die 3. in diesem Jahr).
-
@laser sagte in Test Adapter OpenDTU:
(die 3. in diesem Jahr).
Würde mir zu denken geben... Besser mit dem System umgehen und schon mal über eine USV nachgedacht?
-
@thomas-braun Nachgedacht schon...Stromausfall gibt es hier aber nicht.
-
@laser sagte in Test Adapter OpenDTU:
Stromausfall gibt es hier aber nicht.
Dann reiß halt die Kiste nicht immer vom Strom...