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
-`false` (default): Storage uses local broker, maintain app functionality (**Only available for Saturn/B2500**)
102
103
-`true`: Storage uses Hame broker, enable local control (**Required for Venus/Jupiter, optional for Saturn/B2500**)
103
104
-`username` and `password`: Your Hame account credentials for automatic device information retrieval
105
+
-`default_broker_id`: Identifier of the remote broker to use (defaults to `hame-2024`)
104
106
-`devices`: Your storage systems' details (can use dummy values initially if using automatic retrieval)
107
+
- Remote broker settings are loaded from `brokers.json`. Each broker can specify
108
+
`topic_prefix`, `client_id_prefix` (defaults to `hm_`), and an optional
109
+
`topic_encryption_key` used to generate remote device identifiers.
110
+
`use_remote_topic_id_versions` can specify firmware versions that require
111
+
using the remote topic ID structure.
105
112
106
113
**Getting Device Information:**
107
114
-**Recommended**: If you provide `username` and `password`, the relay can fetch your device information automatically from the Hame API. Check the container logs to see the retrieved device details, then update your configuration with the actual values.
@@ -115,6 +122,7 @@ docker run -d \
115
122
-v "$(pwd)/config:/app/config" \
116
123
ghcr.io/tomquist/hame-relay:main
117
124
```
125
+
Set `LOG_LEVEL` to control verbosity, e.g. `-e LOG_LEVEL=debug`.
118
126
119
127
### Option 2: Using Docker Compose
120
128
@@ -138,7 +146,10 @@ services:
138
146
restart: unless-stopped
139
147
volumes:
140
148
- ./config:/app/config
149
+
environment:
150
+
- LOG_LEVEL=debug
141
151
```
152
+
Set `LOG_LEVEL` to control verbosity.
142
153
143
154
4. Start the container:
144
155
```bash
@@ -177,6 +188,7 @@ devices:
177
188
- device_id: "0123456789abcdef01234567"
178
189
mac: "01234567890a"
179
190
type: "HMA-1"
191
+
version: 151
180
192
- device_id: "0123456789abcdef01234567"
181
193
mac: "01234567890a"
182
194
type: "HMA-1"
@@ -197,6 +209,7 @@ The add-on will automatically use your Home Assistant MQTT settings if configure
197
209
- `device_id`: Your device's 22 to 24-digit ID
198
210
- `mac`: Your device's MAC address without colons
199
211
- `type`: Your device's type (e.g. HMA-1, HMA-2, HMA-3 etc.)
212
+
- `version`: (optional) Firmware version used for automatic broker selection. Enter the number without any decimal point (e.g. firmware `226.1` becomes `226`)
200
213
- `inverse_forwarding`: (optional) Override the global setting for the operation mode of this device
201
214
202
215
### Optional Configuration
@@ -207,6 +220,7 @@ The add-on will automatically use your Home Assistant MQTT settings if configure
207
220
- `username`: Your Hame account email address. When provided along with password,
208
221
the tool will automatically fetch device information from the Hame API and display it in the logs.
209
222
- `password`: Your Hame account password. Required when using automatic device information retrieval.
0 commit comments