NEWS
netatmo adapter für Wetterstation funktioniert nicht mehr
-
Hallo,
seit meinem update von Nodejs etc funktioniert mein netatmo adapter nicht mehr. Hatte das websocket problem und habe jetzt doorbell und cams deaktiviert. So dass nur noch die Wetterstation verbunden ist. Laut log funktioniert der login bei netatmo auch wunderbarSuccessfully authenticated with Netatmo with individual client-ID 5ee8ab*************
aber die Daten werden einfach nicht aktualisiert. Jemand eine Idee?
Systemdata Bitte Ausfüllen Hardwaresystem: PI4 Arbeitsspeicher: 4GB Festplattenart: SD-Karte Betriebssystem: Raspbian Node-Version: 16.19.0 Nodejs-Version: 10.x.x NPM-Version: 8.9.13 -
-
@thomas-braun
hab ich gemacht, jetzt ist der komplette RPI überfordert und reagiert kaum noch, siehe:pi@casatoropi:~ $ ps -aux --sort=-pcpu USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND iobroker 26533 91.2 5.6 343404 221120 ? Rsl 21:55 6:20 iobroker.js-controller iobroker 28048 38.6 2.8 229440 113836 ? Sl 21:57 1:51 io.shelly.0 iobroker 26581 25.4 5.0 307380 198768 ? Sl 21:55 1:44 io.admin.0 iobroker 26698 19.2 3.7 256836 146756 ? Sl 21:55 1:17 io.javascript.0 iobroker 26659 8.5 2.0 195852 78908 ? Sl 21:55 0:34 io.influxdb.0 influxdb 815 5.7 14.0 2005772 550548 ? Sl Jan12 451:30 /usr/bin/influxd -config /etc/influxdb/influxdb.conf iobroker 27001 4.7 3.3 240396 131336 ? Sl 21:55 0:18 node-red iobroker 28169 4.4 1.9 194652 76628 ? Sl 21:57 0:12 io.alexa2.0 iobroker 28103 4.2 1.9 188832 74844 ? Sl 21:57 0:12 io.upnp.0 iobroker 28076 3.7 2.8 224540 111228 ? Sl 21:57 0:10 io.myvbus.0 pi 467 3.0 0.6 144684 26320 ? Ssl Jan12 236:42 /usr/bin/deCONZ -platform minimal --http-port=80
das Ergebnis
Skript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.1 Architecture: armv7l Docker: false Virtualization: none Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 21:50:34 up 5 days, 10:02, 2 users, load average: 2.70, 3.04, 2.73 CPU threads: 4 *** Time and Time Zones *** Tue Jan 17 20:50:34 UTC 2023 Tue Jan 17 21:50:34 CET 2023 CET +0100 Europe/Berlin *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev 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: 3.8G 635M 1.9G 216M 1.3G 3.1G Swap: 99M 22M 77M Total: 3.9G 658M 2.0G 3838 M total memory 635 M used memory 767 M active memory 1006 M inactive memory 1877 M free memory 168 M buffer memory 1158 M swap cache 99 M total swap 22 M used swap 77 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 59G 40G 16G 72% / devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 1.9G 217M 1.7G 12% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/sda1 ext4 59G 56G 0 100% /media/usbstick /dev/mmcblk0p1 vfat 253M 50M 203M 20% /boot tmpfs tmpfs 384M 0 384M 0% /run/user/1000 Messages in dmesg: [Thu Jan 12 11:48:31 2023] 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:5B:2C:F5 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [Thu Jan 12 11:48:32 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [Thu Jan 12 11:48:32 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Thu Jan 12 11:48:34 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [Thu Jan 12 11:48:37 2023] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 |-/media/usbstick /dev/sda1 ext4 rw,relatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 2.0G /var/ 1.3G /var/lib 1.1G /var/lib/influxdb/data 1.1G /var/lib/influxdb 1018M /var/lib/influxdb/data/iobroker/autogen /opt/iobroker/backups: 5.3G /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 332M /opt/iobroker/iobroker-data/ 123M /opt/iobroker/iobroker-data/node-red 120M /opt/iobroker/iobroker-data/node-red/node_modules 86M /opt/iobroker/iobroker-data/files 77M /opt/iobroker/iobroker-data/backup-objects The five largest files in iobroker-data are: 16M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/objects.json.migrated 12M /opt/iobroker/iobroker-data/objects.json.bak.migrated 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map *** NodeJS-Installation *** /usr/bin/nodejs v16.19.0 /usr/bin/node v16.19.0 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 nodejs: Installed: 16.19.0-deb-1nodesource1 Candidate: 16.19.0-deb-1nodesource1 Version table: *** 16.19.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u2 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Temp directories causing npm8 problem: 0 *** ioBroker-Installation *** ioBroker Status iobroker is not running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 0 Adapter State system.adapter.admin.0 : admin : casatoropi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alexa2.0 : alexa2 : casatoropi - enabled system.adapter.backitup.0 : backitup : casatoropi - enabled system.adapter.deconz.0 : deconz : casatoropi - enabled, port: 80 system.adapter.fb-checkpresence.0 : fb-checkpresence : casatoropi - disabled system.adapter.gruenbeck.0 : gruenbeck : casatoropi - enabled system.adapter.hue.0 : hue : casatoropi - enabled, port: 80 system.adapter.influxdb.0 : influxdb : casatoropi - enabled, port: 8086 system.adapter.info.0 : info : casatoropi - enabled system.adapter.javascript.0 : javascript : casatoropi - enabled system.adapter.klf200.0 : klf200 : casatoropi - enabled system.adapter.lovelace.0 : lovelace : casatoropi - disabled, port: 8091, bind: 0.0.0.0, run as: admin system.adapter.mihome-vacuum.0 : mihome-vacuum : casatoropi - disabled, port: 54321 system.adapter.mihome-vacuum.1 : mihome-vacuum : casatoropi - disabled, port: 54321 system.adapter.mqtt.0 : mqtt : casatoropi - disabled, port: 1883, bind: 0.0.0.0 system.adapter.myvbus.0 : myvbus : casatoropi - enabled system.adapter.netatmo.0 : netatmo : casatoropi - enabled system.adapter.node-red.0 : node-red : casatoropi - enabled, port: 1880, bind: 0.0.0.0 system.adapter.openweathermap.0 : openweathermap : casatoropi - enabled system.adapter.shelly.0 : shelly : casatoropi - enabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api : casatoropi - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.upnp.0 : upnp : casatoropi - enabled system.adapter.vis.0 : vis : casatoropi - enabled system.adapter.zigbee.0 : zigbee : casatoropi - disabled, port: /dev/ttyACM0 + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : casatoropi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.deconz.0 : deconz : casatoropi - enabled, port: 80 system.adapter.hue.0 : hue : casatoropi - enabled, port: 80 system.adapter.influxdb.0 : influxdb : casatoropi - enabled, port: 8086 system.adapter.node-red.0 : node-red : casatoropi - enabled, port: 1880, bind: 0.0.0.0 system.adapter.shelly.0 : shelly : casatoropi - enabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api : casatoropi - enabled, port: 8087, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json live-stable : http://iobroker.live/repo/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): latest, stable Installed ioBroker-Instances Used repositories: latest, stable Error: unknown repository is active - "latest". Known: stable, live-stable, beta Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "backitup" : 2.5.10 , installed 2.5.9 [Updatable] Adapter "deconz" : 1.3.21 , installed 1.3.21 Adapter "fb-checkpresence": 1.1.20, installed 1.1.20 Adapter "gruenbeck" : 0.0.42 , installed 0.0.42 Adapter "hue" : 3.7.1 , installed 3.7.1 Adapter "influxdb" : 3.2.0 , installed 1.9.5 [Updatable] Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "klf200" : 1.0.1 , installed 1.0.1 Adapter "lovelace" : 3.0.1 , installed 2.0.6 [Updatable] Adapter "mihome-vacuum": 3.8.8 , installed 3.8.6 [Updatable] Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "netatmo" : 2.0.5 , installed 2.0.5 Adapter "node-red" : 4.0.0 , installed 2.4.1 [Updatable] Adapter "openweathermap": 0.3.3 , installed 0.3.3 Adapter "shelly" : 6.0.0 , installed 6.0.0 Adapter "simple-api" : 2.7.2 , installed 2.6.2 [Updatable] Adapter "socketio" : 4.2.0 , installed 3.1.5 [Updatable] Adapter "tr-064" : 4.2.17 , installed 4.2.14 [Updatable] Adapter "upnp" : 1.0.21 , installed 1.0.21 Adapter "vis" : 1.4.15 , installed 1.4.4 [Updatable] Adapter "zigbee" : 1.8.10 , installed 1.6.6 [Updatable] Objects and States Please stand by - This may take a while Objects: 16473 States: 12966 *** OS-Repositories and Updates *** W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6 W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6 W: Some index files failed to download. They have been ignored, or old ones used instead. Hit:1 https://deb.nodesource.com/node_16.x buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://repos.influxdata.com/ubuntu buster InRelease Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease Get:5 https://packages.grafana.com/oss/deb stable InRelease [5984 B] Hit:6 http://httpredir.debian.org/debian buster-backports InRelease Hit:7 http://phoscon.de/apt/deconz buster InRelease Err:5 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6 Reading package lists... W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6 W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6 W: Some index files failed to download. They have been ignored, or old ones used instead. Pending Updates: 1 *** 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:80 0.0.0.0:* LISTEN 1000 17715 467/deCONZ tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 110 18375874 11664/proftpd: (acc tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 19897 862/sshd tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 20004 815/influxd tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1000 17722 467/deCONZ tcp6 0 0 :::8086 :::* LISTEN 999 25916 815/influxd tcp6 0 0 :::22 :::* LISTEN 0 19899 862/sshd tcp6 0 0 ::1:3350 :::* LISTEN 0 20685 844/xrdp-sesman tcp6 0 0 :::3000 :::* LISTEN 109 26923 812/grafana-server tcp6 0 0 :::3389 :::* LISTEN 112 19226 864/xrdp udp 0 0 0.0.0.0:56293 0.0.0.0:* 108 18473 460/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 17752 801/dhcpcd udp 0 0 0.0.0.0:51820 0.0.0.0:* 0 20738 - udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 18471 460/avahi-daemon: r udp 0 0 0.0.0.0:1900 0.0.0.0:* 1000 16203 467/deCONZ udp6 0 0 :::546 :::* 0 17301 801/dhcpcd udp6 0 0 :::51820 :::* 0 20739 - udp6 0 0 :::51894 :::* 108 18474 460/avahi-daemon: r udp6 0 0 :::5353 :::* 108 18472 460/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-01-17 21:46:59.991 - info: host.casatoropi instance system.adapter.myvbus.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-01-17 21:46:59.992 - info: host.casatoropi instance system.adapter.deconz.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-01-17 21:46:59.992 - info: host.casatoropi instance system.adapter.alexa2.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-01-17 21:47:00.063 - info: host.casatoropi instance system.adapter.upnp.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-01-17 21:47:00.063 - info: host.casatoropi instance system.adapter.netatmo.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-01-17 21:47:00.064 - info: host.casatoropi All instances are stopped. 2023-01-17 21:47:00.064 - info: host.casatoropi instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-01-17 21:47:00.065 - info: host.casatoropi All instances are stopped. 2023-01-17 21:47:00.244 - info: host.casatoropi instance system.adapter.javascript.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-01-17 21:47:00.245 - info: host.casatoropi All instances are stopped. 2023-01-17 21:47:00.288 - warn: host.casatoropi instance system.adapter.hue.0 terminated due to SIGTERM 2023-01-17 21:47:00.289 - info: host.casatoropi instance system.adapter.hue.0 terminated with code null () 2023-01-17 21:47:00.289 - info: host.casatoropi All instances are stopped. 2023-01-17 21:47:00.289 - error: host.casatoropi Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2023-01-17 21:47:00.290 - error: host.casatoropi Caught by controller[0]: Error: DB closed 2023-01-17 21:47:00.290 - error: host.casatoropi Caught by controller[0]: at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) 2023-01-17 21:47:00.290 - error: host.casatoropi Caught by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) 2023-01-17 21:47:00.290 - error: host.casatoropi Caught by controller[0]: at Object.onceWrapper (node:events:628:26) 2023-01-17 21:47:00.290 - error: host.casatoropi Caught by controller[0]: at Socket.emit (node:events:513:28) 2023-01-17 21:47:00.290 - error: host.casatoropi Caught by controller[0]: at Socket.emit (node:domain:489:12) 2023-01-17 21:47:00.291 - error: host.casatoropi Caught by controller[0]: at TCP.<anonymous> (node:net:301:12) 2023-01-17 21:47:00.291 - warn: host.casatoropi instance system.adapter.shelly.0 terminated due to SIGTERM 2023-01-17 21:47:00.291 - info: host.casatoropi instance system.adapter.shelly.0 terminated with code null () 2023-01-17 21:47:00.291 - info: host.casatoropi All instances are stopped. 2023-01-17 21:47:00.356 - info: host.casatoropi terminated
-
Buster hat das EOL überschritten, mit den ioBroker-Repositories stimmt was nicht, dann hängen zuviele Updates in der Pipeline und das Grafana-Repository muss angepasst werden.
Und auf das instabile Basiskonstrukt setzt vermutlich ein 'krummes Skript' auf.
-
@thomas-braun
klingt nach größerer Baustelle, dann versuche ich mal wieder aufs Backup zurückzugehen und dann das ganze parallel mit einer neuen SD Karte irgendwann mal demnächst sauber neu aufzubauen. Vermute mal bullseye sollte ich dann wählen, das ganze als 32 oder 64 bit? Was würdest du empfehlen? -
64Bit / Lite (ohne Desktop)