domoticz / domoticz-android

Domoticz Client Application for Android Devices
104 stars 70 forks source link

Geofence not working anymore #630

Closed etmrugl closed 1 year ago

etmrugl commented 3 years ago

Describe the bug In the app Geofence is working, including notifications. But the associated switch in the Domoticz server is not set.

To Reproduce Steps to reproduce the behavior:

  1. I leave the house and with enough distance I get a notification in the app that I left the home.
  2. The switch in the Domoticz server is not changed.

I tried to re-install the app, no luck.

Smartphone (please complete the following information):

galadril commented 3 years ago

Are you sure that your phone has battery optimalization set to unlimited(off) for Domoticz?

etmrugl commented 3 years ago

Are you sure that your phone has battery optimalization set to unlimited(off) for Domoticz?

Yes.

galadril commented 3 years ago

So Geofences are working, but setting the switch on/off isn't. What kind of switch are you toggling? Just a normal on/off device?

I've been testing this, and i have no issues with this part... thats why..

etmrugl commented 3 years ago

It is a normal on/off switch.

If I use a on/off button in the Domoticz web interface, the status of that button is not correctly updated in the Domoticz app.

And there is more. I use the deConz plugin. I defined groups and scenes in the Phoscon app. For instance: Groep Zolder and Scene Zolder Diner. If the group is off and I activate the scene, the group should also switch on. This works correctly in the web interface in Domoticz. If I activate the scene in the Domoticz app, it works OK, but the status of the group is not updated correctly.

To make things a bit complicated: the Groep Zolder is a regular on/off button in Domoticz, the Scene Zolder Diner is a pusbutton ni Domoticz. image

galadril commented 3 years ago

"And there is more. I use the deConz plugin. I defined groups and scenes in the Phoscon app. For instance: Groep Zolder and Scene Zolder Diner. If the group is off and I activate the scene, the group should also switch on. This works correctly in the web interface in Domoticz. If I activate the scene in the Domoticz app, it works OK, but the status of the group is not updated correctly."

How did you automated this? device settings? events? scripts?

etmrugl commented 3 years ago

On these groups and scenes there is no automation (yet) There is also no automation (yet) in the geofence switch.

galadril commented 3 years ago

can you make a screenshot of your geofence settings screen?

etmrugl commented 3 years ago

image

rezzalex commented 3 years ago

Just a tought :

Is using another geofence solution, like The one from google home app for instance, could prevent the one from domoticz mobile app to work properly ?

Le mer. 10 mars 2021 à 22:26, etmrugl notifications@github.com a écrit :

[image: image] https://user-images.githubusercontent.com/60889628/110699941-acba7600-81ef-11eb-8fbf-1d9521dbbd2b.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/domoticz/domoticz-android/issues/630#issuecomment-796142561, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIMCHNZNZ5H4VZOF3N42INDTC7PZ7ANCNFSM4YHIEX5Q .

galadril commented 3 years ago

It shouldn't interfere with eachother no

galadril commented 1 year ago

I've been working with Geofences for my own solution a lot, and cant really reproduce this