Farmware-tools

Latest version: v3.5.6

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

3.1.2

3.1.1

3.1.0

3.0.0

The following `device.` commands now return an object that includes the command sent (instead of than the command sent itself):

send_celery_script
log
send_message
calibrate
check_updates
emergency_lock
emergency_unlock
execute
execute_script
run_farmware
factory_reset
find_home
home
install_farmware
install_first_party_farmware
move_absolute
move_relative
power_off
read_pin
read_status
reboot
register_gpio
remove_farmware
set_pin_io_mode
set_servo_angle
set_user_env
sync
take_photo
toggle_pin
unregister_gpio
update_farmware
wait
write_pin
zero

Example:
python
from farmware_tools import device

request = device.take_photo()

`request['command']`:
python
{'kind': 'take_photo', 'args': {}}

The other commands remain unchanged.

---
Other commands (for reference)
`device.` commands:

rpc_wrapper
get_bot_state
assemble_coordinate
assemble_pair
get_current_position
get_pin_value

`app.` commands:

request
post
get
patch
put
delete
log
search_points
download_plants
get_points
get_plants
get_toolslots
get_property
add_plant
find_sequence_by_name

2.1.0

* Add `device.run_farmware` alias for `device.execute_script`.

2.0.0

Rename `aux.py` to `auxiliary.py` for Windows compatibility.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.