Welcome, Guest
Username: Password: Remember me
NOTE: This is a "Community" forum. Please be mindful that community members are here to help as part of a community effort. We therefore appreciate your effort in keeping this forum a happy place!

If you have a specific issue (e.g. hardware, failure) and want help from our support team, please use our tech support portal (Support menu - > Contact Us).
Thanks a lot of your help in making a better community.
  • Page:
  • 1

TOPIC:

http-request for input and presets? 3 years 1 month ago #47639

  • Nocko!
  • Nocko!'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 12
Hello,
a complicated one for the freaks of home automation:

In short: Now that it is possible to switch inputs and filters within Volumios's webinterface, does anybody now the http-request for these functions?

In other words:
http://volumioIP:30000/api/v1/commands/cmd=volume&volume=100 sets volume to full,
http://volumioIP:30000/api/v1/getState sends the status of Volumio and so on.

But how do I switch the input and the preset on the miniDSP?

Thanks for thinking and stay healthy,
Nocko!

p.S.: I am a bit late, but thanks for the last firmware update!
The following user(s) said Thank You: mvs0, SlyBlue

Please Log in or Create an account to join the conversation.

http-request for input and presets? 3 years 1 month ago #47780

  • Nocko!
  • Nocko!'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 12
OK, found it. Perhaps somebody somewhere is interested:

IP-Adress/api/v1/browse?uri=inputs/id/1

switches the inputs where the "1" at the end is input Toslink. 1-7 are the seven inputs of the miniDSP.

IP-Adress/api/v1/browse?uri=inputs

Shows (slightly encrypted) which input is selected.

This switches through the four presets for Dirac. Sadly I didn't found a command to switch off Dirac:
IP-Adress/api/v1/browse?uri=presets/id/1
IP-Adress/api/v1/browse?uri=presets/id/2
IP-Adress/api/v1/browse?uri=presets/id/3
IP-Adress/api/v1/browse?uri=presets/id/4

where
IP-Adress/api/v1/browse?uri=presets
shows the state of the presets.

I am wondering: Are you all controlling your miniDSP with the poor infrared remote control? Nobody using his tablet with a home automation system?

Have fun!
Nocko!
The following user(s) said Thank You: davewantsmoore, mvs0, Ultrasonic, martinreid

Please Log in or Create an account to join the conversation.

http-request for input and presets? 3 years 1 month ago #47793

  • martinreid
  • martinreid's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
This could be very useful.

We can potentially use this to simulate home theater bypass functionality by automatically setting a different master volume level depending on which input has been selected

In my case I always want the RCA input volume set to 100% (as this is used for L/R channels from my AV receiver), but I need the SHD volume control to vary (and be set lower!) for my other inputs I use for music listening.

I'm hoping to use this to automatically detect an input change a set an appropriate volume accordingly.......

Thanks for posting!

Please Log in or Create an account to join the conversation.

http-request for input and presets? 3 years 1 month ago #47798

  • bastianbeggel
  • bastianbeggel's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
I am using a harmony hub remote together with home assistant. This gives me a lot of flexibility to set whatever I need. It works really well. But no readout of data. Thus your findings are pretty cool. Thanks for sharing.

Please Log in or Create an account to join the conversation.

http-request for input and presets? 3 years 1 month ago #47818

  • Nocko!
  • Nocko!'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 12
Thanks for the thanks. But I am not sure how far this is dependent from volumio. So be careful especially when using volume settings.

For myself I find it complicated to find a reliable function to simply decrease or increase the volume by one step / decibel.

It would be nice if miniDSP could tell us "direct" commands to control the Studio. There must be a way to avoid the detour via Volumio's web interface...

Please Log in or Create an account to join the conversation.

http-request for input and presets? 3 years 2 weeks ago #48495

  • SlyBlue
  • SlyBlue's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 1
This is fantastic, thank you. Was looking for a way to integrate into my Home Assistant setup without having to rely on another Harmony Hub. Hopefully one way there will be native API access for the SHD, but this will work great in the meantime.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: devteam