Device synchronization

Currently the integration regularly pull devices from AWS and TTN at a regular interval to sync the devices.

You do not need to enable device synchronization to receive traffic in your AWS. It only enable device management through IoT Core.

Settings

There are two important settings for the device synchronization.

SYNC_DEVICES=true/false: Enable / Disable device synchronization.

SYNC_DEVICES_INTERVAL=Xnanoseconds: Time between syncs, in nanoseconds (ex: 360000000000 is 1h).

Pause synchronization

You will need to the set the following via the elastic bean environment, this will only pause the synchronization not the traffic :

SYNC_DEVICES=false

SYNC_DEVICES_INTERVAL=360000000000 or any high value.

This should pause the integration. In case it doesn’t works you will have to restart the integration or pause it completely but that could incur downtime.

Device Settings

AWS is the leadCing party in this which means settings in AWS take priority over the one in TTN, so if you want to change the device settings you must makes them on AWS.

Not all settings are available on AWS so sometimes you will need to make them on TTN (such as the DevADDR). To do this you will need to pause the device sync. (see above)

Deleting device

Since both AWS and TTN registry are synced when you try to delete a device in TTN and AWS it will appear again if you don’t delete it on the other platform. So you must delete the device in AWS and TTN by hand.