Checking if anyone is home (PowerShell script)

Moderator: Telldus

Post Reply
c8h10n4o2
Posts: 86
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Checking if anyone is home (PowerShell script)

Post by c8h10n4o2 »

There are probably many ways of doing this, but I thought I could share my way of doing it here aswell.

I made a post about it on my blog at:
http://dollarunderscore.azurewebsites.net/?p=2851

It's basically a script that runs every 1 or 5 minutes that checks which of our phones are connected to WiFi and writes the current status to file and changes a device in Telldus Live! to enable filtering on events.

I use it to for example light up all the lights when the first person comes home (the trigger is a IR-sensor), but if someone else has already arrived it just lights up the lamp at the door.

I also use it to set our "friday mood scene" when the whole family comes home on fridays (dimming the lights, turn on the stereo with a special playlist in spotify and so on...).

Just thought someone else here might have use for it :)

Feel free to ask questions if you need help configuring it!
m.janssen
Posts: 3
Joined: Fri Mar 17, 2023 9:45 am

Re: Checking if anyone is home (PowerShell script)

Post by m.janssen »

Huh, how did I manage to miss this.. Going to give it a go! :clap:

THANKS!!! 8)
Post Reply