NEWS
yamaha-community.0: cannot find start file!
-
Ok, ich habe nochmal auf github den Namen korrigiert. Bitte neu von Github versuchen
-
@metaxa sagte in yamaha-community.0: cannot find start file!:
@Röstkartoffel ich habe ihn über die Katze installiert, läuft aber bei mir und sgi234 nicht.
Unter der Readme im GitHub steht
Installation via ioBroker Admin. Otherweise execute the following command in the iobroker root directory (e.g. in /opt/iobroker) npm install iobroker.yamaha iobroker upload yamaha
Frage:
Welchen Adapter nutze ich denn, wenn ich den Yamaha v0.3.19 über den Admin installiert habe? -
@Röstkartoffel heißt er denn in der Ansicht Yamaha-Community oder Yamaha? Tippe damit auf den originalen von soef
-
@apollon77 sagte in yamaha-community.0: cannot find start file!:
@metaxa der Datentyp ist falsch Boolean für ein Volume macht keinen Sinn. Muss im Adapter gefixt werden. Bitte issues anlegen
@apollon77 ist ja irre welches Tempo du vorlegst Ingo, danke!
Adaper über die Katze installiert, upload gemacht, Instanz angelegt:
host.ioBroker-Prod 2019-11-07 21:47:44.019 info instance system.adapter.yamaha-community.0 started with pid 24763 host.ioBroker-Prod 2019-11-07 21:47:42.542 info instance system.adapter.yamaha-community.0 terminated with code 156 (156) host.ioBroker-Prod 2019-11-07 21:47:42.498 info stopInstance system.adapter.yamaha-community.0 killing pid 24557 host.ioBroker-Prod 2019-11-07 21:47:41.494 info stopInstance system.adapter.yamaha-community.0 send kill signal host.ioBroker-Prod 2019-11-07 21:47:41.493 info stopInstance system.adapter.yamaha-community.0 host.ioBroker-Prod 2019-11-07 21:47:36.826 info instance system.adapter.yamaha-community.0 started with pid 24557 host.ioBroker-Prod 2019-11-07 21:47:15.886 info iobroker exit 0 host.ioBroker-Prod 2019-11-07 21:47:14.866 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0 created host.ioBroker-Prod 2019-11-07 21:47:14.828 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.alive created host.ioBroker-Prod 2019-11-07 21:47:14.797 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.connected created host.ioBroker-Prod 2019-11-07 21:47:14.763 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.compactMode created host.ioBroker-Prod 2019-11-07 21:47:14.731 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.cpu created host.ioBroker-Prod 2019-11-07 21:47:14.699 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.cputime created host.ioBroker-Prod 2019-11-07 21:47:14.660 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.memHeapUsed created host.ioBroker-Prod 2019-11-07 21:47:14.627 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.memHeapTotal created host.ioBroker-Prod 2019-11-07 21:47:14.595 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.memRss created host.ioBroker-Prod 2019-11-07 21:47:14.562 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.uptime created host.ioBroker-Prod 2019-11-07 21:47:14.530 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.inputCount created host.ioBroker-Prod 2019-11-07 21:47:14.497 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.outputCount created host.ioBroker-Prod 2019-11-07 21:47:14.465 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.eventLoopLag created host.ioBroker-Prod 2019-11-07 21:47:14.433 info iobroker host.ioBroker-Prod object system.adapter.yamaha-community.0.sigKill created host.ioBroker-Prod 2019-11-07 21:47:14.401 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands created host.ioBroker-Prod 2019-11-07 21:47:14.371 info iobroker host.ioBroker-Prod object yamaha-community.0.Realtime created host.ioBroker-Prod 2019-11-07 21:47:14.341 info iobroker host.ioBroker-Prod object yamaha-community.0.Realtime.MAIN.PWR created host.ioBroker-Prod 2019-11-07 21:47:14.306 info iobroker host.ioBroker-Prod object yamaha-community.0.SystemConfig created host.ioBroker-Prod 2019-11-07 21:47:14.275 info iobroker host.ioBroker-Prod object yamaha-community.0.SystemConfig.name created host.ioBroker-Prod 2019-11-07 21:47:14.251 info iobroker host.ioBroker-Prod object yamaha-community.0.SystemConfig.version created host.ioBroker-Prod 2019-11-07 21:47:14.207 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.xmlCommand created host.ioBroker-Prod 2019-11-07 21:47:14.175 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.command created host.ioBroker-Prod 2019-11-07 21:47:14.146 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.webradio created host.ioBroker-Prod 2019-11-07 21:47:14.115 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.volumeUp created host.ioBroker-Prod 2019-11-07 21:47:14.086 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.volumeDown created host.ioBroker-Prod 2019-11-07 21:47:14.053 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.adjustVolume created host.ioBroker-Prod 2019-11-07 21:47:14.023 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.toggleMute created host.ioBroker-Prod 2019-11-07 21:47:13.993 info iobroker host.ioBroker-Prod object yamaha-community.0.volume created host.ioBroker-Prod 2019-11-07 21:47:13.954 info iobroker host.ioBroker-Prod object yamaha-community.0.input created host.ioBroker-Prod 2019-11-07 21:47:13.923 info iobroker host.ioBroker-Prod object yamaha-community.0.surround created host.ioBroker-Prod 2019-11-07 21:47:13.893 info iobroker host.ioBroker-Prod object yamaha-community.0.mute created host.ioBroker-Prod 2019-11-07 21:47:13.864 info iobroker host.ioBroker-Prod object yamaha-community.0.power created host.ioBroker-Prod 2019-11-07 21:47:13.833 info iobroker host.ioBroker-Prod object yamaha-community.0.refresh created host.ioBroker-Prod 2019-11-07 21:47:13.778 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.stop created host.ioBroker-Prod 2019-11-07 21:47:13.748 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.pause created host.ioBroker-Prod 2019-11-07 21:47:13.718 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.skip created host.ioBroker-Prod 2019-11-07 21:47:13.643 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.rewind created host.ioBroker-Prod 2019-11-07 21:47:13.614 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.skip created host.ioBroker-Prod 2019-11-07 21:47:13.581 info iobroker host.ioBroker-Prod object yamaha-community.0.YPAOVolume created host.ioBroker-Prod 2019-11-07 21:47:13.492 info iobroker host.ioBroker-Prod object yamaha-community.0.extraBass created host.ioBroker-Prod 2019-11-07 21:47:13.450 info iobroker host.ioBroker-Prod object yamaha-community.0.adaptiveDRC created host.ioBroker-Prod 2019-11-07 21:47:13.419 info iobroker host.ioBroker-Prod object yamaha-community.0.partyMode created host.ioBroker-Prod 2019-11-07 21:47:13.389 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.partyModeVolumeUp created host.ioBroker-Prod 2019-11-07 21:47:13.358 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.partyModeVolumeDown created host.ioBroker-Prod 2019-11-07 21:47:13.327 info iobroker host.ioBroker-Prod object yamaha-community.0.hdmiOut1 created host.ioBroker-Prod 2019-11-07 21:47:13.298 info iobroker host.ioBroker-Prod object yamaha-community.0.hdmiOut2 created host.ioBroker-Prod 2019-11-07 21:47:13.268 info iobroker host.ioBroker-Prod object yamaha-community.0.pureDirect created host.ioBroker-Prod 2019-11-07 21:47:13.214 info iobroker host.ioBroker-Prod object yamaha-community.0.bass created host.ioBroker-Prod 2019-11-07 21:47:13.139 info iobroker host.ioBroker-Prod object yamaha-community.0.treble created host.ioBroker-Prod 2019-11-07 21:47:13.107 info iobroker host.ioBroker-Prod object yamaha-community.0.subwooferLevel created host.ioBroker-Prod 2019-11-07 21:47:13.077 info iobroker host.ioBroker-Prod object yamaha-community.0.dialogLift created host.ioBroker-Prod 2019-11-07 21:47:13.044 info iobroker host.ioBroker-Prod object yamaha-community.0.dialogLevel created host.ioBroker-Prod 2019-11-07 21:47:13.013 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.InputTo created host.ioBroker-Prod 2019-11-07 21:47:12.981 info iobroker host.ioBroker-Prod object yamaha-community.0.scene created host.ioBroker-Prod 2019-11-07 21:47:12.949 info iobroker host.ioBroker-Prod object yamaha-community.0.Commands.zone created host.ioBroker-Prod 2019-11-07 21:47:12.913 info iobroker host.ioBroker-Prod object yamaha-community.0.zone1 created host.ioBroker-Prod 2019-11-07 21:47:12.877 info iobroker host.ioBroker-Prod object yamaha-community.0.zone2 created host.ioBroker-Prod 2019-11-07 21:47:12.841 info iobroker host.ioBroker-Prod object yamaha-community.0.zone3 created host.ioBroker-Prod 2019-11-07 21:47:12.805 info iobroker host.ioBroker-Prod object yamaha-community.0.zone4 created host.ioBroker-Prod 2019-11-07 21:47:12.747 info iobroker host.ioBroker-Prod object yamaha-community.0.powerAllZones created host.ioBroker-Prod 2019-11-07 21:47:12.713 info iobroker host.ioBroker-Prod object yamaha-community.0.sleep created host.ioBroker-Prod 2019-11-07 21:47:12.701 info iobroker host.ioBroker-Prod create instance yamaha-community host.ioBroker-Prod 2019-11-07 21:47:10.964 info iobroker add yamaha-community --host ioBroker-Prod host.ioBroker-Prod 2019-11-07 21:46:54.482 info iobroker exit 0 host.ioBroker-Prod 2019-11-07 21:46:53.336 info iobroker upload [0] yamaha-community.admin /opt/iobroker/node_modules/iobroker.yamaha-community/admin/index.html index.html text/html host.ioBroker-Prod 2019-11-07 21:46:53.227 info iobroker upload [1] yamaha-community.admin /opt/iobroker/node_modules/iobroker.yamaha-community/admin/yamaha.png yamaha.png image/png host.ioBroker-Prod 2019-11-07 21:46:51.777 info iobroker upload yamaha-community host.ioBroker-Prod 2019-11-07 21:46:26.081 info Update repository "latest" under "http://download.iobroker.net/sources-dist-latest.json" host.ioBroker-Prod 2019-11-07 21:46:25.874 info iobroker exit 0 host.ioBroker-Prod 2019-11-07 21:46:24.710 info iobroker upload [0] yamaha-community.admin /opt/iobroker/node_modules/iobroker.yamaha-community/admin/index.html index.html text/html host.ioBroker-Prod 2019-11-07 21:46:24.597 info iobroker upload [1] yamaha-community.admin /opt/iobroker/node_modules/iobroker.yamaha-community/admin/yamaha.png yamaha.png image/png host.ioBroker-Prod 2019-11-07 21:45:56.401 info iobroker npm install https://github.com/iobroker-community-adapters/ioBroker.yamaha-community/tarball/c1455e62eac7c07f6112751e873bd2ffa08887f3 --loglevel error --production --save --prefix "/opt/iobr host.ioBroker-Prod 2019-11-07 21:45:56.398 info iobroker NPM version: 6.9.2 host.ioBroker-Prod 2019-11-07 21:45:55.809 info iobroker install https://github.com/iobroker-community-adapters/ioBroker.yamaha-community/tarball/c1455e62eac7c07f6112751e873bd2ffa08887f3 host.ioBroker-Prod 2019-11-07 21:45:53.607 info iobroker url "https://github.com/iobroker-community-adapters/ioBroker.yamaha-community.git" host.ioBroker-Prod 2019-11-07 21:45:10.107 info instance system.adapter.ical.0 terminated with code 0 (NO_ERROR) host.ioBroker-Prod 2019-11-07 21:45:00.025 info instance system.adapter.ical.0 started with pid 20934 host.ioBroker-Prod 2019-11-07 21:44:43.580 info iobroker exit 0 host.ioBroker-Prod 2019-11-07 21:44:42.564 info object deleted system.adapter.yamaha-community.0 host.ioBroker-Prod 2019-11-07 21:44:40.428 info iobroker host.ioBroker-Prod Deleting 60 object(s). host.ioBroker-Prod 2019-11-07 21:44:38.223 info iobroker host.ioBroker-Prod Counted 13 states of system.adapter.yamaha-community.0 host.ioBroker-Prod 2019-11-07 21:44:38.205 info iobroker host.ioBroker-Prod Counted 43 states of yamaha-community.0 host.ioBroker-Prod 2019-11-07 21:44:38.185 info iobroker host.ioBroker-Prod Counted 2 channels of yamaha-community.0 host.ioBroker-Prod 2019-11-07 21:44:38.167 info iobroker host.ioBroker-Prod Counted 1 devices of yamaha-community.0 host.ioBroker-Prod 2019-11-07 21:44:38.151 info iobroker host.ioBroker-Prod Counted 1 instances of yamaha-community.0 host.ioBroker-Prod 2019-11-07 21:44:38.125 info iobroker Delete adapter "yamaha-community.0" host.ioBroker-Prod 2019-11-07 21:44:36.416 info iobroker del yamaha-community.0
Adapter wird nach eintrag der IP sofort grün, werde meine Scripte nun umstellen und beobachten.
Lieben Dank für deine Arbeit!
mxa -
@apollon77
Er heißt einfach nur Yamaha. Also ist es der Originale von soef.
Danke für die Info. -
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.
-
@metaxa sagte in yamaha-community.0: cannot find start file!:
mit dem überarbeiteten comm adapter
naja viel "Überarbeitet" ist da gerade noch nicht
-
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
-
@metaxa Ahhh das in dem Issue beides drin ist hab ich übersehen ggggrrr
-
Dann jetzt. Bitte instanz löschen, neu installieren
-
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...
-
@apollon77 sagte in yamaha-community.0: cannot find start file!:
Dann jetzt. Bitte instanz löschen, neu installieren
Danke Ingo, jetzt paßt es!
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
-
@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
-
@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
-
@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
-
@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. -
@Garfonso wenn ich zum Testen zur Verfügung stehen soll, ich bin dabei
-
@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
-
@sigi234 War bisher noch keinem Tester aufgefallen
-
@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.