# Continue only if Lan-manager

**URL:** <https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843>\
**Category:** Configuration\
**Created:** [April 19, 2024, 12:34pm UTC](https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843 "2024-04-19T12:34:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [April 19, 2024, 12:34pm UTC](https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843/1 "2024-04-19T12:34:59Z")

</div>

Hello,

I wanted to use Lan-manager in a scene, I get its state and I want to check my presence.

What should I put in the «&nbsp;continue only if&nbsp;» block?

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/d3aa82d30b21d31de4136b7a51402da84c02d118.png)

I had built my own detection system using the Freebox API, but I just changed ISP.  
The idea is to check that I’m at home in the morning to know whether I should turn on my PC in addition to the blinds.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 19, 2024, 12:40pm UTC](https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843/2 "2024-04-19T12:40:37Z")

</div>

Hi @Hizo 🙂

Is it just to test your presence or to check whether the house is empty/full?

If it’s to check whether the house is empty/full, you can use this block:

 ![Screenshot 2024-04-19 at 14.39.55](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/261fae12f4238761a8dea301bdb88d2a33b10c7f.png)

There is the inverse block

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [April 19, 2024, 12:41pm UTC](https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843/3 "2024-04-19T12:41:32Z")

</div>

For me it’s all the same, I live alone 🙂

What is this «&nbsp;empty house&nbsp;» information automatically filled in based on?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 19, 2024, 12:45pm UTC](https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843/4 "2024-04-19T12:45:14Z")

</div>

Based on the presence of all household users (the «&nbsp;Presence&nbsp;» widget on the dashboard)

If you use LAN Manager, you can create a scene «&nbsp;If my phone is detected&nbsp;» THEN:

 ![Screenshot 2024-04-19 at 14.43.38](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/079b77757aab3e9ee67cb27b7c683a018cf996f5.png)

And a periodic scene that checks a user’s presence using this action:

 ![Screenshot 2024-04-19 at 14.44.31](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/68c36dfc1161c70aa5b5426d1266143ee9f2925e.png)

Everything is explained in this tutorial:

> **[Gérer la présence avec la détection Bluetooth | Gladys Assistant](https://gladysassistant.com/fr/docs/integrations/bluetooth/)**
>
> L'intégration Bluetooth est utile pour la gestion de la présence.

(For Bluetooth but also applies to LAN Manager, it’s the same thing)

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [April 19, 2024, 2:20pm UTC](https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843/5 "2024-04-19T14:20:29Z")

</div>

Thanks.

Just a shame that there isn’t a simple and friendly way to bring the two scenes together.

A block that would update the user’s presence to ON if detected and that would check every x time to set it to OFF.

Well, just another idea XD

Thanks again 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 19, 2024, 2:23pm UTC](https://community.gladysassistant.com/t/continuer-seulement-si-lan-manager/8843/6 "2024-04-19T14:23:23Z")

</div>

On the one hand I agree, and on the other, sometimes the «&nbsp;magical&nbsp;» ways of doing things aren’t the best, because the user doesn’t understand what’s happening.

Here, if the user wants to do «&nbsp;multi-device&nbsp;» discovery / mixed with zone detection, they can change everything. If it were just «&nbsp;magical&nbsp;» and done in the code, we would have to modify the code
