/// <summary>
        /// Sets the sensor's wakeup interval to every 5 minutes.
        /// </summary>
        private static async Task SetWakeupInterval(string sensorId)
        {
            Console.WriteLine("Test /api/sensor/set-lora-wakeup-interval");
            Console.WriteLine("Set LoRa wakeup interval to 5 minutes (y/n)?");
            string input = Console.ReadLine();

            if (input == "y" || input == "Y")
            {
                try {
                    // Sample JSON to send. Payload is in minutes (integer)
                    JObject json = new JObject {
                        ["sensorId"] = sensorId,
                        ["payload"]  = 5
                    };

                    Console.WriteLine("Sending set LoRa wakeup interval...");

                    await SensorApi.SetLoraWakeupInterval(json.ToString());

                    Console.WriteLine("Set LoRa wakeup interval Sent" + "\n");
                } catch (Exception ex) {
                    Console.WriteLine("Method Error: " + ex.Message + "\n");
                }
            }
        }