Geofence for Domoticz

Moderator: leecollings

Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

Could you check this site: https://dontkillmyapp.com/ and see if these tips help?
twertw
Posts: 4
Joined: Saturday 23 February 2019 9:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by twertw »

Hi,

I hope someone here can help. I was using Domofence for a while and it was working well. But recently it is not the case. The Entered/ Exit times shown on my phone are more or less correct, but the virtual switch doesn't reflect the changes. I double checked the setting and the switch id - all looks fine and I haven't changed since the time it was working well. Test connection is successful.

Recent changes include - the regular Android updates on my phone (Samsung S8) and some plugins which I tested in Domoticz.

Any ideas on how to troubleshoot are welcome!
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

You could see what happens if you use the url in a browser from you phone.
twertw
Posts: 4
Joined: Saturday 23 February 2019 9:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by twertw »

Actually, if I try the URL in a browser - it shows "Domotics Offline" page without giving me the chance to enter user name/pass. The workaround I found for accessing Domotics when I am out of home is to access it from a private window of the browser. Do you think this is related?
Devious
Posts: 20
Joined: Sunday 30 December 2018 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Oss NL
Contact:

Re: Geofence for Domoticz

Post by Devious »

I have similar problems, test works fine, and notifications on the phone are correct, but the switch in domoticz doesn't change all the time (with test it does change all the time)

Could it be a power saving option in android that prevents domofence from sending the command to domoticz?

Background data is enabled.
CYBEL
Posts: 3
Joined: Monday 28 January 2019 9:00
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by CYBEL »

Hi all,

I have exactly the same problem: test works fine, and notifications on the phone are correct, but the switch in domoticz doesn't change all the time (with test it does change all the time)

In log of domoticz, I see the incoming connection, but not the change of the switch...

Do you have the solution or not?

Thank's a lot
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

CYBEL wrote: Tuesday 10 September 2019 9:02 I have exactly the same problem: test works fine, and notifications on the phone are correct, but the switch in domoticz doesn't change all the time (with test it does change all the time)

In log of domoticz, I see the incoming connection, but not the change of the switch...
Can you test (the test button should switch to 'off') when outside of the geofence?
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

twertw wrote: Saturday 11 May 2019 6:41 Actually, if I try the URL in a browser - it shows "Domotics Offline" page without giving me the chance to enter user name/pass. The workaround I found for accessing Domotics when I am out of home is to access it from a private window of the browser. Do you think this is related?
Hmm strange, are you using 'basic authentication'?
anilet
Posts: 1
Joined: Wednesday 30 October 2019 0:24
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by anilet »

Hello Appesteijn,
I am trying to use your app for HomeAssistant without any success, I would like to try and modify your app to suit HA, would you mind posting your code to Github, if not can you send me a copy please?
Anil
Appesteijn
Posts: 134
Joined: Friday 10 April 2015 23:53
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by Appesteijn »

The code is not very nice, but it works.

Feel free to create a merge request, once merged I'll add you to the list of contributors :)

https://gitlab.com/Appesteijn/domofence
cryonic90
Posts: 15
Joined: Friday 25 September 2015 10:22
Target OS: Linux
Domoticz version:
Contact:

Re: Geofence for Domoticz

Post by cryonic90 »

Hi,

With the removal of "basic-auth" in the near future, is there going to be an update for this app?
It unfortunately doesn't work with the login page.
But I like this app very much and other than that it works perfectly for me :)
manjh
Posts: 708
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Geofence for Domoticz

Post by manjh »

I have installed the app as per the Wiki instructions. Domoticz was no problem, so was installing on my Xiaomi phone, and on my wife's Samsung.
When I press the test button on the Android app, I can see the Domoticz switch reacting. So the connection works OK.
But when I leave home and go outside the Geofence parameter, nothing happens.
What could be wrong?
Hans
goblin
Posts: 31
Joined: Sunday 23 July 2017 14:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Haarlemmermeer
Contact:

Re: Geofence for Domoticz

Post by goblin »

that's exactly what happened to me today after installation.
the manual switch work on my domoticz. but not when a leave or enter the geofence.
the geofence button on the bottom is also not very clear to me.
if i hit the button then the line disappears from the icon but the text "all geofences are removed" pops up. and when i hit the button again a diagonal line is across then geofence icon and the text "the geofence was added" pops up.
When is the geofence active ? with or without the line.
(Also my cursor is always blinking at the end of the server address).

regards
manjh
Posts: 708
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Geofence for Domoticz

Post by manjh »

Looks like this app does not do what it promises to do. I will be removing it.
Hans
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Geofence for Domoticz

Post by ssk17051980 »

does anyone use this app?
if I'm on the internal network, the application works, if I use the mobile's cellular data, it doesn't work

or an equivalent of this application?

thank you
if I'm on the internal network, the application works, if I use the mobile's cellular data, it doesn't work
User avatar
Treve
Posts: 107
Joined: Thursday 05 November 2015 10:37
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.11474
Location: Rotterdam, NL
Contact:

Re: Geofence for Domoticz

Post by Treve »

I’m using “LOCATIVE” on a iPhone 13, this works flawlessly for a few years now.
It sends a http command to Domoticz and flips a dummy switch.
- RFXtrx433E,
- AEON Labs ZW090 Z-Stick Gen5 EU
- Hue v2.1
- Raspberry Pi 3 Model B, Raspbian Stretch Full on USB-Stick.
- Domoticz 4.11474
Devices: KaKu, Z-Wave, Hue.

for testing:
Raspberry 4, 2GB, SSD
Domoticz 2022.1
Ikea Hub, Fyrtur curtain
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Geofence for Domoticz

Post by ssk17051980 »

i don't find this app in Android store.
thx
User avatar
Treve
Posts: 107
Joined: Thursday 05 November 2015 10:37
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.11474
Location: Rotterdam, NL
Contact:

Re: Geofence for Domoticz

Post by Treve »

ssk17051980 wrote:i don't find this app in Android store.
thx
This is what I found,

https://github.com/sandeepnegi/Locative-Android
- RFXtrx433E,
- AEON Labs ZW090 Z-Stick Gen5 EU
- Hue v2.1
- Raspberry Pi 3 Model B, Raspbian Stretch Full on USB-Stick.
- Domoticz 4.11474
Devices: KaKu, Z-Wave, Hue.

for testing:
Raspberry 4, 2GB, SSD
Domoticz 2022.1
Ikea Hub, Fyrtur curtain
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Geofence for Domoticz

Post by ssk17051980 »

So,

if my phone is in the same network, using my wi-fi the app is working, and the test from the app it's ok.
if i'm using 4G from my phone, i receive error on test the app.
niki_lauda
Posts: 115
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Geofence for Domoticz

Post by niki_lauda »

I am using this app for a 8 years.
Support is discontinued but works like a charm.
https://play.google.com/store/apps/deta ... zone&hl=nl
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest