Automations
About Automations
The Automation module provides comprehensive functionality for managing device automations across multiple nodes in the ESP RainMaker system. It allows users to create, edit, and manage automations that can control multiple devices based on specific events and conditions.
User Flow Overview
The Automation module has three main user flows:
- Create New Automation: Automations → CreateAutomation → Configure Event → Configure Actions
- Edit Existing Automation: Automations → CreateAutomation (with data) → Modify → Save
- Enable/Disable Automation: Toggle automation state directly from list
Architecture Overview
Components Structure
The automation module consists of the following components:
(automation)/
├── _layout.tsx # Navigation and context setup
├── Automations.tsx # Main automation list screen
├── CreateAutomation.tsx # Create/edit automation screen
├── EventDeviceSelection.tsx # Choose event trigger device