hab jetzt mal die Objekte gelöscht und den Adapter durch gestartet. Jetzt ist die json aktuell.
Und ich habe mein System noch geupdatet. Danke für eure Hilfe.
Falls es nochmal auftritt, melde ich mich.
hab jetzt mal die Objekte gelöscht und den Adapter durch gestartet. Jetzt ist die json aktuell.
Und ich habe mein System noch geupdatet. Danke für eure Hilfe.
Falls es nochmal auftritt, melde ich mich.
jetzt habe ich den Timeout erhöht und es funktioniert. Herzlichen Dank für deinen Code...
@mcu vielen Dank. Der Hintergund hat sich geändert, sonst sieht man nicht wirklich was. Aber dann warte ich einfach mal bis die Design-Einstellungen überarbeitet worden sind
@thomas-braun perfekt. Wie immer: herzlichen Dank für deinen Support
@thomas-braun genau. Ich habe den Container neu gestartet. jetzt kommt folgdendes:
ioBroker nodejs fixer 2024-10-10
Recommended nodejs-version is: 20.18.2
Checking your installation now. Please be patient!
Your current setup is:
/usr/bin/nodejs v20.18.2
/usr/bin/node v20.18.2
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.29.4
We found these nodejs versions available for installation:
nodejs:
Installed: 20.18.2-1nodesource1
Candidate: 20.18.2-1nodesource1
Version table:
*** 20.18.2-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
100 /var/lib/dpkg/status
20.18.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.18.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.17.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.16.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.15.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.15.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.14.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.13.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.13.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.12.2-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.12.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.12.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.11.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.11.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.10.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.9.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.8.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.8.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.7.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.6.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.6.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.5.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.5.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.4.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.3.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.3.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.2.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.1.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.0.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
18.19.0+dfsg-6~deb12u2 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
18.19.0+dfsg-6~deb12u1 500
500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
Nothing to do - Your installation is using the correct paths.
Nothing to do - Your version is the recommended one.
***You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands. ***
*** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation! ***
*** DO NOT use 'nodejs-update' as part of a regular update process! ***
peter@iobroker:~$
Komischerweise steht im IOB folgendes:
CPU: 14,58 %
RAM: 28 %
Betriebszeit: 0h
Verfügbar: 7.0.6
Installiert: 7.0.6
Ereignisse: ⇥40 / ↦13
Plattform: linux
Betriebssystem: linux
Architektur: x64
CPUs: 4
Geschwindigkeit: 2799 MHz
Modell: Intel(R) Celeron(R) N5105 @ 2.00GHz
RAM: 8 GB
System-Betriebszeit: 00:00:48
Node.js: v18.20.6
time: 1738393951080
timeOffset: -60
NPM: 10.8.2
Adapter-Anzahl: 559
Datenträgergröße: 13.7 GB
Freier Festplattenspeicher: 5.3 GB
Aktive Instanzen: 7
Pfad: /opt/iobroker/
Betriebszeit: 00:00:43
@thomas-braun das Angebot nehme ich an. Irgendwie scheint es jetzt geklappt zu haben, oder?
ioBroker nodejs fixer 2024-10-10
You requested to install latest version from nodejs v20 tree.
Your current setup is:
/usr/bin/nodejs v18.20.6
/usr/bin/node v18.20.6
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.29.4
We found these nodejs versions available for installation:
nodejs:
Installed: 18.20.6-1nodesource1
Candidate: 18.20.6-1nodesource1
Version table:
*** 18.20.6-1nodesource1 100
100 /var/lib/dpkg/status
18.19.0+dfsg-6~deb12u2 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
18.19.0+dfsg-6~deb12u1 500
500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
Nothing to do - Your installation is using the correct paths.
You are running nodejs v18.20.6. Do you want to install latest version from nodejs v.20 tree?
Press <y> to continue or any other key to quit
Trying to fix your installation now. Please be patient.
rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
Virtualization: lxc
Waiting for ioBroker to shut down - Give me a minute...
############################################################
Removing dfsg-nodejs
*** These repos are active on your system:
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://packagecloud.io/ookla/speedtest-cli/debian bookworm InRelease
Reading package lists... Done
*** Installing ca-certificates, curl and gnupg, just in case they are missing.
*** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
Package: nodejs
Pin: origin deb.nodesource.com
Pin-Priority: 1001
*** These repos are active after the adjustments:
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Get:6 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [10.4 kB]
Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian bookworm InRelease
Fetched 22.5 kB in 1s (18.6 kB/s)
Reading package lists... Done
Installing nodejs now!
(Reading database ... 43850 files and directories currently installed.)
Preparing to unpack .../nodejs_20.18.2-1nodesource1_amd64.deb ...
Detected old npm client, removing...
Unpacking nodejs (20.18.2-1nodesource1) over (18.20.6-1nodesource1) ...
Setting up nodejs (20.18.2-1nodesource1) ...
Processing triggers for man-db (2.11.2-2) ...
Installing nodejs now!
*** You need to manually restart your container/virtual machine now! ***
We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
peter@iobroker:~$
@thomas-braun OK, immerhin kein Handy Foto
Nächstes Mal kommt wieder Code
bei mir kommt leider ne Fehlermeldung:
Hat jemand eine Idee, wie ich auf nodejs 20 komme?
@mickym kannst du mir bitte ein kleines bisschen genauer erklären, wie man Gerät sperren kann? Geht das mit dem tr064 Adapter im iob oder wird das über ein Kommando abgeschickt?
Danke dir schon mal
jetzt habe ich den Timeout erhöht und es funktioniert. Herzlichen Dank für deinen Code...
javascript.0
2024-08-19 17:57:49.999 error script.js.BTC.BTC_Kurse: timeout of 1000ms exceeded
javascript.0
2024-08-19 17:57:49.998 error script.js.BTC.BTC_Kurse: httpGet(url=https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest?symbol=BTC&convert=USD, error=timeout of 1000ms exceeded)
Hallo @haus-automatisierung
ich habe deinen Code ausprobiert. Ich habe ihn in ein JS Script kopiert und die Datenpunkte unter 0_userdata.0 angelegt.
leider werden diese nicht befüllt. Hast du eine Idee, was ich falsch mache?
heute ist es leider wieder aufgetreten. Objektbaum löschen hilft