Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker Android (Gelöst (für mich))

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker Android (Gelöst (für mich))

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PhoenixCR last edited by PhoenixCR

      Lieber Forum. Zuerst möchte ich mich bedanken für eure gutes Arbeit rund um ioBroker.
      Ich versuche seid 3 Tagen um das ioBroker Server auf einem Android laufen zu bekommen. Android ist 7.01 sowie Root ist vorhanden und neuste Termux. Leider kommen immer verschiedene Fehlern beim der Installation vom ioBroker. Vielleicht habt ihr eine neue Anleitung dafür ? Oder vielleicht schon ein Script ?

      Vielen Dank
      Liebe Grüße aus Wertheim

      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active last edited by

        @phoenixcr
        So ganz verstehe ich nicht was da genau auf welcher Hardware installiert werden soll.

        P 1 Reply Last reply Reply Quote 0
        • P
          PhoenixCR @Thomas Braun last edited by

          @thomas-braun
          Es ist einen Android Tablett wo ich der Server im Hintergrund laufen lassen möchte...
          Qualcomm Snapdragon 210 MSM8909 4 x 1.1 GHz, Cortex-A7.
          Qualcomm Adreno 304

          Jey Cee 1 Reply Last reply Reply Quote 0
          • Jey Cee
            Jey Cee Developer @PhoenixCR last edited by

            @phoenixcr welche nodejs version hast du auf dem android laufen?

            P 1 Reply Last reply Reply Quote 0
            • P
              PhoenixCR @Jey Cee last edited by

              @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 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @PhoenixCR last edited by Thomas Braun

                @phoenixcr

                node -v
                npm -v
                

                liefert?

                P 1 Reply Last reply Reply Quote 0
                • P
                  PhoenixCR @Thomas Braun last edited by

                  @thomas-braun
                  node v14.15.4
                  Und
                  npm 6.14.13

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @PhoenixCR last edited by Thomas Braun

                    @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
                    
                    P 2 Replies Last reply Reply Quote 0
                    • P
                      PhoenixCR @Thomas Braun last edited by

                      @thomas-braun ich bin auch keine Experte. Aber es gibt in Forum eine alte Anleitung und bei mir funktioniert es nicht ...

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @PhoenixCR last edited by

                        @phoenixcr
                        So ohne weitere Informationen kann man dir auch nicht helfen. Welche Anleitung? Welche Fehlermeldungen?

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          PhoenixCR @Thomas Braun last edited by

                          @thomas-braun

                          ~ $ ln -s /usr/bin/node /usr/bin/nodejs
                          ln: failed to create symbolic link '/usr/bin/nodejs': No such file or directory

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @PhoenixCR last edited by Thomas Braun

                            @phoenixcr
                            Keine Ahnung wie Android organisiert ist.
                            Unbedingt erforderlich dürfte der Link aber eh nicht sein.

                            P 2 Replies Last reply Reply Quote 0
                            • P
                              PhoenixCR @Thomas Braun last edited by

                              @thomas-braun
                              Nach der Installation geht er nicht an

                              1 Reply Last reply Reply Quote 0
                              • P
                                PhoenixCR @Thomas Braun last edited by

                                @thomas-braun

                                https://forum.iobroker.net/topic/6673/iobroker-auf-android-laufen-lassen

                                1 Reply Last reply Reply Quote 0
                                • P
                                  PhoenixCR @Thomas Braun last edited by

                                  @thomas-braun

                                  Screenshot_20210424-160137.png

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    darkiop Most Active @PhoenixCR last edited by

                                    @PhoenixCR

                                    which node
                                    
                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      PhoenixCR @darkiop last edited by

                                      @darkiop
                                      Hi

                                      ~ $ which node
                                      /data/data/com.termux/files/usr/bin/node
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        PhoenixCR last edited by

                                        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!
                                        
                                        UncleSam 1 Reply Last reply Reply Quote 0
                                        • UncleSam
                                          UncleSam Developer @PhoenixCR last edited by

                                          @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.

                                          P 1 Reply Last reply Reply Quote 2
                                          • P
                                            PhoenixCR @UncleSam last edited by

                                            @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.
                                            👍 🙏 😊

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            630
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            20
                                            937
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo