foxthefox / iobroker.musiccast Goto Github PK
View Code? Open in Web Editor NEWioBroker Yamaha MusicCast adapter
License: MIT License
ioBroker Yamaha MusicCast adapter
License: MIT License
40% of the users are using this version already
Version: stable=0.0.8 (639 days old) => latest=0.1.3 (28 days old)
Installs: stable=248 (52.43%), latest=105 (22.2%), total=473
Click to edit
@foxthefox
Hab festgestellt das dein Widget "Album img src" nicht in der Android App ioBroker.vis angezeigt wird.
Verwende ich das "haus" Widget "String img src" wird es in der App angezeigt. Kannst du das bitte fixen, da dein Widget den vorteil bietet, dass Aspect Ratio eingehalten wird
Describe the bug
I updated from 0.22 to 1.01. After this the adapter crashes when I am using it.
To Reproduce
I did not yet get into details at which call it crashes. Below you will find the iobroker log for the crash. I am accessing the Musiccast adapter with Javascript and Node Red.
Please let me know which additional information I should provide or which information you need to locate the problem.
Expected behavior
No crash :-)
Screenshots & Logfiles
2022-04-26 06:52:41.033 - warn: musiccast.0 (2508244) State "musiccast.0.WX-051_06F42853.main.input_text" has no existing object, this might lead to an error in future versions 2022-04-26 06:52:42.904 - error: musiccast.0 (2508244) 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(). 2022-04-26 06:52:42.905 - error: musiccast.0 (2508244) unhandled promise rejection: Unexpected token o in JSON at position 1 2022-04-26 06:52:42.907 - error: musiccast.0 (2508244) SyntaxError: Unexpected token o in JSON at position 1 2022-04-26 06:52:42.908 - error: musiccast.0 (2508244) Unexpected token o in JSON at position 1 2022-04-26 06:52:42.913 - warn: musiccast.0 (2508244) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-04-26 06:52:43.500 - error: host.MediaPC instance system.adapter.musiccast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-04-26 06:52:43.504 - info: host.MediaPC Restart adapter system.adapter.musiccast.0 because enabled 2022-04-26 06:53:13.589 - info: host.MediaPC instance system.adapter.musiccast.0 started with pid 2833269 2022-04-26 06:53:15.263 - warn: musiccast.0 (2833269) State "musiccast.0.WX-051_06F42853.main.input_text" has no existing object, this might lead to an error in future versions 2022-04-26 06:53:22.891 - error: musiccast.0 (2833269) 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(). 2022-04-26 06:53:22.892 - error: musiccast.0 (2833269) unhandled promise rejection: Unexpected token o in JSON at position 1 2022-04-26 06:53:22.895 - error: musiccast.0 (2833269) SyntaxError: Unexpected token o in JSON at position 1 2022-04-26 06:53:22.896 - error: musiccast.0 (2833269) Unexpected token o in JSON at position 1 2022-04-26 06:53:22.903 - warn: musiccast.0 (2833269) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-04-26 06:53:23.464 - error: host.MediaPC instance system.adapter.musiccast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-04-26 06:53:23.465 - info: host.MediaPC Restart adapter system.adapter.musiccast.0 because enabled 2022-04-26 06:53:53.533 - info: host.MediaPC instance system.adapter.musiccast.0 started with pid 2833592 2022-04-26 06:53:55.123 - warn: musiccast.0 (2833592) State "musiccast.0.WX-051_06F42853.main.input_text" has no existing object, this might lead to an error in future versions 2022-04-26 06:54:09.163 - error: musiccast.0 (2833592) 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(). 2022-04-26 06:54:09.163 - error: musiccast.0 (2833592) unhandled promise rejection: Unexpected token o in JSON at position 1 2022-04-26 06:54:09.165 - error: musiccast.0 (2833592) SyntaxError: Unexpected token o in JSON at position 1 2022-04-26 06:54:09.167 - error: musiccast.0 (2833592) Unexpected token o in JSON at position 1 2022-04-26 06:54:09.172 - warn: musiccast.0 (2833592) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-04-26 06:54:09.395 - warn: musiccast.0 (2833592) State "musiccast.0.WX-051_06F42853.main.input_text" has no existing object, this might lead to an error in future versions 2022-04-26 06:54:09.748 - error: host.MediaPC instance system.adapter.musiccast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-04-26 06:54:09.751 - info: host.MediaPC Restart adapter system.adapter.musiccast.0 because enabled 2022-04-26 06:54:09.751 - warn: host.MediaPC Do not restart adapter system.adapter.musiccast.0 because restart loop detected 2022-04-26 06:59:01.976 - info: host.MediaPC iobroker Update "system.adapter.musiccast.0" 2022-04-26 06:59:02.066 - info: host.MediaPC instance system.adapter.musiccast.0 started with pid 2835839 2022-04-26 06:59:03.686 - warn: musiccast.0 (2835839) State "musiccast.0.WX-051_06F42853.main.input_text" has no existing object, this might lead to an error in future versions
Versions:
Hallo,
seit js-controller 3.1.4. startet mussiccast wg. Fehler ständig neu.
https://forum.iobroker.net/topic/33966/bug-musiccast-seit-3-1-4
mfg
Dieter
With current 1.03 the input can not be changed via adapter for YAS-306 and WX-10. Other settings working.
I've removed the adapter completly and installed new, same result.
There is a new input_text, but this is
not writable and always shows (null)
The log shows, that the input command is marked with Ack=false.
2022-05-29 12:11:47.708 - info: musiccast.0 (17057) state musiccast.0.YAS-306_00A0DED8DC1E.main.input changed: tv (ack = false)
Complete debug-log and configuration here:
musiccast.log.txt
json.txt
Edit: I've gone back some versions, seems v0.2.2 (2022-01-02) is the last with working input change. Pre1.0.0 from feb07 not working.
Edit2: FYI: I've changed input setting to old (before refactoring) logic, and this works for me: see: MichaelDvP@c5cbde2
Musiccast Adapter: 0.1.3
JS controller: 3.0.18
Node.js: 10.20.1
NPM: 6.14.4
Wenn ein Endgerät nicht erreichbar ist, startet der Adapter pausenlos neu.
Beispiel:
host.iobroker 2020-04-25 12:11:40.974 info Restart adapter system.adapter.musiccast.0 because enabled
host.iobroker 2020-04-25 12:11:40.974 info instance system.adapter.musiccast.0 terminated with code 0 (NO_ERROR)
musiccast.0 2020-04-25 12:11:40.450 info (10096) Terminated (NO_ERROR): Without reason
musiccast.0 2020-04-25 12:11:40.449 info (10096) terminating
musiccast.0 2020-04-25 12:11:40.448 error (10096) Error: connect EHOSTUNREACH x.x.x.x:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
musiccast.0 2020-04-25 12:11:40.448 error (10096) uncaught exception: connect EHOSTUNREACH x.x.x.x:80
musiccast.0 2020-04-25 12:11:40.447 error (10096) Error: connect EHOSTUNREACH x.x.x.x:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
musiccast.0 2020-04-25 12:11:40.447 error (10096) uncaught exception: connect EHOSTUNREACH x.x.x.x:80
musiccast.0 2020-04-25 12:11:40.445 error (10096) Error: connect EHOSTUNREACH x.x.x.x:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
musiccast.0 2020-04-25 12:11:40.444 error (10096) uncaught exception: connect EHOSTUNREACH x.x.x.x:80
musiccast.0 2020-04-25 12:11:40.444 error (10096) Error: connect EHOSTUNREACH x.x.x.x:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
musiccast.0 2020-04-25 12:11:40.444 error (10096) uncaught exception: connect EHOSTUNREACH x.x.x.x:80
musiccast.0 2020-04-25 12:11:40.444 error (10096) Error: connect EHOSTUNREACH x.x.x.x:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
musiccast.0 2020-04-25 12:11:40.444 error (10096) uncaught exception: connect EHOSTUNREACH x.x.x.x:80
musiccast.0 2020-04-25 12:11:40.443 error (10096) Error: connect EHOSTUNREACH x.x.x.x:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
musiccast.0 2020-04-25 12:11:40.443 error (10096) uncaught exception: connect EHOSTUNREACH x.x.x.x:80
musiccast.0 2020-04-25 12:11:40.442 info (10096) cleaned everything up...
musiccast.0 2020-04-25 12:11:40.441 error (10096) Error: connect EHOSTUNREACH x.x.x.x:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
musiccast.0 2020-04-25 12:11:40.440 error (10096) uncaught exception: connect EHOSTUNREACH x.x.x.x:80
Please formulate your CSS instructions more specifically and limit the effectiveness with your own container.
Your generally defined CSS classes (e.g. div.row) have negative side effects even if the CSS classes were defined more specifically in the other area (iobroker.tvprogram).
Hi,
das anmachen meiner WX-10 per Script funktionier einwandfrei, das ausmachen allerdings nicht. Das kuriose, über die GUI unter Objekte kann ich den status auf false setzten und es funktioniert.
Folgendes funktioniert:
setState("musiccast.0.WX-010_047F5D13.main.power"/*Power ON/OFF(Standby)*/, 'true');
das hier nicht:
setState("musiccast.0.WX-010_047F5D13.main.power"/*Power ON/OFF(Standby)*/, 'false');
habe es auch schon so probiert
setState("musiccast.0.WX-010_047F5D13.main.power"/*Power ON/OFF(Standby)*/, 'false', true);
Gruß Jonas
Hi,
wenn man per App zwei Musiccastgeräte verbindet bekommen Sie immer eine neue GruppenID, Input wird auf beim Client auf mc_link gesetzt, aber wenn man es via Script setzt funktioniert es nicht. Hast du eine Idee wie man per Button Link ein und ausschalten kann?
Danke!
Describe the bug
When i use "Alexa - Musiccast - Skill (not Musiccast Smart Home Skill!)" states within the musiccast adapter wont change.
For Example (Device Name:Bathroom):
Alexa, turn on Bathroom - Bathroom turns on and obeject "power" turns true
Alexa, tell Musiccast Bathroom to play favorite number 2 - Bathroom plays Favorite 2 but musiccast instance wont recognize, so "presentrecallnumber", "input" and so on wont change.
Versions:
Thanks for help!
2024-06-08 12:23:53.215 warn State "musiccast.0.RX-A3080_06EB9093.main.surround_ai" has no existing object, this might lead to an error in future versions
For Admin3 some changes are needed: see http://forum.iobroker.net/viewtopic.php?f=24&t=10268
Since a few days my IOBroker log is full of errors like
`
musiccast.0 | 2023-05-30 23:46:21.065 | error | [getMusicTunerInfo] error: connect ETIMEDOUT 192.168.111.151:80, stack: Error: connect ETIMEDOUT 192.168.111.151:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
musiccast.0 | 2023-05-30 23:46:16.968 | error | [getMusicTunerInfo] error: connect ETIMEDOUT 192.168.111.151:80, stack: Error: connect ETIMEDOUT 192.168.111.151:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
musiccast.0 | 2023-05-30 23:46:16.879 | error | [getMusicTunerInfo] error: socket hang up, stack: Error: socket hang up at connResetException (node:internal/errors:705:14) at Socket.socketOnEnd (node:_http_client:518:23) at Socket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)
musiccast.0 | 2023-05-30 23:46:14.921 | error | [getMusicTunerInfo] error: connect ETIMEDOUT 192.168.111.151:80, stack: Error: connect ETIMEDOUT 192.168.111.151:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
musiccast.0 | 2023-05-30 23:45:52.393 | error | [getMusicTunerInfo] error: connect ETIMEDOUT 192.168.111.151:80, stack: Error: connect ETIMEDOUT 192.168.111.151:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
musiccast.0 | 2023-05-30 23:45:49.202 | error | [getMusicTunerInfo] error: socket hang up, stack: Error: socket hang up at connResetException (node:internal/errors:705:14) at Socket.socketOnEnd (node:_http_client:518:23) at Socket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)
musiccast.0 | 2023-05-30 23:45:48.297 | error | [getMusicTunerInfo] error: connect ETIMEDOUT 192.168.111.151:80, stack: Error: connect ETIMEDOUT 192.168.111.151:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
musiccast.0 | 2023-05-30 23:45:44.203 | error | [getMusicTunerInfo] error: connect ETIMEDOUT 192.168.111.151:80, stack: Error: connect ETIMEDOUT 192.168.111.151:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
musiccast.0 | 2023-05-30 23:45:44.202 | error | [getMusicTunerInfo] error: connect ETIMEDOUT 192.168.111.151:80, stack: Error: connect ETIMEDOUT 192.168.111.151:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
musiccast.0 | 2023-05-30 23:45:33.377 | error | [getMusicTunerInfo] error: socket hang up, stack: Error: socket hang up at connResetException (node:internal/errors:705:14) at Socket.socketOnEnd (node:_http_client:518:23) at Socket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)
`
No idea what changed. It started 3 or 4 days ago.
Musiccast App on my mobile did not recognize my Amp a few day ago as well. I had to reset it and log on again.
Amp is coneccted to a route via network cable. IOBroker is as well connected to the internal network via cable.
To Reproduce
Expected behavior
No errors and responsive behaviour
Screenshots & Logfiles
Versions:
Hallo,
Habe 2 Yamaha WX-010 und würde diese gerne für meine Haustürklingel benutzen. Es soll also beim Betätigen der Klingel ein Klingelton auf den Boxen abgespielt werden. Geht das?
@foxthefox:
Den namen den ich den Einstellungen gesetzt habe, z.B. Bad
wird nicht in den Objekten übernommen, also der common.name:
Kannst du das bitte fixen, da ich den Namen in verschiedenen Scripten benötige, um z.B. auszugeben welches Geräte gerade noch on ist.
Danke!
Log is getting full of warning as stated in the title.
e.g. "main.input_text has no existing object, this might lead to an error in future"
Although state of main.input is for example "server"
Adapter works pretty good.
Is it possible to disable this warning?
Yamaha musiccast Version 0.2.0
iobroker host 5.1.25
iobroker 3.3.18
node.js 12.22.6
Version: stable=1.1.0 (324 days old) => latest=1.1.3 (15 days old)
Installs: stable=700 (56.22%), latest=63 (5.06%), total=1245
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Hallo,
ich habe mir den Adapter heute in ioBroker installiert und die Grundfunktionalität klappt soweit.
Nur wird der Log dauernd mit der Spielzeit aktualisiert, obwohl beides in der Konfiguration abgewählt ist. Muss ich sonst noch wo was einstellen? Falls Infos fehlen bitte um Nachsicht, ist heut mein erster Eintrag und ich weiß nicht was alles zur Analyse gefordert/benötigt wird.
Folgende beiden Zeilen werden durchgehend geloggt.
musiccast.0 | 2020-05-15 16:40:36.218 | debug | (31013) processing update from: [object Object] with {"netusb":{"play_time":549},"device_id":"AC44F2692261"} |
---|---|---|---|
musiccast.0 | 2020-05-15 16:40:36.218 | debug | (31013) server got:{"netusb":{"play_time":549},"device_id":"AC44F2692261"} from 192.168.178.36 |
musiccast.0 | 2020-05-15 16:40:35.211 | debug | (31013) processing update from: [object Object] with {"netusb":{"play_time":548},"device_id":"AC44F2692261"} |
musiccast.0 | 2020-05-15 16:40:35.211 | debug | (31013) server got:{"netusb":{"play_time":548},"device_id":"AC44F2692261"} from 192.168.178.36 |
musiccast.0 | 2020-05-15 16:40:34.208 | debug | (31013) processing update from: [object Object] with {"netusb":{"play_time":547},"device_id":"AC44F2692261"} |
musiccast.0 | 2020-05-15 16:40:34.208 | debug | (31013) server got:{"netusb":{"play_time":547},"device_id":"AC44F2692261"} from 192.168.178.36 |
We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.
Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512
On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.
Thank you for your support.
Hallo,
bei mir erscheint seit heute ein Fehler im Log und der Adaptert startet dauernd neu.
(Log im Anhang)
Habe heute auf JS-Controler 3.0.14 upgedatet. Davor war alles i.O.
Version 0.14 des Adapters auch aus dem git installiert --> Gleicher Fehler.
Vielen Dank für deine Bemühungen
mfG Matthias
Ich hab das folgende Problem, dass der Adapter nach ca. 20min keine state änderungen mehr erfasst. Also wenn ich über die MusicCast App ein Gerät anschaltet, bekommt der Adapter das nicht mit. Funktioniert erst wieder wenn ich den Adapter neu startet oder aktiv über ioBroker z.B. ein Gerät anschalte.
In den Log Files (Debug) steht auch nichts brauchbares.
Hab den Adperter auch schon neu installiert und es nur mit den einzelnen Geräten versucht (also alle anderen raus gelöscht). Leider ohne Erfolg. Einzige Möglichkeit ist, den Adapter automatisch alle 5min neuzustarten.
Package.json seems to contain TWO entries for axios.
ioBroker.musiccast/package.json
Line 32 in 3e54d58
Hi,
the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.
You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.
Please update your systems to js-controller 2.0 and check your adapter.
Please close this issue once you have checked your adapter or received successfull reports from users.
Thank you very much for your support. Please contact us in the other Threads or Forum on any question.
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/foxthefox/ioBroker.musiccast
ERR:["E201"]:ERR
Thanks,
your automatic adapter checker.
Hallo, der Adapter aktualisiert nicht mehr.
Nur nach einen Neustart werden die DP aktualisiert.
`[{},{"device":"RX-V481_08125F03","request":"/system/getDeviceInfo","responses":{"response_code":0,"model_name":"RX-V481","destination":"BG","device_id":"00A0DEFA01A7","system_id":"08125F03","system_version":2.65,"api_version":2.04,"netmodule_generation":1,"netmodule_version":"1813 ","netmodule_checksum":"4E2DC16D","operation_mode":"normal","update_error_code":"00000000"}},{"device":"RX-V481_08125F03","request":"/system/getFeatures","responses":{"response_code":0,"system":{"func_list":["wired_lan","wireless_lan","wireless_direct","network_standby","network_standby_auto","bluetooth_standby","bluetooth_tx_setting","zone_b_volume_sync","hdmi_out_1","airplay","disklavier_settings","network_reboot"],"zone_num":2,"input_list":[{"id":"spotify","distribution_enable":true,"rename_enable":false,"account_enable":false,"play_info_type":"netusb"},{"id":"juke","distribution_enable":true,"rename_enable":false,"account_enable":true,"play_info_type":"netusb"},{"id":"qobuz","distribution_enable":true,"rename_enable":false,"account_enable":true,"play_info_type":"netusb"},{"id":"airplay","distribution_enable":false,"rename_enable":false,"account_enable":false,"play_info_type":"netusb"},{"id":"mc_link","distribution_enable":false,"rename_enable":true,"account_enable":false,"play_info_type":"netusb"},{"id":"server","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"netusb"},{"id":"net_radio","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"netusb"},{"id":"bluetooth","distribution_enable":true,"rename_enable":false,"account_enable":false,"play_info_type":"netusb"},{"id":"usb","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"netusb"},{"id":"tuner","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"tuner"},{"id":"hdmi1","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"hdmi2","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"hdmi3","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"hdmi4","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"av1","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"av2","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"av3","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"av4","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"audio1","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"audio2","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"},{"id":"aux","distribution_enable":true,"rename_enable":true,"account_enable":false,"play_info_type":"none"}]},"zone":[{"id":"main","func_list":["power","sleep","volume","mute","sound_program","direct","enhancer","tone_control","dialogue_level","signal_info","prepare_input_change","link_control","link_audio_delay","link_audio_quality","scene","cursor","menu","surr_decoder_type","contents_display","actual_volume"],"input_list":["spotify","juke","qobuz","airplay","mc_link","server","net_radio","bluetooth","usb","tuner","hdmi1","hdmi2","hdmi3","hdmi4","av1","av2","av3","av4","audio1","audio2","aux"],"sound_program_list":["munich","vienna","chamber","cellar_club","roxy_theatre","bottom_line","sports","action_game","roleplaying_game","music_video","standard","spectacle","sci-fi","adventure","drama","mono_movie","2ch_stereo","5ch_stereo","surr_decoder","straight"],"surr_decoder_type_list":["toggle","dolby_pl","dolby_pl2x_movie","dolby_pl2x_music","dolby_pl2x_game","dts_neo6_cinema","dts_neo6_music"],"tone_control_mode_list":["manual"],"link_control_list":["speed","standard","stability"],"link_audio_delay_list":["audio_sync","lip_sync"],"link_audio_quality_list":["compressed","uncompressed"],"range_step":[{"id":"volume","min":0,"max":161,"step":1},{"id":"tone_control","min":-12,"max":12,"step":1},{"id":"dialogue_level","min":0,"max":3,"step":1},{"id":"actual_volume_db","min":-80.5,"max":16.5,"step":0.5},{"id":"actual_volume_numeric","min":0,"max":97,"step":0.5}],"scene_num":4,"cursor_list":["up","down","left","right","select","return"],"menu_list":["on_screen","top_menu","menu","option","display"],"actual_volume_mode_list":["db","numeric"]},{"id":"zone2","zone_b":true,"func_list":["power","volume","mute","prepare_input_change","actual_volume"],"input_list":["spotify","juke","qobuz","airplay","mc_link","server","net_radio","bluetooth","usb","tuner","hdmi1","hdmi2","hdmi3","hdmi4","av1","av2","av3","av4","audio1","audio2","aux"],"range_step":[{"id":"volume","min":0,"max":161,"step":1},{"id":"actual_volume_db","min":-80.5,"max":16.5,"step":0.5},{"id":"actual_volume_numeric","min":0,"max":97,"step":0.5}],"actual_volume_mode_list":["db","numeric"]}],"tuner":{"func_list":["am","fm","rds"],"range_step":[{"id":"am","min":531,"max":1611,"step":9},{"id":"fm","min":87500,"max":108000,"step":50}],"preset":{"type":"common","num":40}},"netusb":{"func_list":["recent_info","play_queue","mc_playlist","streaming_service_use"],"preset":{"num":40},"recent_info":{"num":40},"play_queue":{"size":200},"mc_playlist":{"size":200,"num":5},"net_radio_type":"airable","pandora":{"sort_option_list":["date","alphabet"]}},"distribution":{"version":2,"compatible_client":[2],"client_max":9,"server_zone_list":["main"]},"ccs":{"supported":true},"privacy":{"gdpr_supported":true}}},{"device":"RX-V481_08125F03","request":"/main/getStatus","responses":{"response_code":0,"power":"on","sleep":0,"volume":49,"mute":false,"max_volume":161,"input":"net_radio","distribution_enable":true,"sound_program":"2ch_stereo","surr_decoder_type":"dolby_pl","direct":false,"enhancer":true,"tone_control":{"mode":"manual","bass":12,"treble":2},"dialogue_level":3,"link_control":"standard","link_audio_delay":"lip_sync","link_audio_quality":"compressed","disable_flags":0,"actual_volume":{"mode":"db","value":-56,"unit":"dB"},"contents_display":true}},{"device":"RX-V481","request":"/netusb/getPlayInfo","responses":{"response_code":0,"input":"net_radio","play_queue_type":"system","playback":"play","repeat":"off","shuffle":"off","play_time":177,"total_time":0,"artist":"Hitradio Ö3 (Vienna/German)","album":"","track":"Avec - Home","albumart_url":"/YamahaRemoteControl/AlbumART/AlbumART6460.png","albumart_id":6460,"usb_devicetype":"unknown","auto_stopped":false,"attribute":16785411,"repeat_available":[],"shuffle_available":[]}}]
`
Adapter :
V 0.1.3
System:
Platform: Windows
os: win32
Architecture: x64
RAM: 7.9 GB
Node.js: v10.16.3
NPM: 6.9.0
JS: 2.2.8
Admin: 3.7.9
Dear Adapter developer,
with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.
If something is not correct this is logged as 'warning' or 'info' log.
Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!
Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1749
Please close the issue after you checked it.
Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!
Version: stable=1.1.0 (325 days old) => latest=1.1.3 (16 days old)
Installs: stable=702 (56.25%), latest=63 (5.05%), total=1248
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/foxthefox/ioBroker.musiccast
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Hallo,
kann man den Adapter für VIS2 anpassen? Die alten Widgets funktionieren nicht Richtig.
Oder noch besser diese beim installieren vom Adapter auslassen?
LG
Sigi
Dear Adapter developer,
with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.
If something is not correct this is logged as 'warning' or 'info' log.
Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1301
Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.
More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui
Please close the issue after you checked it.
Thank you very much for your support!
Hallo,
ich setze gerade neu auf und erhalte folgenden Meldung:
Wrong type of musiccast.0.WX-030_00BD7B73.main.power: "string". Please fix, while deprecated and will not work in next versions.
Ich weiß nicht genau, was zu tun ist. Kann ich mit noch mehr Infos dienen?
Hallo, ich starte eine Playlist über den Spotify Adapter und immer nach einigen Minuten stoppt die Wiedergabe weil der playback status aus irgendeinem Grund auf Pause gesetzt wird. Woran kann das liegen?
danke!
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/foxthefox/ioBroker.musiccast
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Bei mir funktioniert der Button "stop" nicht. Keine Veränderung des Wertes playback status.
Die übrigen Button funktionieren wie vorgesehen.
Hallo zusammen,
wie ist es möglich einen Favoriten zu starten (z.B. um den Radiosneder zu wechseln?). In Homematic-Script habe ich es so gelöst:
string cmd="LD_LIBRARY_PATH=/usr/local/addons/cuxd /usr/local/addons/cuxd/curl -s -k 'http://"#tmpA#"/YamahaExtendedControl/v1/netusb/recallPreset?zone=main&num=1'";
Wie kann man dies hier implementieren?
Hallo,
Warnmeldungen mit Beta Test vom JS Controler:
js-controller 3.2.x - has no existing object nac
`
musiccast.0 | 2021-01-11 23:19:36.318 | warn | (16672) State "musiccast.0.RX-V481_08125F03.tuner.fm.audio_mode" has no existing object, this might lead to an error in future versions |
---|---|---|---|
musiccast.0 | 2021-01-11 23:19:36.318 | warn | (16672) State "musiccast.0.RX-V481_08125F03.tuner.band" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:27.646 | warn | (16672) State "musiccast.0.RX-V481_08125F03.tuner.fm.audio_mode" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:27.646 | warn | (16672) State "musiccast.0.RX-V481_08125F03.tuner.band" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.536 | warn | (16672) State "musiccast.0.RX-V481_08125F03.tuner.fm.audio_mode" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.535 | warn | (16672) State "musiccast.0.RX-V481_08125F03.tuner.band" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.485 | warn | (16672) State "musiccast.0.RX-V481_08125F03.zone2.distribution_enable" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.485 | warn | (16672) State "musiccast.0.RX-V481_08125F03.zone2.response_code" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.449 | warn | (16672) State "musiccast.0.RX-V481_08125F03.main.response_code" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.423 | warn | (16672) State "musiccast.0.RX-V481_08125F03.netusb.albumart_id" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.422 | warn | (16672) State "musiccast.0.RX-V481_08125F03.netusb.response_code" has no existing object, this might lead to an error in future versions |
musiccast.0 | 2021-01-11 23:19:25.422 | warn | (16672) State "musiccast.0.RX-V481_08125F03netusb.getPlayInfo" has no existing object, this might lead to an error in future versions |
`
Muss bzw. kann man das im Adapter anpassen?
Hi,
In earlier version it worked. Updated to the newest 1.0.6 which leads my JS script to crash after
updating e.g musiccast.0.WX-030_02AF5223.main.add_to_group updated with "10.0.0.5" which is my Yamaha RX2070 source for the MC WX 030 target. Worked until now...
Thank you
`musiccast.0 | 2022-10-05 18:48:35.864 | error | Unexpected token o in JSON at position 1 |
---|---|---|---|
musiccast.0 | 2022-10-05 18:48:35.863 | error | SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse () at /opt/iobroker/node_modules/iobroker.musiccast/main.js:477:18 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Musiccast.onStateChange (/opt/iobroker/node_modules/iobroker.musiccast/main.js:476:8) |
musiccast.0 | 2022-10-05 18:48:35.861 | error | unhandled promise rejection: Unexpected token o in JSON at position 1 |
musiccast.0 | 2022-10-05 18:48:35.859 | 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(). |
musiccast.0 | 2022-10-05 18:45:04.625 | error | Unexpected token o in JSON at position 1 |
` |
Version: stable=0.0.8 (653 days old) => latest=0.1.3 (43 days old)
Installs: stable=258 (51.81%), latest=125 (25.1%), total=498
Click to edit
Hallo Klaus,
der DP link_audio_delay kann zwar editiert werden, führt aber zu keiner Veränderung in MC, obwohl er als schreibender Datenpunkt ausgelegt ist. Wenn ich in der App umstelle, wird der Datenpunkt angepasst, aber umgekehrt eben nicht.
Kannst Du das einmal überprüfen?
Für mich ist das essentiell, da mal Musik, mal Videoinhalte vom Master "Wohnzimmer" gespielt werden und ich die Audio-Verzögerung zwischen "audio_sync" und "lip_sync" umschalten muss.
Vielen Dank vorab.
Frank
PS: Super Adapter!
Version: stable=0.1.5 (905 days old) => latest=1.1.0 (221 days old)
Installs: stable=955 (76.22%), latest=143 (11.41%), total=1253
Click to edit
Dear Adapter develop,
Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.
Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16
Please add both versions to the adapter testing which is executed on commits.
If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!
On questions please talk to us at ioBroker/ioBroker.js-controller#1138
Please close the issue after you checked it.
Thank you very much for your support!
Version: stable=0.1.3 (349 days old) => latest=0.1.5 (15 days old)
Installs: stable=607 (74.66%), latest=143 (17.59%), total=813
Click to edit
Appveyor config at least tries to check 0.10/0.12 too
Describe the bug
main.max.volume and zone2.max.volume are only read only in iobroker object list
Expected behavior
It woul be great, if i can write them also to set the max - volume
Versions:
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/foxthefox/ioBroker.musiccast
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Version: stable=0.1.5 (903 days old) => latest=1.1.0 (218 days old)
Installs: stable=950 (75.94%), latest=143 (11.43%), total=1251
Click to edit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.