edilkamin
    Preparing search index...

    Variable setChronoMode

    setChronoMode: (
        jwtToken: string,
        macAddress: string,
        enabled: boolean,
    ) => Promise<unknown>

    Type Declaration

      • (jwtToken: string, macAddress: string, enabled: boolean): Promise<unknown>
      • Enables or disables Chrono Mode (scheduled programming). When enabled, the stove follows the configured temperature or power schedule.

        Note: This only enables/disables the schedule. Use setChronoTemperatureRanges() or setChronoPowerRanges() to configure the actual schedule.

        Parameters

        • jwtToken: string

          The JWT token for authentication.

        • macAddress: string

          The MAC address of the device.

        • enabled: boolean

          Whether to enable chrono mode.

        Returns Promise<unknown>

        • A promise that resolves to the command response.
        // Enable the configured schedule
        await setChronoMode(token, mac, true);
        // Disable scheduling (manual control)
        await setChronoMode(token, mac, false);