Yet another presence detection method

Wob76
Posts: 55
Joined: Wednesday 19 April 2017 6:31
Target OS: Linux
Domoticz version:
Contact:

Re: Yet another presence detection method

Post by Wob76 » Monday 21 August 2017 8:30

Hi,

Thanks for your work, I have it in and running.

Just wondering how everyone is handling the Presence switches in Domoticz?

I wanted to try and simplify adding extra devices later for monitoring in the future, so I created a Presence script that toggles a "Occupied" switch if any of devices ending in "Phone" are on.

This occupied switch is then used in my heating\cooling scripts to enable\disable overnight monitoring, along with a selector switch with Off\On\Auto. So I can override the presence sensing.

I have another switch called "Guests" which is toggled by devices that end in "Phone (Guest)". I plan to add a few people who regularly stay in our guest room, this will then control the heating zone for that room.

So my new Presence script runs once a min and seems to be working as expected, but I have since had a thought if I should just be using Sub\Slave switches.

Regards,
Wob

Toyman
Posts: 34
Joined: Wednesday 31 August 2016 16:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Yet another presence detection method

Post by Toyman » Monday 18 September 2017 10:49

Thanks A LOT. The ONLY presence script that actually works with iPhones

DAVIZINHO
Posts: 33
Joined: Sunday 27 August 2017 18:00
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Yet another presence detection method

Post by DAVIZINHO » Thursday 05 October 2017 22:35

edit, no problem. works great!!!

freakshock
Posts: 48
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Yet another presence detection method

Post by freakshock » Thursday 12 October 2017 20:40

This is a great method! Works great for my Android and iPhone devices.
I would also like to add some wired devices via this method.
Not as a presence detection function of course, but to see if these devices are online.

Is there any way to modify the code to also look for wired MAC adresses?
My skills are lacking here :lol:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest