1.1.3 • Published 8 months ago

iobroker.musiccast v1.1.3

Weekly downloads
73
License
MIT
Repository
github
Last release
8 months ago

Logo

ioBroker.musiccast

Number of Installations Number of Installations NPM version Downloads

Tests: Test and Release

adapter for Yamaha MusicCast devices like WX-010/030, YSP-1600

Installation:

Installation requires nodejs v10 at minimum

from npm

npm install iobroker.musiccast

actual version from github (this might not every time work, when development is in progress)

npm install https://github.com/foxthefox/ioBroker.musiccast/tarball/master --production

Settings

The admin page the "+" can be used for adding manually the IP address, DeviceID, Type and Name. Press the search button for discovery. If you have multiple devices, you have to hit the button multiple times until all devices are discovered. Unfortunately the discovery returns only one object at the time and this could be any of your MusicCast devices. If the return is the same as already part of the table, you have to hit the button again. Sometimes it helps to save and open the damin page again.

In the unlikely case that 2 or more devices are delivering the same ID, then change one ID slightly. Otherwise the adapter can not distinguish between the 2 devices.

If you want to see the playtime updated for the tracks you listen, please enable/check the respective checkbox. Be aware that increases the message count (every second for every device the pingpong of updates).

available Objects

The following objects are currently implemented:

basic (zone)

ObjectValuesettableDescription
{zone}.powerbooleanxtrue/false -> ON/Standby
{zone}.zone_bboolean?true/false -> target Zone is Zone B
{zone}.mutebooleanxtrue/false -> muted/ not muted
{zone}.volumevaluex0...max (max depending on device)
{zone}.act_vol_modetext?actual volume in dB mode
{zone}.act_vol_valvalue?actual volume in dB value
{zone}.act_vol_unittext-actual volume unit (should be dB)
{zone}.act_vol_mode_listtext-actual volume in dB modes
{zone}.inputtextxinputs depending on device
{zone}.input_listtext-possible inputs
{zone}.input_texttext-selected input as text
{zone}.sound_programtextxset sound program
{zone}.sound_program_listtext-possible sound programs
{zone}.surr_decoder_typetext?set surround type
{zone}.surr_decoder_type_listtext-possible surround decoder
{zone}.link_controltextxset link control
{zone}.link_control_listtext-possible link control settings
{zone}.link_audio_delaytextxset link audio delay
{zone}.link_audio_delay_listtext-possible link link audio delay settings
{zone}.clearVoicebooleanxclear Voice control
{zone}.lowvaluexlevel EQ low
{zone}.midvaluexlevel EQ mid
{zone}.highvaluexlevel EQ high
{zone}.subwoofer_volumevaluexlevel subwoofer volume
{zone}.bassvaluexlevel bass
{zone}.treblevaluexlevel treble
{zone}.tone_control_mode_listtext-possible tone control mode
{zone}.tone_modeboolean?tone control mode
{zone}.balancevaluexlevel balance
{zone}.directbooleanxset direct
{zone}.pure_directbooleanxset pure direct
{zone}.enhancerbooleanxset enhancer
{zone}.bass_extensionbooleanxset bass extension
{zone}.sleepvaluexsleep timer
{zone}.disable_flagsbooleanxset disable_flags
{zone}.contents_displaybooleanxset contents_display
{zone}.party_enablebooleanxset party_enable
{zone}.extra_bassbooleanxset extra_bass
{zone}.adaptive_drcbooleanxset adaptive_drc
{zone}.dts_dialogue_controlvaluexset dts_dialogue_control
{zone}.adaptive_dsp_levelbooleanxset adaptive_dsp_level

netusb

ObjectValuesettableDescription
netusb.inputvaluexset/actual input
netusb.playPausebooleanxset Play/Pause
netusb.playbacktext-status net player
netusb.stopbooleanxset Stop
netusb.auto_stopboolean-automatically stopped
netusb.nextbooleanxset Forward
netusb.prevbooleanxset Rewind
netusb.shufflebooleanxtoggle shuffle
netusb.shuffle_stattext-shuffle status
netusb.repeatbooleanxtoggle repeat
netusb.repeat_stattext-repeat status
netusb.artisttext-artist name
netusb.albumtext-album name
netusb.tracktext-track name
netusb.albumart_urltext-http address for album art
netusb.albumart_idvalue-album art id
netusb.play_timevalue-played time in s
netusb.play_queue_typetext-netusb queue type
netusb.total_timevalue-total time played in s
netusb.recent_infojson-history of played items
netusb.preset_infojson-saved presets/favourites
netusb.presetrecallnumbervaluexrecall the # in the favourite list
netusb.usb_devicetypetext-type of connected USB device
netusb.attributevalue-which possibilites has the service, to be decoded
netusb.recallRecentItemvaluexwhich possibiolites has the service, to be decoded

system

ObjectValuesettableDescription
system.api_versionvalue-API Version
system.system_versionvalue-System Version
system.inputs.{service}value-available input service
system.inputs.{service}.account_enablevalue-available input service enabled
system.inputs.{service}.distribution_enablevalue-available input service distributable
system.inputs.{service}.play_info_typevalue-available input service type

CD player

ObjectValuesettableDescription
cd.playPausebooleanxset Play/Pause
cd.playbacktext-status CD player
cd.stopbooleanxset Stop
cd.nextbooleanxset Forward
cd.prevbooleanxset Rewind
cd.shufflebooleanxtoggle shuffle
cd.shuffle_stattext-shuffle status
cd.repeatbooleanxtoggle repeat
cd.repeat_stattext-repeat status
cd.device_stattext-device status
cd.playtimevalue-current playback time
cd.totaltimevalue-current track total time
cd.disctimevalue-CD total time
cd.tracknumbervalue-track current in playback
cd.totaltracksvalue-total CD tracks
cd.artisttext-artist name
cd.albumtext-album name
cd.tracktext-track name

tuner

ObjectValuesettableDescription
tuner.common_preset_infoarray-Preset Information
tuner.am.preset_infoarray-Preset AM Information
tuner.fm.preset_infoarray-Preset FM Information
tuner.dab.preset_infoarray-Preset DAB Information
tuner.am.presetnumberxAM preset number
tuner.am.freqnumberxAM frequency in kHz
tuner.am.tunedboolean-AM tuned
tuner.fm.presetnumberxFM preset number
tuner.fm.freqnumberxFM frequency in kHz
tuner.fm.tunedboolean-FM tuned
tuner.fm.audio_modestring-FM mono/stereo
tuner.dab.presetnumberxDAB preset number
tuner.dab.idnumber-DAB Station ID
tuner.dab.statusstring-DAB status
tuner.dab.freqnumber-DAB frequency
tuner.dab.categorystring-primary/secondary
tuner.dab.audio_modestring-DAB mono/stereo
tuner.dab.bit_ratenumber-DAB bit rate in kpbs
tuner.dab.qualitynumber-DAB quality 0-100
tuner.dab.tune_aidnumber-DAB signal strenth 0-100
tuner.dab.off_airboolean-DAB off air
tuner.dab.dab_plusboolean-DAB+
tuner.dab.program_typestring-DAB program type
tuner.dab.ch_labelstring-DAB CH label
tuner.dab.service_labelstring-DAB service label
tuner.dab.dlsstring-DAB DLS
tuner.dab.ensemble_labelstring-DAB ensmble label
tuner.dab.initial_scan_progressnumber-DAB intitial scan progress 0-100
tuner.dab.total_station_numnumber-DAB total stations 0-255
tuner.rds.program_typestring-RDS program type
tuner.rds.program_servicestring-RDS program service
tuner.rds.radio_text_astring-RDS text A
tuner.rds.radio_text_bstring-RDS text B

clock

ObjectValuesettableDescription
clock.auto_syncbooleanxClock auto sync
clock.formatstringxClock format 12h/24h
clock.alarm_onbooleanxClock alarm status on/off
clock.volumenumberxClock alarm volume
clock.fade_intervalnumberxClock alarm fade interval
clock.fade_typenumberxClock alarm fade type
clock.modestringxClock alarm mode oneday/weekly
clock.repeatbooleanxClock alarm repeat if oneday is specified
clock.{day}.enablebooleanxClock Setup validity
clock.{day}.timestring-Clock alarm start up time hhmm 00-23,00-59
clock.{day}.beepbooleanxClock Beep validity
clock.{day}.playback_typestring-Clock alarm playback type resume/preset
clock.{day}.resume_inputstring-Clock alarm resume input ID
clock.{day}.preset_typestring-Clock alarm preset type
clock.{day}.preset_numnumber-Clock alarm preset input ID
clock.{day}.preset_netusb_inputstring-Clock alarm netusb input ID
clock.{day}.preset_netusb_textstring-Clock alarm netusb text
clock.{day}.preset_tuner_bandstring-Clock alarm tuner band
clock.{day}.preset_tuner_numbernumber-Clock alarm tuner frequency or station ID

ToDo

  • support of lists
  • change of interaction values to nice naming
  • fastforward/fastrewind for NETUSB/CD
  • bluetooth
  • dialog level

Changelog

1.1.3

  • translation with adapter-dev

1.1.2

  • new version yamahe-yxc library

1.1.1

  • (scrounger) added datapoint isOnline, used by ioBroker.device-watcher

1.1.0 (npm)

  • improved testing

1.0.8

  • error correction add_to_group/remove_from_group

1.0.7

  • error correction in link/unlink/distribution

1.0.6

  • (scrounger) recallRecentItem added

1.0.5

  • usage of new IOB test library

1.0.4

  • correction for setting the input ("setInput")

1.0.3

  • new datapoint "extra_bass"
  • new datapoint "adaptive_drc"
  • new datapoint "dts_dialogue_control"
  • new datapoint "adaptive_dsp_level"
  • these are only read in, most likely they are commands, but the API is unknown

1.0.2

  • new datapoint "input_text"

1.0.1

  • changed algorithm for developer support

1.0.0 BREAKING CHANGES

  • the deviceId was previously the systemId, which is not unique. Now the deviceId is used, this is changing the object tree
  • musiccast API 2.0.0
  • device search can now returns more than 1 device
  • new output for developer in the the admin panel
  • more async/await
  • corrected testing

0.2.2

  • musiccast API 0.0.14

0.2.1

  • license 2022
  • dependency correction

0.2.0

  • refactoring with "create adaptor"
  • async/await

0.1.5

  • (Scrounger) error handling when device is not reachable

0.1.4

  • (Scrounger) correction of type mismatch (array object)

0.1.3

  • (foxthefox) added writing for linkControl/linkAudioDelay/linkAudioQuality

0.1.2

  • (Scrounger) correction of type mismatch (string boolean)

0.1.1

  • correction for clock "oneday"

0.1.0

  • compact mode
  • yamaha-yxc-nodejs 0.0.8
  • widget update

0.0.9

  • adminV3 uses values2table and add button back again
  • zone2/3/4 now working
  • extended automatic testing
  • button in admin for collection of JSON responses

0.0.8

  • automatic testing update
  • given name in admin page to appear in object (device)

0.0.7

  • tuner support
  • clock support (information mainly)
  • support of more zones
  • support of mc-link
  • setting of min and max values according features
  • admin v3

0.0.6

  • widget set matching the objects and control
  • cd.shuffle_stat boolean -> text
  • new netusb.shuffle_stat (text)
  • status update via subscribing UDP messages
  • switch for update on playtime info (disabling reduces traffic)

0.0.5

  • cleanup in admin page
  • improvement for object creation
  • more objects on netusb
  • more objects in system
  • added support of CD

0.0.4

  • new objects and functions (input, sound_prog, EQ, clearVoice)
  • search/discovery in admin page

0.0.3

  • more objects implemented

0.0.2

  • minor corrections

0.0.1

  • initial release with setting of IP in config-page,
  • available commands power, mute, volume

License

The MIT License (MIT)

Copyright (c) 2017 - 2023 foxthefox foxthefox@wysiwis.net

1.1.3

8 months ago

1.1.0

1 year ago

1.0.6

2 years ago

0.2.2

2 years ago

0.1.5

3 years ago

0.1.3

4 years ago

0.1.2

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago