#!/usr/bin/env python

from farmware_tools import app
from farmware_tools import device
from farmware_tools import env
from farmware_tools import get_config_value

try:
    #device.move_absolute(location=device.assemble_coordinate(100, 50, 0), speed=100, offset=device.assemble_coordinate(0, 0, 0))
    device.move_absolute(device.assemble_coordinate(100, 100, 0), 100, device.assemble_coordinate(0, 0, 0))
     
    INPUT_VALUE = get_config_value(farmware_name="Hello Farmware Input", config_name="input", value_type=str)
    device.log(message="Hello Farmware! Input was: {}".format(INPUT_VALUE), message_type="success")

except Exception as error:
    device.log(repr(error))
