Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EN screenshots in documentation #275

Merged
merged 6 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions docs/scenes/send-a-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ To do this, you must add a "retrieve the last state" action to your scene and se

Then, further in the scene, you can add a "send message" action, and in the message you type `{{` and select the previously defined variable.

<div class="videoContainer">
<video width="100%" controls autoplay loop muted>
<source src="/img/docs/en/scenes/send-a-message-action/inject-variable-demo.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
![Get sensor value](../../static/img/docs/en/scenes/send-a-message-action/inject-variable-demo.png)

When the scene runs, you should get the value in your message 🥳
38 changes: 19 additions & 19 deletions docs/scenes/user-presence.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,41 @@ title: Define the presence of a user in a scene
sidebar_label: User presence
---

On the dashboard, Gladys allows you to display which users are present/absent from the house.
# User Presence on the Dashboard

![User presence dashboard](../../static/img/docs/en/scenes/user-presence/dashboard-box.jpg)
On the dashboard, Gladys allows you to display which users are present or absent from the house.

You can use scenes to define the presence/absence of a user.
![User presence dashboard](../../static/img/docs/en/scenes/user-presence/dashboard-box.png)

- Either with the objective of launching the scene manually when you leave/come home (practical, but hey maybe a little restrictive, we want automation!)
- Either by automating the detection of the presence: This can be a button in the entrance, a motion detection if you are alone at home, a small Tasker that sends a message in MQTT when you are connected to the Wi-Fi of at home, a Nut: it's up to you!
You can use scenes to define a user's presence or absence.

## Prerequisites
- This can be done manually, by launching the scene when you leave or arrive home (useful, but perhaps a bit restrictive – automation is preferred!).
- Or, automate presence detection: This could be a button at the entrance, motion detection if you're home alone, a Tasker app that sends an MQTT message when you're connected to home Wi-Fi, or a Nut tracker. The choice is yours!

You must be in Gladys Assistant v4.0.3 (or older)to have this functionality.
We have tutorials for [Bluetooth detection](/docs/integrations/bluetooth/) and [network scan](/docs/integrations/lan-manager/).

## Define the user as "present at home" in a scene
## Define the User as "Present at Home" in a Scene

The objective of this action is to tell Gladys: "the user has been seen at home".
The goal of this action is to tell Gladys, "The user has been detected at home."

With this information, Gladys will be able to:

- Either emit a "return home" event if the user was away from home before that.
- Or do nothing if the user was already at home.
- Trigger a "return home" event if the user was previously marked as away.
- Do nothing if the user was already at home.

To do this, in a scene, you can create a "user seen at home" action:
To set this up, you can create a "user seen at home" action within a scene:

![User seen at home](../../static/img/docs/en/scenes/user-presence/user-seen-at-home.jpg)
![User seen at home](../../static/img/docs/en/scenes/user-presence/user-seen-at-home.png)

## Define user as "away from home" in a scene
## Define the User as "Away from Home" in a Scene

The objective of this action is to tell Gladys "The user is not this house".
The goal of this action is to inform Gladys, "The user is not in this house."

With this information, Gladys will be able to:

- Either send a "leaving home" event (if the user was marked as "at home" before that).
- Or do nothing if the user was not at home, or not in **this** house.
- Trigger a "leaving home" event if the user was previously marked as present at home.
- Do nothing if the user was not marked as present, or if they were marked as away from **this** house.

To do this, in a scene, you can create a "user left home" action:
To configure this, you can create a "user left home" action within a scene:

![User left home](../../static/img/docs/en/scenes/user-presence/user-left-home.jpg)
![User left home](../../static/img/docs/en/scenes/user-presence/user-left-home.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/docs/en/scenes/wait-action/wait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading