farmbot v6.4.1 Farmbot.Asset View Source

Hello Phoenix.

Link to this section Summary

Functions

Information about this device

Get a Peripheral by it’s id

Get a Point by it’s id

Get a Tool from a Point by tool_id

Same as get_regimen_by_id/1 but raises if no Regimen is found

Fetches all regimens that use a particular sequence

Get a Sensor by it’s id

Get a Sequence by it’s id

Same as get_sequence_by_id/1 but raises if no Sequence is found

Get a Tool by it’s id

Link to this section Functions

Information about this device.

Link to this function get_farm_event_by_id(feid) View Source
Link to this function get_peripheral_by_id(peripheral_id) View Source

Get a Peripheral by it’s id.

Link to this function get_point_by_id(point_id) View Source

Get a Point by it’s id.

Link to this function get_point_from_tool(tool_id) View Source

Get a Tool from a Point by tool_id.

Link to this function get_regimen_by_id(regimen_id, farm_event_id) View Source

Get a Regimen by it’s id.

Link to this function get_regimen_by_id!(regimen_id, farm_event_id) View Source

Same as get_regimen_by_id/1 but raises if no Regimen is found.

Link to this function get_regimens_using_sequence(sequence_id) View Source

Fetches all regimens that use a particular sequence.

Link to this function get_sensor_by_id(sensor_id) View Source

Get a Sensor by it’s id.

Link to this function get_sequence_by_id(sequence_id) View Source

Get a Sequence by it’s id.

Link to this function get_sequence_by_id!(sequence_id) View Source

Same as get_sequence_by_id/1 but raises if no Sequence is found.

Get a Tool by it’s id.