Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Linux Control v1.x.x

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

      @peff

      Über die Experteneinstellungen.

      P 1 Reply Last reply Reply Quote 0
      • P
        peff @Thomas Braun last edited by

        habe es nun hinbekommen.
        Expterten Modus und dann über GIT.
        danach musste ich natürlich noch einmal das o.g. Fix einspielen und nun rennt es ohne "warn"

        1 Reply Last reply Reply Quote 0
        • Flexer
          Flexer last edited by

          Hallo und guten Morgen,

          ich kämpfe jetzt 2 Tage schon mit dem Linux Adapter. Ich bekomme es leider nicht hin, dass sich der Adapter ordentlich verbindet.

          Hier einmal die Protokolle aus denen ich als Linux Laie nicht schlau werde. Bin auf Anwenderniveau

          linux-control.0
          2025-02-03 09:29:56.951	info	getting data from Serverrack (192.168.178.141:22, Adapter start)
          
          linux-control.0
          2025-02-03 09:29:56.917	info	starting. Version 1.1.6 (non-npm: Scrounger/ioBroker.linux-control#59f578f3402850684ba8767a24a9ff288b05a3f0) in /opt/iobroker/node_modules/iobroker.linux-control, node: v20.18.2, js-controller: 7.0.6
          
          linux-control.0
          2025-02-03 09:29:24.884	warn	State "linux-control.0.Serverrack.services.●.running" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.874	warn	Used invalid characters: linux-control.0.Serverrack.services.●.running changed to linux-control.0.Serverrack.services._.running
          
          linux-control.0
          2025-02-03 09:29:24.831	warn	State "linux-control.0.Serverrack.services.●.active" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.829	warn	Used invalid characters: linux-control.0.Serverrack.services.●.active changed to linux-control.0.Serverrack.services._.active
          
          linux-control.0
          2025-02-03 09:29:24.785	warn	State "linux-control.0.Serverrack.services.●.load" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.784	warn	Used invalid characters: linux-control.0.Serverrack.services.●.load changed to linux-control.0.Serverrack.services._.load
          
          linux-control.0
          2025-02-03 09:29:24.783	warn	Used invalid characters: linux-control.0.Serverrack.services.●.stop changed to linux-control.0.Serverrack.services._.stop
          
          linux-control.0
          2025-02-03 09:29:24.780	error	The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.780	error	Error: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern at Module.pattern2RegEx (file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/src/lib/common/tools.ts:2490:15) at StateRedisClient.subscribe (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:1127:27) at processTicksAndRejections (node:internal/process/task_queues:95:5)
          
          linux-control.0
          2025-02-03 09:29:24.780	error	unhandled promise rejection: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.779	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          
          linux-control.0
          2025-02-03 09:29:24.778	warn	Used invalid characters: linux-control.0.Serverrack.services.●.start changed to linux-control.0.Serverrack.services._.start
          
          linux-control.0
          2025-02-03 09:29:24.775	error	Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.775	error	ReplyError: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
          
          linux-control.0
          2025-02-03 09:29:24.775	error	unhandled promise rejection: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.775	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          
          linux-control.0
          2025-02-03 09:29:24.773	warn	Used invalid characters: linux-control.0.Serverrack.services.●.restart changed to linux-control.0.Serverrack.services._.restart
          
          linux-control.0
          2025-02-03 09:29:24.726	warn	State "linux-control.0.Serverrack.services.●.description" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.725	warn	Used invalid characters: linux-control.0.Serverrack.services.●.description changed to linux-control.0.Serverrack.services._.description
          
          linux-control.0
          2025-02-03 09:29:24.683	warn	State "linux-control.0.Serverrack.services.●.running" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.681	warn	Used invalid characters: linux-control.0.Serverrack.services.●.running changed to linux-control.0.Serverrack.services._.running
          
          linux-control.0
          2025-02-03 09:29:24.638	warn	State "linux-control.0.Serverrack.services.●.active" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.637	warn	Used invalid characters: linux-control.0.Serverrack.services.●.active changed to linux-control.0.Serverrack.services._.active
          
          linux-control.0
          2025-02-03 09:29:24.593	warn	State "linux-control.0.Serverrack.services.●.load" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.592	warn	Used invalid characters: linux-control.0.Serverrack.services.●.load changed to linux-control.0.Serverrack.services._.load
          
          linux-control.0
          2025-02-03 09:29:24.494	error	Error The pattern "linux-control.0.Serverrack.services.●.stop" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.494	error	ReplyError: Error The pattern "linux-control.0.Serverrack.services.●.stop" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
          
          linux-control.0
          2025-02-03 09:29:24.493	error	unhandled promise rejection: Error The pattern "linux-control.0.Serverrack.services.●.stop" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.493	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          
          linux-control.0
          2025-02-03 09:29:24.491	warn	Used invalid characters: linux-control.0.Serverrack.services.●.stop changed to linux-control.0.Serverrack.services._.stop
          
          linux-control.0
          2025-02-03 09:29:24.488	error	The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.487	error	Error: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern at Module.pattern2RegEx (file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/src/lib/common/tools.ts:2490:15) at StateRedisClient.subscribe (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:1127:27) at processTicksAndRejections (node:internal/process/task_queues:95:5)
          
          linux-control.0
          2025-02-03 09:29:24.440	error	unhandled promise rejection: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.439	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          
          linux-control.0
          2025-02-03 09:29:24.399	warn	Used invalid characters: linux-control.0.Serverrack.services.●.start changed to linux-control.0.Serverrack.services._.start
          
          linux-control.0
          2025-02-03 09:29:24.399	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
          
          linux-control.0
          2025-02-03 09:29:24.398	info	terminating
          
          linux-control.0
          2025-02-03 09:29:24.398	info	cleaned everything up...
          
          linux-control.0
          2025-02-03 09:29:24.390	error	Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.390	error	ReplyError: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
          
          linux-control.0
          2025-02-03 09:29:24.389	error	unhandled promise rejection: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern
          
          linux-control.0
          2025-02-03 09:29:24.389	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          
          linux-control.0
          2025-02-03 09:29:24.386	warn	Used invalid characters: linux-control.0.Serverrack.services.●.restart changed to linux-control.0.Serverrack.services._.restart
          
          linux-control.0
          2025-02-03 09:29:24.339	warn	State "linux-control.0.Serverrack.services.●.description" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.338	warn	Used invalid characters: linux-control.0.Serverrack.services.●.description changed to linux-control.0.Serverrack.services._.description
          
          linux-control.0
          2025-02-03 09:29:24.291	warn	State "linux-control.0.Serverrack.services.●.running" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.289	warn	Used invalid characters: linux-control.0.Serverrack.services.●.running changed to linux-control.0.Serverrack.services._.running
          
          linux-control.0
          2025-02-03 09:29:24.243	warn	State "linux-control.0.Serverrack.services.●.active" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.241	warn	Used invalid characters: linux-control.0.Serverrack.services.●.active changed to linux-control.0.Serverrack.services._.active
          
          linux-control.0
          2025-02-03 09:29:24.199	warn	State "linux-control.0.Serverrack.services.●.load" has no existing object, this might lead to an error in future versions
          
          linux-control.0
          2025-02-03 09:29:24.197	warn	Used invalid characters: linux-control.0.Serverrack.services.●.load changed to linux-control.0.Serverrack.services._.load
          
          linux-control.0
          2025-02-03 09:28:45.761	info	getting data from Serverrack (192.168.178.141:22, Adapter start)
          
          linux-control.0
          2025-02-03 09:28:45.723	info	starting. Version 1.1.6 (non-npm: Scrounger/ioBroker.linux-control#59f578f3402850684ba8767a24a9ff288b05a3f0) in /opt/iobroker/node_modules/iobroker.linux-control, node: v20.18.2, js-controller: 7.0.6
          

          Hier nochmal meine Einstellungen im Adapter. Login Daten Nutzer und PW sind definitiv korrekt, da ich mit SSH auf den Pi draufkomme.

          Bildschirmfoto 2025-02-03 um 09.29.36.png

          Vielleicht hat jemand eine Idee

          Chaot 1 Reply Last reply Reply Quote 0
          • Chaot
            Chaot @Flexer last edited by

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

            io.linux-control.0.Serverrack.services.●.start

            Wo kommt denn der große Punkt her? Sonderzeichen im Namen?

            Flexer 1 Reply Last reply Reply Quote 0
            • Flexer
              Flexer @Chaot last edited by

              @chaot Ich wüsste nicht wo da ein Sonderzeichen herkommen könnte. Username ist nichts drin. Im Hostnamen auch nicht und nicht mal im Passwort. Ich kann es mir nicht erklären

              Chaot 1 Reply Last reply Reply Quote 0
              • Chaot
                Chaot @Flexer last edited by

                @flexer Hast du unter Services irgendwas eingetragen?

                linux-control.0
                2025-02-03 09:29:24.780	error	The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern
                

                Da scheint irgendwas vorhanden zu sein das dort nicht hingehört
                Oder lass mal probehalber die Häkchen bei Datenpunkte-Services weg.

                Flexer 1 Reply Last reply Reply Quote 0
                • Flexer
                  Flexer @Chaot last edited by

                  @chaot Services hatte ich nichts eingetragen. Das Feld war leer. Habe jetzt mal SSH hinzugefügt.
                  Jetzt sieht sind alle Fehler weg außer das hier

                  linux-control.0
                  2025-02-03 11:36:09.949	warn	[needrestart] Serverrack (192.168.178.141:22): package 'needrestart' not installed. You must install 'needrestart' to use this functions or deactivate the datapoints!
                  
                  Chaot 1 Reply Last reply Reply Quote 0
                  • chucky666
                    chucky666 @Scrounger last edited by

                    Hallo zusammen ,
                    ich den adapter instlliert , läuft soweit auch . Version 1.16

                    bekomme diese meldung , wie kann ich das lösen ?

                    
                    linux-control.0
                    2025-02-03 12:09:00.406	error	Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                    
                    Meister Mopper 1 Reply Last reply Reply Quote 0
                    • Chaot
                      Chaot @Flexer last edited by

                      @flexer Auf dem Server needrestart installieren oder im Adapter
                      -- Datenpunkte - needrestart
                      alle deaktivieren

                      chucky666 1 Reply Last reply Reply Quote 0
                      • Meister Mopper
                        Meister Mopper @chucky666 last edited by

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

                        Hallo zusammen ,
                        ich den adapter instlliert , läuft soweit auch . Version 1.16

                        bekomme diese meldung , wie kann ich das lösen ?

                        
                        linux-control.0
                        2025-02-03 12:09:00.406	error	Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                        

                        Stable ist
                        f86923f2-9755-4924-b7d6-f5d749fbe89b-grafik.png

                        1 Reply Last reply Reply Quote 0
                        • chucky666
                          chucky666 @Chaot last edited by chucky666

                          @chaot danke für die info
                          ich habe es jetzt installiert der Fehler bleibt

                          sorry habe die 1.15 installiert

                          1 Reply Last reply Reply Quote 0
                          • Meister Mopper
                            Meister Mopper last edited by Meister Mopper

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

                            sorry habe die 1.15 installiert

                            Die gibt's auch nicht.

                            Diese Fehlermeldung hat es schonmal als Warnmeldung gegeben, vielleicht solltest du bei Github ein Issue erstellen.

                            Was funktioniert denn jetzt nicht bei deinem Adapter?

                            chucky666 1 Reply Last reply Reply Quote 0
                            • chucky666
                              chucky666 @Meister Mopper last edited by chucky666

                              @meister-mopper so funktioniert alles , wollte nur wissen ob ich das lösen kann .
                              es kommt nur bei einen Neustart von dem Adapter .version 1.1.5

                              Meister Mopper 1 Reply Last reply Reply Quote 0
                              • Meister Mopper
                                Meister Mopper @chucky666 last edited by

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

                                wollte nur wissen ob ich das lösen kann

                                Das wirst du nicht lösen können, wenn dann der/die Maintainer des Adapters (Zitat: Issue).

                                chucky666 1 Reply Last reply Reply Quote 0
                                • chucky666
                                  chucky666 @Meister Mopper last edited by

                                  @meister-mopper ok danke , ich hoffe der Adapter wird weitergepflegt

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    Aiouh @chucky666 last edited by

                                    @Meister-Mopper bei mir läuft der adapter mit allen Bookworm Abfragen prima, nur beim Raspi haperts. Da gibt es wohl kein "apt-get" was entsprechende Fehler generiert.
                                    In den Datapoints hab ich z.B. den"codename" deaktiviert da es den wohl auch nicht gibt. Kann ich das "apt-get" auch irgendwie loswerden ?

                                    NAME=Buildroot
                                    VERSION=-gdb57d1d
                                    ID=buildroot
                                    VERSION_ID=2024.05.2
                                    PRETTY_NAME="Buildroot 2024.05.2"

                                    [cmdAptUpdate] raspimatic-nuc2 (192.168.178.23:22): response error: sh: apt-get: not found, stack: ResponseError: [cmdAptUpdate] raspimatic-nuc2 (192.168.178.23:22): sh: apt-get: not found at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:907:26) at processTicksAndRejections (node:internal/process/task_queues:95:5) at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:739:21) at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:622:6) at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:79:5) at async Promise.allSettled (index 11) at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:53:4)
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Aiouh last edited by

                                      @aiouh 77

                                      echad@chet:~ $ type -P apt-get
                                      /usr/bin/apt-get
                                      echad@chet:~ $ 
                                      

                                      Alles da...

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Aiouh @Thomas Braun last edited by

                                        @thomas-braun

                                        root@raspimatic-nuc2:~# type -P apt-get
                                        root@raspimatic-nuc2:~#
                                        

                                        bei mir leider nicht 😞 . Scheint wohl abgespeckt zu sein.
                                        ...das mit user root ist bei dem fertigen image (raspberrymatic) leider so

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Aiouh last edited by

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

                                          ...das mit user root ist bei dem fertigen image (raspberrymatic) leider so

                                          Kann man aber mit Sicherheit auch ändern. Ansonsten kenne ich raspimatic nicht genau genug.
                                          Gibt es denn apt da?

                                          A black.falcon87 2 Replies Last reply Reply Quote 0
                                          • A
                                            Aiouh @Thomas Braun last edited by

                                            @thomas-braun kann man möglicherweise schon, aber ich denke bevor ich das mache schreib ich besser den Entwickler an.
                                            apt gibts leider auch nicht 😞

                                            root@raspimatic-nuc2:~# apt
                                            -sh: apt: not found
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            809
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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