Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Geofencing to run a program only at night

Featured Replies

Posted

Greetings,

I've started playing with Geofencing. Quite exciting.

Tested it just turning on a light when I come home. That works well 

However, i need that light to turn only between sunset and sunrise the next day.

So I wrote the program Geo-Light

If time sunset-sunrise

Then turn on light

   Wait 15mins

   Turn off light.

And in GeoFence I call Geo-Light...

Except Geo-Light runs whenever sunset comes around🙄 without waiting for me to drive close to home...

 

Is there a better way then setting a Variable when geofencing is triggered and adding that test in the IF statement of the program?

Cheers.

Solved by Jimbo.Automates

Go to solution
  • Solution

Just disable the program so it can't run automatically.

But personally I'd just have UDMobile set a variable and add that to your if conditions because you may want to know that for other programs as well.

Sent from my Pixel 6 Pro using Tapatalk

  • Author
1 hour ago, Jimbo.Automates said:

Just disable the program so it can't run automatically.

But personally I'd just have UDMobile set a variable and add that to your if conditions because you may want to know that for other programs as well.

Sent from my Pixel 6 Pro using Tapatalk
 

SOLVED!

 

Thanks @Jimbo.Automates

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.