Continue only if Lan-manager

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 « continue only if » block?

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 :slight_smile:

Hi @Hizo :slight_smile:

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:

There is the inverse block

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

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

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

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

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

Everything is explained in this tutorial:

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

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 :slight_smile:

1 Like

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

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