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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Linux Control v1.x.x

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

      @Scrounger,
      wäre es möglich, das du deinen Adapter mit der Funktion von meinem Adapter erweiterst ? Mein Adapter führt die Befehle aus, wenn das Objekt dazu auf true gesetzt wird. Warum sollte Zeit in 2 fast gleiche Adapter investiert werden.
      Hier der Github-Link und der Forums-Link.

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @Wal last edited by liv-in-sky

        @Wal ich denke das geht schon

        Image 2.png

        Image 1.png

        Wal 1 Reply Last reply Reply Quote 1
        • Wal
          Wal Developer @liv-in-sky last edited by

          @liv-in-sky sagte in Test Adapter Linux Control v0.x.x:

          @Wal ich denke das geht schon

          Image 2.png

          Image 1.png

          Da muß ich mal testen 🙂

          liv-in-sky 2 Replies Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @Wal last edited by

            @Wal und ich werd mir deinen mal ansehen - ist total an mir vorbei gegangen

            1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Wal last edited by

              @Wal wichtig ist, dass der befehl als button definiert wird

              Image 2.png

              Wal 1 Reply Last reply Reply Quote 0
              • Wal
                Wal Developer @liv-in-sky last edited by

                @liv-in-sky
                hmm, was gebe ich als Abrufintervall ein, ich will ja nicht pollen ?

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Wal last edited by liv-in-sky

                  @Wal verstehe ich nicht ganz

                  das interval wird gebraucht für z.b folder abfragen oder service abfragen

                  wenn du nur einen button für einen server einrichten willst - also ohne folder oder service - wird das im moment nicht funktioneren

                  wenn du die datenpunkte (tab DATENPUNKTE) alle deaktivierst, weiß ich nicht ob noch gepollt wird und ob noch die befehle ausgeführt werden - mußt du ausprobieren
                  im log siehst du, ob gepollt wird

                  Wal 1 Reply Last reply Reply Quote 0
                  • Wal
                    Wal Developer @liv-in-sky last edited by

                    @liv-in-sky sagte in Test Adapter Linux Control v0.x.x:

                    @Wal verstehe ich nicht ganz

                    das interval wird gebraucht für z.b folder abfragen oder service abfragen

                    wenn du nur einen button für einen server einrichten willst - also ohne folder oder service - wird das im moment nicht funktioneren

                    wenn du die datenpunkte (tab DATENPUNKTE) alle deaktivierst, weiß ich nicht ob noch gepollt wird und ob noch die befehle ausgeführt werden - mußt du ausprobieren
                    im log siehst du, ob gepollt wird

                    Hab alles deaktiviert und den Intervall auf 9999 gestellt, funktioniert, danke.

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

                      @Wal sagte in Test Adapter Linux Control v0.x.x:

                      Hab alles deaktiviert und den Intervall auf 9999 gestellt, funktioniert, danke.

                      Ich bau noch ein, das bei Intervall = 0 das polling deaktiviert wird.
                      Alternativ kann man auch den Adapter einmal nach der Konfirguration eines eigenen Button laufen lassen und dann den host deaktiviert setzen (bei aktiviert den haken raus)

                      @Homoran sagte in Test Adapter Linux Control v0.x.x:

                      @Scrounger sagte in Test Adapter Linux Control v0.x.x:

                      @Homoran
                      Hab noch was eingebaut, bitte teste mal die aktuelle github version

                      Habe neu installiert - upload gemacht und Instanz sicherheitshalber nochmal gestartet.

                      steht immer noch null drin

                      Hab nochmal was eingebaut, bitte teste die aktuelle version von github.
                      Dein Tinker hat keine berechtigung:

                      2020-08-15 16:08:27.315 - debug: linux-control.0 (19029) [folderSizes] Tinker (192.168.138.74:22): response stdout:
                      
                      Sorry, user pi is not allowed to execute '/usr/bin/find /opt/iobroker/iobroker-data -name * -type f -exec stat -c %Y %n -- {} ;' as root on localhost.
                      
                      Homoran liv-in-sky Stephan Schleich 4 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Scrounger last edited by

                        @Scrounger sagte in Test Adapter Linux Control v0.x.x:

                        Dein Tinker hat keine berechtigung

                        Ja!

                        1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @Scrounger last edited by

                          @Homoran

                          ist mir gerade in den sinn gekommen

                          könnte man da was über das sudoers file auf dem tinker machen ?

                          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @liv-in-sky last edited by

                            @liv-in-sky müsste mich mal schlau machen wo es steht, aber irgendwo konnte man einstellen ob bei sudo das Passwort abgefragt werden soll.
                            Das wollte ich aber eigentlich nicht ändern, im Gegenteil beim RaspiOS stört mich die fehlende Abfrage.

                            liv-in-sky 1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Homoran last edited by

                              @Homoran oder du gehst ohne passwort über rsa key file

                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @liv-in-sky last edited by Thomas Braun

                                @liv-in-sky Vielleicht geht auch was mit dem sticky bit.
                                [Edit:] Ich meinte natürlich setuid, nicht sticky bit.

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @Scrounger last edited by

                                  @Scrounger
                                  habe gestern abend mal versucht, eine verbindung über rsa key file zu erstellen. anschliessend habe ich den pfad wieder aus dem setting im adapter genommen um wieder mit passwort zu verbinden - seitdem habe ich fehler und die verbindung wird nicht wieder hergestellt - iobroker restart heute morgen brachte keine verbesserung

                                  linux-control.0	2020-08-17 08:29:10.256	error	(2065) [getConnection] error: config.privateKey does not exist at given fs path, stack: AssertionError [ERR_ASSERTION]: config.privateKey does not exist at given fs path at new AssertionError (int
                                  linux-control.0	2020-08-17 08:29:10.255	error	(2065) [getConnection] Could not establish a connection to 'Proxmox' (192.168.178.10:22)!
                                  linux-control.0	2020-08-17 08:28:10.247	error	(2065) [getConnection] error: config.privateKey does not exist at given fs path, stack: AssertionError [ERR_ASSERTION]: config.privateKey does not exist at given fs path at new AssertionError (int
                                  linux-control.0	2020-08-17 08:28:10.246	error	(2065) [getConnection] Could not establish a connection to 'Proxmox' (192.168.178.10:22)!
                                  linux-control.0	2020-08-17 08:27:10.236	error	(2065) [getConnection] error: config.privateKey does not exist at given fs path, stack: AssertionError [ERR_ASSERTION]: config.privateKey does not exist at given fs path at new AssertionError (int
                                  linux-control.0	2020-08-17 08:27:10.236	error	(2065) [getConnection] Could not establish a connection to 'Proxmox' (192.168.178.10:22)!
                                  

                                  hast du eine idee dazu ?

                                  Scrounger 1 Reply Last reply Reply Quote 0
                                  • Scrounger
                                    Scrounger Developer @liv-in-sky last edited by

                                    @liv-in-sky sagte in Test Adapter Linux Control v0.x.x:

                                    hast du eine idee dazu ?

                                    Ja da muss ich noch was abfangen. Werd im Laufe des Tages noch eine neue Version bauen.

                                    liv-in-sky 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @Scrounger last edited by

                                      @Scrounger danke und gruß

                                      Scrounger 1 Reply Last reply Reply Quote 0
                                      • Scrounger
                                        Scrounger Developer @liv-in-sky last edited by

                                        @liv-in-sky
                                        So neue Version 0.2.7 ist auf github.

                                        @Homoran
                                        Bitte die auch nochmal testen, hab da noch was eingebaut, was deinen fehler hoffentlich jetzt löst.

                                        Neuschwansteini Homoran liv-in-sky 5 Replies Last reply Reply Quote 0
                                        • Neuschwansteini
                                          Neuschwansteini @Scrounger last edited by

                                          @Scrounger 0.2.7 läuft hier, keine Auffälligkeiten.

                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Scrounger last edited by

                                            @Scrounger sagte in Test Adapter Linux Control v0.x.x:

                                            @Homoran
                                            Bitte die auch nochmal testen,

                                            Bin nicht am PC, nur mit Handy upgedatet.
                                            nuc vm hat jetzt werte, tinker nicht.

                                            muss mal später vom PC den debug Modus aktivieren und das log rauslassen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            751
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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