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.
    • Ro75
      Ro75 @Thomas Braun last edited by

      @thomas-braun Danke für deine Antwort. Hat alles funktioniert.

      Ro75.

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

        Ich nutze den Adapter schon länger.
        Mir sind schon länger die regelmäßigen Warnungen

        linux-control.0 2024-12-10 16:28:00.965	warn	Object linux-ontrol.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string" This will throw an error up from js-controller version 7.0.0!
        

        und

        linux-control.0 2024-12-10 16:28:00.920	error	Object linux-ontrol.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
        

        aufgefallen.
        Habe mich aber weiter nicht gestört, bis ich die heute die "Services" heute unter den DATAPOINTS aktivierte^^
        Da wurde ich mit Warnungen zugeschüttet.

        Als Lösung fand ich
        Fix https://github.com/Scrounger/ioBroker.linux-control/issues/46

        Hat prompt funktioniert, alle Warnungen der Services weg, nur die eine vom command.host blieb.
        Gibt's dafür vielleicht auch Lösung?
        In dem Repo vom Linux Controll tut sich ja scheinbar nicht mehr viel 😞

        copystring created this issue in Scrounger/ioBroker.linux-control

        open Problem with getting service names #46

        Ro75 1 Reply Last reply Reply Quote 0
        • Ro75
          Ro75 @peff last edited by Ro75

          @peff dann zeige doch mal was da gemacht wird, wenn dieser Fehler ausgelöst wird.

          Welche Version setzt du ein?

          P.S. ich habe keine Probleme.

          Ro75

          Edit: Welche Version vom js-controler setzt du ein?

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

            @ro75

            Interessant, dass es bei Dir sauber läuft.

            die Fehler kommen nur beim Start des Dienstes:

            linux-control.0
            2024-12-17 12:54:29.687	warn	Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string" This will throw an error up from js-controller version 7.0.0!
            
            linux-control.0
            2024-12-17 12:54:29.642	info	starting. Version 1.1.5 in /opt/iobroker/node_modules/iobroker.linux-control, node: v20.18.1, js-controller: 7.0.3
            
            linux-control.0
            2024-12-17 12:54:29.638	error	Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
            
            host.ioBorker
            2024-12-17 12:54:27.447	info	instance system.adapter.linux-control.0 in version "1.1.5" started with pid 2218621
            
            host.ioBorker
            2024-12-17 12:54:23.917	info	instance system.adapter.linux-control.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            
            linux-control.0
            2024-12-17 12:54:23.838	info	terminating
            

            linux-control: 1.1.5
            admin: 7.2.0
            js-controller:7.0.3
            Node.js:v20.18.1
            NPM:10.8.2
            Plattform: Debian 11

            Ro75 1 Reply Last reply Reply Quote 0
            • Ro75
              Ro75 @peff last edited by Ro75

              @peff dann nimm mal die 1.1.6 von Linux Control

              Die anderen Adapter habe ich noch nicht auf diesem Stand, also Admin und js-controler

              Ro75

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

                @ro75
                die 1.1.6 ist im ioBroker nicht verfügbar.
                Unter Git habe die sie gesehen...

                Wie schiebe ich die dann auf den ioBroker, ohne mir alles zu zersemmeln?

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

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

                  Wie schiebe ich die dann auf den ioBroker, ohne mir alles zu zersemmeln?

                  Ein Testsystem nutzen oder vorher ein Backup machen und dann ein wenig spielen.

                  Bei Nichtgefallen das Backup aufspielen und gut ist.

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

                    @meister-mopper

                    Backup habe ich, Snapshot ist selbstverändlich.
                    Aber wie bekomme ich die 1.1.6 drauf?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            783
                                            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