Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of Music Server Zone #12

Open
JochenKoehler69 opened this issue Jan 26, 2020 · 6 comments
Open

Support of Music Server Zone #12

JochenKoehler69 opened this issue Jan 26, 2020 · 6 comments

Comments

@JochenKoehler69
Copy link

Hi all,

is it planned to support also the Loxone Musicserver or the "Music Server Zone" block?

If I could help (e.g. by testing) I could do so :-)

@JochenKoehler69 JochenKoehler69 changed the title Support of Musicserver Support of Music Server Zone Jan 26, 2020
@ppieczul
Copy link
Owner

@JochenKoehler69 I did not plan it. But let's look into that. I would need you to describe from OH perspective, what use cases do you need. What channels/items do you envision and what and how they would do.
If you could take a look at the API documentation here: https://www.loxone.com/enen/wp-content/uploads/sites/3/2016/10/1000_Structure-File.pdf

It says on one hand that Music Server is not documented in the API. But on the other hand there is an AudioZone control that probably correlates to what you describe as Music Server Zone. If you could look into your /data/LoxAPP3.json file and see if you have any AudioZone's and post what they look like, it will also help.

Thanks
Pawel

@JochenKoehler69
Copy link
Author

Hi Pavel,

thanks to your quick replay. I had a short look at the API documentation: You're assumption is completely right, that the "AudioZone" is what I'm looking for. I had also a look into the json-File. And in my case there are nine AudioZones, hence this is what I like to control via Openhab :-).

Here's a snapshot from such an AudioZone (coming from the JSON-Viewer in Notepad++):
audiozone-example
Is this helpful?

Jochen

@ppieczul
Copy link
Owner

ppieczul commented Jan 27, 2020 via email

@JochenKoehler69
Copy link
Author

Hi Pawel,

this is the fragment from json-File:
{"name":"Terrasse","type":"AudioZone","uuidAction":"0c7a2678-0255-ed84-ffff912d5ec91829","room":"00000007-038f-0037-0f00000000000000","cat":"00000007-038d-0006-0d00000000000000","defaultRating":1,"isFavorite":false,"isSecured":false,"details":{"server":"0c7a2672-01a3-ebcb-ffff912d5ec91829","playerid":6,"clientType":0,"parameterConnections":0},"states":{"power":"0c7a2678-0254-ed3e-ffffb0bdf90da5d1","serverState":"0c7a2678-0254-ed4e-ffffb0bdf90da5d1","playState":"0c7a2678-0254-ed42-ffffb0bdf90da5d1","clientState":"0c7a2678-0254-ed4f-ffffb0bdf90da5d1","volume":"0c7a2678-0254-ed3f-ffffb0bdf90da5d1","maxVolume":"0c7a2678-0254-ed40-ffffb0bdf90da5d1","mute":"0c7a2678-0254-ed43-ffffb0bdf90da5d1","shuffle":"0c7a2678-0254-ed46-ffffb0bdf90da5d1","repeat":"0c7a2678-0254-ed47-ffffb0bdf90da5d1","source":"0e33ab3b-00aa-0ddc-ffff504f94103078","sourceList":"0c7a2678-0254-ed45-ffffb0bdf90da5d1","songName":"0c7a2678-0254-ed44-ffffb0bdf90da5d1","duration":"0c7a2678-0254-ed49-ffffb0bdf90da5d1","progress":"0c7a2678-0254-ed48-ffffb0bdf90da5d1","album":"0c7a2678-0254-ed4a-ffffb0bdf90da5d1","artist":"0c7a2678-0254-ed4b-ffffb0bdf90da5d1","station":"0d7988ee-02b0-0ce6-ffff504f94103078","genre":"0c7a2678-0254-ed4c-ffffb0bdf90da5d1","cover":"0c7a2678-0254-ed4d-ffffb0bdf90da5d1","volumeStep":"0e33ab3b-00aa-0ddd-ffff504f94103078","queueIndex":"1487f94b-0273-872e-ffff912d5ec91829","enableAirPlay":"1487f94b-0273-872f-ffff912d5ec91829","enableSpotifyConnect":"1487f94b-0273-8730-ffff912d5ec91829","alarmVolume":"0c7a2678-0255-ed79-ffffb0bdf90da5d1","bellVolume":"0c7a2678-0255-ed7a-ffffb0bdf90da5d1","buzzerVolume":"0c7a2678-0255-ed7b-ffffb0bdf90da5d1","ttsVolume":"0c7a2678-0255-ed7c-ffffb0bdf90da5d1","ttsVolume":"0c7a2678-0255-ed7c-ffffb0bdf90da5d1","defaultVolume":"0c7a2678-0255-ed78-ffffb0bdf90da5d1","equalizerSettings":"1487f94b-0273-8731-ffff912d5ec91829"}}
There is also a "server" key included ...
It seems, that the server key is the same for all AudioZones in my application.

Jochen

@ppieczul
Copy link
Owner

Thanks. This should be fairly easy to add, I only need to find some time to do it. I will send it to you for testing when it is ready.

@JochenKoehler69
Copy link
Author

sorry for the late reply.
Sounds great. When I can help anyhow additionally beside testing, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants