-
Notifications
You must be signed in to change notification settings - Fork 19
Methods
Malene Trab edited this page Apr 16, 2024
·
3 revisions
Here you'll find the different supported methods (calls) you can use with this module.
| Call | Description | Parameters | Notes |
|---|---|---|---|
| authenticate | Authenticate against the API | ||
| connect | Connect to the cloud instance | ||
| disconnect | Disconnect from the cloud instance | ||
| get_mower | Get data from a specific mower | serial_number: str | |
| home | Stop (and go home) | serial_number: str | If knives were on they will remain on |
| ots | Start a one-time-schedule | serial_number: str, boundary: bool, runtime: str or int | |
| pause | Pause mowing | serial_number: str | |
| raindelay | Set raindelay | serial_number: str, rain_delay: str | |
| restart | Reboot the baseboard in the mower | serial_number: str | |
| safe_home | Stop (and go home) | serial_number: str | Turns off the knifes if they were on |
| send | Send raw JSON to the mower | serial_number: str, data: str | Can be used to set options not directly accessible in the library, use with care |
| set_lock | Toggle device lock | serial_number: str, state: bool | |
| set_partymode | Toggle partymode on or off | serial_number: str, state: bool | |
| setzone | Set the next zone to be mowed | serial_number: str, zone: str or int | |
| start | Start mowing | serial_number: str | |
| toggle_schedule | Toggle schedule on or off | serial_number: str, enable: bool | |
| update | Request a state refresh from the mower | serial_number: str | Usually NOT used, as the device will push any updates to the callback function |
| zonetraining | Start the zonetraining task | serial_number: str |