Exploring Sirius XM Integration in OpenHab: A Smooth Experience

I’ve been diving into the world of Sirius XM integration with OpenHab, and it’s been quite an exciting journey! My goal is to streamline my music experience by controlling Sirius XM streams directly through OpenHab. I’ve set up the sxm-player python project as an internal server for Sirius XM streams and integrated it with VLC using the Lua web interface. This setup works seamlessly, allowing me to play and control streams effortlessly.

One feature I’m particularly interested in is pulling the playlist from an XML page and presenting it as a selection in OpenHab. This would enable me to pick a station directly from the VLC playlist without manually navigating through the streams. I’m curious if this is achievable by leveraging endpoints and rules in OpenHab.

Additionally, I’ve been exploring the possibility of constructing URLs dynamically to retrieve what’s currently playing on a specific station. For instance, if I have a station named ‘undergroundgarage.m3u8’, I’d like to strip off the extension and use the base name in a URL like ‘http://127.0.0.1:9999/nowplaying/undergroundgarage/’. I believe this can be done using rules to pass the station name from one thing to another, but I’m still unsure how to seamlessly integrate this into the URL of a channel in OpenHab.

I’d love to hear from anyone who has tackled similar integration challenges or has insights into optimizing this setup. Whether it’s about perfecting the playlist integration or refining the dynamic URL construction, your experiences and tips would be invaluable!

Overall, this project has been a great learning opportunity, and I’m excited to see how far I can push the integration to create a truly seamless music experience. Let’s keep the conversation going and explore the possibilities together!