https://github.com/ebertek/ssm
This is a custom component for Home Assistant that integrates with the Swedish Radiation Safety Authority (SSM) to fetch radiation and UV data.
https://github.com/ebertek/ssm
homeassistant stralsakerhetsmyndigheten
Last synced: 2 months ago
JSON representation
This is a custom component for Home Assistant that integrates with the Swedish Radiation Safety Authority (SSM) to fetch radiation and UV data.
- Host: GitHub
- URL: https://github.com/ebertek/ssm
- Owner: ebertek
- License: apache-2.0
- Created: 2025-04-02T09:39:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-04T09:22:08.000Z (5 months ago)
- Last Synced: 2026-02-04T21:56:30.003Z (5 months ago)
- Topics: homeassistant, stralsakerhetsmyndigheten
- Language: Python
- Homepage:
- Size: 233 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Swedish Radiation Safety Authority (SSM) - Home Assistant Integration
This custom integration allows you to monitor **radiation levels**, **UV index**, and **safe sun exposure time** based on data provided by the [Swedish Radiation Safety Authority (Strålsäkerhetsmyndigheten - SSM)](https://www.stralsakerhetsmyndigheten.se/).
Stay informed about radiation risks and UV exposure based on your location and skin type, with live measurements and recommendations.
## ✨ Features
- ☢️ Real-time **radiation level** monitoring from SSM stations.
- 🌞 Live **UV index** data for multiple Swedish regions.
- 🕒 **Maximum safe sun exposure time** calculation based on skin type and UV conditions.
## 📦 Installation
### HACS (Recommended)
1. Go to **HACS**.
2. Click on the three-dot menu (top right) and select **Custom repositories**.
1. Set **Repository** to:
```text
https://github.com/ebertek/ssm
```
2. Set **Type** to **Integration**.
3. Click **ADD**.
3. Search for `ssm`, select **Swedish Radiation Safety Authority**, click **Download**, and click **Download** again.
4. Restart Home Assistant.
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=ebertek&repository=ssm&category=Integration)
### Manual Installation
1. Copy the `custom_components/ssm` folder into your own `config/custom_components/`.
2. Restart Home Assistant.
## ⚙️ Configuration
1. Navigate to **Settings > Devices & services**.
2. Click **Add integration** and search for `Swedish Radiation Safety Authority`.
3. Select your **Station for Radiation Data**, your **Location Name for UV Index**, and your **Skin Type**.
1. To find your closest gamma radiation station, navigate to [SSM's radiation level site](https://karttjanst.ssm.se/gammastationer) or [REMon's radiological map](https://remap.jrc.ec.europa.eu/Advanced.aspx). You can find a mapping of location IDs, station names, and REMon IDs in the table below.
2. To find your **Location Name for UV Index**, navigate to [SSM's UV-index site](https://www.stralsakerhetsmyndigheten.se/omraden/sol-och-solarier/uv-index/) and look under **Plats**.
3. To find your **Skin Type**, please refer to **Solkänslighet** on [SSM's Min soltid site](https://www.minsoltid.se/).
| Location ID | Station | REMon ID |
| ----------- | ----------------------- | -------- |
| 20 | Bjuruklubb (Skellefteå) | SE0058 |
| 5 | Brämön | SE0047 |
| 7 | Fårösund | SE0053 |
| 18 | Gielas (Kittelfjäll) | SE0060 |
| 8 | Gävle | SE0048 |
| 17 | Göteborg | SE0062 |
| 16 | Hallands Väderö | SE0063 |
| 21 | Hällum | SE0067 |
| 6 | Järnäsklubb | SE0046 |
| 11 | Karesuando | SE0051 |
| 1278 | Kilsbergen | SE0066 |
| 4 | Krångede | -- |
| 22 | Malmö | SE0064 |
| 19 | Malå | SE0059 |
| 2 | Mora | SE0043 |
| 1276 | Norrköping | SE0040 |
| 12 | Pajala | SE0050 |
| 9 | Ritsem | SE0052 |
| 1 | Sala | SE0042 |
| 25 | Skarpö | SE0068 |
| 14 | Skillinge | SE0057 |
| 10 | Storön | -- |
| 15 | Sunne | -- |
| 3 | Tännäs | SE0044 |
| 24 | Visingsö | SE0061 |
| 1277 | Växjö | SE0054 |
| 23 | Ölands Norra Udde | SE0055 |
| 13 | Ölands Södra Udde | SE0056 |
## 📜 License
This project is licensed under the [Apache License 2.0](LICENSE).
## 🤝 Credits
Data provided by: [Swedish Radiation Safety Authority (SSM)](https://www.stralsakerhetsmyndigheten.se/).