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.
    • 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
          • da_Woody
            da_Woody @Master-Rudi last edited by

            @master-rudi sorry, aber da setzt bei mir die logik aus. wenn du mit octoprint druckst und schaltest, warum willst du dann über vis schalten?

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

              @da_woody

              Naja ich drucke meist nach dem slicen vom PC aus und nutze die Octopi Visualisierung meist nicht.

              Mit meiner ioBroker VIS überwachs ich alles, Temperaturen, Webcam, Einschalten und Ausschalten, Druckfortschritt usw... Da auch die Webcam eingebunden ist wollte ich eben auch in der VIS das Licht einschalten können.

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

                @master-rudi ah, ok. das versteh ich jetzt schon. naja, ich druck lieber direkt mit octoprint. die tabs sind bei mir eigentlich auf allen rechnern immer öffen wenn ich drucke...

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

                  @da_woody, @Master-Rudi, @FredF, @bishop

                  Leute hier geht es um den Linux Control Adapter, nicht um CPU Auslastung, Shelly, etc 😉
                  Macht für sowas extra Themen auf, danke!

                  M B 2 Replies Last reply Reply Quote 0
                  • M
                    Master-Rudi @Scrounger last edited by

                    @scrounger

                    Richtig 🙂 Meine ursprüngliche Frage bezog sich auch auf Linux Control und ob ich damit die GPIOs einen anderen RPI schalten kann. Aber ich habe verstanden, dass das nicht geht.

                    Danke

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

                      @scrounger

                      ich habe IoBroker im Container unter Proxmox am laufen.
                      proxmox-iobroker.jpg

                      dort kann ich mich auch auf mein Raspberry pi der als Slave läuft verbinden.
                      proxmox-iobroker2.jpg

                      wenn ich nun aber den Slave in Linux-Control eintrage, bekomme ich ein.

                      linux-control.0	2021-03-28 10:23:51.132	info	(31041) [getConnection] Host 'iobroker-slave' (192.168.1.44:22) seems not to be online
                      linux-control.0	2021-03-28 10:23:51.127	info	(31041) getting data from iobroker-slave (192.168.1.44:22)
                      linux-control.0	2021-03-28 10:18:51.038	info	(31041) [getConnection] Host 'iobroker-slave' (192.168.1.44:22) seems not to be online
                      linux-control.0	2021-03-28 10:18:51.027	info	(31041) getting data from iobroker-slave (192.168.1.44:22, Adapter start)
                      linux-control.0	2021-03-28 10:18:51.004	info	(31041) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.linux-control, node: v12.21.0, js-controller: 3.2.16
                      

                      linuxcontrol-fehler.jpg

                      liegt das an Proxmox?

                      ? Scrounger 2 Replies Last reply Reply Quote 0
                      • ?
                        A Former User @bishop last edited by

                        @bishop Hi, in den Screenshot bist du als root in dem iobroker lxc unterwegs, und der Adapter ruft das ssh ja vom iobroker-account aus auf..
                        liegt dein RSA Schluessel überall da, wo er auch gebraucht wird?
                        Ansonsten versuchs mal mit Passwort..

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

                          @ilovegym
                          nur mit passwort geht es leider auch nicht.

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

                            @bishop kannst du denn grundsätzlich wenn du im Docker ein Terminal machst eine SSH Session zum Slave öffnen?

                            Ich würde mal auf Firewall und nicht geöffneten Port tippen.

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

                              @wendy2702
                              ja ich kann eine ssh Session zum Slave öffnen, dass ist ja das komische warum geht es nicht mit dem Linux-Control?
                              Firewall ist in Proxmox deaktiviert.
                              Es ist alles im internen Netzwerk.

                              wie kann ich da ansetzen nach dem Fehler zu suchen?
                              Wenn ich meine Nas einfüge bekomme ich auch keine Verbindung hin.

                              Wird wohl an IoBroker und Proxmox liegen!?!

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

                                @bishop geht SSH auch wenn du dich nicht als "root" im Container anmeldest? Was man nebenbei bemerkt eh nicht macht.

                                Hast du schon mal

                                iobroker stop
                                iobroker fix
                                iobroker start
                                

                                ausgeführt.

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

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

                                  iobroker start

                                  wie melde ich mich mit einem anderen Benutzer an?
                                  "su iobroker" ? geht nicht.

                                  proxmox-iobroker3.jpg

                                  wendy2702 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-28 10:23:51.132	info	(31041) [getConnection] Host 'iobroker-slave' (192.168.1.44:22) seems not to be online
                                    linux-control.0	2021-03-28 10:23:51.127	info	(31041) getting data from iobroker-slave (192.168.1.44:22)
                                    linux-control.0	2021-03-28 10:18:51.038	info	(31041) [getConnection] Host 'iobroker-slave' (192.168.1.44:22) seems not to be online
                                    linux-control.0	2021-03-28 10:18:51.027	info	(31041) getting data from iobroker-slave (192.168.1.44:22, Adapter start)
                                    linux-control.0	2021-03-28 10:18:51.004	info	(31041) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.linux-control, node: v12.21.0, js-controller: 3.2.16
                                    

                                    Problem ist das ping nicht geht, ist bekannt, Lösung siehe:
                                    https://github.com/Scrounger/ioBroker.linux-control#known-issues
                                    https://forum.iobroker.net/topic/35870/test-adapter-linux-control-v1-x-x/167

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

                                      @bishop Hast du nie einen User angelegt ?

                                      Laut den Known Issues von @Scrounger

                                      apt install iputils-ping
                                      
                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        bishop @wendy2702 last edited by bishop

                                        @wendy2702 @Scrounger
                                        danke, jetzt funktioniert es! 🙂

                                        user habe ich nicht angelegt.
                                        Habe ein Ubuntu container erstellt und dort iobroker installiert.

                                        1 Reply Last reply Reply Quote 0
                                        • Wal
                                          Wal Developer @Master-Rudi last edited by

                                          @master-rudi ,
                                          sicher geht das.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            mading @Wal last edited by

                                            Hallo,
                                            ich habe eine Frage: auf meinem Pi gibt es ein Shellskript dass die komplette Upgrade-Prozedur erledigt. Nun möchte ich über vis diesen Befehl ausführen. Im Linux Control Adapter habe ich den Befehl eingetragen:
                                            4910e354-0eac-4291-a4e5-df3dc4365927-image.png

                                            In den Objekten unter Commands sind nun entsprechende Datenpunkte automatisch angelegt worden:
                                            fadbca92-bbb7-423f-92bd-0248fa50bd79-image.png

                                            Ich hätte "erwartet", dass es pro Befehl ein State mit Execute, Response etc gibt. Ich könnte natürlich ein kleines Blockly schreiben, dass die Werte jeweils befüllt und dann execute auf true setzt. Ist das so gedacht oder gibt es eine elegantere Möglichkeit?

                                            Habe auf git beim linuxcontrol Adapter keine Hinweise gefunden.
                                            Danke und Grüße
                                            mading

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            939
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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