Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Linux Control v1.x.x

    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

    Test Adapter Linux Control v1.x.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bishop @Thomas Braun last edited by

      @thomas-braun sagte in Test Adapter Linux Control v1.x.x:

      @bishop

      sudo apt update
      sudo apt dist-upgrade
      sudo reboot
      
      pi@raspberrypi:~ $ sudo apt update
      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease
      Hit:3 http://packages.microsoft.com/repos/code stable InRelease
      Hit:4 https://www.pivccu.de/piVCCU stable InRelease
      Hit:5 https://deb.nodesource.com/node_10.x buster InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      All packages are up to date.
      pi@raspberrypi:~ $ sudo apt dist-upgrade
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Calculating upgrade... Done
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      pi@raspberrypi:~ $
      
      B 1 Reply Last reply Reply Quote 0
      • B
        bishop @bishop last edited by bishop

        @Scrounger

        ist es möglich auch die synology nas zu integrieren?
        Habe sie mal mit im Adapter konfiguriert aber leider bleibt nur ein INFO Datenpunkt mit der Ip und das sie Offline ist, ist aber natürlich online SSH ist dort auch konfiguriert ich bekomme eine Verbindung mit Putty hin.
        Kann das sein weil es keine richtige Distribution ist?

        linux-control.jpg

        linux-control.0	2021-03-13 21:27:33.633	error	at processTimers (internal/timers.js:497:7)
        linux-control.0	2021-03-13 21:27:33.633	error	at listOnTimeout (internal/timers.js:554:17)
        linux-control.0	2021-03-13 21:27:33.633	error	at Timeout._onTimeout (/opt/iobroker/node_modules/ssh2/lib/client.js:695:19)
        linux-control.0	2021-03-13 21:27:33.633	error	(26597) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
        linux-control.0	2021-03-13 21:27:33.631	error	(26597) [getConnection] Could not establish a connection to 'Diskstation218' (192.168.1.4:22)!
        linux-control.0	2021-03-13 21:27:28.341	error	at processTimers (internal/timers.js:497:7)
        linux-control.0	2021-03-13 21:27:28.341	error	at listOnTimeout (internal/timers.js:554:17)
        linux-control.0	2021-03-13 21:27:28.341	error	at Timeout._onTimeout (/opt/iobroker/node_modules/ssh2/lib/client.js:695:19)
        linux-control.0	2021-03-13 21:27:28.341	error	(26597) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
        linux-control.0	2021-03-13 21:27:28.275	error	(26597) [getConnection] Could not establish a connection to 'Diskstation212' (192.168.1.104:22)!
        
        Scrounger 1 Reply Last reply Reply Quote 0
        • da_Woody
          da_Woody last edited by

          @bishop hmm, hab gerade meine 2 DS reingehängt, da kommt wirklich nicht viel rum. ausser bei der grossen mehr...
          wenn du mehr infos brauchst, dann nimm den synology adapter...

          B 1 Reply Last reply Reply Quote 0
          • B
            bishop @da_Woody last edited by bishop

            @da_woody
            ja das habe ich auch schon probiert, wollte das ohne synology adapter versuchen 🙂

            werde das ganze mit nem rsa schlüssel versuchen vielleicht geht es damit besser!

            da_Woody 1 Reply Last reply Reply Quote 0
            • da_Woody
              da_Woody @bishop last edited by

              @bishop tjo, schuss in den ofen... 🙂 komisch ja auch, daß bei der 218+ nichtmal control kommt...

              B 1 Reply Last reply Reply Quote 0
              • B
                bishop @da_Woody last edited by

                @da_woody

                liegt glaube ich am handshake.

                1 Reply Last reply Reply Quote 0
                • Scrounger
                  Scrounger Developer @bishop last edited by

                  @bishop sagte in Test Adapter Linux Control v1.x.x:

                  linux-control.0	2021-03-13 21:27:28.341	error	(26597) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
                  linux-control.0	2021-03-13 21:27:28.275	error	(26597) [getConnection] Could not establish a connection to 'Diskstation212' (192.168.1.104:22)!
                  

                  Hast du den timeout mal erhöht?

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bishop @Scrounger last edited by

                    @scrounger

                    ja habe ich

                    linux-control.0	2021-03-14 13:25:03.940	error	at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5)
                    linux-control.0	2021-03-14 13:25:03.940	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:82:5)
                    linux-control.0	2021-03-14 13:25:03.940	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:485:21)
                    linux-control.0	2021-03-14 13:25:03.940	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                    linux-control.0	2021-03-14 13:25:03.940	error	at runMicrotasks (<anonymous>)
                    linux-control.0	2021-03-14 13:25:03.940	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:874:26)
                    linux-control.0	2021-03-14 13:25:03.940	error	(23028) [servicesInfo] Diskstation218 (192.168.1.4:22): response error: sh: systemctl: command not found, stack: ResponseError: [servicesInfo] Diskstation218 (192.168.1.4:22): sh: systemctl: command
                    linux-control.0	2021-03-14 13:25:03.551	error	at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5)
                    linux-control.0	2021-03-14 13:25:03.551	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:81:5)
                    linux-control.0	2021-03-14 13:25:03.551	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:5)
                    linux-control.0	2021-03-14 13:25:03.551	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:706:21)
                    linux-control.0	2021-03-14 13:25:03.551	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                    linux-control.0	2021-03-14 13:25:03.551	error	at runMicrotasks (<anonymous>)
                    linux-control.0	2021-03-14 13:25:03.551	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:874:26)
                    linux-control.0	2021-03-14 13:25:03.551	error	(23028) [cmdAptUpdate] Diskstation218 (192.168.1.4:22): response error: sh: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] Diskstation218 (192.168.1.4:22): sh: apt-get: command not
                    linux-control.0	2021-03-14 13:25:03.533	error	at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5)
                    linux-control.0	2021-03-14 13:25:03.533	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:80:5)
                    linux-control.0	2021-03-14 13:25:03.533	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:553:21)
                    linux-control.0	2021-03-14 13:25:03.533	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                    linux-control.0	2021-03-14 13:25:03.533	error	at runMicrotasks (<anonymous>)
                    linux-control.0	2021-03-14 13:25:03.533	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:874:26)
                    linux-control.0	2021-03-14 13:25:03.533	error	(23028) [distributionInfo] Diskstation218 (192.168.1.4:22): response error: cat: /etc/os-release: No such file or directory, stack: ResponseError: [distributionInfo] Diskstation218 (192.168.1.4:22):
                    host.iobroker	2021-03-14 13:24:27.723	info	instance system.adapter.linux-control.0 started with pid 23028
                    

                    Der Synology Adapter ist im Prinzip möglich nur der stresst meine Nas ziemlich, wenn der Adapter läuft habe ich mindestens 30% mehr CPU auslastung!

                    Neuschwansteini Scrounger 2 Replies Last reply Reply Quote 0
                    • Neuschwansteini
                      Neuschwansteini @bishop last edited by

                      @bishop dann stimmt was nicht mit der config oder system, der Synology Adapter braucht nicht viel Ressourcen.
                      Welche Version hast du denn installiert?

                      1 Reply Last reply Reply Quote 0
                      • Scrounger
                        Scrounger Developer @bishop last edited by Scrounger

                        @bishop

                        Jetzt klappt doch die Verbindung.
                        Musst halt alle Datenpunkte wo er nix findet (Fehlemeldung im Log) auf die Blacklist schieben.
                        Meine Befehle solltest du dann nutzen können.

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          bishop @Scrounger last edited by

                          @scrounger
                          Ok teste ich danke.

                          @ilovegym
                          Nicht das iobroker System sondern die Nas!

                          da_Woody 1 Reply Last reply Reply Quote 0
                          • da_Woody
                            da_Woody @bishop last edited by

                            @bishop hmm, mein privat-NAS dümpelt bei 6% rum, die grosse mit dem ftp-server, trotz 3 leutz aktiv drauf, bei 40%.
                            wie sollte der adapter das NAS beanspruchen?

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              bishop @da_Woody last edited by bishop

                              @da_woody
                              hm..
                              hier mal ein Auszug aus meiner Ds218+ CPU Auslastung, Ram sind 8GB zusätzlich verbaut also insgesamt 10GB.
                              IoBroker läuft im Docker.

                              Synology_adapter.jpg

                              kein Plan warum das so eine Auswirkung auf meine DS hat... einfach zu schwach auf der Brust???

                              da_Woody 1 Reply Last reply Reply Quote 0
                              • da_Woody
                                da_Woody @bishop last edited by

                                @bishop die 218+ sollte das eigentlich schaffen. is ja meine private auch. wie sieht denn die benutzerauslastung aus, wenn adapter aus? die 67%...
                                b8a5cc30-a68e-414b-800c-ffcbd24c38fd-grafik.png
                                aber ok, bei mir lööpt da kein ioBroker oder sonstige Docker dingens...

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  Master-Rudi @da_Woody last edited by

                                  Kann ich mit dem Adapter denn auch die GPIOs eines anderen Raspberry steuern?

                                  Ich habe an meinem Octoprint Raspberry ein Relais für das Licht, das würde ich gerne in meiner VIS ein und ausschalten wollen.

                                  Danke!

                                  FredF 1 Reply Last reply Reply Quote 0
                                  • FredF
                                    FredF Most Active Forum Testing @Master-Rudi last edited by

                                    @master-rudi sagte in Test Adapter Linux Control v1.x.x:

                                    Kann ich mit dem Adapter denn auch die GPIOs eines anderen Raspberry steuern?

                                    Nein, dafür gibt es den RPI Adapter
                                    c2d74d2f-f455-4df0-9059-86fdfb5b7511-grafik.png

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Master-Rudi @FredF last edited by Master-Rudi

                                      @fredf
                                      Aber ich möchte die GPIOs von einem anderem Raspberry steuern auf dem kein ioBroker ist. Also ich habe einen Raspi mit iobroker als Zentrale und einen mit octoprint für den Drucker. Und ich würde gerne das Licht über die VIS einschalten.
                                      Ich habe den octoprint nicht als Slave im Multihost, weil da eben nur octoprint drauf ist.

                                      Wie kann ich denn mit dem RPI Adapter die Werte eines anderen Raspi auslesen bzw. dessen GPIOs steuern?? Seh da nur den auf den mein iobroker ist.

                                      Danke

                                      da_Woody FredF 2 Replies Last reply Reply Quote 0
                                      • da_Woody
                                        da_Woody @Master-Rudi last edited by

                                        @master-rudi na dann häng dein licht an einen shelly1 z.b.

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Master-Rudi @da_Woody last edited by

                                          @da_woody :

                                          Klar, sicher möglich. Hab einige Shellys verbaut und normale Sonoffs, aber naja, wieder ein Gerät mehr im WLAN, wieder ein Gerät mehr zu überwachen und am Strom verbrauchen... Da finde ich meine Lösungen mit Relais am RPI charmanter. Es funktioniert ja auch schon. Ich kann das Licht mit "GPIO Control" in Octoprint steuern und hab es auch schon angeklemmt.

                                          Nur eben nicht "remote" über meine VIS.

                                          geht das mit JS?

                                          da_Woody 1 Reply Last reply Reply Quote 0
                                          • FredF
                                            FredF Most Active Forum Testing @Master-Rudi last edited by

                                            @master-rudi Ok, verstehe. Deine Frage war ob es mit Linux control geht.
                                            Was hält dich davon ab Multihost zu machen?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            826
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter control hardware linux steuern
                                            64
                                            656
                                            128649
                                            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