mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Revert "dectmngr: add rules in ruleng to handle DECT LED"
This reverts commit 5f36441b11.
As the solution caused conflict to WPS led.
This commit is contained in:
parent
8741d7d82e
commit
d3b2d4d9bf
3 changed files with 1 additions and 90 deletions
|
|
@ -4,3 +4,4 @@ config dect 'global'
|
|||
|
||||
config dect 'base'
|
||||
option enable '1'
|
||||
option PIN '1234'
|
||||
|
|
|
|||
|
|
@ -1,88 +0,0 @@
|
|||
{
|
||||
"dect_registration_started": {
|
||||
"if": [
|
||||
{
|
||||
"event": "dect.base",
|
||||
"match": {
|
||||
"event": "registration",
|
||||
"status": "started"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then": [
|
||||
{
|
||||
"object": "led.dect",
|
||||
"method": "set",
|
||||
"args": {
|
||||
"state": "notice",
|
||||
"timeout": 120
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"dect_registration_stopped": {
|
||||
"if": [
|
||||
{
|
||||
"event": "dect.base",
|
||||
"match": {
|
||||
"event": "registration",
|
||||
"status": "stopped"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then": [
|
||||
{
|
||||
"object": "led.dect",
|
||||
"method": "set",
|
||||
"args": {
|
||||
"state": "off"
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"dect_registration_timeout": {
|
||||
"if": [
|
||||
{
|
||||
"event": "dect.base",
|
||||
"match": {
|
||||
"event": "registration",
|
||||
"status": "timeout"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then": [
|
||||
{
|
||||
"object": "led.dect",
|
||||
"method": "set",
|
||||
"args": {
|
||||
"state": "off"
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"dect_registration_success": {
|
||||
"if": [
|
||||
{
|
||||
"event": "dect.base",
|
||||
"match": {
|
||||
"event": "registration",
|
||||
"status": "success"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then": [
|
||||
{
|
||||
"object": "led.dect",
|
||||
"method": "set",
|
||||
"args": {
|
||||
"state": "ok",
|
||||
"timeout": 5
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
uci -q set ruleng.dect=rule
|
||||
uci -q set ruleng.dect.recipe='/etc/ruleng/dect.json'
|
||||
Loading…
Add table
Reference in a new issue