RS520 home assist integration

Hello!
Is it expected that there will be a Home Assist integration by default, or is someone making one?
I already found one written for the ra180 here, I tried modifying it a bit, but unfortunately it didn’t work.
Is there anyone who can help? I need a few basic functions such as: on/off, volume, input source

It would be a great help

Thanks

@Cornus

Currently, there is no official Home Assistant integration for the RS520. The integration made for the RA180 may not work properly with the RS520 due to differences between the models.

We understand your need for basic functions like on/off, volume, and input source control. While we do not officially support Home Assistant at the moment, we are considering future options and appreciate your feedback.

ok. I made the working integration with chat gpt in a few hours, so I had to listen to the apis as well.
For you, this would probably have been even less time.

There is another bug in the latest fw: the spotify service keeps turning off about every 1 day.

1 Like

Ok, would love to see what you did.
And where you found docs on the connection calls and apis.

Here you can find it

https://github.com/cornusmas87/hifirose_rs520

I monitored the api with wireshark, while using the pc app I watched what data was being transferred between the pc and the amplifier.

If the manufacturer doesn’t provide it…

1 Like

Cool.
That’s one way to do it.

Definitely not supported and if they change the APIs… you have to start redo some of the work.

And yes, the update has arrived, and now the integration no longer works.
Looks like I’ll have to write a new one for it again. :confused:

@ROSEHAN
Would you be willing to publish or share your API under an NDA?

W.R.T Spotify Connect, has Spotify released lossless for any Spotify Connect devices?
Or are they still relying on Ogg Vorbis 320 kbps stream?

Thx

@Smegel

Regarding Spotify Connect, Spotify has not officially supported lossless streaming for Spotify Connect devices to date, and it generally uses Ogg Vorbis streams at up to 320 kbps.

Yeah that’s kinda what I saw on the Spotify Community site.

What would it take to get a Spotify app ported to Android 7?
Then the other issue would be how much modification you did to the OS?

The interesting thing though is that there is a bit of opensource work that would let you create an app that could connect to a spotify app running locally so that you create your own UI.

I was looking at some of the Rust crates where they created a CLI interface into spotify…

@Smegel

At this time, there is no way to support the official Spotify app.

As a result, we developed the RW800 module, which is designed to support Spotify Connect as well as additional functions.

HiFi Rose products use a customized Android-based OS optimized for audio performance and stability, so there are limitations in installing or porting apps in the same way as on a standard Android device.

Thanks for the response.

Cornus had an interesting take on monitoring the network traffic and then reverse engineering your API calls.

There are versions of Android like Mango that are used by various DAP units which are also somewhat stripped down. (Your Connect One App for example won’t download to a iBasso DX180 DAP… per the Play Store)

But if I want to add an external module to the RS520, I can take my DX180 which has coax out, or my PC via USB-B and get lossless that way. Or switch to Tidal.

Note: I haven’t tried it… but in theory I could take the USB-B to USB-A cable… add an adapter to USB-C and try using my iPhone as a source…

And why didn’t you try it out before posting something like that? Theory sometimes—or often—bears no relation to practice.

Theoretically, I should live to be 120, too! A fine old man. :raising_hand_man:

1 Like

This post was flagged by the community and is temporarily hidden.

Because I thought about it as I was typing?

I did something already similar and that was using my DAP and its coax out as input. I thought about the iPad, but mine is an older one that’s pre USB-C and I don’t have any USB-A to USB-B (2.0) adapters … if they exist.

Boris, did you sneak into your mommy’s vodka stash again?

If you were paying attention, you’d understand the nuance that its not just Android 7 but that Rose like many other companies stripped it down for certain features only.

I realize I should have stated that because you clearly don’t grok software development.
But look I’m already repeating myself.

Please keep quiet… grownups are talking.

https://www.galaxus.de/de/s1/product/equip-usb-20-5-m-usb-20-usb-kabel-5639043?offertype=retail&offerid=2705624&dbq=1&utm_campaign=preisvergleich&utm_source=idealo&utm_medium=cpc

You can’t be serious, can you? :baby:

Proverb:
You are always as old as you feel!

Uhm… did you notice the USB-B connector is USB 3.x not USB 2.0 which is what the RS520 wants.
:stuck_out_tongue:

Ok, so I just grabbed a USB A to USB C adapter and am running music off my iphone which sees the RS520 has USB headphones. So it works.

Now for anyone who wants Spotify lossless, they don’t have to buy another gadget just a USB-A to USB-B(2.0) cable along w a USB-C to USB-A adapter.

Sounds great.

Actually I am serious.
Its a lesson Boris should have learned as a small child.