Summary
The Automation Settings screen controls how Smart Automation publishes portal result pages after each project execution. You can enable automatic publication and choose between copying output to a local folder or uploading it to an S3-compatible storage server. These settings apply globally to all Smart Automation projects on the connected device.
Screen on arrival
Features
- AppBar "Smart Automation Settings" — close button (X) dismisses the screen and returns to the Project Overview.
- "Publish Portal Page" Switch — when enabled, the framework publishes an HTML portal page after each project update or execution run. When disabled, no publication occurs regardless of the method selected below.
- Publication Method (radio buttons) — selects where the portal page is sent:
- Copy to folder — writes the portal HTML to a local folder on the device.
- Folder path TextField (placeholder "Enter folder path") — the absolute path on the device where files are copied.
- Upload to storage server — transmits the portal HTML to a remote S3-compatible storage endpoint.
- Storage path TextField (placeholder "Enter path on storage server") — the bucket/key prefix on the storage server.
- "Edit S3 Settings" button — opens the
SetupS3Storage popup for configuring bucket name, region, access key, and secret key.
- "Save Settings" ElevatedButton — persists all settings to the device backend. Shows "Saving…" with a
CircularProgressIndicator while the request is in-flight.
Scenarios
Enable portal publication to a local folder
- Open Automation Settings from the gear icon on the Project Overview screen.
- Toggle Publish Portal Page on.
- Select the Copy to folder radio option.
- Enter the full path of the destination folder in the Folder path field (e.g.
/home/pi/portal).
- Tap Save Settings.
Enable portal publication to S3
- Toggle Publish Portal Page on.
- Select the Upload to storage server radio option.
- Enter the target path/prefix in the Storage path field.
- Tap Edit S3 Settings and fill in the bucket name, region, access key, and secret key in the popup, then confirm.
- Tap Save Settings.
Disable publication
- Toggle Publish Portal Page off.
- Tap Save Settings. No portal output will be generated on subsequent runs.