// eg. http://<hg_address>/api/HomeAutomation.PhilipsHue/<light_number>/Control.Alert/Longcase "Control.Alert": // eg. Modules.WithName("Light 1").Command("Control.Alert").Set(""); for a short alert Set("Long"); for a 30 second alert string alertType = "select"; if (parameter == "Long") {alertType = "lselect";} bridgeapicall(lightnumber, "{\"alert\" : \"" + alertType + "\"}"); break;