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
| URL | The full HTTP or HTTPS endpoint to call. Example: https://example.com/api/alert |
| Method | The HTTP method to use for the request. Supported values include: GET, POST, PUT, PATCH, and DELETE. |
| Request Body Type | Choose between JSON and Form Encoded. Used for POST, PUT, and PATCH. |
| Headers | Optional headers, identical in behavior to the activation request. |
| Parameters | Data 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.
| URL | The endpoint to call when the action deactivates. Often used to reverse or stop an automation. |
| Method | The HTTP method for this request. Can differ from the activation method. |
| Request Body Type | Choose between JSON and Form Encoded. Used for POST, PUT, and PATCH. |
| Headers | Optional headers, identical in behavior to the activation request. |
| Parameters | Data to include with the deactivation call. Example: { "state": "inactive" } |