Jump to content

Geofence Enter Command


Recommended Posts

Posted

So I set up a Geofence with simple Enter and Exit commands, but the Enter command doesn't seem to work.  I want to set the value of a state variable to 1 when I enter, and set it to 0 when I exit.  But for some reason UD Mobile doesn't allow me to enter the correct value for config.

Steps I followed:

  • Edit the Geofence
  • Click on Command Value, brings up popup
  • Click on Value
  • Click on value 0 to bring up value entry window
  • Click on the existing 0, change it to 1, click Save
  • Window now shows Value 1, click Save
  • Click Save in upper right corner
  • Back to Geofence screen, under Enter Commands it shows "SET Value, Value = 0 ()".  I click Save anyway.
  • Now when I exit and enter the geofence, the value never changes to 1.  I can manually set the state var to 1 and it changes to 0 when I leave, but never changes to 1 when I enter
  • Just for kicks, if I go back to the Enter Commands selection to look at the value, the window shows 0 still - don't know if this is supposed to represent a default or show the current value.

Anyway, this seems like a UD Mobile Geofence setup bug?

 

Posted
14 minutes ago, peterathans said:

So I set up a Geofence with simple Enter and Exit commands, but the Enter command doesn't seem to work.  I want to set the value of a state variable to 1 when I enter, and set it to 0 when I exit.  But for some reason UD Mobile doesn't allow me to enter the correct value for config.

Steps I followed:

  • Edit the Geofence
  • Click on Command Value, brings up popup
  • Click on Value
  • Click on value 0 to bring up value entry window
  • Click on the existing 0, change it to 1, click Save
  • Window now shows Value 1, click Save
  • Click Save in upper right corner
  • Back to Geofence screen, under Enter Commands it shows "SET Value, Value = 0 ()".  I click Save anyway.
  • Now when I exit and enter the geofence, the value never changes to 1.  I can manually set the state var to 1 and it changes to 0 when I leave, but never changes to 1 when I enter
  • Just for kicks, if I go back to the Enter Commands selection to look at the value, the window shows 0 still - don't know if this is supposed to represent a default or show the current value.

Anyway, this seems like a UD Mobile Geofence setup bug?

 

Hi @peterathans,

I cannot replicate this behavior so please first verify you have the latest app version as I believe there was an edit bug in an initial release. Then try synchronization in case anything has changed with the system. 

 

If that does not work: Is this iOS or Android?  State or integer variable? 

Posted

Can you verify synchronization was done?  

The values for enter and exit commands are the commands sent. 

Just tested and I can set and edit both Enter and Exit commands for State variables, can you share a screen shot of the same screen?

47945.jpg

Posted (edited)

Yeah that's the problem, the first arrow you show "Value = 1 ()" I can never get to show anything but "Value = 0 ()".  Maybe I'm not entering the value correctly?  Shouldn't be much room for error with a simple value dialog box.

And yes synchronization was done, because this is a new state variable that I added just for testing UD Mobile geofence.  I added it using the admin console then did a synchronize at UD Mobile to get the variable to show up.

Edited by peterathans
Added second paragraph
Posted

Sorry to keep pressing this, but have you synchronized?

If that does not work please open a ticket and include a zipped copy of the App's Backup file or Send the file to me via Private Message and I'll try to replicate.

Guest
This topic is now closed to further replies.

×
×
  • Create New...