NEWS
ioBroker Android (Gelöst (für mich))
-
@phoenixcr welche nodejs version hast du auf dem android laufen?
-
@jey-cee
Wenn ich nodejs -v angebe kommt „no command nodejs found“
Wenn ich das pkg installiere sagt er aber das es schon gibt mit der neueste Version 14.15.4-1 -
-
@thomas-braun
node v14.15.4
Und
npm 6.14.13 -
@phoenixcr Scheint mir alles okay zu sein.
Ich kenne das mit termux/Android zwar nicht, aber bei Ubuntu sollte man nodejs noch mit node verlinken.Ungefähr so:
ln -s /usr/bin/node /usr/bin/nodejs
-
@thomas-braun ich bin auch keine Experte. Aber es gibt in Forum eine alte Anleitung und bei mir funktioniert es nicht ...
-
@phoenixcr
So ohne weitere Informationen kann man dir auch nicht helfen. Welche Anleitung? Welche Fehlermeldungen? -
~ $ ln -s /usr/bin/node /usr/bin/nodejs
ln: failed to create symbolic link '/usr/bin/nodejs': No such file or directory -
@phoenixcr
Keine Ahnung wie Android organisiert ist.
Unbedingt erforderlich dürfte der Link aber eh nicht sein. -
@thomas-braun
Nach der Installation geht er nicht an -
-
-
which node
-
@darkiop
Hi~ $ which node /data/data/com.termux/files/usr/bin/node
-
Habe es über einem andere link nochmal versucht. Anbei der Ergebnis
$ curl -sLf https://iobroker.net/install.sh | bash - library: loaded Library version=2021-04-07 ========================================================================== Welcome to the ioBroker installer! Installer version: 2021-04-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== stty: 'standard input': Not a typewriter Changing npm registry to https://registry.npmjs.org Installed acl Installed sudo Installed libcap2-bin Installed gcc-c++ Installed libavahi-compat-libdnssd-dev Installed libudev-dev Installed libpam0g-dev Installed libcairo2-dev Installed libpango1.0-dev Installed libjpeg-dev Installed libgif-dev Installed librsvg2-dev Installed libpixman-1-dev Installed python-dev stty: 'standard input': Not a typewriter ========================================================================== Creating ioBroker user and directory (2/4) ========================================================================== Command useradd not found Check your spelling and try again stty: 'standard input': Not a typewriter User iobroker created Command usermod not found Check your spelling and try again stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter Command visudo not found Check your spelling and try again stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter bash: line 901: cd: /opt/iobroker: No such file or directory Directory /opt/iobroker created touch: cannot touch '/opt/iobroker/INSTALLER_INFO.txt': No such file or directory chmod: cannot access '/opt/iobroker/INSTALLER_INFO.txt': No such file or directory bash: line 907: /opt/iobroker/INSTALLER_INFO.txt: No such file or directory bash: line 908: /opt/iobroker/INSTALLER_INFO.txt: No such file or directory bash: line 909: /opt/iobroker/INSTALLER_INFO.txt: No such file or directory ========================================================================== Installing ioBroker (3/4) ========================================================================== stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for systeminformation@4.34.20: wanted {"os":"darwin,linux,win32,freebsd,openbsd,netbsd,sunos","arch":"any"} (current: {"os":"android","arch":"arm"}) npm ERR! notsup Valid OS: darwin,linux,win32,freebsd,openbsd,netbsd,sunos npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: android npm ERR! notsup Actual Arch: arm npm ERR! A complete log of this run can be found in: npm ERR! /data/data/com.termux/files/home/.npm/_logs/2021-04-25T08_01_59_323Z-debug.log ========================================================================== Finalizing installation (4/4) ========================================================================== bash: line 966: /opt/iobroker/INSTALLER_INFO.txt: No such file or directory stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter Unsupported init system, cannot enable autostart! bash: line 1256: /opt/iobroker/INSTALLER_INFO.txt: No such file or directory Fixing directory permissions... stty: 'standard input': Not a typewriter Command usermod not found Check your spelling and try again stty: 'standard input': Not a typewriter This system does not support setting default permissions. Do not use npm to manually install adapters unless you know what you are doing! main: line 767: /opt/iobroker/INSTALLER_INFO.txt: No such file or directory stty: 'standard input': Not a typewriter stty: 'standard input': Not a typewriter ========================================================================== ioBroker was installed successfully Open http://192.168.1.50:8081 in a browser and start configuring! ========================================================================== You need to re-login before doing anything else on the console!
-
@phoenixcr Um es kurz zu fassen: Android wird von ioBroker nicht unterstützt.
Die längere Version: der Installer unterstützt Android nicht, du kannst aber versuchen, ioBroker manuell zu installieren.
Aber: erwarte bitte keinen Support für sowas. Es gibt wahrscheinlich etwa zehn Leute, die das machen. Viele Adapter werden nicht laufen und es wird sich wohl kein Entwickler finden, der sich die Mühe macht für die wenigen Leute, die das Experiment wagen, etwas zu programmieren.
Fazit: wenn du es hinkriegst, freuen sich die anderen sicher über deine Erfahrungen.
Vorschlag: Kauf dir für wenige Euros einen Raspberry Pi (wenn du nicht viele Adapter hast, würde sogar ein alter 3b reichen) und du hast zahllose Leute, die dich unterstützen werden und alle Adapter werden einwandfrei funktionieren.
-
@unclesam Danke für den Hinweis. Habe jetzt ein Mini PC erworben, Ubuntu draufgestellt und da funktioniert es einwandfrei.
Vielen Dank an alle die es versucht haben.