Re: Geofence for Domoticz
Posted: Sunday 17 December 2017 11:32
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.
Check your PMs!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
Hmm, do you have the Google Play apps installed and is DomoFence authorized to access your location?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.
It looks like in Android 8.0 they changed the Geofencing API. I will have a look in the Christmas holidays.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)
Yes, the app have the required permissions .. but like you wrote later, maybe a new API needs support?Appesteijn wrote: Thursday 21 December 2017 13:59Hmm, do you have the Google Play apps installed and is DomoFence authorized to access your location?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.
Yipzz, that is the strange thing. I think it has to do something with authentication?!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
Solved, the " basic authentication" instead of "login page" under settings in Domoticz did the trick.Huubke80 wrote: Saturday 13 January 2018 13:14Yipzz, that is the strange thing. I think it has to do something with authentication?!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
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
gjaa wrote: Wednesday 17 January 2018 16:33gjaa 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
I try Miui 9.1 android 7.1 work finegjaa wrote:gjaa wrote: Wednesday 17 January 2018 16:33gjaa 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