domoticz / domoticz-android

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

Separate enter/exit action for geo-fences #397

Open bazsodombiandras opened 7 years ago

bazsodombiandras commented 7 years ago

Please make it possible to change the state of switches independently for enter geo-fence and exit geo-fence events. The Dromotica app is a good example of how this should work.

Examples:

  1. I want to turn off my thermostat when I exit a 200 m radius area around my home, but I want to turn on my thermostat when I enter a 5 km radius area around ym home (to give it time to heat up the house before I arrive home).
  2. I want to arm the security panel when I get farther then 200 m from my house but I only want to disarm it when I'm back 50 m near my house.
galadril commented 7 years ago

I dont really see how to implement this in the app without making it way to complex...

You can make a virtual switch in Domoticz and make a event (lua or blockly) to create the behaviour that you like

bazsodombiandras commented 7 years ago

Take a look at the app called Dromotica. It implements this separation of the enter/exit actions and it's super convenient. It's not extremely important to have this separation, but it's very comfortable.

galadril commented 4 years ago

At this moment all topics like NFC/Geofencing/QRcode/Speech/Bluetooth toggle switches.. maybe we should use this topic to let a user choose between different behaviours.. toggle/always on/always off