Skip to main content

Sleep Mode

Overview​

The Sleep Mode feature allows you to put the device into a low-power state, either manually or on a recurring schedule. When active, sleep mode powers down non-essential components (cameras, compute module, Greengrass) to reduce energy consumption while keeping the device reachable for monitoring and remote management.

Accessing the Sleep Mode Page

You can access the sleep mode interface at: http://192.168.12.1:8080/sleep_mode

Key Features​

  • Manual Sleep Toggle: Instantly enable or disable sleep mode on demand
  • Scheduled Sleep: Automatically enable or disable sleep mode at specific times, every day
  • MQTT Integration: Sleep mode status and scheduling can also be controlled and monitored over MQTT

Manual Sleep Mode​

The Sleep Now toggle lets you activate or deactivate sleep mode immediately, without waiting for a schedule.

The Sleep Mode Status card with the Sleep Now toggle

  1. Navigate to the Sleep Mode Page

    • Access http://192.168.12.1:8080/sleep_mode in your web browser
  2. Toggle Sleep Now

    • Switch the "Sleep Now" toggle on to put the device to sleep immediately
    • Switch it off to wake the device up
warning

Enabling or disabling sleep mode may take up to 1 minute to take effect. During this time, image requests may be unavailable. Please try again after a short delay.

Scheduling Sleep Mode​

The Sleep Mode Schedule section lets you set up recurring times at which sleep mode is automatically enabled or disabled — for example, sleeping every night at 22:00 and waking up every morning at 06:00.

The Sleep Mode Schedule card showing the list of scheduled jobs and the creation form

Creating a Schedule​

  1. Locate the Sleep Mode Schedule Card

    • Find the "Sleep Mode Schedule" card below the Sleep Mode Status card
  2. Set the Time

    • Select an Hour and a Minute using the dropdown selectors
    Time Zone

    All scheduled times are expressed in UTC, not local time. Make sure to convert your desired local time to UTC before scheduling.

  3. Choose an Action

    • Select Enable to put the device to sleep at that time
    • Select Disable to wake the device up at that time
  4. Add the Schedule

    • Click "Add New"
    • The new schedule will appear in the list, showing its time and action
Scheduling Conflicts

Only one schedule can exist per exact time slot. If you try to create a schedule at a time that is already taken, an error message will be shown and the schedule will not be created.

Removing a Schedule​

  1. Locate the Schedule in the List

    • Find the schedule you want to remove in the "Sleep Mode Schedule" table
  2. Click Delete

    • Click the "Delete" button next to the schedule
    • The schedule is removed immediately and will no longer trigger

Persistence Across Restarts​

Schedules are saved to the device's local storage. If the device restarts (power cycle, firmware update, crash), all previously created schedules are automatically reloaded and remain active — no need to recreate them.

MQTT Integration​

Sleep mode can also be controlled and monitored over MQTT, in addition to the local web UI.

Troubleshooting​

Schedule Not Triggering at the Expected Time​

Problem: A schedule was created but sleep mode did not activate/deactivate at the expected time

Solutions:

  • Double-check that the time was entered in UTC, not local time
  • Confirm the schedule still appears in the list — it may have been removed or never created due to a conflict with an existing schedule

Cannot Create a Schedule​

Problem: An error appears when trying to add a new schedule

Solutions:

  • Another schedule already exists at the exact same time — choose a different time, or delete the conflicting schedule first

Sleep Mode State Not Changing​

Problem: Toggling "Sleep Now" or a scheduled action does not seem to affect the device

Solutions:

  • Wait up to 1 minute — the change is not instantaneous
  • Check that the device has not lost connectivity, which could prevent the status from updating in the UI