You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DWD Global Radiation Home Assistant Integration is a custom component that allows users to integrate global radiation data from the Deutscher Wetterdienst (DWD) into their Home Assistant setup. This integration provides real-time and forecast radiation data, enabling enhanced home automation based on weather conditions.
8
9
@@ -11,69 +12,32 @@ The DWD Global Radiation Home Assistant Integration is a custom component that a
11
12
-**Forecasts**: The data provides forecasts in 1-hour steps up to 17 hours into the future. Forecasts are updated hourly.
12
13
-**Configurable**: Easy setup and configuration through the Home Assistant UI.
13
14
14
-
## Documentation Status
15
-
Please note that this documentation is currently in a very early draft state and is actively being worked on. More detailed instructions and examples will be added soon.
16
-
17
15
## Installation
16
+
This integration requires the DWD Global Radiation API Server add-on to be installed. The add-on provides the necessary API services for the integration to work correctly, especially the functionality of the `netCDF4` Python package, which is essential for processing DWD data.
18
17
19
-
### Important Note on NetCDF Compatibility
20
-
NetCDF is a core part of this integration and needs to be installed for the integration to function. However, there is a known incompatibility with the Home Assistant image. For details on this issue, please refer to this [Home Assistant feature request](https://community.home-assistant.io/t/add-compatibility-with-netcdf4-python-package-to-home-assistance-core/734741).
21
-
22
-
### NetCDF Installation Workaround
23
-
24
-
#### Background
25
-
Home Assistant currently does not support the automatic installation of the Python NetCDF package as a requirement for an Integration. Home Assistant usually tries to install required packages of an Integration as specified in the integration's `manifest.json` file, but in the case of the NetCDF package, it fails currently (status: Home Assistant Core 2024.05.x and Home Assistant OS 12.3 and older). Although the following procedure was tested, u**se at your own risk, as installing your own python packages in the Home Assistant docker container is not considered as a typical end user scenario.
26
-
27
-
#### Prerequisite
28
-
Before applying this workaround, ensure you have an SSH add-on installed with the capability to disable "Protection Mode." One such add-on is available at [SSH & Web Terminal](https://github.com/hassio-addons/addon-ssh).
18
+
### Step 1: Register the Custom Repository with HACS
19
+
Before installing the integration, the repository must be registered as a custom repository in HACS. Follow these steps:
29
20
30
-
#### Step-by-Step Guide to Install netCDF4 and cftime in Home Assistant Docker Container
21
+
1. Open Home Assistant and go to HACS.
22
+
2. Click on the three dots in the top right corner and select "Custom repositories".
23
+
3. Add the URL `https://github.com/aschmere/dwd_global_rad_hass` to the "Add custom repository" field.
24
+
4. Choose the category as "Integration".
25
+
5. Click "Add".
31
26
32
-
1.**Access your Home Assistant instance via SSH and disabled "Protection Mode".**
33
-
2.**Access the Home Assistant Container**:
34
-
Use the following command to access the Home Assistant Docker container:
35
-
```sh
36
-
docker exec -it homeassistant /bin/bash
37
-
```
38
-
3.**Update Package List and Install Dependencies**:
39
-
Update the package list and install the necessary development tools and libraries:
### Installation of the DWD Global Radiation Home Assistant Integration
67
-
#### Step 1: Install the Integration via HACS
27
+
### Step 2: Install the Integration via HACS
68
28
To install this repository using HACS, click the button below:
69
29
70
30
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=aschmere&repository=dwd_global_rad_hass)
71
-
#### Step 2: Reboot Home Assistant
31
+
32
+
### Step 3: Reboot Home Assistant
72
33
After installing the integration, reboot Home Assistant to apply the changes.
73
-
#### Step 3: Add and Configure the Integration
34
+
35
+
### Step 4: Add and Configure the Integration
74
36
Once Home Assistant has restarted, you can add and configure the `DWD Global Radiation` integration using the config flow. To do this, go to the Home Assistant UI and navigate to `Configuration` > `Integrations` > `Add Integration`, then search for `DWD Global Radiation Forecasts and Data`.
75
37
76
38
Alternatively, you can use the button below to start the configuration process directly:
77
39
78
40
[](https://my.home-assistant.io/redirect/config_flow_start/?domain=dwd_global_rad)
0 commit comments