@@ -37,30 +37,29 @@ git clone https://github.com/FarmBot-Labs/sidecar-starter-pack
37
37
38
38
(2) Navigate to the project directory.
39
39
```
40
- cd path/to/ sidecar-starter-pack
40
+ cd sidecar-starter-pack
41
41
```
42
42
43
43
(3) Create a virtual environment.
44
44
```
45
- python -m venv path/to/venv/location
45
+ python -m venv py_venv
46
46
```
47
47
48
48
(4) Activate the virtual environment.
49
49
```
50
- source path/to/venv /bin/activate
50
+ source py_venv /bin/activate
51
51
```
52
52
53
53
(5) Install the required libraries within venv:
54
54
```
55
- python3 -m pip install requests
56
- python3 -m pip install paho-mqtt
55
+ python -m pip install requests paho-mqtt
57
56
```
58
57
59
58
## :seedling : Getting Started
60
59
61
- Import ` main.py ` and create an instance of the Farmbot class:
60
+ Import ` main ` and create an instance of the Farmbot class:
62
61
```
63
- from main.py import Farmbot
62
+ from main import Farmbot
64
63
bot = Farmbot()
65
64
```
66
65
@@ -190,7 +189,8 @@ sidecar-starter-pack/
190
189
| class ` Information() ` | Description |
191
190
| :--- | :--- |
192
191
| ` get_info() ` | Get information about a specific endpoint. |
193
- | ` set_info() ` | Change information contained within an endpoint. |
192
+ | ` edit_info() ` | Change information contained within an endpoint. |
193
+ | ` add_info() ` | Create new information contained within an endpoint.
194
194
| ` safe_z() ` | Returns the highest safe point along the z-axis. |
195
195
| ` garden_size() ` | Returns x-axis length, y-axis length, and area of garden bed. |
196
196
| ` group() ` | Returns all group info or single by id. |
0 commit comments