Update page 'Command_Info'
43
Command_Info.md
Normal file
43
Command_Info.md
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# INFO - Command
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
Request Plant infos
|
||||||
|
|
||||||
|
## Request
|
||||||
|
|
||||||
|
| Command | Arguments |
|
||||||
|
| :-----: | :-------: |
|
||||||
|
| INFO | None |
|
||||||
|
|
||||||
|
## Response
|
||||||
|
|
||||||
|
| Command | Argument1 | Argument2 | Argument3 | Argument4 |
|
||||||
|
| :-----: | :-------: | :-------: | :-------: | :-------: |
|
||||||
|
| INFO | Name | Type | State | Water |
|
||||||
|
|
||||||
|
- **Name**: Name of the plant as defined in configuration
|
||||||
|
- **Type**: Type of the plant, see [database][Database]
|
||||||
|
- **State**: State of the plant:
|
||||||
|
- **Bad**: Internet error (broker) or important alert
|
||||||
|
- **Warning**: Need something to be done (fill the tank)
|
||||||
|
- **Good**: Nothing to notice
|
||||||
|
- **Tank**: Water tank level in %
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```md
|
||||||
|
INFO
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
> Request
|
||||||
|
|
||||||
|
```md
|
||||||
|
INFO
|
||||||
|
Living Room;Ficus;Good;78.5
|
||||||
|
```
|
||||||
|
|
||||||
|
> Response
|
||||||
|
|
||||||
|
[Database]: https://eveldee.ddns.net:1342/Eveldee/PlantBox/src/branch/server/PlantBox.Server/README.md
|
||||||
Reference in New Issue
Block a user