wifimngr: add wps overlap state to rule engine

This commit is contained in:
Sukru Senli 2021-03-12 19:32:52 +01:00
parent 9038766677
commit 0c418c8d4e

View file

@ -48,7 +48,7 @@
"method":"set",
"args" : {
"state": "ok",
"timeout": 30
"timeout": 120
},
"timeout": 1
}
@ -80,5 +80,33 @@
"timeout": 1
}
]
},
"wps_overlap": {
"if_operator" : "OR",
"if" : [
{
"event": "wifi.ap",
"match": {
"event":"wps-overlap"
}
},
{
"event": "wifi.bsta",
"match": {
"event":"wps-overlap"
}
}
],
"then" : [
{
"object": "led.wps",
"method":"set",
"args" : {
"state": "error",
"timeout": 120
},
"timeout": 1
}
]
}
}