NEWS
Neuer Adapter: Yamaha MusicCast
-
@figugegu sagte in Neuer Adapter: Yamaha MusicCast:
Trotzdem: was bedeutet denn "warn"? Dass nur noch ab Stufe "warn" geloggt wird?
Ja
-
Vielen Dank! -
Hallo in die Runde,
nachdem ich einmal die Update-Runde auf meinem iobroker gefahren habe, schmeißt der Musiccast-Adapter ständig hin.
System:
Betriebssystem linux
Node.js v12.16.3
NPM 6.14.4Habt ihr eine Idee?
host.iobrokerGen2Revival 2020-05-01 13:58:09.094 error instance system.adapter.musiccast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) musiccast.0 2020-05-01 13:58:08.213 warn (13941) Terminated (UNCAUGHT_EXCEPTION): Without reason musiccast.0 2020-05-01 13:58:07.365 error (13941) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:58:07.364 error (13941) uncaught exception: Cannot read property 'preset' of undefined musiccast.0 2020-05-01 13:58:07.205 error (13941) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:58:07.204 error (13941) uncaught exception: Cannot read property 'preset' of undefined host.iobrokerGen2Revival 2020-05-01 13:57:56.129 error instance system.adapter.musiccast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) musiccast.0 2020-05-01 13:57:55.555 error (13926) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:57:55.553 error (13926) uncaught exception: Cannot read property 'preset' of undefined musiccast.0 2020-05-01 13:57:55.399 warn (13926) Terminated (UNCAUGHT_EXCEPTION): Without reason musiccast.0 2020-05-01 13:57:54.384 error (13926) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:57:54.383 error (13926) uncaught exception: Cannot read property 'preset' of undefined host.iobrokerGen2Revival 2020-05-01 13:57:46.964 error instance system.adapter.musiccast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) musiccast.0 2020-05-01 13:57:45.220 warn (13910) Terminated (UNCAUGHT_EXCEPTION): Without reason musiccast.0 2020-05-01 13:57:44.950 error (13910) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:57:44.948 error (13910) uncaught exception: Cannot read property 'preset' of undefined musiccast.0 2020-05-01 13:57:44.209 error (13910) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:57:44.208 error (13910) uncaught exception: Cannot read property 'preset' of undefined host.iobrokerGen2Revival 2020-05-01 13:57:35.806 error instance system.adapter.musiccast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) musiccast.0 2020-05-01 13:57:34.524 error (13894) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:57:34.523 error (13894) uncaught exception: Cannot read property 'preset' of undefined musiccast.0 2020-05-01 13:57:34.144 warn (13894) Terminated (UNCAUGHT_EXCEPTION): Without reason musiccast.0 2020-05-01 13:57:33.129 error (13894) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:57:33.128 error (13894) uncaught exception: Cannot read property 'preset' of undefined musiccast.0 2020-05-01 13:57:33.103 error (13894) TypeError: Cannot read property 'preset' of undefined at /opt/iobroker/node_modules/iobroker.musiccast/main.js:3281:123 at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/ut musiccast.0 2020-05-01 13:57:33.101 error (13894) uncaught exception: Cannot read property 'preset' of undefined
-
Hallo zusammen,
ich habe heute auch auf dem raspberry das Update von js-controller auf die Version 3.1.4 durchgeführt.
Seit her will mein Yamaha Musiccast Adapter auch nicht mehr. Habe den Pi schon mehrmals neu gestartet und auch die Instanz und die Objekte des Adapters gelöscht. Leider bleibt die Instanz rot und es wird keine Verbindung aufgebaut. Im Log kommen folgende Einträge:
Hat hier jemand eine Idee oder kann weiter helfen?
-
Der Fehler muss im Adapter behoben werden. Ich bereits einen PR dazu erstellt:
https://github.com/foxthefox/ioBroker.musiccast/pull/41Übergangsweise könnt ihr auch meinen Fork verwenden:
https://github.com/Scrounger/ioBroker.musiccast -
@Scrounger sagte in Neuer Adapter: Yamaha MusicCast:
Habe diese mal installiert.
Im log kommt:musiccast.0 2020-06-01 07:32:31.689 error (5960) [getMusicNetusbPreset] error: connect ETIMEDOUT 192.168.243.200:80, stack: Error: connect ETIMEDOUT 192.168.243.200:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) musiccast.0 2020-06-01 07:32:31.689 error (5960) [getMusicZoneLists] error: connect ETIMEDOUT 192.168.243.200:80, stack: Error: connect ETIMEDOUT 192.168.243.200:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) musiccast.0 2020-06-01 07:32:31.687 error (5960) [getMusicDeviceInfo] error: connect ETIMEDOUT 192.168.243.200:80, stack: Error: connect ETIMEDOUT 192.168.243.200:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) musiccast.0 2020-06-01 07:32:31.687 error (5960) [defineMusicDeviceFeatures] error: connect ETIMEDOUT 192.168.243.200:80, stack: Error: connect ETIMEDOUT 192.168.243.200:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) musiccast.0 2020-06-01 07:32:31.686 error (5960) [getMusicNetusbInfo] error: connect ETIMEDOUT 192.168.243.200:80, stack: Error: connect ETIMEDOUT 192.168.243.200:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) musiccast.0 2020-06-01 07:32:31.686 error (5960) [getMusicNetusbRecent] error: connect ETIMEDOUT 192.168.243.200:80, stack: Error: connect ETIMEDOUT 192.168.243.200:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) musiccast.0 2020-06-01 07:32:31.686 error (5960) [getMusicZoneInfo] error: connect ETIMEDOUT 192.168.243.200:80, stack: Error: connect ETIMEDOUT 192.168.243.200:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
Habe hier auch mal einen anderen thread aufgemacht.
https://forum.iobroker.net/topic/33966/bug-musiccast-seit-3-1-4
mfg
Dieter -
Noch ne Frage:
Wo ist der Unterschied:
https://github.com/Scrounger/ioBroker.musiccast
https://github.com/foxthefox/ioBroker.musiccast -
@bahnuhr
Das der Adapter nicht neustartet wenn der Fehler auftritt. -
@Scrounger sagte in Neuer Adapter: Yamaha MusicCast:
@bahnuhr
Das der Adapter nicht neustartet wenn der Fehler auftritt.Ja, das stimmt und klappt auch.
Es tritt aber trotzdem o.g. Fehler auf.
Anmerkung: 192...200 war nicht am Netz; also per Adapter nicht erreichbar. -
@bahnuhr
Genau, die Fehlermeldung sagt das das Gerät nicht erreichbar ist. Ich hab nur behoben, dass der Adapter nicht ständig neustartet.Da sollte vom Adapter Entwickler ein Fehlerhandling eingebaut werden.
Bis dahin müsst ihr halt mit den error Meldungen im Log leben. -
@Scrounger sagte in Neuer Adapter: Yamaha MusicCast:
@bahnuhr
Genau, die Fehlermeldung sagt das das Gerät nicht erreichbar ist. Ich hab nur behoben, dass der Adapter nicht ständig neustartet.Da sollte vom Adapter Entwickler ein Fehlerhandling eingebaut werden.
Bis dahin müsst ihr halt mit den error Meldungen im Log leben.Danke für die Info.
Passt schon.
Vielleicht liest der Entwickler ja mit. -
@bahnuhr sagte in Neuer Adapter: Yamaha MusicCast:
Vielleicht liest der Entwickler ja mit.
Habe eine PN an @foxthefox gesendet.
-
@sigi234 sagte in Neuer Adapter: Yamaha MusicCast:
@bahnuhr sagte in Neuer Adapter: Yamaha MusicCast:
Vielleicht liest der Entwickler ja mit.
Habe eine PN an @foxthefox gesendet.
Danke dir.
-
Hallo,
wir haben die Yamaha MusicCast 20. Leider ist Apple Music nicht ohne Handy möglich.
Damit meine ich die Faforitenknöpfe. Darauf kann man Listen legen. Apple MUsic ist aber nicht dabei.Ist es eventuell möglich, hier etwas zu tricksen? Habt ihr auch den Wunsch? Habt ihr einen Weg finden können?
-
@sigi234
Hallo,
wie kann ich die Datenpunkte für die z.B. Netradio Favoriten erstellen?
Im Yamaha-modul / Realtime / Netradio ??.
Kann mir hier jemand auf die Sprünge helfen? -
@wendel6000 sagte in Neuer Adapter: Yamaha MusicCast:
wie kann ich die Datenpunkte für die z.B. Netradio Favoriten erstellen?
Brauchst du nicht, sondern das Richtige Widget:
Natürlich musst du es an deine DP anpassen und den Adaper installieren.
Vis-materialdesign[{"tpl":"tplVis-materialdesign-Select","data":{"oid":"musiccast.0.RX-V481_08125F03.netusb.presetrecallnumber","g_fixed":true,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","inputType":"text","inputLayout":"outlined","showInputMessageAlways":false,"showInputCounter":false,"clearIconShow":true,"listDataMethod":"inputPerEditor","countSelectItems":"28","listPosition":"auto","showSelectedIcon":"prepend-inner","showValue":true,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"value0":"1","label0":"Krone Hitradio","value1":"2","label1":"Live Radio","value2":"3","label2":"Ö3","value3":"4","label3":"Arabella","value4":"5","label4":"Radio OÖ","value5":"6","label5":"Radio Max","listIcon0":"music-circle","listIcon1":"music-circle","listIcon2":"music-circle","listIcon3":"music-circle","listIcon4":"music-circle","listIcon5":"music-circle","inputLabelText":"","inputLayoutBackgroundColor":"transparent","inputTextColor":"#ffffff","inputLayoutBorderColor":"","listItemBackgroundColor":"#474747","inputLayoutBackgroundColorHover":"transparent","inputLayoutBackgroundColorSelected":"","inputLabelColor":"","inputLabelFontFamily":"","inputLabelFontSize":"12","listItemBackgroundHoverColor":"#fb12fd","listItemBackgroundSelectedColor":"#474747","listItemRippleEffectColor":"#fb12fd","listItemFont":"RobotoCondensed-Light","listItemFontColor":"#f7f7f7","inputTranslateX":"","inputTranslateY":"","listItemValueFont":"RobotoCondensed-Light","listItemValueFontColor":"#cac9c9","listItemValueFontHoverColor":"#fb12fd","listItemSubFontSize":"0","listItemValueFontSelectedColor":"#04dc25","inputLayoutBorderColorHover":"","listIconSize":"20","listItemFontSize":"12","listIconColor":"#1ea6fa","listIconSelectedColor":"#fb12fd","listIconHoverColor":"#fb12fd","listItemValueFontSize":"13","name":"Netradio_select","value6":"7","label6":"Antenne Bayern","value7":"8","label7":"Bayern 3","value8":"9","label8":"Deutsche Hits","value9":"10","label9":"Radio Kiss Kiss","value10":"11","label10":"Energy Österreich","value11":"12","label11":"Live Radio Party","value12":"13","label12":"Radio Austria","value13":"14","label13":"Welle1 Linz","value14":"15","label14":"80 Radio","value15":"16","label15":"Radio 88,6","value16":"17","label16":"Arabella Austria","value17":"18","label17":"Arabella Austropop","value18":"19","label18":"Arabella Energy Dance","value19":"20","label19":"Energy Latina","value20":"21","label20":"Radio Fly","value21":"22","label21":"1A 90er Hits","value22":"23","label22":"Antenne Tirol","value23":"24","label23":"FM1 Hot","value24":"25","label24":"Rock Antenne","value25":"26","label25":"80er Hits","value26":"27","label26":"Welle1 Salzburg","value27":"28","label27":"Radio Alpenfunk","value28":"29","label28":"Radio Volksmusik","listIcon6":"music-circle","listIcon7":"music-circle","listIcon8":"music-circle","listIcon9":"music-circle","listIcon10":"music-circle","listIcon11":"music-circle","listIcon12":"music-circle","listIcon13":"music-circle","listIcon14":"music-circle","listIcon15":"music-circle","listIcon16":"music-circle","listIcon18":"music-circle","listIcon17":"music-circle","listIcon19":"music-circle","listIcon20":"music-circle","listIcon21":"music-circle","listIcon22":"music-circle","listIcon23":"music-circle","listIcon24":"music-circle","listIcon25":"music-circle","listIcon26":"music-circle","listIcon27":"music-circle","listIcon28":"music-circle","listPositionOffset":false,"listItemFontSelectedColor":"#10fe33","inputTextFontFamily":"RobotoCondensed-Light","inputTextFontSize":"15","class":"","vibrateOnMobilDevices":"50"},"style":{"left":"1164px","top":"356px","width":"206px","height":"40px","z-index":"4","overflow-y":""},"widgetSet":"materialdesign"}]
Du kannst auch das Widget vom Musikcast nehmen. Present Selector.
-
@sigi234
Danke,
dennoch bräuchte ich die Datenpunkte, da ich nicht mit VIS arbeite. Die Datenpunkte werden an eine andere Software weiter gereicht. -
@wendel6000 sagte in Neuer Adapter: Yamaha MusicCast:
dennoch bräuchte ich die Datenpunkte,
musiccast.0.RX-V685_0DA87303.netusb.presetrecallnumber
Das ist der Datenpunkt für die Favoriten.
Und der Wert ist numerisch von 1 bis xxx. -
@bahnuhr
Danke.
Einen Wert zeigt der Datenpunkt zunächst nicht.
Wie bekomme ich die "Readings" aus den Favoriten im iobroker sichtbar?Sorry, ich bin iobroker-Neuling.
-
@wendel6000 sagte in Neuer Adapter: Yamaha MusicCast:
Wie bekomme ich die "Readings" aus den Favoriten im iobroker sichtbar?
versteh ich nicht ???
Du hast doch in der handy app die Favoriten angelegt.
Also, z.B.
1 = RTL Radio
2 = Bayern 3
3 = Hessen Info
usw.Und bei o.g. Objekt gibts du dort z.B. die 1 ein und RTL Radio wird abgespielt.
Eigentlich ganz einfach.