Create relay_test.json
Browse files- relay_test.json +16 -0
relay_test.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": 201,
|
| 4 |
+
"command": "turn on relay 2 for 1 second",
|
| 5 |
+
"relay_id": 2,
|
| 6 |
+
"action": "ON",
|
| 7 |
+
"duration_ms": 1000
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"id": 202,
|
| 11 |
+
"command": "turn off relay 3",
|
| 12 |
+
"relay_id": 3,
|
| 13 |
+
"action": "OFF",
|
| 14 |
+
"duration_ms": 0
|
| 15 |
+
}
|
| 16 |
+
]
|