GREAT LOTUS PYAUTO WEB icon

GREAT LOTUS PYAUTO WEB

10 action groups: ManagerAction, MouseAction, KeyboardAction, BrowserControl, ElementAction, ImageAction, OthersAction, EmailAction, DeveloperAction, General Debug

1. Manager → Push_Profile_to_NAS

AI-generated

Summary

Publishes a request via MQTT to a client device to package a local profile directory into a .tar file, upload it to a NAS, and release a lease.

Inputs

  • topic (required) — The MQTT topic to publish the request to (e.g., 'WP2_PC176').
  • manager_push_profile__profile_id (required) — The profile ID to package and upload.
  • qos — MQTT Quality of Service level (0, 1, or 2). Default is 1.
  • includeInputItems — If true, attaches data from previous nodes into the payload.
  • includeInputItemsFields — Comma-separated list of fields to include from input items (e.g., 'id,name').
  • waitForResponse — If true, waits for the MQTT response before returning output.
  • responseTimeoutSec — Maximum time (in seconds) to wait for a response.
  • delayNextStepMs — Delay (in ms) before moving to the next step after publishing or receiving a response.
  • manager_push_profile__profile_dir — Local profile directory to package. Leave empty to auto-discover based on LOTUS_GPM_PROFILE_DIR and a glob pattern.
  • manager_push_profile__host — Host (audit) value for the action.
  • manager_push_profile__duration — Run duration (in seconds).
  • manager_push_profile__actual_cache_mb — Actual cache size in MB.
  • manager_push_profile__release_lease — Whether to release the lease after the upload completes. Default is true.
  • manager_push_profile__store — Store (UNC/mount) value for the action.

Output shape

A list of items containing the response payload from the MQTT broker (success/failure status and details).

The shape of the output depends on the 'Wait For Response' setting. If disabled, the output reflects the publish result; if enabled, it reflects the parsed response payload.

Examples

Example 1: Push a specific profile ID to a target device with QoS 1.

Topic: 'device/pc_01/action', Profile ID: 'xgyasg1995', QoS: 1, Wait For Response: false.

Example 2: Package and upload a profile directory found by glob pattern, releasing the lease.

Topic: 'WP2_PC176', Profile Dir: (empty), Release Lease: true.

Example 3: Send a request and wait for the client to confirm completion before proceeding.

Topic: 'pyauto/mouse/click', Wait For Response: true, Response Timeout (sec): 60.

Links

Discussion