GREAT LOTUS PYAUTO WEB icon

GREAT LOTUS PYAUTO WEB

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

10. General Debug → debug_publish

AI-generated

Summary

Publishes a debug request to the specified MQTT topic with optional text, JSON, boolean, and number values. You can also include selected fields from incoming items, wait for a client response, and delay the next workflow step.

Inputs

  • Topic (required) — MQTT topic to publish to, such as a device name or action topic.
  • QoS — MQTT delivery level: 0 (at most once), 1 (at least once; default), or 2 (exactly once).
  • Debug Text — Optional text value sent with the debug request.
  • Debug JSON — Optional JSON value sent with the debug request; can be an object, array, or other JSON value.
  • Debug Switch — Boolean value sent with the debug request; defaults to false.
  • Debug Number — Number value sent with the debug request; defaults to 10.
  • Include Input Items — When enabled, attach data from incoming items as payload.inputItems.
  • Include Input Fields — Fields to copy from incoming items when Include Input Items is enabled. Supports nested paths and array indexes, for example status.detail or order.items[0].sku.
  • Wait For Response — When enabled, wait for an MQTT response before returning output.
  • Response Timeout (sec) — Maximum response wait, in seconds; shown when waiting is enabled. Defaults to 60.
  • Delay Next Step (ms) — Delay before proceeding. Runs after the response when waiting is enabled, or after publishing otherwise; defaults to rand(200,1000).

Output shape

A list of output items

Each item contains the operation result. The properties describe optional input data under payload.inputItems; exact response fields and output behavior are not visible in the supplied source pack.

Links

Discussion