wifimngr: remove LED handling

This commit is contained in:
Erik Karlsson 2025-05-09 11:48:40 +02:00
parent 832947703c
commit e4e63ba991
2 changed files with 0 additions and 114 deletions

View file

@ -1,112 +0,0 @@
{
"wps_active": {
"if_operator" : "OR",
"if" : [
{
"event": "wifi.ap",
"match": {
"event":"wps-pbc-active"
}
},
{
"event": "wifi.bsta",
"match": {
"event":"wps-pbc-active"
}
}
],
"then" : [
{
"object": "led.wps",
"method":"set",
"args" : {
"state": "notice"
},
"timeout": 1
}
]
},
"wps_success": {
"if_operator" : "OR",
"if" : [
{
"event": "wifi.ap",
"match": {
"event":"wps-reg-success"
}
},
{
"event": "wifi.bsta",
"match": {
"event":"wps-success"
}
}
],
"then" : [
{
"object": "led.wps",
"method":"set",
"args" : {
"state": "ok",
"timeout": 120
},
"timeout": 1
}
]
},
"wps_timeout": {
"if_operator" : "OR",
"if" : [
{
"event": "wifi.ap",
"match": {
"event":"wps-timeout"
}
},
{
"event": "wifi.bsta",
"match": {
"event":"wps-timeout"
}
}
],
"then" : [
{
"object": "led.wps",
"method":"set",
"args" : {
"state": "off"
},
"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
}
]
}
}

View file

@ -1,2 +0,0 @@
uci -q set ruleng.wps=rule
uci -q set ruleng.wps.recipe='/etc/ruleng/wps.json'