Geofence for Domoticz

Moderator: leecollings

thaui
Posts: 59
Joined: Sunday 15 March 2015 19:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Hamburg
Contact:

Re: Geofence for Domoticz

Post by thaui »

Appesteijn wrote:Thank you, it is nice to hear you like it! I don't have any experience with a securtiy panel, but I'll have a look at it.
I mean the secpanel included in Domoticz (not an an external device) . If you follow this thread http://www.domoticz.com/forum/viewtopic ... 4653#p4463 you will find some more information from "gizmocuz". I guess with your app I can probably achieve the "Arm Away" or "Disarm" functionality. If your app will be used for a secpanel acitivation or deactivation it will be nice to get the message "Disarmed" or "Armed Away" or just read the status.
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Geofence for Domoticz

Post by thecosmicgate »

Running domofence on Android 4.4.2 and 5.0.
On 5.0 its running fine, on 4.4.2 it seems that domofence is closed every time through Android.
When i open the app and pushed the "pin" it works

Are there more who having this issue , or people who can solve this.
It's nice to be important, but it's more important to be nice
Scooter ;)
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

So 'listening' for the geofence stops? That should not happen.

I have just installed it on an old device of mine (running 4.4.2) and I'll let you know what happens.
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Geofence for Domoticz

Post by thecosmicgate »

Appesteijn wrote:So 'listening' for the geofence stops? That should not happen.

I have just installed it on an old device of mine (running 4.4.2) and I'll let you know what happens.
Thnx !
It's nice to be important, but it's more important to be nice
Scooter ;)
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

Until now I haven't seen anything unusual on my 4.4.2 device.

How do you notice domofence is closed? Does the icon on the 'activate' button changes when you press it?
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Geofence for Domoticz

Post by thecosmicgate »

Appesteijn wrote:Until now I haven't seen anything unusual on my 4.4.2 device.

How do you notice domofence is closed? Does the icon on the 'activate' button changes when you press it?
We had to start domofence by hand , the icon is completely gone.
It's nice to be important, but it's more important to be nice
Scooter ;)
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

thecosmicgate wrote:
Appesteijn wrote:Until now I haven't seen anything unusual on my 4.4.2 device.

How do you notice domofence is closed? Does the icon on the 'activate' button changes when you press it?
We had to start domofence by hand , the icon is completely gone.
Hmm that is very strange, never heard/noticed that the icon disappears. Do you get notifications when crossing the geofence? Did you try to reinstall the app?
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Geofence for Domoticz

Post by thecosmicgate »

Appesteijn wrote:
thecosmicgate wrote:
Appesteijn wrote:Until now I haven't seen anything unusual on my 4.4.2 device.

How do you notice domofence is closed? Does the icon on the 'activate' button changes when you press it?
We had to start domofence by hand , the icon is completely gone.
Hmm that is very strange, never heard/noticed that the icon disappears. Do you get notifications when crossing the geofence? Did you try to reinstall the app?
Reinstalled the app now, testing tonight
It's nice to be important, but it's more important to be nice
Scooter ;)
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

thecosmicgate wrote: Reinstalled the app now, testing tonight
Please let me know!
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Geofence for Domoticz

Post by thecosmicgate »

Appesteijn wrote:
thecosmicgate wrote: Reinstalled the app now, testing tonight
Please let me know!
Sure
It's nice to be important, but it's more important to be nice
Scooter ;)
domogijs
Posts: 99
Joined: Monday 17 August 2015 23:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by domogijs »

Hi

i am trying domofence to run on CM 12.1 / android 5.1.1 .

Test button goes ok but when i hit the "pin" de app craches.

Is there ia way to prevent this?

Greets Gijs
Raspberry Pi3, RFlink, PiZigate, Yeelight, klikaanklikuit, Kodi, harmony hub, Zwave, ThermoSmart, XiaomiGateway (Aqara), Google home hub, roomba,
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

domogijs wrote:Hi

i am trying domofence to run on CM 12.1 / android 5.1.1 .

Test button goes ok but when i hit the "pin" de app craches.

Is there ia way to prevent this?

Greets Gijs
I hope there is :) Could you send the crash report through the app? Did you install the gapps package? DomoFence uses Google Play Services for the geofencing.
domogijs
Posts: 99
Joined: Monday 17 August 2015 23:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by domogijs »

Appesteijn wrote:
domogijs wrote:Hi

i am trying domofence to run on CM 12.1 / android 5.1.1 .

Test button goes ok but when i hit the "pin" de app craches.

Is there ia way to prevent this?

Greets Gijs
I hope there is :) Could you send the crash report through the app? Did you install the gapps package? DomoFence uses Google Play Services for the geofencing.
Sorry for the slow reaction.

How do I sent a crash report. I have google play app.

Greets gijs

Verstuurd vanaf mijn A0001 met Tapatalk
Raspberry Pi3, RFlink, PiZigate, Yeelight, klikaanklikuit, Kodi, harmony hub, Zwave, ThermoSmart, XiaomiGateway (Aqara), Google home hub, roomba,
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

domogijs wrote: Sorry for the slow reaction.

How do I sent a crash report. I have google play app.

Greets gijs

Verstuurd vanaf mijn A0001 met Tapatalk
Usually when an app crashes, you get the option to 'report' the error. If you do this, I can see the reason of the error (no personal information) and I can investigate it further.
domogijs
Posts: 99
Joined: Monday 17 August 2015 23:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by domogijs »

Ok solved it. App did not have the rights for location. Setting>Privacy>Privacy Guard>

Thanks for the help.

Greets Gijs

Verstuurd vanaf mijn A0001 met Tapatalk
Raspberry Pi3, RFlink, PiZigate, Yeelight, klikaanklikuit, Kodi, harmony hub, Zwave, ThermoSmart, XiaomiGateway (Aqara), Google home hub, roomba,
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

domogijs wrote:Ok solved it. App did not have the rights for location. Setting>Privacy>Privacy Guard>

Thanks for the help.

Greets Gijs

Verstuurd vanaf mijn A0001 met Tapatalk
Good to hear!
User avatar
jcjames13009
Posts: 33
Joined: Monday 09 March 2015 15:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: France / Marseille
Contact:

Re: Geofence for Domoticz

Post by jcjames13009 »

Thanks Appesteijn for this appli :D

I installed it 2 days ago and now the outside light swithes on automaticaly arriving home at night. Easy to set-up and easy to use with Domoticz. Well done!!!

Just one remrak for those who want to use it, the Lat & Long must be very precise to make Geofence working good with Domoticz with a small Geofence Radius value. I used Google Maps to find corrersponding values for my house.

Next step is to install this appli on all smartphones. Just need an iOs one for my wife :shock: I know nobody's perfect :D

JC
Last edited by jcjames13009 on Friday 20 November 2015 15:41, edited 1 time in total.
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by markk »

jcjames13009 wrote:Thanks Appesteijn for this appli :D

I installed it 2 days ago and now the outside light swithes on automaticcaly arriving home at night. Easy to set-up and easy to use with Domoticz. Well done!!!

Just one remrak for those who want to use it, the Lat & Long must be very precise to make Geofence working good with Domoticz with a small Geofence Radius value. I used Google Maps to find corrersponding values for my house.

Next step is to install this appli on all smartphones. Just need an iOs one for my wife :shock: I know nobody's perfect :D

JC
The "Pilot" app works perfectly on my IOS device
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
User avatar
jcjames13009
Posts: 33
Joined: Monday 09 March 2015 15:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: France / Marseille
Contact:

Re: Geofence for Domoticz

Post by jcjames13009 »

markk wrote: The "Pilot" app works perfectly on my IOS device
Thanks for the info. I'll test it.

JC
User avatar
jcjames13009
Posts: 33
Joined: Monday 09 March 2015 15:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: France / Marseille
Contact:

Re: Geofence for Domoticz

Post by jcjames13009 »

Still investigating on the different posible ways to use GeoFnce. I wonder if there is possibility to set-up several GeoFences or to have different Radius values to manage actions depending on how far we are from home.

Example:
- Switch heating on when I'm at 2km from home
- Open blinds when I'm at 200m from home
- Open garage door when I'm in front of my house
- etc...

Thanks for feedback

JC
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest