mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
wifimngr: add wps overlap state to rule engine
This commit is contained in:
parent
9038766677
commit
0c418c8d4e
1 changed files with 29 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue