Page 8 of 20

Re: Geofence for Domoticz

Posted: Sunday 04 September 2016 11:19
by Appesteijn
sundberg84 wrote:
OK, something happened during tonight, not its not a timeout anymore... not i get a Error:Http://xxx.xxx..../json.html?..."
Agh crap, my mistake, I will get a fix out ASAP.

UPDATE: I just put a new version in the Play Store. Port numbers with 5 digits should work now.

Re: Geofence for Domoticz

Posted: Sunday 04 September 2016 11:30
by sundberg84
Thanks for again great support and a GREAT app! I use it daily for my alarm! Thank you.
I drove from home now, and it accually works - its only the test button that does not work. I get this error i wrote above.

/Andreas

Re: Geofence for Domoticz

Posted: Monday 12 September 2016 20:28
by Masterblaster
Hi, i get error:null when i try to connect to my server with my phones. This is internal and external
What am i missing??

Re: Geofence for Domoticz

Posted: Monday 12 September 2016 23:34
by Appesteijn
Masterblaster wrote:Hi, i get error:null when i try to connect to my server with my phones. This is internal and external
What am i missing??
What protocol do you use? (http or https) And do you use a port?

Re: Geofence for Domoticz

Posted: Tuesday 13 September 2016 16:26
by Masterblaster
I use http and port 999

Re: Geofence for Domoticz

Posted: Tuesday 13 September 2016 23:41
by Masterblaster
I changed the port setting/remote shared port. But now i think that is the wrong place to change the port. Leaving the port empty or use the default port 8084 in the app gives connection errors.

Re: Geofence for Domoticz

Posted: Wednesday 14 September 2016 7:27
by Appesteijn
Masterblaster wrote:I changed the port setting/remote shared port. But now i think that is the wrong place to change the port. Leaving the port empty or use the default port 8084 in the app gives connection errors.
You should use the same port as you use in your browser (default http 8080, https 443), don't use the 'remote shared port'.
Also use 'Basic-Auth' and don't use the login screen.

Re: Geofence for Domoticz

Posted: Wednesday 14 September 2016 21:28
by thecosmicgate
Is it possible to make a version where it's possible to connect to 2 servers. In the domoticz app you can configure a 2nd server when a local connection (wifi) is selected / chosen / connected.

This is nice because internal I can access domo on different ports then external (https)

Re: Geofence for Domoticz

Posted: Wednesday 14 September 2016 22:35
by Masterblaster
Default port on a synology device =8084 . Now it works. Thx

Re: Geofence for Domoticz

Posted: Tuesday 01 November 2016 22:03
by heggink
Does it auto start on boot?

Re: Geofence for Domoticz

Posted: Wednesday 02 November 2016 22:13
by rlschulz
When I go to save, it errors out and closes. It does turn the dummy switch on when I test. So it looks like everything works, but it won't save.

Re: Geofence for Domoticz

Posted: Tuesday 08 November 2016 13:04
by sweup
I want to flip "on/off" commands when both my and my wifes phone is in/outside the geofence - possible?

Re: Geofence for Domoticz

Posted: Tuesday 08 November 2016 13:25
by Appesteijn
heggink wrote:Does it auto start on boot?
Yes it tries. Sometimes the geofence API isn't ready yet, but then your will get a message that you need to manually enable the geofence.
rlschulz wrote:When I go to save, it errors out and closes. It does turn the dummy switch on when I test. So it looks like everything works, but it won't save.
Do you have the Google Play Services installed and does DomoFence have the correct permissions?
sweup wrote:I want to flip "on/off" commands when both my and my wifes phone is in/outside the geofence - possible?
Personally I use three virtual switches. One for me and one for my wife. These are switched by crossing the geofence.
Then I have a third virtual switch 'Anybody home' and I switch the third one with blockly when both the other switches are off.

Re: Geofence for Domoticz

Posted: Wednesday 09 November 2016 19:27
by guantolento
good evening to everyone. now i have install and configure the android phone. if i mean the system work in this mode. when the phone is in the radius of the geofence the virtual light switch is in on mode. if the phone isn't in the radius of the geofance the virtual light switch became in off mode.
i understand ? now i setting the radius in 250 mt.
i want to switch on some light external of the house when is night and i arrived at home. it is possible ?

Re: Geofence for Domoticz

Posted: Friday 11 November 2016 16:42
by sweup
sweup wrote:I want to flip "on/off" commands when both my and my wifes phone is in/outside the geofence - possible?


Personally I use three virtual switches. One for me and one for my wife. These are switched by crossing the geofence.
Then I have a third virtual switch 'Anybody home' and I switch the third one with blockly when both the other switches are off.[/quote]


Thanks. Domofence switch seams to work but I don't get my alarm switch to be turned on. Does this Blockly seams ok?

I got two geofence, so "when geofence 1 and geofence 2 is on, larm should be switched on". I got a similar one for "off", bad approach?
Image

Re: Geofence for Domoticz

Posted: Saturday 12 November 2016 11:40
by Appesteijn
guantolento wrote:good evening to everyone. now i have install and configure the android phone. if i mean the system work in this mode. when the phone is in the radius of the geofence the virtual light switch is in on mode. if the phone isn't in the radius of the geofance the virtual light switch became in off mode.
i understand ? now i setting the radius in 250 mt.
i want to switch on some light external of the house when is night and i arrived at home. it is possible ?
That is correct.

Switching a light when you arrive can be done with an event (blockly).

sweup wrote:
Thanks. Domofence switch seams to work but I don't get my alarm switch to be turned on. Does this Blockly seams ok?

I got two geofence, so "when geofence 1 and geofence 2 is on, larm should be switched on". I got a similar one for "off", bad approach?
This is how I switch my 'Somebody home?' virtual switch:
Schermafdruk 2016-11-12 11.35.54.png
Schermafdruk 2016-11-12 11.35.54.png (35.48 KiB) Viewed 2996 times

Re: Geofence for Domoticz

Posted: Saturday 12 November 2016 12:03
by guantolento
Good morning,
it's ok a blocky script like this or i take some mistake ?
in the setting of the script blocky what do mean "event active" i think i must flag it if i want to "use" the script or not flag if the script is "out of use". it's ok ?

Re: Geofence for Domoticz

Posted: Saturday 12 November 2016 18:31
by guantolento
Hello, using the script post under i have a problem. when iam at home the light in the scene are always "on".
anyone can help me ?
rientro a casa.JPG
rientro a casa.JPG (27.38 KiB) Viewed 2977 times

Re: Geofence for Domoticz

Posted: Saturday 12 November 2016 20:51
by sweup
sweup wrote:
Thanks. Domofence switch seams to work but I don't get my alarm switch to be turned on. Does this Blockly seams ok?

I got two geofence, so "when geofence 1 and geofence 2 is on, larm should be switched on". I got a similar one for "off", bad approach?
This is how I switch my 'Somebody home?' virtual switch:
Schermafdruk 2016-11-12 11.35.54.png[/quote]

Thanks for your effort. Why do you have "Or" in your first logic and then "And" in your second logic (ie Mark and Femke)? I tried "And" for both logics but the alarm status is not triggered. Im thinking if Google Daze feature mess things up.

Re: Geofence for Domoticz

Posted: Sunday 13 November 2016 9:35
by Appesteijn
sweup wrote: Thanks for your effort. Why do you have "Or" in your first logic and then "And" in your second logic (ie Mark and Femke)? I tried "And" for both logics but the alarm status is not triggered. Im thinking if Google Daze feature mess things up.
Because Mark OR Femke could enter the geofence (so one of us) and then somebody is home, while I only want to switch 'someone home' to 'off' when we are both away.

You could check 'Show current states' to see if you check against the correct 'state-name' (on/off) in the blockly.