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
@@ -14,17 +14,17 @@ Updated version, only with Version tags
14
14
- NodeJS 22
15
15
- Alexa-Fhem 0.5.65
16
16
17
-
docker pull ghcr.io/fhem/alexa-fhem:5.0.14
17
+
docker pull ghcr.io/fhem/alexa-fhem:5.1.0-beta3
18
18
19
19
#### To start your container right away:
20
20
21
-
docker run -d --name alexa-fhem ghcr.io/fhem/alexa-fhem:5.0.14
21
+
docker run -d --name alexa-fhem ghcr.io/fhem/alexa-fhem:5.1.0-beta3
22
22
23
23
24
24
### Permanent storage
25
25
Usually you want to keep your FHEM setup after a container was destroyed (or re-build) so it is a good idea to provide an external directory on your Docker host to keep that data:
26
26
27
-
docker run -d --name alexa-fhem -v /some/host/directory:/alexa-fhem ghcr.io/fhem/alexa-fhem:5.0.14
27
+
docker run -d --name alexa-fhem -v /some/host/directory:/alexa-fhem ghcr.io/fhem/alexa-fhem:5.1.0-beta3
28
28
29
29
#### Verify if container is runnung
30
30
After starting your container, you may check the web server availability:
@@ -46,7 +46,7 @@ You can use one of those variants by adding them to the docker image name like t
46
46
47
47
docker pull ghcr.io/fhem/alexa-fhem:latest
48
48
docker pull ghcr.io/fhem/alexa-fhem:5
49
-
docker pull ghcr.io/fhem/alexa-fhem:5.0.14
49
+
docker pull ghcr.io/fhem/alexa-fhem:5.1.0-beta3
50
50
51
51
If you do not specify any variant, `latest` will always be the default.
52
52
@@ -114,7 +114,7 @@ networks:
114
114
services:
115
115
# Minimum example w/o any custom environment variables of fhem container
116
116
fhem:
117
-
image: ghcr.io/fhem/fhem-docker:3-bullseye
117
+
image: ghcr.io/fhem/fhem-docker:4-bullseye
118
118
restart: always
119
119
networks:
120
120
- fhem_net
@@ -123,9 +123,9 @@ services:
123
123
volumes:
124
124
- "./fhem/:/opt/fhem/"
125
125
126
-
# Minimum example w/o any custom environment variables of alexa-fhem container
126
+
# Minimum example with some custom environment variables of alexa-fhem container
127
127
alexa-fhem:
128
-
image: ghcr.io/fhem/alexa-fhem:5.0.14
128
+
image: ghcr.io/fhem/alexa-fhem:5.1.0-beta3
129
129
restart: always
130
130
networks:
131
131
- fhem_net
@@ -139,6 +139,11 @@ services:
139
139
140
140
If you use another name for your fhem container `fhem`, or want to use another tcp port for fhemweb connections, then you have to change the alexa-fhem config file in the volume for your alea-fhem container `./alexa-fhem/alexa-fhem.json`.
141
141
142
+
## Configuration of alexa-fhem container
143
+
144
+
The config file is placed in the volume /alexa-fhem.
145
+
If not already present, it will be created here.
146
+
142
147
In the connections part, servername and port must match withhin fhem configuration:
143
148
```
144
149
"connections": [
@@ -153,15 +158,40 @@ In the connections part, servername and port must match withhin fhem configurati
153
158
]
154
159
```
155
160
161
+
Starting with Docker image version 5.1.x, you can control every setting via an environment variable provided by the Docker host. This means there is no need to edit any configuration files manually. All environment variables starting with the common prefix "CONFIG_" are evaluated and added to the configuration file.
162
+
163
+
To enable SSL for communication with FHEMweb, add an environment variable CONFIG_connections_0_ssl=true. If your container running FHEM is named differently, use the environment variable CONFIG_connections_0_server='fhem.docker.local'. To use another TCP port for communication with FHEM, set the environment variable CONFIG_connections_0_port='8088'.
164
+
165
+
The settings for Alexa can also be changed. Here are some examples:
166
+
167
+
`CONFIG_alexa_port=4000`
168
+
`CONFIG_alexa_name=myAlexaSkill`
169
+
`CONFIG_alexa_ssl=true`
170
+
Additionally, the SSH proxy settings can be changed if needed:
171
+
172
+
`CONFIG_sshproxy_ssh='/usr/bin/ssh'`
173
+
## Configuration of FHEM configuration
156
174
157
-
Within FHEM, you have to specify a alexa device and add attribute to identify the host. In this example, the container name is `alexa-fhem`, so this is also the hostname.
175
+
Within FHEM, you have to specify a alexa device and add attribute to identify the host.
176
+
In this example, the container name is `alexa-fhem`, so this is also the hostname.
158
177
159
178
```
160
179
define alexa alexa
161
180
attr alexa alexaFHEM-host alexa-fhem
162
181
```
163
182
164
-
SSH and other attributes are not needed for running in a docker environment
183
+
SSH and other attributes are not needed for running in a docker environment.
184
+
alexa-fhem is running correctly if you have reading like this:
0 commit comments