Derives the Chrono mode status from an existing DeviceInfo response. This is a pure function that extracts data without API calls.
Note: The API field is spelled "is_crono_active" (typo in original API).
The device info response object.
const info = await api.deviceInfo(token, mac);const isChronoActive = deriveChronoMode(info); Copy
const info = await api.deviceInfo(token, mac);const isChronoActive = deriveChronoMode(info);
Derives the Chrono mode status from an existing DeviceInfo response. This is a pure function that extracts data without API calls.
Note: The API field is spelled "is_crono_active" (typo in original API).