Hi!
I wish to inform you about an important geo-fencing bug that I have found in the Domoticz app. I've tested it a lot and I can consistently reproduce the following bug:
Steps:
1. I set up one or more geo-fences.
2. I walk in and out of the geo-fence perimeters and the geo-fences are porperly triggered and the associated switches are properly switched.
3. If I kill the Domoticz app the geo-fences still work properly (thank God!)
4. If I reboot my phone, the geo-fences are lost and they won't trigger anymore when I walk in and out of the geo-fence perimeters.
5. If I open the Domoticz app after the reboot of the phone, the geo-fences still won't work.
6. If I go to Settings -> Configure Geofencing in the Domoticz app, the geo-fences are restored automatically (without actually changing anything in the geo-fence settings) and start working properly again (until the next reboot).
Can you please take a look and try to fix this? I read on some Andoird development forums that the apps need to subscribe to notifications about reboot and restore their geo-fences when they receive such a notification. Propbably this is the case. Here are some resources that might help you understand the bug:
http://stackoverflow.com/questions/1704 ... g-a-reboot
http://stackoverflow.com/questions/2007 ... ice-reboot
I use Android 6.0 on an AllView X3 Soul Pro device. My location accuracy is set to High and the Domoticz app is set not to be battery-optimized. I use version 0.1.343 of the Domoticz app.
Some other suggestions to improve the Domoticz app:
a) The UI to define the geo-fences is confusing (Get button + Manual button) and really needs a map-based interface, like IFTTT's location service.
b) The widgets are way too bulky, they use immense fonts and take up way too much screen space. I would like smaller widghets, which can fit into 1x1 or 1x2 blocks on the screen, so that I can have many widgets on one screen.
c) Add the ability to change the states of switches based on connected WiFi network. I would like to disarm the security panel and turn on the lights whenever I arrive home and my phone connects to my home WiFi network. Geo-fencing is innacurate and not very reliable, but this network-based approach would be both accurate and reliable. Please consider it.
Thank you!
PS: Congratulations for an overall very nice Domoticz app!