Allow to add negative temperature.
This commit is contained in:
parent
2e630d4fe1
commit
f4ed7afc59
|
|
@ -21,7 +21,7 @@ var (
|
|||
*/
|
||||
RootRoute = "/"
|
||||
|
||||
AddTempRoute = "/add/temp/" + sensorMacRegex + "/:val([0-9]+)"
|
||||
AddTempRoute = "/add/temp/" + sensorMacRegex + "/:val(-+[0-9]+)"
|
||||
AddRelayRoute = "/add/relay/" + sensorMacRegex
|
||||
TeleinfoAddRoute = "/teleinfo/add"
|
||||
AddSoilMoistRoute = "/add/soil" /* Route for soil moisture sensors*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue