Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter Linux Control v1.x.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

Test Adapter Linux Control v1.x.x

Geplant Angeheftet Gesperrt Verschoben Tester
adaptercontrolhardwarelinuxsteuern
675 Beiträge 70 Kommentatoren 171.8k Aufrufe 64 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • HomoranH Homoran

    @Thomas-Braun sagte in Test Adapter Linux Control v0.x.x:

    Aber eigentlich wundert es mich, dass das nicht mit sudo geht.

    da scheint dann auch der Wurm mit den Rechten dran zu hängen

    über root gesetzt und über pi abgefragt:

    -rwxr-xr-x 1 root root 158456 Nov  5  2017 /usr/bin/find
    
    
    HomoranH Offline
    HomoranH Offline
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von Homoran
    #82

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

    da scheint dann auch der Wurm mit den Rechten dran zu hängen

    @Thomas-Braun
    @Scrounger

    Hier das aktuelle debug-log vom Tinker (leider rückwärts!)

    linux-control.0	2020-08-20 14:00:38.452	info	(8147) successful received data from Tinker (192.168.138.74:22)
    linux-control.0	2020-08-20 14:00:38.328	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: mem, description: ): response stdout: 2009;307;1049
    linux-control.0	2020-08-20 14:00:38.281	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: mem, description: ): send command: 'free -m | awk ' NR == 2 {print $2";"$3";"$4}''
    linux-control.0	2020-08-20 14:00:35.592	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: cpu-temp, description: ): response stdout: 50
    linux-control.0	2020-08-20 14:00:35.548	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: cpu-temp, description: ): send command: 'cat /sys/devices/virtual/thermal/thermal_zone0/temp | awk '{print substr($1, length($0)-5,3)}''
    linux-control.0	2020-08-20 14:00:35.540	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: ip, description: ): response stdout: 192.168.138.74
    linux-control.0	2020-08-20 14:00:35.491	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: ip, description: ): send command: 'hostname -I | cut -d' ' -f1'
    linux-control.0	2020-08-20 14:00:35.484	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: root, description: ): response stdout: 5
    linux-control.0	2020-08-20 14:00:35.439	debug	(8147) [userCommand] Tinker (192.168.138.74:22, id: root, description: ): send command: 'df / | grep / | awk '{ print $5}' | sed 's/%//g''
    linux-control.0	2020-08-20 14:00:35.393	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): Tinker.folders.iobroker.lastChange: NaN ->
    linux-control.0	2020-08-20 14:00:35.389	debug	(8147) [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 r
    linux-control.0	2020-08-20 14:00:35.309	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): send command: 'tmp=$(sudo -S find /opt/iobroker/iobroker-data -name "*" -type f -exec stat -c "%Y %n" -- {} \; | sort -nr | head -n1 | awk '{print $2}'
    linux-control.0	2020-08-20 14:00:35.259	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): Tinker.folders.iobroker.files: NaN Dateien
    linux-control.0	2020-08-20 14:00:35.256	debug	(8147) [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 *' as root on localhost. 0
    linux-control.0	2020-08-20 14:00:35.148	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): send command: 'sudo -S find /opt/iobroker/iobroker-data -name "*" | wc -l'
    linux-control.0	2020-08-20 14:00:35.103	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): Tinker.folders.iobroker.size: NaN MB
    linux-control.0	2020-08-20 14:00:35.099	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): response stdout: Sorry, user pi is not allowed to execute '/usr/bin/du -sk /opt/iobroker/iobroker-data' as root on localhost.
    linux-control.0	2020-08-20 14:00:34.929	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): send command: 'sudo -S du -sk /opt/iobroker/iobroker-data | awk '{ print $1 /1024 }''
    linux-control.0	2020-08-20 14:00:34.916	debug	(8147) [needrestart] Tinker (192.168.138.74:22): no datapoints selected -> removing existing datapoints
    linux-control.0	2020-08-20 14:00:33.615	debug	(8147) [servicesInfo] Tinker (192.168.138.74:22): csvToJson result: [{"id":"alsa-restore.service","load":"loaded","active":"active","running":"exited","description":"Save/Restore Sound Card State"},{"
    linux-control.0	2020-08-20 14:00:33.604	debug	(8147) [servicesInfo] Tinker (192.168.138.74:22): response stdout: alsa-restore.service,loaded,active,exited, Save/Restore Sound Card State alsa-state.service,loaded,inactive,dead, Manage Sound Card S
    linux-control.0	2020-08-20 14:00:33.579	debug	(8147) [servicesInfo] Tinker (192.168.138.74:22): send command: 'systemctl list-units --type service --all --no-legend | awk '{out=""; for(i=5;i<=NF;i++){out=out" "$i}; print $1","$2","$3","$4","out}'
    linux-control.0	2020-08-20 14:00:33.561	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): Tinker.updates.lastUpdate: Fallback method: 1597917525000 -> 20.08.2020 11:58
    linux-control.0	2020-08-20 14:00:33.560	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): response stdout: 2020-08-20 11:58:45
    linux-control.0	2020-08-20 14:00:33.514	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): send command: 'grep installed /var/log/dpkg.log | tail -1 | cut -c1-19'
    linux-control.0	2020-08-20 14:00:33.513	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): response stdout:
    linux-control.0	2020-08-20 14:00:33.457	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): send command: 'dpkg-query -f '${db-fsys:Last-Modified} ' -W | sort -nr | head -1'
    linux-control.0	2020-08-20 14:00:33.403	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): Tinker.updates.newPackagesList: [{"name":"bsdutils","installedVersion":"1:2.31.1-0.4ubuntu3.5","availableVersion":"1:2.31.1-0.4ubuntu3.6"},{"name":"li
    linux-control.0	2020-08-20 14:00:33.354	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): Tinker.updates.upgradable: true
    linux-control.0	2020-08-20 14:00:33.345	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): Tinker.updates.newPackages: 118
    linux-control.0	2020-08-20 14:00:33.339	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): response stdout: bsdutils,1:2.31.1-0.4ubuntu3.5,1:2.31.1-0.4ubuntu3.6 libuuid1,2.31.1-0.4ubuntu3.5,2.31.1-0.4ubuntu3.6 libblkid1,2.31.1-0.4ubuntu3.5,2
    linux-control.0	2020-08-20 14:00:27.093	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): send command: 'apt-get --just-print upgrade 2>&1 | perl -ne 'if (/Inst\s([\w,\-,\d,\.,~,:,\+]+)\s\[([\w,\-,\d,\.,~,:,\+]+)\]\s\(([\w,\-,\d,\.,~,:,\+]+
    linux-control.0	2020-08-20 14:00:27.092	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): response stdout: Sorry, user pi is not allowed to execute '/usr/bin/apt-get update' as root on localhost.
    linux-control.0	2020-08-20 14:00:26.925	debug	(8147) [cmdAptUpdate] Tinker (192.168.138.74:22): send command: 'sudo -S apt-get update'
    linux-control.0	2020-08-20 14:00:26.845	debug	(8147) [distributionInfo] Tinker (192.168.138.74:22): csvToJson result: [{"prop":"NAME","val":"Ubuntu"},{"prop":"VERSION","val":"18.04.5 LTS (Bionic Beaver)"},{"prop":"ID","val":"ubuntu"},{"prop":"ID_
    linux-control.0	2020-08-20 14:00:26.840	debug	(8147) [distributionInfo] Tinker (192.168.138.74:22): response stdout: NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_ID="18.04"
    linux-control.0	2020-08-20 14:00:26.622	debug	(8147) [distributionInfo] Tinker (192.168.138.74:22): send command: 'cat /etc/os-release'
    linux-control.0	2020-08-20 14:00:26.503	debug	(8147) [getConnection] Host 'Tinker' (192.168.138.74:22): using sudo for authentification
    linux-control.0	2020-08-20 14:00:26.471	info	(8147) getting data from Tinker (192.168.138.74:22)
    

    es bleibt leider bei:

    
    linux-control.0	2020-08-20 14:00:35.099	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): response stdout: Sorry, user pi is not allowed to execute '/usr/bin/du -sk /opt/iobroker/iobroker-data' as root on localhost.
    

    nach dem Befehl:

    linux-control.0	2020-08-20 14:00:34.929	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): send command: 'sudo -S du -sk /opt/iobroker/iobroker-data | awk '{ print $1 /1024 }''
    

    entsprechend kommt dabei dann kein Wert heraus:

    linux-control.0	2020-08-20 14:00:35.103	debug	(8147) [folderSizes] Tinker (192.168.138.74:22): Tinker.folders.iobroker.size: NaN MB
    

    EDIT:
    Der Befehl unter "Eigene Befehle"
    Tinker_Ordner.png

    bringt jedoch ein Ergebnis:
    TinkerUpdates.png

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Antwort Letzte Antwort
    0
    • HomoranH Offline
      HomoranH Offline
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von Homoran
      #83

      @Thomas-Braun
      @Scrounger

      Habe noch "ein wenig" rumgespielt.

      Auch wenn ich auf der Konsole als user den Befehl sudo -S du -sk /opt/iobroker/iobroker-data | awk '{ print $1 /1024 }' ausführen will, kommt der Hinweis, dass der User nicht berechtigt ist....

      Führe ich ihn jedoch ohne sudo -S aus klappt es :scream:

      Habe dann in der Konfiguration der Instanz, den Haken bei "verwende sudo" herausgenommen.
      Dann fliegen dem Adapter die richtig bösen Fehlermeldungen schon vorher um die Ohren, weil die anderen Befehle nicht abgearbeitet werden können :cry:

      Aus lauter Verzweiflung habe ich dann das System noch mit apt update && apt upgrade auf den neuesten Stand gebracht - ohne Erfolg

      Werde jetzt mal der Instanz den Zugriff als root erlauben :rolling_on_the_floor_laughing:

      EDIT:
      Als Root klappt es:
      Tinker_als_root.png

      Ist aber für mich kein Dauerzustand
      PS der Tinker wurde umbenannt -> MQTT-Tinker

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      ScroungerS 1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @Thomas-Braun
        @Scrounger

        Habe noch "ein wenig" rumgespielt.

        Auch wenn ich auf der Konsole als user den Befehl sudo -S du -sk /opt/iobroker/iobroker-data | awk '{ print $1 /1024 }' ausführen will, kommt der Hinweis, dass der User nicht berechtigt ist....

        Führe ich ihn jedoch ohne sudo -S aus klappt es :scream:

        Habe dann in der Konfiguration der Instanz, den Haken bei "verwende sudo" herausgenommen.
        Dann fliegen dem Adapter die richtig bösen Fehlermeldungen schon vorher um die Ohren, weil die anderen Befehle nicht abgearbeitet werden können :cry:

        Aus lauter Verzweiflung habe ich dann das System noch mit apt update && apt upgrade auf den neuesten Stand gebracht - ohne Erfolg

        Werde jetzt mal der Instanz den Zugriff als root erlauben :rolling_on_the_floor_laughing:

        EDIT:
        Als Root klappt es:
        Tinker_als_root.png

        Ist aber für mich kein Dauerzustand
        PS der Tinker wurde umbenannt -> MQTT-Tinker

        ScroungerS Offline
        ScroungerS Offline
        Scrounger
        Developer
        schrieb am zuletzt editiert von
        #84

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

        Auch wenn ich auf der Konsole als user den Befehl sudo -S du -sk /opt/iobroker/iobroker-data | awk '{ print $1 /1024 }' ausführen will, kommt der Hinweis, dass der User nicht berechtigt ist....

        Führe ich ihn jedoch ohne sudo -S aus klappt es :scream:

        Habe dann in der Konfiguration der Instanz, den Haken bei "verwende sudo" herausgenommen.
        Dann fliegen dem Adapter die richtig bösen Fehlermeldungen schon vorher um die Ohren, weil die anderen Befehle nicht abgearbeitet werden können :cry:

        Mhh da bin ich dann auch ratlos. Dann mach die Folder abfragen als eigene Befehle, kannst hier ja die gleiche Strutkur verwenden. Oder - siehe unten ;-)

        EDIT:
        Als Root klappt es:
        Tinker_als_root.png

        Ist aber für mich kein Dauerzustand
        PS der Tinker wurde umbenannt -> MQTT-Tinker

        Dann geh doch per root mit rsa key drauf, das ist auch ausreichend sicher, solange du den key nicht weiter gibts. Eine gute Anleitung wie man das einrichtet findest du hier:
        https://www.howtoforge.de/anleitung/key-basierte-ssh-logins-mit-putty/

        <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

        <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

        HomoranH 1 Antwort Letzte Antwort
        0
        • ScroungerS Scrounger

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

          Auch wenn ich auf der Konsole als user den Befehl sudo -S du -sk /opt/iobroker/iobroker-data | awk '{ print $1 /1024 }' ausführen will, kommt der Hinweis, dass der User nicht berechtigt ist....

          Führe ich ihn jedoch ohne sudo -S aus klappt es :scream:

          Habe dann in der Konfiguration der Instanz, den Haken bei "verwende sudo" herausgenommen.
          Dann fliegen dem Adapter die richtig bösen Fehlermeldungen schon vorher um die Ohren, weil die anderen Befehle nicht abgearbeitet werden können :cry:

          Mhh da bin ich dann auch ratlos. Dann mach die Folder abfragen als eigene Befehle, kannst hier ja die gleiche Strutkur verwenden. Oder - siehe unten ;-)

          EDIT:
          Als Root klappt es:
          Tinker_als_root.png

          Ist aber für mich kein Dauerzustand
          PS der Tinker wurde umbenannt -> MQTT-Tinker

          Dann geh doch per root mit rsa key drauf, das ist auch ausreichend sicher, solange du den key nicht weiter gibts. Eine gute Anleitung wie man das einrichtet findest du hier:
          https://www.howtoforge.de/anleitung/key-basierte-ssh-logins-mit-putty/

          HomoranH Offline
          HomoranH Offline
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #85

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

          Eine gute Anleitung wie man das einrichtet findest du hier:

          Danke!

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Antwort Letzte Antwort
          0
          • HomoranH Offline
            HomoranH Offline
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von Homoran
            #86

            Bitte nicht hauen, ich habe mal das nächste unmögliche Ding losgetreten.

            Ich hatte erwartet, dass es da "Probleme" geben wird und da @Scrounger zu Recht nur Debian und Ubuntu LTS Versionen unterstützen will, ist dies nur eine kleine Randbemerkung über das was mal jemand -in diesem Falle ich- mit dem Adapter probiert hat:

            Traumkiste.png

            Im letzten Block werden einige Daten von der Dreambox geholt.
            Wie zu erwarten hagelte es Fehler im log, wegen der anderen Befehle, die das OS der DM920 nicht beherrschte.

            Aber die Infos sind auch schon mal brauchbar.

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            ScroungerS 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              Bitte nicht hauen, ich habe mal das nächste unmögliche Ding losgetreten.

              Ich hatte erwartet, dass es da "Probleme" geben wird und da @Scrounger zu Recht nur Debian und Ubuntu LTS Versionen unterstützen will, ist dies nur eine kleine Randbemerkung über das was mal jemand -in diesem Falle ich- mit dem Adapter probiert hat:

              Traumkiste.png

              Im letzten Block werden einige Daten von der Dreambox geholt.
              Wie zu erwarten hagelte es Fehler im log, wegen der anderen Befehle, die das OS der DM920 nicht beherrschte.

              Aber die Infos sind auch schon mal brauchbar.

              ScroungerS Offline
              ScroungerS Offline
              Scrounger
              Developer
              schrieb am zuletzt editiert von Scrounger
              #87

              @Homoran
              Hehe nice :grin: für meine vu gibt's zum Glück schon nen Adapter.
              Hab sowas mit meinem Unifi UDMPro - UbiOs gemacht und lese damit die vpn l2tp Verbindungen aus.

              Tipp: Allen Datenpunkte des Host (DreamBox) auf die Blacklist ziehen, dann hast auch keine Fehlermeldung mehr.

              <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

              <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

              liv-in-skyL 1 Antwort Letzte Antwort
              0
              • liv-in-skyL liv-in-sky

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

                Dannbleiben wir hier bei dem Thema!
                müssen die alten states gelöscht werden?
                der neue state heisst is-online, die alten isOnline!

                adpter stop - den linux-control.0 ordner löschen - adapter start

                und script stoppen

                ChaotC Offline
                ChaotC Offline
                Chaot
                schrieb am zuletzt editiert von
                #88

                @liv-in-sky
                Ich habe eine Fehlermeldung auf einem Container:

                linux-control.0	2020-08-20 20:44:22.050	info	(11390) successful received data from Jukebox (192.168.8.57:22)
                linux-control.0	2020-08-20 20:44:21.856	error	(11390) [cmdAptUpdate] Jukebox (192.168.8.57:22): error: Cannot read property 'toString' of undefined, stack: TypeError: Cannot read property 'toString' of undefined at Converter.fromString (/opt/
                linux-control.0	2020-08-20 20:44:21.814	error	(11390) [cmdAptUpdate] Jukebox (192.168.8.57:22): response error: [cmdAptUpdate] Jukebox (192.168.8.57:22): perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:
                linux-control.0	2020-08-20 20:44:04.997	info	(11390) getting data from Jukebox (192.168.8.57:22)
                

                System ist ubuntu 20.04

                ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • ChaotC Chaot

                  @liv-in-sky
                  Ich habe eine Fehlermeldung auf einem Container:

                  linux-control.0	2020-08-20 20:44:22.050	info	(11390) successful received data from Jukebox (192.168.8.57:22)
                  linux-control.0	2020-08-20 20:44:21.856	error	(11390) [cmdAptUpdate] Jukebox (192.168.8.57:22): error: Cannot read property 'toString' of undefined, stack: TypeError: Cannot read property 'toString' of undefined at Converter.fromString (/opt/
                  linux-control.0	2020-08-20 20:44:21.814	error	(11390) [cmdAptUpdate] Jukebox (192.168.8.57:22): response error: [cmdAptUpdate] Jukebox (192.168.8.57:22): perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:
                  linux-control.0	2020-08-20 20:44:04.997	info	(11390) getting data from Jukebox (192.168.8.57:22)
                  

                  System ist ubuntu 20.04

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #89

                  @Chaot locale gesetzt?

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  ChaotC 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @Chaot locale gesetzt?

                    ChaotC Offline
                    ChaotC Offline
                    Chaot
                    schrieb am zuletzt editiert von Chaot
                    #90

                    @Thomas-Braun ???
                    Sorry, dazu habe ich von Linux viel zu wenig Ahnung.
                    Was ist das und wie geht das?

                    Ok, habe ich auf de_DE geändert. Scheint zu klappen.

                    DANKE

                    ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                    1 Antwort Letzte Antwort
                    0
                    • ScroungerS Scrounger

                      @Homoran
                      Hehe nice :grin: für meine vu gibt's zum Glück schon nen Adapter.
                      Hab sowas mit meinem Unifi UDMPro - UbiOs gemacht und lese damit die vpn l2tp Verbindungen aus.

                      Tipp: Allen Datenpunkte des Host (DreamBox) auf die Blacklist ziehen, dann hast auch keine Fehlermeldung mehr.

                      liv-in-skyL Offline
                      liv-in-skyL Offline
                      liv-in-sky
                      schrieb am zuletzt editiert von
                      #91

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

                      @Homoran
                      Hehe nice :grin: für meine vu gibt's zum Glück schon nen Adapter.
                      Hab sowas mit meinem Unifi UDMPro - UbiOs gemacht und lese damit die vpn l2tp Verbindungen aus.

                      Tipp: Allen Datenpunkte des Host (DreamBox) auf die Blacklist ziehen, dann hast auch keine Fehlermeldung mehr.

                      wollte nur mal fragen - absolut keine prio - habe meine axhd60 ( enigma-receiver) eingebunden

                      Image 1.png

                      habe alle datenpunkte entfernt außer ip, is-online, restart und shutdown. 2 befehle sind noch drin - werden auch angezeigt

                      Image 2.png

                      ich bekomme leider fehler, obwohl ich die daten dazu nicht abfrage (systemctl, os release)

                      
                      linux-control.0	2020-08-21 07:21:32.593	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:21:32.593	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:21:32.593	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                      linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                      linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                      linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                      linux-control.0	2020-08-21 07:21:32.578	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:21:32.578	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:21:32.578	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                      linux-control.0	2020-08-21 07:21:32.565	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                      linux-control.0	2020-08-21 07:21:32.565	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                      linux-control.0	2020-08-21 07:21:32.565	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:21:32.565	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:21:32.565	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:21:32.565	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                      linux-control.0	2020-08-21 07:20:32.431	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:72:5)
                      linux-control.0	2020-08-21 07:20:32.431	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:392:21)
                      linux-control.0	2020-08-21 07:20:32.431	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:20:32.431	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:20:32.431	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:20:32.431	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                      linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                      linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                      linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                      linux-control.0	2020-08-21 07:20:32.399	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:20:32.399	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:20:32.399	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                      linux-control.0	2020-08-21 07:20:32.386	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                      linux-control.0	2020-08-21 07:20:32.386	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                      linux-control.0	2020-08-21 07:20:32.386	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:20:32.386	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:20:32.386	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:20:32.386	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                      linux-control.0	2020-08-21 07:19:32.061	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:72:5)
                      linux-control.0	2020-08-21 07:19:32.061	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:392:21)
                      linux-control.0	2020-08-21 07:19:32.061	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:19:32.061	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:19:32.061	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:19:32.061	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                      linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                      linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                      linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                      linux-control.0	2020-08-21 07:19:32.044	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:19:32.044	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:19:32.044	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                      linux-control.0	2020-08-21 07:19:32.024	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                      linux-control.0	2020-08-21 07:19:32.024	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                      linux-control.0	2020-08-21 07:19:32.024	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:19:32.024	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:19:32.024	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:19:32.024	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                      linux-control.0	2020-08-21 07:18:31.755	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:72:5)
                      linux-control.0	2020-08-21 07:18:31.755	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:392:21)
                      linux-control.0	2020-08-21 07:18:31.755	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:18:31.755	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:18:31.755	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:18:31.755	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                      linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                      linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                      linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                      linux-control.0	2020-08-21 07:18:31.725	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:18:31.725	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:18:31.725	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                      linux-control.0	2020-08-21 07:18:31.619	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                      linux-control.0	2020-08-21 07:18:31.619	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                      linux-control.0	2020-08-21 07:18:31.619	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      linux-control.0	2020-08-21 07:18:31.619	error	at runMicrotasks (<anonymous>)
                      linux-control.0	2020-08-21 07:18:31.619	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                      linux-control.0	2020-08-21 07:18:31.619	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                      

                      hast du eine idee dazu ?

                      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                      ScroungerS 1 Antwort Letzte Antwort
                      0
                      • liv-in-skyL liv-in-sky

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

                        @Homoran
                        Hehe nice :grin: für meine vu gibt's zum Glück schon nen Adapter.
                        Hab sowas mit meinem Unifi UDMPro - UbiOs gemacht und lese damit die vpn l2tp Verbindungen aus.

                        Tipp: Allen Datenpunkte des Host (DreamBox) auf die Blacklist ziehen, dann hast auch keine Fehlermeldung mehr.

                        wollte nur mal fragen - absolut keine prio - habe meine axhd60 ( enigma-receiver) eingebunden

                        Image 1.png

                        habe alle datenpunkte entfernt außer ip, is-online, restart und shutdown. 2 befehle sind noch drin - werden auch angezeigt

                        Image 2.png

                        ich bekomme leider fehler, obwohl ich die daten dazu nicht abfrage (systemctl, os release)

                        
                        linux-control.0	2020-08-21 07:21:32.593	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:21:32.593	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:21:32.593	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                        linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                        linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                        linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                        linux-control.0	2020-08-21 07:21:32.578	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:21:32.578	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:21:32.578	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:21:32.578	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                        linux-control.0	2020-08-21 07:21:32.565	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                        linux-control.0	2020-08-21 07:21:32.565	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                        linux-control.0	2020-08-21 07:21:32.565	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:21:32.565	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:21:32.565	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:21:32.565	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                        linux-control.0	2020-08-21 07:20:32.431	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:72:5)
                        linux-control.0	2020-08-21 07:20:32.431	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:392:21)
                        linux-control.0	2020-08-21 07:20:32.431	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:20:32.431	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:20:32.431	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:20:32.431	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                        linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                        linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                        linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                        linux-control.0	2020-08-21 07:20:32.399	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:20:32.399	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:20:32.399	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:20:32.399	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                        linux-control.0	2020-08-21 07:20:32.386	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                        linux-control.0	2020-08-21 07:20:32.386	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                        linux-control.0	2020-08-21 07:20:32.386	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:20:32.386	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:20:32.386	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:20:32.386	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                        linux-control.0	2020-08-21 07:19:32.061	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:72:5)
                        linux-control.0	2020-08-21 07:19:32.061	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:392:21)
                        linux-control.0	2020-08-21 07:19:32.061	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:19:32.061	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:19:32.061	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:19:32.061	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                        linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                        linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                        linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                        linux-control.0	2020-08-21 07:19:32.044	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:19:32.044	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:19:32.044	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:19:32.044	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                        linux-control.0	2020-08-21 07:19:32.024	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                        linux-control.0	2020-08-21 07:19:32.024	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                        linux-control.0	2020-08-21 07:19:32.024	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:19:32.024	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:19:32.024	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:19:32.024	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                        linux-control.0	2020-08-21 07:18:31.755	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:72:5)
                        linux-control.0	2020-08-21 07:18:31.755	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:392:21)
                        linux-control.0	2020-08-21 07:18:31.755	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:18:31.755	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:18:31.755	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:18:31.755	error	(24951) [servicesInfo] AX--HD-60 (192.168.178.72:22): response error: [servicesInfo] AX--HD-60 (192.168.178.72:22): bash: systemctl: command not found, stack: ResponseError: [servicesInfo] AX--HD-60
                        linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:71:5)
                        linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:512:5)
                        linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:609:21)
                        linux-control.0	2020-08-21 07:18:31.725	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:18:31.725	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:18:31.725	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:18:31.725	error	(24951) [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): response error: [cmdAptUpdate] AX--HD-60 (192.168.178.72:22): bash: apt-get: command not found, stack: ResponseError: [cmdAptUpdate] AX--HD-60 (1
                        linux-control.0	2020-08-21 07:18:31.619	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:70:5)
                        linux-control.0	2020-08-21 07:18:31.619	error	at LinuxControl.distributionInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:458:21)
                        linux-control.0	2020-08-21 07:18:31.619	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        linux-control.0	2020-08-21 07:18:31.619	error	at runMicrotasks (<anonymous>)
                        linux-control.0	2020-08-21 07:18:31.619	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                        linux-control.0	2020-08-21 07:18:31.619	error	(24951) [distributionInfo] AX--HD-60 (192.168.178.72:22): response error: [distributionInfo] AX--HD-60 (192.168.178.72:22): cat: can't open '/etc/os-release': No such file or directory, stack: Respon
                        

                        hast du eine idee dazu ?

                        ScroungerS Offline
                        ScroungerS Offline
                        Scrounger
                        Developer
                        schrieb am zuletzt editiert von Scrounger
                        #92

                        @liv-in-sky
                        Mach mal bitte screenshots von allen Einstellungen des axhd60 im Adapter

                        <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

                        <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

                        liv-in-skyL 1 Antwort Letzte Antwort
                        0
                        • ScroungerS Scrounger

                          @liv-in-sky
                          Mach mal bitte screenshots von allen Einstellungen des axhd60 im Adapter

                          liv-in-skyL Offline
                          liv-in-skyL Offline
                          liv-in-sky
                          schrieb am zuletzt editiert von
                          #93

                          @Scrounger -

                          keine ordner definiert!
                          service nur: control-restart
                          control shutdown
                          info: is-online
                          ip

                          Image 3.png
                          Image 6.png
                          Image 5.png
                          Image 4.png

                          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                          coyoteC ScroungerS 2 Antworten Letzte Antwort
                          0
                          • liv-in-skyL liv-in-sky

                            @Scrounger -

                            keine ordner definiert!
                            service nur: control-restart
                            control shutdown
                            info: is-online
                            ip

                            Image 3.png
                            Image 6.png
                            Image 5.png
                            Image 4.png

                            coyoteC Offline
                            coyoteC Offline
                            coyote
                            Most Active
                            schrieb am zuletzt editiert von
                            #94

                            Ich würde gerne ein Script mit dem Adapter ersetzen.
                            Wie kann ich den diesen Befehl aus dem Script: "ssh.execCommand("bash /home/coyote/Downloads/nichtdimmen.sh");
                            im Adapter starten über einen Button?

                            So habe ich schon probiert, kommt aber Fehler:

                            linux.JPG

                            linux-control.0	2020-08-21 09:09:38.405	error	at process._tickCallback (internal/process/next_tick.js:68:7)
                            linux-control.0	2020-08-21 09:09:38.405	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                            linux-control.0	2020-08-21 09:09:38.405	error	(4177) [send userCommand] MintTab (192.168.XXX.XXX:22) - voll_dimmen: response error: [send userCommand] MintTab (192.168.XXX.XXX:22) - voll_dimmen: /home/coyote/Downloads/volldimmen.sh: Zeile 13: 770
                            
                            liv-in-skyL 1 Antwort Letzte Antwort
                            0
                            • coyoteC coyote

                              Ich würde gerne ein Script mit dem Adapter ersetzen.
                              Wie kann ich den diesen Befehl aus dem Script: "ssh.execCommand("bash /home/coyote/Downloads/nichtdimmen.sh");
                              im Adapter starten über einen Button?

                              So habe ich schon probiert, kommt aber Fehler:

                              linux.JPG

                              linux-control.0	2020-08-21 09:09:38.405	error	at process._tickCallback (internal/process/next_tick.js:68:7)
                              linux-control.0	2020-08-21 09:09:38.405	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:749:26)
                              linux-control.0	2020-08-21 09:09:38.405	error	(4177) [send userCommand] MintTab (192.168.XXX.XXX:22) - voll_dimmen: response error: [send userCommand] MintTab (192.168.XXX.XXX:22) - voll_dimmen: /home/coyote/Downloads/volldimmen.sh: Zeile 13: 770
                              
                              liv-in-skyL Offline
                              liv-in-skyL Offline
                              liv-in-sky
                              schrieb am zuletzt editiert von
                              #95

                              @coyote evtl ist in zeile 13 dieses scripts ein befehl , der einen pfad braucht - was steht in zeile 13?

                              nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                              coyoteC 1 Antwort Letzte Antwort
                              0
                              • liv-in-skyL liv-in-sky

                                @coyote evtl ist in zeile 13 dieses scripts ein befehl , der einen pfad braucht - was steht in zeile 13?

                                coyoteC Offline
                                coyoteC Offline
                                coyote
                                Most Active
                                schrieb am zuletzt editiert von
                                #96

                                @liv-in-sky wie meinst du? In dem volldimmen.sh Script Zeile 13?

                                So, führe ich den Befehl momentan in Javascript aus:

                                 node_ssh = require('node-ssh').NodeSSH;
                                ssh = new node_ssh();
                                ssh.connect({
                                  host: '192.168.XXX.XXX',   //MintTab VM
                                  username: 'coyote',
                                  password: 'pwd'
                                }).then(() => {
                                  ssh.execCommand("bash /home/coyote/Downloads/nichtdimmen.sh");
                                });   
                                }
                                
                                liv-in-skyL 1 Antwort Letzte Antwort
                                0
                                • coyoteC coyote

                                  @liv-in-sky wie meinst du? In dem volldimmen.sh Script Zeile 13?

                                  So, führe ich den Befehl momentan in Javascript aus:

                                   node_ssh = require('node-ssh').NodeSSH;
                                  ssh = new node_ssh();
                                  ssh.connect({
                                    host: '192.168.XXX.XXX',   //MintTab VM
                                    username: 'coyote',
                                    password: 'pwd'
                                  }).then(() => {
                                    ssh.execCommand("bash /home/coyote/Downloads/nichtdimmen.sh");
                                  });   
                                  }
                                  
                                  liv-in-skyL Offline
                                  liv-in-skyL Offline
                                  liv-in-sky
                                  schrieb am zuletzt editiert von
                                  #97

                                  @coyote ich meinte das script volldimmen auf linux ebene - da kommt die fehlermeldung- poste mal das ganze script

                                  nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                  coyoteC 1 Antwort Letzte Antwort
                                  0
                                  • liv-in-skyL liv-in-sky

                                    @coyote ich meinte das script volldimmen auf linux ebene - da kommt die fehlermeldung- poste mal das ganze script

                                    coyoteC Offline
                                    coyoteC Offline
                                    coyote
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #98

                                    @liv-in-sky hier:

                                    #!/bin/bash
                                    
                                    pkill nichtdimmen
                                    pkill python3
                                    
                                    # While the user is not logged in == until the $DISPLAY variable is unset or empty
                                    unset DISPLAY
                                    while [ -z "$DISPLAY" ] || [ "$DISPLAY" == "" ]; do
                                            DISPLAY=$(w "$(id -un)" | awk 'NF > 7 && $2 ~ /tty[0-9]+/ {print $3; exit}' 2>/dev/null)
                                            if [ "$DISPLAY" == "" ]; then sleep 30; else export DISPLAY="$DISPLAY"; fi
                                    done
                                    
                                    /bin/bash -c "python3 /home/coyote/Downloads/dimscreens.py 30 0.2"
                                    
                                    1 Antwort Letzte Antwort
                                    0
                                    • liv-in-skyL Offline
                                      liv-in-skyL Offline
                                      liv-in-sky
                                      schrieb am zuletzt editiert von liv-in-sky
                                      #99

                                      @coyote - da fällt mir nix ein - ohne zu wissen warum, würde ich mal testen, was passiert wenn in zeile 13 nur das phyton aufgerufen wird - evtl geht das so nicht aber probieren kann man ja

                                      #!/bin/bash
                                      pkill nichtdimmen
                                      pkill python3
                                       
                                      # While the user is not logged in == until the $DISPLAY variable is unset or empty
                                      unset DISPLAY
                                      while [ -z "$DISPLAY" ] || [ "$DISPLAY" == "" ]; do
                                              DISPLAY=$(w "$(id -un)" | awk 'NF > 7 && $2 ~ /tty[0-9]+/ {print $3; exit}' 2>/dev/null)
                                              if [ "$DISPLAY" == "" ]; then sleep 30; else export DISPLAY="$DISPLAY"; fi
                                      done
                                       
                                      # /bin/bash -c "python3 /home/coyote/Downloads/dimscreens.py 30 0.2"
                                      python3 /home/coyote/Downloads/dimscreens.py 30 0.2
                                      

                                      @Thomas-Braun

                                      hast du eine idee dazu, warum die zeile 13 ein problem macht ?

                                      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                      coyoteC Thomas BraunT 2 Antworten Letzte Antwort
                                      0
                                      • liv-in-skyL liv-in-sky

                                        @coyote - da fällt mir nix ein - ohne zu wissen warum, würde ich mal testen, was passiert wenn in zeile 13 nur das phyton aufgerufen wird - evtl geht das so nicht aber probieren kann man ja

                                        #!/bin/bash
                                        pkill nichtdimmen
                                        pkill python3
                                         
                                        # While the user is not logged in == until the $DISPLAY variable is unset or empty
                                        unset DISPLAY
                                        while [ -z "$DISPLAY" ] || [ "$DISPLAY" == "" ]; do
                                                DISPLAY=$(w "$(id -un)" | awk 'NF > 7 && $2 ~ /tty[0-9]+/ {print $3; exit}' 2>/dev/null)
                                                if [ "$DISPLAY" == "" ]; then sleep 30; else export DISPLAY="$DISPLAY"; fi
                                        done
                                         
                                        # /bin/bash -c "python3 /home/coyote/Downloads/dimscreens.py 30 0.2"
                                        python3 /home/coyote/Downloads/dimscreens.py 30 0.2
                                        

                                        @Thomas-Braun

                                        hast du eine idee dazu, warum die zeile 13 ein problem macht ?

                                        coyoteC Offline
                                        coyoteC Offline
                                        coyote
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #100

                                        @liv-in-sky kommt leider der gleiche Fehler

                                        1 Antwort Letzte Antwort
                                        0
                                        • liv-in-skyL liv-in-sky

                                          @coyote - da fällt mir nix ein - ohne zu wissen warum, würde ich mal testen, was passiert wenn in zeile 13 nur das phyton aufgerufen wird - evtl geht das so nicht aber probieren kann man ja

                                          #!/bin/bash
                                          pkill nichtdimmen
                                          pkill python3
                                           
                                          # While the user is not logged in == until the $DISPLAY variable is unset or empty
                                          unset DISPLAY
                                          while [ -z "$DISPLAY" ] || [ "$DISPLAY" == "" ]; do
                                                  DISPLAY=$(w "$(id -un)" | awk 'NF > 7 && $2 ~ /tty[0-9]+/ {print $3; exit}' 2>/dev/null)
                                                  if [ "$DISPLAY" == "" ]; then sleep 30; else export DISPLAY="$DISPLAY"; fi
                                          done
                                           
                                          # /bin/bash -c "python3 /home/coyote/Downloads/dimscreens.py 30 0.2"
                                          python3 /home/coyote/Downloads/dimscreens.py 30 0.2
                                          

                                          @Thomas-Braun

                                          hast du eine idee dazu, warum die zeile 13 ein problem macht ?

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #101

                                          @liv-in-sky Keine Ahnung von python. Aber was sind denn das für Optionen da am Ende? Das sieht komisch aus.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          coyoteC 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          268

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe