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.

Favorites and setting Icons

Featured Replies

Posted

I have added devices to Favorites and trying to figure out how to:

  1. I want, when tapping on the icon, for it to do the action directly.  When I tap the lower portion of the icon, it brings up another screen (pic 2 below).  I would like to disable this action, and have it just turn on the device associated with the icon.
  2. Allow custom colors depending on switch or sensor status
  3. Change the icon to show the device state

Question 1:

Is there a way to do this when setting up favorites on an iPhone?

As an example, tapping the lower half region of the Gate relay (encircled in Pic 1) brings up the screen shown in Pic 2. Is there a mode where all the items in Favorites can be set to treat this lower region the same as the top portion?  In other words, just open or close the gate

?wpsc_attachment=50410

Pic 1                    

 

 

?wpsc_attachment=50412

                    Pic 2                 

 

Question 2

How can one, conditionally, set the color of the gate icon to some color (like Red) when it's open, and a different color (like Green) when it's closed?  I have seen where I can change the icon color, but not conditionally based on the gate state.

 

Question 3

Using the Gate Open-Close as an example, how best to switch between two images for the icon?  i.e., have the closed gate icon (Pic 3) displayed when the gate is in closed position, and open gate icon (Pic 4) when gate is opened 

 

?wpsc_attachment=50415

              Pic 3 

?wpsc_attachment=50414

              Pic 4

 

 

Solved by Javi

Go to solution
  • Solution
On 12/20/2023 at 10:44 PM, Michaelco said:

Question 1:

Is there a way to do this when setting up favorites on an iPhone?

As an example, tapping the lower half region of the Gate relay (encircled in Pic 1) brings up the screen shown in Pic 2. Is there a mode where all the items in Favorites can be set to treat this lower region the same as the top portion?  In other words, just open or close the gate

Yes, place Favorites Screen in edit mode (pencil icon at top of page), click the Favorite Tile, Select Edit then change the Favorite Type to Toggle Widget. Save Favorite then disable edit mode (pencil icon at top).

Update 01/14/25: Favorites Edit mode is now accessed from the Favorite tile's menu.  If the menu is not visible on the tile place favorites in Edit Mode.

For more advanced configuration the Command Type will work. See: https://wiki.universal-devices.com/index.php?title=UD_Mobile#Favorite_Custom_Toggle

On 12/20/2023 at 10:44 PM, Michaelco said:

Question 2

How can one, conditionally, set the color of the gate icon to some color (like Red) when it's open, and a different color (like Green) when it's closed?  I have seen where I can change the icon color, but not conditionally based on the gate state.

 

Place Favorites Screen in Edit mode, Click the Favorite Tile, Select "Configure Advanced Status Color/Value/Icon Configuration".  Press the Add button at the top to add a new condition.

Update 01/14/25: "Configure Advanced Status Color/Value/Icon Configuration" is now accessed from the Favorite tile's menu.  If the menu is not visible on the tile place favorites in Edit Mode.

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

On 12/20/2023 at 10:44 PM, Michaelco said:

Question 3

Using the Gate Open-Close as an example, how best to switch between two images for the icon?  i.e., have the closed gate icon (Pic 3) displayed when the gate is in closed position, and open gate icon (Pic 4) when gate is opened 

 

Same as Question 2.  However, currently Individual Status Mappings do not have the option for URL Icon, so only included icons are available.  This is on our list, but not sure of time frame.

  • Author

Thanks for the detailed instructions.  Works, ... will look forward to using custom icons when they are supported

  • 5 weeks later...

What "Span" size did you use to get 3 wide?   I can't seem to get 3 icons to one row.

  • Author

I didn't make any changes to the Favorite's Span - went with whatever the default setting.  I am using IOS devices, ... if that makes a difference.  

  • Author
1 hour ago, gdntx said:

What "Span" size did you use to get 3 wide?   I can't seem to get 3 icons to one row.

Have you closed and restarted UD Mobile app after making the changes to Span?  I just tried changing the Span to 4, and had to restart the app to have the change reflected in the Favorites view

Fixed span size refresh in next version

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.