Offline scheduling
Offline scheduling makes sure the device keeps following the plan even if internet or cloud connectivity is lost.
The simplest way to understand offline scheduling
- Confirm your device supports offline scheduling (Shelly Plus / Pro).
- Confirm the device has an active rule or MPC/optimization that produces a schedule.
- Enable offline scheduling in device settings and save.
- Wait 10–60 seconds and confirm the schedule is synced.
- Test in practice: briefly disconnect internet (or MQTT) and confirm the device continues according to the plan.
Before you start (checklist)
- Device is online and visible in Optimaatti.
- MQTT connectivity works (device appears and state updates).
- A rule or MPC exists — offline scheduling does not create a schedule by itself.
- Understand the limitation: offline schedules synced to a device are limited (typically ~24h).
What offline scheduling does — and does not do
Offline scheduling does:
- syncs an optimized schedule to the device so it can continue without cloud connectivity
- improves reliability during internet or service outages
- works well for basic on/off control and as a backup for MPC
Offline scheduling does not:
- fix bad sensor placement or poor data quality
- work on devices that do not support offline schedules (e.g. older Gen1 devices)
- guarantee correct control indefinitely during long outages — schedules have a limited duration
What is offline scheduling?
In simple terms, Optimaatti sends the schedule to the device in advance. If the connection is lost, the device continues with the latest schedule it already received.
Reliable operation
Devices keep working during internet outages
Automatic updates
Schedules update automatically when new price data arrives
Limited duration
Offline schedules synced to the device are limited (typically ~24h)
OnlineWithOfflineBackup (backup mode)
In some cases you want normal online control, but also an offline schedule as a fallback if connectivity is lost.
Practical principle
- Online control sends real-time control commands.
- An offline schedule is synced to the device in the background as a backup.
- If connectivity is lost, the device continues on the last synced schedule.
This is especially useful for heating where you want both optimization and fault tolerance.
How do I enable offline scheduling?
Open device settings
Open the Optimaatti dashboard and select the device you want to configure.
Enable offline scheduling
Find the "Offline scheduling" setting and enable it.
Make sure the device has an active rule before enabling offline scheduling.
Save settings
Click "Save". The schedule is uploaded to the device in a few seconds.
Verify it works
Confirm the schedule was uploaded successfully:
- Device settings show "Offline scheduling active"
- You can see the next start time in the dashboard
Supported devices
Shelly Plus series
All Shelly Plus devices support offline scheduling:
- • Shelly Plus 1
- • Shelly Plus 1PM
- • Shelly Plus 2PM
- • Shelly Plus Plug S
Shelly Pro series
All Shelly Pro devices support offline scheduling:
- • Shelly Pro 1
- • Shelly Pro 1PM
- • Shelly Pro 2
- • Shelly Pro 2PM
- • Shelly Pro 3
- • Shelly Pro 4PM
Shelly Gen1 devices
Older Gen1 devices (Shelly 1, Shelly 1PM, Shelly 2.5 etc.) do not support offline schedules and require continuous MQTT connectivity.
Frequently asked questions
How often does the schedule update?
Schedules update automatically when new price data arrives (typically once per day around 13–14). You can also trigger a manual sync from device settings.
What happens if internet goes down?
The device continues using the last uploaded schedule. The schedule duration is limited (typically ~24h), so during a long outage control may revert to default behavior. Recommendation: keep connectivity stable and ensure schedules update daily.
How do I test offline scheduling properly?
The best test is to simulate a connectivity loss and verify the device still follows the plan.
- Confirm the schedule is synced (wait a moment after saving).
- Disconnect internet at the router for a moment or block outbound access for the device (if you know how).
- Observe device on/off behavior and compare to the planned schedule.
- Restore connectivity and confirm normal updates resume.
Why does the schedule not transfer to the device?
- device does not support offline schedules (Gen1 etc.)
- device is offline or MQTT is unstable
- there is no rule/MPC producing a schedule
- port/TLS/MQTT settings are wrong so the device cannot receive the sync
If the issue persists, open troubleshooting. Troubleshooting.
Can I still control the device manually?
Yes. You can always control the device manually from the dashboard or the device web UI. Manual control overrides the offline schedule.
Does offline scheduling use more memory?
The offline schedule typically uses about 2–3 KB of device memory, which is negligible and does not impact performance.