techage_modpack/signs_bot/bep-006_sb_cmnd.md

25 lines
1.5 KiB
Markdown
Raw Normal View History

2023-08-26 11:27:15 +03:00
| Author | Version | Status | Modified |
| ---------- | ------- | -------- | ----------- |
| J.Stolberg | 0.1 | Proposal | 27 Jun 2023 |
# BEP 006: Signs Bot Commands
### Send Command / Trigger Action
| Command | Topic (num) | Payload (array/string) | Remarks |
| ----------- | ----------- | ---------------------- | ------------------------------------------------------------ |
| Turn on/off | 1 | [num] | Turn bot on/off<br />*num* is the state: 0 = "off", 1 = "on" |
| | | | |
| | | | |
### Request Data
| Command | Topic (num) | Payload (array/string) | Response (array/string) | Remarks to the response |
| --------- | ----------- | ---------------------- | ----------------------- | ------------------------------------------------------------ |
| Bot State | 128 | - | [num] | RUNNING = 1, BLOCKED = 2,<br /> STANDBY = 3, NOPOWER = 4,<br />FAULT = 5, STOPPED = 6,<br />CHARCHING = 7 |
| | | | | |
| | | | | |