Restarting LoRa services from API
- This topic has 3 replies, 3 voices, and was last updated 7 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You cannot reply to this topic.
Home › Forums › Lora Network Server › Restarting LoRa services from API
I add LoRa devices using the loranetwork/whitelist command API. New keys are stored in the database but not usable until the lora networks services are restarted.
What is the API command to restart lora services ?
POST /api/lora/restart
Developer tools in browser will show api end points in requests used by the UI.
Is there a way to avoid restarting each time the whitelist is changed (hot-swap) ?
In addition, overwrite whitelist to add one or multiple devices is very upsetting. Is there a trick (POST, …) to add the device(s) to whitelist without replacing all whitelist ?
Sorry, there is no hot-swap for the whitelist, is device provisioning expected o be a frequent occurrence in your use case?
We have a cloud Join Server service for end-device provisioning without changing the gateway configuration. Ask a sales representative about our Lens service (sales@multitech.com).
POST https://192.168.2.1/api/loraNetwork/whitelist/devices to add a single device.
{"deveui":"1122334455667789","appeui":"1122334455667788","appkey":"11223344556677881122334455667788","class":"A","device_profile_id":"","network_profile_id":""}