Precision Cooker Commands
When using a Personal Access Token, you have access to the following set of commands:
CMD_APC_START
CMD_APC_STOP
CMD_APC_SET_TEMPERATURE_UNIT
1. Start Cooking
{
"command": "CMD_APC_START",
"requestId": "[UUID]",
"payload": {
"cookerId": "[device-id]",
"type": "[device-type]",
"targetTemperature": 65,
"unit": "C",
"timer": 3600
}
}
- requestId: Should be a UUID (universally unique identifier)
- cookerId: The device ID obtained from the connection messages
- targetTemperature: Desired cook temperature
- unit: Temperature unit, either
C
orF
- timer: Value in seconds (3600 = 1 hour)
2. Stop Cooking
{
"command": "CMD_APC_STOP",
"requestId": "[UUID]",
"payload": {
"cookerId": "[device-id]",
"type": "[device-type]"
}
}
3. Set Temperature Unit
{
"command": "CMD_APC_SET_TEMPERATURE_UNIT",
"requestId": "[UUID]",
"payload": {
"cookerId": "[device-id]",
"type": "[device-type]",
"unit": "C"
}
}
- unit: Temperature unit, allowed values are
C
orF