GET messages - Torrib/EIT GitHub Wiki
Get a list of the actuators connected
/device/[device id]/actuators
Example response:
{"status": "success", "message": "{"actuators": [4, 144, 60, 25]}"}
Get a list of fields and values for a single actuator
/device/[device id]/actuator/[actuator id]
Example response:
{
"status": "success",
"message": {
"id": 4,
"goal_position": X,
"moving_speed": X,
"baudrate": X,
"cw_angle_limit": X,
"ccw_angle_limit": X,
"torque_limit": X,
"torque_enable": X,
"max_torque": X,
"temperature_limit": X,
"led": X,
"high_voltage_limit": X,
"low_voltage_limit": X,
"model_number": X,
"current_position": X,
"moving": X,
"current_load": X,
"current_speed": X,
"current_temperature": X,
"current_voltage": X,
"firmware_version": X,
"alarm_led": X,
"alarm_shutdown": X},
}