Hey y’all! Carolina from support here!!
A customer reached out today with a common concern: they needed to migrate several devices from one LoRaWAN network (ChirpStack) to another (Senet) and were worried about losing their historical data, or having to delete and re-create each device manually.
The good news: you don’t need to delete anything! TagoIO allows you to update the network and connector of an existing device while keeping all data intact.
There are two ways to do it:
1. Via API: Use a PUT request to /device/{DeviceID} with the new network and connector IDs. Just make sure to delete the device tokens first (required before changing the network). See the API reference.
2. Via Analysis (best for bulk updates): Write a simple script using the TagoIO SDK to loop through all your devices, delete their tokens, and update the network/connector automatically. Perfect when you have dozens or hundreds of devices!
Hope this helps anyone facing the same migration challenge!
Happy week,