Let’s say you have 5 devices registered and activated in a Chirpstack instance.
After some time, you want to register these devices in a new Chirpstack instance (another server). Is it possible to avoid the re-join process?
If we talk, for example, about water meters, it is a very tedious task to physically force the re-join process for each device and some providers tell us that the re-join process can automatically begin after 30 days of no connection (too much data lost).
Sure, I’ve migrated devices from one LNS to another a bunch of times. You will need to import the session keys after creating the devices into your new network server. You will also need to update whatever gateways are in the field to point at the new network server, as well.
From the devices’ perspective, it’s as if nothing has changed. Kinda required when doing a migration in the many thousands, I’ve found.
I have always scripted it with the (gRPC) API, I don’t believe the UI currently supports this. I don’t have my code in front of me this very minute, but I believe it’s this endpoint:
@bconway, using gRPC applies to CS v4, but what about CS v3? Have you done it with that version as well?
I ask because I’m in the process of moving from v3 to v4.
ChirpStack v3’s API was also based on gRPC. That version just happened to include the grpc-gateway proxy in the binary to provide an additional REST API.