Good day, Ik work in the homo domotica and must build a system and they want to use an app te visualliye this. Now the want me to build in that same app the possibility to use Roon to play there music. Is here someone who know if there are some documents to achieve this? The app i use to build a GUI is Iridi…
Please refer to these resources.
Depending on the platform you are integrating with, if the official node api is difficult to integrate, my (un official) python interface may also be an option. It uses the undocumented layer underneath the node api.
Thx Greg, indeed the Roon API is quit difficlt. I am not that experianced so. I wil look into your idea…
Greats Michel
Greg, just a quick Thank You! from a pyroon tinkerer.
Am currently playing around with building a little Qt6 frameless window to display artwork and current song details when playing via Roon Bridge on my Linux desktop.
Nice to have the API in Python and I hope Roon will extend it (I’d like the option to turn subtitles on/off for example)
So Thanks again for your work on this.
Glad you’re finding it useful.
As you say it would be great if roon could update the api to make some extra facilities available.
Just wanted to add my thanks for your work on pyroon.
It’s made working with roon much more accessible for me.
Thanks for letting me know - really great you’re finding it useful!
If you feel like sharing, love to know what you’re working on.
Hi Greg,
have you ever tried to run this on an ESP32?
Best DrCWO
I haven’t.
I think the ESP only runs micro-python and so I fear the libraries I use - particularly websocket_client
- won’t be available.
What a shame. I have no idea of Python but I thought of building a remote control device with ESP32 that directly can connect to Roon via WiFi to get rid of the Raspberry Pi or a rooExtend-Box.
The dream was probably shattered
Best DrCWO
Sadly I think you’re right.
Websockets is quite a complex protocol - so even if there was another library available it likely wouldn’t be easy to port to use it.
There may be another device that can run a node stack - but expect at that point you might as well put a small Pi in the remote.
Needs to much power, so big battery and the device is no more as small as it should be. I speculated on an size like the Nuimo…
There may be hope. There seems to be a low power port of node.js caled low.js that runs in ESP32.
From my brief google it looks like this include the websocket client code you’d need.
So that might work with the native Roon API.
Of course YMMV!
Well I know this but it seems to be out of maintenace as http://www.lowjs.org/ is no more active.
Maybe I will try some day. First on a Pi to see of the Roon API will run with it…
Thx DrCWO
Just found the same - looks like there hasn’t been much activity for a few years.