Add dashboard chat controls and suppress echoes
This commit is contained in:
1 parent
5a3b299aa9
commit
c3a045d17a
10 files changed
+178
-13
No files matched your search
@@ -72,3 +72,11 @@ PY
|
||||
```
|
||||
$ for i in $(seq 1 8); do curl -fsS --max-time 2 http://127.0.0.1:3301/api/global | jq -c '{movement_status,pos,path,breaking,job_state}'; sleep 1; done (timeout 15s)
|
||||
```
|
||||
|
||||
- Send a Minecraft command through the web chat API while `mosfet1` is running:
|
||||
|
||||
```sh
|
||||
curl -sS http://127.0.0.1:3301/api/chat \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"message":"1farm sand"}'
|
||||
```
|
||||
Reference in new issue
Block a user