Jump to content

UD Mobile Geofence triggers not working


Go to solution Solved by Geddy,

Recommended Posts

Posted

Greetings.

Been awhile since i last dove into my Polisy/programming and currently feel very lost.

Recently I noticed none of my geofence based programs and notifications were working.

UD Mobile Home and neighborhood Geofence triggers a statevariable change which in turn acts as conditions for many programs within my home.

Variables change, but programs or notifications are not triggered.

Some time ago I carelessly installed the new notification center as well as the Occupancy Node server as I read it would help if multiple users were within the same home.

The Occupancy Node server created nodes within Admin Console but for the life of my i can't figure how they would be associated with UD Mobile.

Historical setup is to use "Emails/Notifications" with the recipients being my cell number and email. 

Feeling somewhat defeated as I'm not really sure where to look.

Any suggestions would be very much appreciated.

Posted

If the variables are changing then the issue is not with Geofencing it is with programing.  In UDM > Geofencing it shows what is changed on Geofence Enter/Exist (this is likely pointing to your variables.

If using the Occupancy Node Server UDM Geofencing needs to change the status of the Occupancy Node Server (not the variables).  Then the Occupancy Node Server Status is used to trigger programs.

See: https://wiki.universal-devices.com/index.php?title=UD_Mobile#Occupancy_v2.0_Node_Server

 

  • Thanks 1
Posted (edited)

Thanks Javi. Really appreciate that you make yourself available as much as you do.

It appears that maybe only the Notifications are failing to send when the programs have been triggered, though I will definitely look into Occupancy Node Server more. Is this a better approach then solely using UD mobile geofencing and state variables?

Also wondering if you can possibly tell me if the old "Emails/Notifications" component in Admin Console still functions, or has it been replaced with Notification Center? 

When i run "test" i do receive the test sms, but none of my programs are sending notifications.

Thanks

image.thumb.png.e93c74642f6d6e76b0b1218a1d50785e.png

Edited by PB11
Posted
41 minutes ago, PB11 said:

Also wondering if you can possibly tell me if the old "Emails/Notifications" component in Admin Console still functions, or has it been replaced with Notification Center? 

When i run "test" i do receive the test sms, but none of my programs are sending notifications.

I can confirm that the "old" email still functions. Just if you have it set to send email to text (sms) it's probably very hit and miss (mentioned in tons of posts over the last several years). If you're sending email to email and you get the test email then more than likely it would work for you programs. Maybe the program or the custom notification is not set correctly.

For your programs please use the "Copy to Clipboard" method (by right clicking on your program) then paste the program text into the forum post. Screenshots are not very helpful as people trying to help with the programs end up having to retype them or describe what line to change in an image.

  • Thanks 1
Posted
33 minutes ago, PB11 said:

Thanks Javi. Really appreciate that you make yourself available as much as you do.

It appears that maybe only the Notifications are failing to send when the programs have been triggered, though I will definitely look into Occupancy Node Server more. Is this a better approach then solely using UD mobile geofencing and state variables?

It helps if tracking multiple people, it will show if anyone is home or a single person without needing to do the calculations yourself. The same can be achieved with variables.

35 minutes ago, PB11 said:

Also wondering if you can possibly tell me if the old "Emails/Notifications" component in Admin Console still functions, or has it been replaced with Notification Center? 

Nothing in the Admin Console has been replaced or changed with regards to email/notifications. However more providers are blocking emails from our servers or all email to sms.  This is something explained well in may parts of the forum so will not go into detail.  If you choose to use this method I cannot help debug (too may variables), but another user may be willing to help.

The Notification Plugin uses the same Notification Customizations as emails, but other than that nothing else (i.e. settings/groups or Recipients) is related.

39 minutes ago, PB11 said:

When i run "test" i do receive the test sms, but none of my programs are sending notifications.

Did you "test" this program, i.e. Run Then? if not the test may not be sufficient.

39 minutes ago, PB11 said:

image.thumb.png.e93c74642f6d6e76b0b1218a1d50785e.png

These "Notifications" are not the Notification Plugin, so not related to UD Mobile.  They are emails.  The Notification Plugin can be found under Devices in Program Action (not under Notify).  If you have not yet setup a Notification Plugin notification please follow the example video to and it will create a program for you which you can examine and copy/edit.

  • Thanks 1
  • 2 weeks later...
Posted

So in the end it was a detail i had not picked up in my programming.

Though i thought i had historically recieved notifications from every program, I now have to assume i was only getting a partial catchment.

Maybe someone can explain why, but my programs set to trigger when "is switched on" did not trigger a notification, while my programs that were set to "status is on" successfully send a notification every time.

Would love to know the difference.

Thanks for all the help.

 

 

  • Solution
Posted
2 hours ago, PB11 said:

Would love to know the difference.

“Switched” is typically a physical operation of the device.

”Status” is what is reported back to the ISY/IoX system.

If you mean that you have Geofence programs that are sending notifications and you use switched then those won’t fire because Geofence interaction is only changing the “status” of the device. 

Maybe posting the program (right click on the program and select “Copy to clipboard” then paste (as text) here for review and help. If it’s not UD Mobile/geofence related then start a new topic in the IoX Program Support area. 

  • Thanks 1
Posted
3 hours ago, Geddy said:

“Switched” is typically a physical operation of the device.

OK! This explains it.

I was certain I’d received notifications at some point regarding these programs being activated  

Never even occurred to me the term “switched” meant the physical action on the hardware.

Posted

This was a valuable exercise as I was able to also set up UD Mobile for Geofence based on the occupancy nodes.

seems like a cleaner and easier solution than configuring state variables. 
Thanks @Javiand @Geddy

  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37.3k
    • Total Posts
      373.6k
×
×
  • Create New...