Jump to content

Favorites and setting Icons


Michaelco
Go to solution Solved by Javi,

Recommended Posts

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

 

 

Link to comment
  • Solution
8 hours ago, 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).

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

8 hours ago, 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.

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

8 hours ago, 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.

Link to comment
  • 5 weeks later...
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

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...