Look Straight 1.5 guide

Web Request

The Web Request action in Look Straight allows you to trigger an HTTP or HTTPS request when an action is activated or deactivated. This makes it one of the most powerful and flexible actions in the app — connecting your facial expressions and gaze events to any external system, API, or service on your network or the internet.

With the Web Request action, you can integrate Look Straight into your automation environment — whether that’s Home Assistant, IFTTT, Zapier, Node-RED, or your own custom server.

For a supported non-HTTP URL, such as an app’s URL scheme, Look Straight opens the URL using the system. HTTP methods, headers, and body settings apply to HTTP and HTTPS requests.

Custom Properties

When Activated

URLThe full HTTP or HTTPS endpoint to call. Example: https://example.com/api/alert
MethodThe HTTP method to use for the request. Supported values include: GET, POST, PUT, PATCH, and DELETE.
Request Body TypeChoose between JSON and Form Encoded. Used for POST, PUT, and PATCH.
HeadersOptional headers, identical in behavior to the activation request.
ParametersData to include with the activation call. Example: { "state": "inactive" }

When Deactivated (Optional)

This section defines a second request that runs when the action deactivates — for instance, when you reopen your eyes or return your head to a neutral position.

URLThe endpoint to call when the action deactivates. Often used to reverse or stop an automation.
MethodThe HTTP method for this request. Can differ from the activation method.
Request Body TypeChoose between JSON and Form Encoded. Used for POST, PUT, and PATCH.
HeadersOptional headers, identical in behavior to the activation request.
ParametersData to include with the deactivation call. Example: { "state": "inactive" }