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.
    • Scrounger
      Scrounger Developer @liv-in-sky last edited by

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

      @Scrounger

      was aber ganz nice wäre - ein update stempel (datenpunkt) , damit man weiß, wann das letzte "refresh" war - vielleicht unter info-ordner

      Habs eingebaut -> v0.3.1 von github bitte testen.

      dcdbf534-b092-4f27-aa1b-ce01e7fc5dc6-grafik.png

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

        @Scrounger klasse - vielen dank

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

          Version 0.3.2 (2020-09-07) ist raus.
          Hab nochmal bissle die performance optimiert.

          Wenn keine weiteren Fehler auftreten, dann wird das die stable version.

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

            @Scrounger

            danke - läuft seit gestern

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

              @Scrounger danke erstmal für den Adapter.
              glaube habe noch ein bug gefunden von den 3 erstelten Host´s wird nur jeweils der oberen unter objekten erstellt die anderen werden erst sichtbar wenn mann die reihnfolge der Host nach oben schiebt instanz.png
              datenpunkte.png
              log auszug

              2020-09-09 13:05:00.937 - info: linux-control.0 (4728) getting data from iobroker_debian (:22)
              2020-09-09 13:05:02.036 - info: host.iobroker instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR)
              2020-09-09 13:05:03.431 - info: linux-control.0 (4728) getting data from influx_Grafana_debian (:22)
              2020-09-09 13:05:03.446 - info: linux-control.0 (4728) successful received data from iobroker_debian (:22)
              2020-09-09 13:05:06.065 - info: linux-control.0 (4728) successful received data from influx_Grafana_debian (:22)
              2020-09-09 13:05:07.279 - info: linux-control.0 (4728) getting data from Unifi_debian (:22)
              2020-09-09 13:05:10.901 - info: linux-control.0 (4728) successful received data from Unifi_debian (:22)
              
              Scrounger 1 Reply Last reply Reply Quote 0
              • Scrounger
                Scrounger Developer @Iccube last edited by Scrounger

                @Iccube
                ok falls du meinen Antwort gelesen hast, vergiss sie - hab sie auch gelöscht 😉
                Hab den Fehler gefunden, ist in v0.3.4 gefixt.

                liv-in-sky Iccube 3 Replies Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Scrounger last edited by

                  @Scrounger

                  habe versucht neue buttons für einen raspi anzulegen - received data successful im log - aber keine neuen datenpunkte

                  hast du da was geändert ?

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

                    @Scrounger

                    habe dein neues update installiert und jetzt sind sie da ?

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

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

                      @Scrounger

                      habe dein neues update installiert und jetzt sind sie da ?

                      Aussage oder Frage 😉
                      Geht es mit der v0.3.4? sollte es eigentlich

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

                        @Scrounger ich wollte damit sagen - erst nachdem ich das update gemacht habe, sind die dp gekommen - vorher sind keine gekommen - also im moment paßt alles mit der .3.4

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

                          @liv-in-sky
                          Alles klar.
                          Hatte noch eingebaut das die Datenpunkte nur bei Neustart des Adapter ggf. erstellt bzw. gelöscht werden und gleich auch noch nen Fehler eingebaut 🙂

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

                            @Scrounger nee habe ich nicht gelesen läuft jetzt aber mit der v0.3.4

                            1 Reply Last reply Reply Quote 0
                            • L
                              lemuba last edited by lemuba

                              Ich lege mir gerade die Karten - habe den Adapter installiert, bekomme aber keine Verbindung zu meinen Hosts, hier Beispiel Weewx in einem Proxmox Container - ssh per Putty, etc. geht alles 1a - muss auf den jeweiligen Hosts/Weewx noch irgendwas installiert werden?

                              Mit RSA Schlüssel, ohne, alles ohne Erfolg...

                              linux-control.0	2020-09-11 16:02:24.347	info	(1088) [getConnection] Host 'weewx' (192.168.12.5:22) seems not to be online
                              linux-control.0	2020-09-11 16:02:24.339	info	(1088) getting data from weewx (192.168.12.5:22, Adapter start)
                              linux-control.0	2020-09-11 16:02:24.320	info	(1088) starting. Version 0.3.4 in /opt/iobroker/node_modules/iobroker.linux-control, node: v12.18.3, js-controller: 3.1.6
                              

                              weewx.JPG

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

                                @lemuba was hast du da für einen container - debian ?

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

                                  @lemuba schalte mal die instanz auf debug in der log stufe (expertenmodus aktivieren um instanzen-tab)

                                  laut code versucht er zu das device zu pingen - entweder ip falsch oder ist das sonst irgendwie geblockt

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

                                    @liv-in-sky Ja, einige Debian Buster Container - bin gerade schrittweise am umziehen auf den Esprimo Nuc...

                                    linux-control.0	2020-09-11 18:42:48.679	debug	(1419) system.adapter.admin.0: logging true
                                    linux-control.0	2020-09-11 18:42:46.407	info	(1419) [getConnection] Host 'weewx' (192.168.12.5:22) seems not to be online
                                    linux-control.0	2020-09-11 18:42:46.398	info	(1419) getting data from weewx (192.168.12.5:22, Adapter start)
                                    linux-control.0	2020-09-11 18:42:46.379	info	(1419) starting. Version 0.3.4 in /opt/iobroker/node_modules/iobroker.linux-control, node: v12.18.3, js-controller: 3.1.6
                                    linux-control.0	2020-09-11 18:42:46.319	debug	(1419) Plugin sentry Initialize Plugin (enabled=true)
                                    linux-control.0	2020-09-11 18:42:46.097	debug	(1419) statesDB connected
                                    linux-control.0	2020-09-11 18:42:46.097	debug	(1419) States connected to redis: 127.0.0.1:9000
                                    linux-control.0	2020-09-11 18:42:46.091	debug	(1419) States create System PubSub Client
                                    linux-control.0	2020-09-11 18:42:46.090	debug	(1419) States create User PubSub Client
                                    linux-control.0	2020-09-11 18:42:46.086	debug	(1419) Redis States: Use Redis connection: 127.0.0.1:9000
                                    linux-control.0	2020-09-11 18:42:46.086	debug	(1419) objectDB connected
                                    linux-control.0	2020-09-11 18:42:46.083	debug	(1419) Objects connected to redis: 127.0.0.1:9001
                                    linux-control.0	2020-09-11 18:42:46.074	debug	(1419) Objects client initialize lua scripts
                                    linux-control.0	2020-09-11 18:42:46.073	debug	(1419) Objects create User PubSub Client
                                    linux-control.0	2020-09-11 18:42:46.073	debug	(1419) Objects create System PubSub Client
                                    linux-control.0	2020-09-11 18:42:46.072	debug	(1419) Objects client ready ... initialize now
                                    linux-control.0	2020-09-11 18:42:46.054	debug	(1419) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                    

                                    ww2.JPG

                                    Da Log bringt mich noch nicht wirklich weiter...

                                    Ping aus jeder Richtung auf die Weewx IP 192.168.12.5 ohne Probleme... Wir gesagt, putty ssh Zugriff und sftp/Filezilla Alles problemlos.

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

                                      @lemuba dann warten wir mal auf @scrounger - vielleicht sieh der etwas, was uns entgeht

                                      L 1 Reply Last reply Reply Quote 1
                                      • L
                                        lemuba @liv-in-sky last edited by

                                        @liv-in-sky

                                        Ok, danke! Ich hab auch gerade nochmal auf eine andere DietiPi VM versucht, diese Debian 9 VM liegt auf meiner Diskstion, auch kein Erfolg/keine Verbindung.

                                        Warte ich ab, der Rest läuft bis Dato 1a, aber dieser Adapter wäre für einige meiner Anwendungsfälle schon echt praktisch...

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

                                          @lemuba

                                          das ist der code - wenn der ping "falsch" zurückkommt - kommt deine meldung - ganz untem im else - wenn man es aufwendig machen will, könnte man ein script mit der ping-node machen und mal schauen, was da so kommt - aber warten wir damit lieber auf scrounger - du hast aber mal einen ping vom iobroker server ( in der console) auf die devices gemacht - ob das funktioniert - nicht nur ping vom windows-client

                                          irgendwas blockiert da

                                          if (pingResult.alive) {
                                             			let obj = await this.getForeignObjectAsync('system.config');
                                             			let password = await this.getPassword(host);
                                          
                                             			let ssh = new NodeSSH();
                                          
                                             			let options = {
                                             				host: host.ip,
                                             				port: host.port,
                                             				username: host.user,
                                             				password: password,
                                             				readyTimeout: parseInt(host.timeout) * 1000 || 5000
                                             			}
                                          
                                             			if (host.rsakey && host.rsakey.length > 0) {
                                             				this.log.debug(`[getConnection] Host '${host.name}' (${host.ip}:${host.port}): using rsa key for authentification`);
                                             				options.passphrase = password;
                                             				options.privateKey = host.rsakey;
                                             			} else if (host.useSudo) {
                                             				this.log.debug(`[getConnection] Host '${host.name}' (${host.ip}:${host.port}): using sudo for authentification`);
                                             			}
                                          
                                             			return await ssh.connect(options);
                                             		} else {
                                             			this.log.info(`[getConnection] Host '${host.name}' (${host.ip}:${host.port}) seems not to be online`);
                                             			return undefined;
                                          

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

                                            @lemuba
                                            genau das was @liv-in-sky sagt mach Mal nen Ping von deinem iob Rechner auf den Host. Wenn das auch nicht gehen sollte, dann liegt es nicht am Adapter. Evtl. Firewall rule oder sowas.
                                            IP Adresse ist auch wirklich korrekt?

                                            L 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            769
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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