static async insertDummyGroup(req, res) {
		res.setHeader("Content-Type", "application/json");
		const nameOptions = ["Default Fridge", "Random Fridge", "Pale Ale Fridge", "Strong Ale", "Colorful Fridge", "Fruit Fridge"];
		var randomName = nameOptions[Math.floor(nameOptions.length*Math.random())];
		if (!randomName) {
			randomName = "Dummy";
		}
		const result = await ApiController.saveNewMeasurementGroup(randomName, 1, 3);
		await ApiController.saveNewMeasurement(result._id, 1+Math.random()*2);
		await ApiController.saveNewMeasurement(result._id, 1+Math.random()*2);
		res.end(JSON.stringify(result));
	}
/**
	 * Adds a dummy group to the measurements groups to simulate a new temperature sensor
	 *
	 * @param  {Request} req  The expressjs request instance
	 * @param  {Response} res The expressjs response instance
	 */
Adds a dummy group to the measurements groups to simulate a new temperature sensor
@param  {Request} req  The expressjs request instance
@param  {Response} res The expressjs response instance
Adds a dummy group to the measurements groups to simulate a new temperature sensor @param { Request } req The expressjs request instance @param { Response } res The expressjs response instance
static async insertDummyGroup(req, res) {
		res.setHeader("Content-Type", "application/json");
		const nameOptions = ["Default Fridge", "Random Fridge", "Pale Ale Fridge", "Strong Ale", "Colorful Fridge", "Fruit Fridge"];
		var randomName = nameOptions[Math.floor(nameOptions.length*Math.random())];
		if (!randomName) {
			randomName = "Dummy";
		}
		const result = await ApiController.saveNewMeasurementGroup(randomName, 1, 3);
		await ApiController.saveNewMeasurement(result._id, 1+Math.random()*2);
		await ApiController.saveNewMeasurement(result._id, 1+Math.random()*2);
		res.end(JSON.stringify(result));
	}
static async insertDummyGroup ( req , res ) { res . setHeader ( "Content-Type" , "application/json" ) ; const nameOptions = [ "Default Fridge" , "Random Fridge" , "Pale Ale Fridge" , "Strong Ale" , "Colorful Fridge" , "Fruit Fridge" ] ; var randomName = nameOptions [ Math . floor ( nameOptions . length * Math . random ( ) ) ] ; if ( ! randomName ) { randomName = "Dummy" ; } const result = await ApiController . saveNewMeasurementGroup ( randomName , 1 , 3 ) ; await ApiController . saveNewMeasurement ( result . _id , 1 + Math . random ( ) * 2 ) ; await ApiController . saveNewMeasurement ( result . _id , 1 + Math . random ( ) * 2 ) ; res . end ( JSON . stringify ( result ) ) ; }
Adds a dummy group to the measurements groups to simulate a new temperature sensor
 @param  {Request} req  The expressjs request instance
 @param  {Response} res The expressjs response instance
Adds a dummy group to the measurements groups to simulate a new temperature sensor @param { Request } req The expressjs request instance @param { Response } res The expressjs response instance