Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. yamaha-community.0: cannot find start file!

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    yamaha-community.0: cannot find start file!

    This topic has been deleted. Only users with topic management privileges can see it.
    • Röstkartoffel
      Röstkartoffel @apollon77 last edited by

      @apollon77
      Er heißt einfach nur Yamaha. Also ist es der Originale von soef.
      Danke für die Info.

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

        Leider nein:

        RAW vom betroffenen DP Volumen mit dem überarbeiteten comm adapter:

        {
          "common": {
            "name": "Volume",
            "type": "boolean",
            "role": "media.volume",
            "desc": "Volume",
            "def": 0,
            "read": true,
            "write": true
          },
          "native": {},
          "acl": {
            "object": 1636,
            "owner": "system.user.admin",
            "ownerGroup": "system.group.administrator",
            "state": 1636
          },
          "_id": "yamaha-community.0.volume",
          "type": "state"
        }
        

        Bleibt bei "boolean". Ich warte mit dem Umbau meiner Scripte.

        apollon77 1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @metaxa last edited by

          @metaxa sagte in yamaha-community.0: cannot find start file!:

          mit dem überarbeiteten comm adapter

          naja viel "Überarbeitet" ist da gerade noch nicht 😉

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

            @apollon77

            Ja, weil der Issues "cannot-find-start-file und Datentyp ist falsch" geschlossen wurde ging ich davon aus, dass die Definition des Datenpunkts "Volumen" geändert wurde. Dies war eigentlich der Auslöser dieses Threads.

            Das Problem besteht aber nach Neuinstallation nach wie vor.

            lg, mxa

            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @metaxa last edited by

              @metaxa Ahhh das in dem Issue beides drin ist hab ich übersehen ggggrrr

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

                Dann jetzt. Bitte instanz löschen, neu installieren

                metaxa BBTown 2 Replies Last reply Reply Quote 1
                • Garfonso
                  Garfonso Developer last edited by

                  Hi,

                  da ich so einen yamaha auch habe, klinke ich mich hier mal kurz ein. Ich habe den community adapter über den Github Link installiert. Danach stehen bei mir im Admin unter Adapter zweimal Yamaha Adapter mit identischem Namen und Version (also nur Yamaha, auch bei community). Das sollte man noch ändern (wenn ich finde wo, mach ich ein PR).

                  Wenn ich beim community eine instanz anlege heißt die jetzt yamaha-community.n, wie erwartet und startet aktuell auch.

                  Mal gucken, ob ich zum Typenproblem etwas finde... auf den ersten Blick sieht es so aus, als ob das Problem auch im npm paket "soef" sein könnte...

                  1 Reply Last reply Reply Quote 0
                  • metaxa
                    metaxa @apollon77 last edited by metaxa

                    @apollon77 sagte in yamaha-community.0: cannot find start file!:

                    Dann jetzt. Bitte instanz löschen, neu installieren

                    Danke Ingo, jetzt paßt es!

                    6f0b4081-a1f5-4167-817f-27307090c158-grafik.png
                    Der untere Adapter ist die Community Adapter Version, der DP Volumen liefert beim Beschreiben keine Fehlermeldungen mehr.

                    {
                      "_id": "yamaha-community.0.volume",
                      "type": "state",
                      "common": {
                        "name": "Volume",
                        "type": "number",
                        "role": "media.volume",
                        "read": true,
                        "write": true,
                        "def": 0,
                        "desc": "Volume"
                      },
                      "native": {},
                      "from": "system.host.ioBroker-Prod.cli",
                      "ts": 1573230805971,
                      "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                      }
                    }
                    

                    LG, mxa

                    1 Reply Last reply Reply Quote 0
                    • BBTown
                      BBTown @apollon77 last edited by

                      @apollon77
                      Ich habe gerade einmal den yamaha-community Adapter installiert, jedoch bleibt dieser rot und wirft mir folgendes im LOG raus.

                      Hat womöglich jemand Zeit und Muße einmal den Adapter zu prüfen oder ggf. zu aktualisieren?

                      yamaha-community.0	2020-04-21 08:58:49.592	error	at checkIP (/opt/iobroker/node_modules/iobroker.yamaha-community/main.js:511:9)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at /opt/iobroker/node_modules/iobroker.yamaha-community/main.js:710:9
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at runRealtimeFunction (/opt/iobroker/node_modules/iobroker.yamaha-community/main.js:551:9)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at CDevice.update (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:1028:22)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at Devices.update (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:697:9)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at forEachObjSync (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:251:9)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at doit (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:248:13)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at /opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:698:22
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at Devices.setStateEx (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:637:13)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at safeCallback (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:187:13)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at doit (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:248:13)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at /opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:698:22
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at Devices.setStateEx (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:632:18)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at Devices.createObjectNotExists (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:602:9)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at setObjectNotExists (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:501:5)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	at getObject (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:492:28)
                      yamaha-community.0	2020-04-21 08:58:49.592	error	(28488) TypeError: adapter.objects.getObject is not a function
                      yamaha-community.0	2020-04-21 08:58:49.591	error	(28488) uncaught exception: adapter.objects.getObject is not a function
                      
                      Garfonso 1 Reply Last reply Reply Quote 0
                      • Garfonso
                        Garfonso Developer @BBTown last edited by Garfonso

                        @BBTown
                        hm... ohje.. das ist aber ungünstig. 😕 Das ist in einer library, von einem Entwickler, der seit längerem nicht mehr aktiv ist... da müssen wir mal gucken, was man da machen kann. Ich fürchte das wird noch ein paar mehr Adapter betreffen.

                        //Edit: Kurze Frage noch: Gab es mit den letzten Versionen vom js-controller keine Warnungen von dem Adapter? grübel

                        BBTown sigi234 2 Replies Last reply Reply Quote 2
                        • BBTown
                          BBTown @Garfonso last edited by BBTown

                          @Garfonso sagte in yamaha-community.0: cannot find start file!:

                          Kurze Frage noch: Gab es mit den letzten Versionen vom js-controller keine Warnungen von dem Adapter?

                          Das kann ich dir leider nicht beantworten, da ich meinen Yamaha AVR bisher entweder über Infrarot (Broadlink) oder der Homebridge Emulation (ham-Adapter) geschaltet habe (was auch nach wie vor funktioniert) und den Yamaha-Adapter erstmalig installiert habe.

                          Ich hatte die Hoffnung - ähnlich dem TR-064 Adapter - dass man auch diesen soef -Adapter ggf. aktualisieren kann 😎

                          PS: danke fürs drüberschauen 👍

                          Garfonso 1 Reply Last reply Reply Quote 0
                          • Garfonso
                            Garfonso Developer @BBTown last edited by

                            @BBTown
                            Die Adapter kann man mittlerweile aktualisieren, insbesondere die "-community" Version. Die Bibliothek nicht direkt, kann man aber forken und die Abhängigkeit in den Adaptern ändern. Wäre dann ein quickfix.

                            BBTown 1 Reply Last reply Reply Quote 0
                            • BBTown
                              BBTown @Garfonso last edited by

                              @Garfonso wenn ich zum Testen zur Verfügung stehen soll, ich bin dabei 😉

                              1 Reply Last reply Reply Quote 0
                              • sigi234
                                sigi234 Forum Testing Most Active @Garfonso last edited by

                                @Garfonso sagte in yamaha-community.0: cannot find start file!:

                                Gab es mit den letzten Versionen vom js-controller keine Warnungen von dem Adapter?

                                Nein

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @sigi234 last edited by

                                  @sigi234 War bisher noch keinem Tester aufgefallen

                                  sigi234 1 Reply Last reply Reply Quote 0
                                  • sigi234
                                    sigi234 Forum Testing Most Active @apollon77 last edited by

                                    @apollon77 sagte in yamaha-community.0: cannot find start file!:

                                    @sigi234 War bisher noch keinem Tester aufgefallen

                                    Also ich habe diese Version und da funktioniert alles.

                                    Screenshot (2336).png

                                    BBTown 1 Reply Last reply Reply Quote 0
                                    • BBTown
                                      BBTown @sigi234 last edited by BBTown

                                      @sigi234
                                      den "non-community" Adapter hatte ich zuerst probiert, die LOGs zeigen dort die gleichen Fehler. Es ist auch der gleiche Versionsstand.

                                      yamaha.0	2020-04-22 07:32:45.845	info	(4567) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      yamaha.0	2020-04-22 07:32:45.844	info	(4567) terminating
                                      yamaha.0	2020-04-22 07:32:45.360	error	at /opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:1268:35
                                      yamaha.0	2020-04-22 07:32:45.360	error	at /opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:710:9
                                      yamaha.0	2020-04-22 07:32:45.360	error	at runRealtimeFunction (/opt/iobroker/node_modules/iobroker.yamaha/yamaha.js:551:9)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at CDevice.update (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:1028:22)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at Devices.update (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:697:9)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at forEachObjSync (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:251:9)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at doit (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:248:13)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at /opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:698:22
                                      yamaha.0	2020-04-22 07:32:45.360	error	at Devices.setStateEx (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:637:13)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at safeCallback (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:187:13)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at doit (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:248:13)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at /opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:698:22
                                      yamaha.0	2020-04-22 07:32:45.360	error	at Devices.setStateEx (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:632:18)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at Devices.createObjectNotExists (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:602:9)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at setObjectNotExists (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:501:5)
                                      yamaha.0	2020-04-22 07:32:45.360	error	at getObject (/opt/iobroker/node_modules/iobroker.yamaha/node_modules/soef/soef.js:492:28)
                                      yamaha.0	2020-04-22 07:32:45.360	error	(4567) TypeError: adapter.objects.getObject is not a function
                                      yamaha.0	2020-04-22 07:32:45.360	error	(4567) uncaught exception: adapter.objects.getObject is not a function
                                      yamaha.0	2020-04-22 07:32:45.357	info	(4567) soef.changeAdapterConfig: changed
                                      yamaha.0	2020-04-22 07:32:45.357	info	(4567) Got terminate signal TERMINATE_YOURSELF
                                      yamaha.0	2020-04-22 07:32:45.343	info	(4567) Got terminate signal TERMINATE_YOURSELF
                                      yamaha.0	2020-04-22 07:32:45.341	info	(4567) soef.changeAdapterConfig: changed
                                      yamaha.0	2020-04-22 07:32:45.245	info	(4567) starting. Version 0.3.19 in /opt/iobroker/node_modules/iobroker.yamaha, node: v12.16.2, js-controller: 3.0.15
                                      yamaha.0	2020-04-22 07:32:44.034	warn	(4567) This object will not be created in future versions. Please report this to the developer.
                                      yamaha.0	2020-04-22 07:32:44.034	warn	(4567) Object yamaha.0.volume is invalid: obj.common.type has an invalid value (integer) but has to be one of number, string, boolean, array, object, mixed, file, json
                                      yamaha.0	2020-04-22 07:32:43.940	warn	(4567) This object will not be created in future versions. Please report this to the developer.
                                      yamaha.0	2020-04-22 07:32:43.939	warn	(4567) Object yamaha.0.Commands.adjustVolume is invalid: obj.common.type has an invalid value (integer) but has to be one of number, string, boolean, array, object, mixed, file, json
                                      yamaha.0	2020-04-22 07:32:43.936	warn	(4567) This object will not be created in future versions. Please report this to the developer.
                                      yamaha.0	2020-04-22 07:32:43.936	warn	(4567) Object yamaha.0.Commands.volumeDown is invalid: obj.common.type has an invalid value (integer) but has to be one of number, string, boolean, array, object, mixed, file, json
                                      yamaha.0	2020-04-22 07:32:43.933	warn	(4567) This object will not be created in future versions. Please report this to the developer.
                                      yamaha.0	2020-04-22 07:32:43.931	warn	(4567) Object yamaha.0.Commands.volumeUp is invalid: obj.common.type has an invalid value (integer) but has to be one of number, string, boolean, array, object, mixed, file, json
                                      

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

                                        Bei mir laufen beide auch noch (also der mit und der ohne -community). Ich vermute fast, dass es irgendwie erst bei der Neueinrichtung oder dem ersten Start passiert?

                                        //Edit: ja, neue Instanz erstellt und noch nix konfiguriert -> der Fehler kommt:

                                        2020-04-22 20:20:01.222  - info: yamaha-community.1 (20878) starting. Version 0.3.19 in /opt/iobroker/node_modules/iobroker.yamaha-community, node: v12.16.2, js-controller: 3.0.13
                                        2020-04-22 20:20:01.829  - info: yamaha-community.1 (20878) soef.changeAdapterConfig: changed
                                        2020-04-22 20:20:01.834  - info: host.Server stopInstance system.adapter.yamaha-community.1 (force=false, process=true)
                                        2020-04-22 20:20:01.836  - info: yamaha-community.1 (20878) Got terminate signal TERMINATE_YOURSELF
                                        2020-04-22 20:20:01.836  - info: host.Server stopInstance system.adapter.yamaha-community.1 send kill signal
                                        2020-04-22 20:20:01.888  - info: yamaha-community.1 (20878) soef.changeAdapterConfig: changed
                                        2020-04-22 20:20:01.890  - error: yamaha-community.1 (20878) uncaught exception: adapter.objects.getObject is not a function
                                        2020-04-22 20:20:01.890  - info: host.Server stopInstance system.adapter.yamaha-community.1 (force=false, process=true)
                                        2020-04-22 20:20:01.890  - error: yamaha-community.1 (20878) TypeError: adapter.objects.getObject is not a function
                                            at getObject (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:492:28)
                                            at setObjectNotExists (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:501:5)
                                            at Devices.createObjectNotExists (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:602:9)
                                            at Devices.setStateEx (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:632:18)
                                            at /opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:698:22
                                            at doit (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:248:13)
                                            at safeCallback (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:187:13)
                                            at Devices.setStateEx (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:637:13)
                                            at /opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:698:22
                                            at doit (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:248:13)
                                            at forEachObjSync (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:251:9)
                                            at Devices.update (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:697:9)
                                            at CDevice.update (/opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:1028:22)
                                            at runRealtimeFunction (/opt/iobroker/node_modules/iobroker.yamaha-community/main.js:551:9)
                                            at /opt/iobroker/node_modules/iobroker.yamaha-community/main.js:710:9
                                            at /opt/iobroker/node_modules/iobroker.yamaha-community/node_modules/soef/soef.js:1268:35
                                        2020-04-22 20:20:01.891  - info: host.Server stopInstance system.adapter.yamaha-community.1 send kill signal
                                        2020-04-22 20:20:01.892  - info: yamaha-community.1 (20878) Got terminate signal TERMINATE_YOURSELF
                                        2020-04-22 20:20:02.337  - info: yamaha-community.1 (20878) terminating
                                        2020-04-22 20:20:02.338  - info: yamaha-community.1 (20878) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        2020-04-22 20:20:03.008  - info: host.Server instance system.adapter.yamaha-community.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        
                                        
                                        1 Reply Last reply Reply Quote 1
                                        • Garfonso
                                          Garfonso Developer last edited by

                                          Eine neue Version (0.3.21), die das fixt, sollte auf dem weg in latest sein (oder so?).. jedenfalls auf github: https://github.com/iobroker-community-adapters/ioBroker.yamaha (am besten noch warten bis https://github.com/iobroker-community-adapters/ioBroker.yamaha/pull/16 gemerged ist).

                                          Der -community adapter ist damit dann auch Geschichte und das läuft wieder unter dem alten Namen ioBroker.yamaha aber mit zumindest rudimentärer Pflege -> community könnt ihr dann löschen.

                                          BBTown 1 Reply Last reply Reply Quote 1
                                          • BBTown
                                            BBTown @Garfonso last edited by

                                            @Garfonso klasse, und vielen Dank
                                            Wie kann ich erkennen ob der pull gemerged wurde um den Adapter auszuprobieren?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            908
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            start file startinstance yamaha yamaha-community
                                            6
                                            39
                                            2738
                                            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