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
Configure with environment variables, or command-line arguments. See `--help` for more details:
189
+
190
+
```bash
191
+
$ export CHIRPSTACK_API_URL="localhost:8080"# ChirpStack Application Server URL
192
+
$ export CHIRPSTACK_API_KEY="eyJ0eX........"# Generate from ChirpStack GUI
193
+
$ export JOIN_EUI="0101010102020203"# JoinEUI for exported devices
194
+
$ export FREQUENCY_PLAN_ID="EU_863_870"# Frequency Plan for exported devices
195
+
$ export CHIRPSTACK_EXPORT_SESSION="true"# Set to true for session migration.
196
+
```
197
+
198
+
See [Frequency Plans](https://thethingsstack.io/reference/frequency-plans/) for the list of frequency plans available on The Things Stack. For example, to use `United States 902-928 MHz, FSB 1`, you need to specify the `US_902_928_FSB_1` frequency plan ID.
199
+
200
+
> _NOTE_: `JoinEUI` and `FrequencyPlanID` are required because ChirpStack does not store these fields.
201
+
202
+
### Notes
203
+
204
+
- ABP devices without an active session are successfully exported from ChirpStack, but cannot be imported into The Things Stack.
205
+
- MaxEIRP may not be always set properly.
206
+
- ChirpStack payload formatters also accept a `variables` parameter. This will always be `null` on The Things Stack.
207
+
- ChirpStack v4 uses UUIDs as application ID. The migration tool uses the appends the last index of the UUID to application ID.
208
+
- Ex: If the ChirpStack v4 application ID is `59459ffa-bfd3-4ef3-9cee-e1ca219397f2`, the tool generates `chirpstack-e1ca219397f2` as the application ID.
209
+
210
+
### Export Devices
211
+
212
+
To export a single device using its DevEUI (e.g. `0102030405060708`):
0 commit comments