mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-28 01:47:19 +01:00
rulengd: change the example recipe config
This commit is contained in:
parent
050187987f
commit
e2469be380
1 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
config rule
|
||||
option event 'wifi.radio.channel_changed'
|
||||
list event_data "{'radio': 0, 'reason': 1}"
|
||||
list event_data "{'channels': [1, 2, 3]}"
|
||||
option event 'test.event'
|
||||
list event_data "{'test': 1, 'reason': 1}"
|
||||
list event_data "{'tests': [1, 2, 3]}"
|
||||
option method 'file->write'
|
||||
list method_data "{'path': '/tmp/test_file.txt'}"
|
||||
list method_data "{'data': 'channel changed!'}"
|
||||
list method_data "{'path': '/tmp/test_event.txt'}"
|
||||
list method_data "{'data': 'test event received!'}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue