Play SomaFM internet radio stations through your Home Assistant dashboard.
Add a compact radio player card to a smart home dashboard.
Listen to long, uninterrupted radio sessions without the stream dropping.
Launch the full radio player from the Home Assistant sidebar in one click.
| kalykulam/safe-somafm | 0xallam/my-recipe | 0xhassaan/nn-from-scratch | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | Python | Python | Python |
| Last pushed | — | 2022-11-22 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | general | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing Home Assistant setup plus HACS or manual file copying, then a full restart.
Safe SomaFM is a custom add-on for Home Assistant, the popular home automation platform, that lets you listen to SomaFM internet radio stations directly from your smart home dashboard. SomaFM is a well known online radio service with many curated music stations, and this integration brings those stations into your Home Assistant setup. The project exists to solve a specific annoyance: when Home Assistant's built in media browser played SomaFM streams directly, some web browsers would stop the stream after a few minutes. Safe SomaFM instead uses its own local player page with automatic reconnect handling, which the author reports works reliably for long listening sessions. Once installed, you get a full player page showing station artwork, a searchable grid of stations, details like genre and current listeners, and options to pick stream quality. There is also a compact version meant to fit neatly into a dashboard card, and a sidebar shortcut that opens the full player in a new browser tab. The integration is designed to be installed through HACS, a popular community add-on manager for Home Assistant, though manual installation by copying files into the configuration folder is also supported. The README places a strong emphasis on security. It states plainly that the integration does not handle user credentials or secrets, does not run shell commands, does not accept arbitrary stream URLs, and only opens its own local player endpoint. Station IDs and playlist URLs are validated to make sure they actually point to SomaFM. The project has gone through several small version updates focused on fixing packaging and validation issues for HACS and Hassfest, the tools that check whether a Home Assistant integration is set up correctly, rather than changing how playback itself works. Safe SomaFM is released under the MIT license, a permissive license allowing free use, modification, and redistribution, including commercially, as long as the copyright notice is kept. It is not affiliated with SomaFM or Home Assistant.
A Home Assistant add-on that streams SomaFM internet radio reliably, with a security-focused, credential-free design.
Mainly Python. The stack also includes Python, Home Assistant, HACS.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.