Geofencing with 2 persons? Family situation Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Wilpshaar
Posts: 33
Joined: Friday 08 February 2019 19:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Dronten, NL
Contact:

Geofencing with 2 persons? Family situation

Post by Wilpshaar »

Hi all, just registered and here my first post. I am using Domoticz on my synology nas and am playing around with my hue lamps etc, goes all fine..
Testing geofence now, looks OK but how to handle with a partner. My girlfriend?

If I go away and she stays at home the lights should stay remain on ofcourse and the heating normal..

I can nowhere find a how to? Installing domoticz app also on her phone with geofence on also?

But how is that to set in domoticz? Do I find 2 devices then?

I wish to prepare on a to buy thermostat etc and wish to experience geofencing with the lights etc

Looking forward to your reply,

Ger
DutchHans
Posts: 230
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Geofencing with 2 persons? Family situation

Post by DutchHans »

Hi Ger...

Its simple... Make a dummyswitch ...call it Presence...then if you are at home. Update the dummy switch to "on"... if your girlfriend is at home ..update the dummy to "on".. if you are both away..update the dummy with "Off"..

This can be done in lua or blockly..

I could provide my script as a start if you like.
Cheers, Hans
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Geofencing with 2 persons? Family situation

Post by poudenes »

I'm using 2 dummy switches and the app (ios) locative to send http to change the status of de dummy. Works great for more then 2 years. Me and my friend have their own dummy switch so I build lot of dzvents around it. Never we get back in dark house or someone leaves and other sit in a dark house because lights go off.... Everything is possible....


Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Wilpshaar
Posts: 33
Joined: Friday 08 February 2019 19:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Dronten, NL
Contact:

Re: Geofencing with 2 persons? Family situation

Post by Wilpshaar »

Thanks Hans and?.. I did successfully setup a dummy switch and found it also in blockly, that works sofar. But I will need to install the app as well on my girlfriends phone right? Then I can write blockly on both the switches, one for me and one for her right? 😬 Ofcourse her notifications must be disabled 😉 thanks guys sofar! Good weekend
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Geofencing with 2 persons? Family situation

Post by Lebo2d9 »

Hi,

I use presence detection based on Life360, every person has his own dummy switch
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Wilpshaar
Posts: 33
Joined: Friday 08 February 2019 19:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Dronten, NL
Contact:

Re: Geofencing with 2 persons? Family situation

Post by Wilpshaar »

Hi Lebo, but domoticz app on each device needed yes? That is my question, thanks,

Ger
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Geofencing with 2 persons? Family situation

Post by Lebo2d9 »

The domoticz app is not needed on each device. You need the Life360 app on each device. On me domoticz server I have a script running every minute that is checking if someone is in our home circle. If there is someone in the circle the script put the dummy switch of that person to on.

The only "problem" you have with life360 is that very memeber of your circle can seen where everybody is.

kind regards

Koen
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
rinyheuvelman
Posts: 15
Joined: Wednesday 19 December 2018 14:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10427
Contact:

Re: Geofencing with 2 persons? Family situation

Post by rinyheuvelman »

DutchHans wrote: Friday 08 February 2019 19:51 Hi Ger...

Its simple... Make a dummyswitch ...call it Presence...then if you are at home. Update the dummy switch to "on"... if your girlfriend is at home ..update the dummy to "on".. if you are both away..update the dummy with "Off"..

This can be done in lua or blockly..

I could provide my script as a start if you like.
Cheers, Hans
Thought it was simple too, but nevertheless everything I tried to get that dummy switch working failed. I have 3 dummy switches, turning on/off if phone is present. Can get it working: switching the "Presence" dummy on as soon as 1 phone switched on and of when no phones found
AllesVanZelf
Posts: 265
Joined: Monday 05 February 2018 8:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 12467
Location: Netherlands, near Haarlem
Contact:

Re: Geofencing with 2 persons? Family situation

Post by AllesVanZelf »

Have your tried Presence detection in the wiki? link.
This works very well for me.
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest