Page 16 of 20
Re: Geofence for Domoticz
Posted: Sunday 17 December 2017 11:32
by jannl
I am not sure what turning wifi on and off adds to presence detection, except for the privacy, which has nothing to do with presence detection.
Re: Geofence for Domoticz
Posted: Monday 18 December 2017 23:53
by Sandberg89a
Hallo Appestijn,
Ik weet niet hoe ik je anders kan bereiken. Ik zie nergens een e-mailadres van jou. Ik heb jouw naam van iemand gekregen, welke aangaf dat jij veel verstand hebt van iets kunnen schakelen via software op een tablet. Mag ik aan jou mijn vraag voorleggen. Het liefst via de e-mail.
m.vr.gr.
Kasper de Beer
Re: Geofence for Domoticz
Posted: Wednesday 20 December 2017 7:47
by Appesteijn
Sandberg89a wrote: ↑Monday 18 December 2017 23:53
Hallo Appestijn,
Ik weet niet hoe ik je anders kan bereiken. Ik zie nergens een e-mailadres van jou. Ik heb jouw naam van iemand gekregen, welke aangaf dat jij veel verstand hebt van iets kunnen schakelen via software op een tablet. Mag ik aan jou mijn vraag voorleggen. Het liefst via de e-mail.
m.vr.gr.
Kasper de Beer
Check your PMs!
Re: Geofence for Domoticz
Posted: Thursday 21 December 2017 9:22
by gimlichael
I cannot get this app to work.
I am using Android 8 (Oreo), and the app does not register when I leave or enter the fence.
It only works when testing the connection .. outside the fence and testing, the virtual switch always remain on.
Re: Geofence for Domoticz
Posted: Thursday 21 December 2017 13:59
by Appesteijn
gimlichael wrote: ↑Thursday 21 December 2017 9:22
I cannot get this app to work.
I am using Android 8 (Oreo), and the app does not register when I leave or enter the fence.
It only works when testing the connection .. outside the fence and testing, the virtual switch always remain on.
Hmm, do you have the Google Play apps installed and is DomoFence authorized to access your location?
Re: Geofence for Domoticz
Posted: Thursday 21 December 2017 14:48
by jannl
I also see some issues. The app was not working for some days and today I manually started the app. Looks like something stops the app....
Btw, I do not use any battery apps (besides Android's own)
Re: Geofence for Domoticz
Posted: Thursday 21 December 2017 16:58
by Appesteijn
jannl wrote: ↑Thursday 21 December 2017 14:48
I also see some issues. The app was not working for some days and today I manually started the app. Looks like something stops the app....
Btw, I do not use any battery apps (besides Android's own)
It looks like in Android 8.0 they changed the Geofencing API. I will have a look in the Christmas holidays.
Re: Geofence for Domoticz
Posted: Thursday 21 December 2017 20:07
by jannl
Nope, still 7.x
Re: Geofence for Domoticz
Posted: Thursday 21 December 2017 23:34
by gimlichael
Appesteijn wrote: ↑Thursday 21 December 2017 13:59
gimlichael wrote: ↑Thursday 21 December 2017 9:22
I cannot get this app to work.
I am using Android 8 (Oreo), and the app does not register when I leave or enter the fence.
It only works when testing the connection .. outside the fence and testing, the virtual switch always remain on.
Hmm, do you have the Google Play apps installed and is DomoFence authorized to access your location?
Yes, the app have the required permissions .. but like you wrote later, maybe a new API needs support?
Looking forward to be using your app.
Re: Geofence for Domoticz
Posted: Saturday 13 January 2018 9:07
by Huubke80
Hi,
I have installed the app domofence, now I have the problem that it is only working when I connected to my Wifi. But when I connected to the mobile network I'm getting an error message
http://IP:8080/json.htm?...... While I have acces to the webinterface from outside my LAN, someone any idea?
Re: Geofence for Domoticz
Posted: Saturday 13 January 2018 10:16
by DutchHans
Is Domoticz accessable from the outside?..you should have access, otherwise you can't change a switch...
Regards, Hans
Re: Geofence for Domoticz
Posted: Saturday 13 January 2018 13:14
by Huubke80
DutchHans wrote: ↑Saturday 13 January 2018 10:16
Is Domoticz accessable from the outside?..you should have access, otherwise you can't change a switch...
Regards, Hans
Yipzz, that is the strange thing. I think it has to do something with authentication?!
Re: Geofence for Domoticz
Posted: Saturday 13 January 2018 13:19
by DutchHans
If thats the case its simple
http://username:password@yourIP:portnumber/etc
Hope this helps.
Hans
Re: Geofence for Domoticz
Posted: Saturday 13 January 2018 13:21
by Huubke80
Huubke80 wrote: ↑Saturday 13 January 2018 13:14
DutchHans wrote: ↑Saturday 13 January 2018 10:16
Is Domoticz accessable from the outside?..you should have access, otherwise you can't change a switch...
Regards, Hans
Yipzz, that is the strange thing. I think it has to do something with authentication?!
Solved, the " basic authentication" instead of "login page" under settings in Domoticz did the trick.
.
Re: Geofence for Domoticz
Posted: Monday 15 January 2018 14:22
by gjaa
I'm new to Domofence but is doesn't work, I've got an error
I use the same settings as Domoticz Lite
user and password are the same
Basic Auth is set
But when I use my home wifi and change the IP to the local IP-Address and port, then it's working
I'm using the app on Android 8.1 (Nexus 5x)
What's going wrong????
Gerard
Re: Geofence for Domoticz
Posted: Wednesday 17 January 2018 16:33
by gjaa
gjaa wrote: ↑Monday 15 January 2018 14:22
I'm new to Domofence but is doesn't work, I've got an error
I use the same settings as Domoticz Lite
user and password are the same
Basic Auth is set
But when I use my home wifi and change the IP to the local IP-Address and port, then it's working
I'm using the app on Android 8.1 (Nexus 5x)
What's going wrong????
Gerard
I started a browser on my phone and tried https://123.123.123.123:port/json.htm?type=command¶m=switchlight&idx=1234&switchcmd=On
I've got the message
{
"status" : "On" ,
"title" : "SwitchLight"
}
So that's working. But in the app, when I try "Test connection (ON)", I've got the message Error:https://123.123.123.123:port/json.htm?type=command¶m=switchlight&idx=1234&switchcmd=On
So what's the solution???
Gerard
Re: Geofence for Domoticz
Posted: Wednesday 17 January 2018 20:54
by gjaa
gjaa wrote: ↑Wednesday 17 January 2018 16:33
gjaa wrote: ↑Monday 15 January 2018 14:22
I'm new to Domofence but is doesn't work, I've got an error
I use the same settings as Domoticz Lite
user and password are the same
Basic Auth is set
But when I use my home wifi and change the IP to the local IP-Address and port, then it's working
I'm using the app on Android 8.1 (Nexus 5x)
What's going wrong????
Gerard
I started a browser on my phone and tried https://123.123.123.123:port/json.htm?type=command¶m=switchlight&idx=1234&switchcmd=On
I've got the message
{
"status" : "On" ,
"title" : "SwitchLight"
}
So that's working. But in the app, when I try "Test connection (ON)", I've got the message Error:https://123.123.123.123:port/json.htm?type=command¶m=switchlight&idx=1234&switchcmd=On
So what's the solution???
Gerard
Tested with the phone of my son (Android 6.0)
And it's working so it's a android 8 problem
Gerard
Re: Geofence for Domoticz
Posted: Wednesday 24 January 2018 8:52
by gjaa
I stopped with Domofence
I use now
https://www.domoticz.com/wiki/Presence_detection
This script checks the presence off the ip-addresses of the phones in the home network
Gerard
Re: Geofence for Domoticz
Posted: Thursday 25 January 2018 7:57
by Appesteijn
I currently don't have much spare time to work on this. I'll post here when I have an update.
Re: Geofence for Domoticz
Posted: Saturday 10 February 2018 17:04
by billouetaudrey
gjaa wrote:gjaa wrote: ↑Wednesday 17 January 2018 16:33
gjaa wrote: ↑Monday 15 January 2018 14:22
I'm new to Domofence but is doesn't work, I've got an error
I use the same settings as Domoticz Lite
user and password are the same
Basic Auth is set
But when I use my home wifi and change the IP to the local IP-Address and port, then it's working
I'm using the app on Android 8.1 (Nexus 5x)
What's going wrong????
Gerard
I started a browser on my phone and tried https://123.123.123.123:port/json.htm?type=command¶m=switchlight&idx=1234&switchcmd=On
I've got the message
{
"status" : "On" ,
"title" : "SwitchLight"
}
So that's working. But in the app, when I try "Test connection (ON)", I've got the message Error:https://123.123.123.123:port/json.htm?type=command¶m=switchlight&idx=1234&switchcmd=On
So what's the solution???
Gerard
Tested with the phone of my son (Android 6.0)
And it's working so it's a android 8 problem
Gerard
I try Miui 9.1 android 7.1 work fine
I try custom rom 8.x, work fine...
Strange
Envoyé de mon Redmi Note 4 en utilisant Tapatalk