JohnR
(John Rucker)
October 12, 2015, 7:52pm
1
I have a custom device type that uses a color wheel. @Ron has a cool looking custom device type that uses the same control see this link Aeon Smart Meter Switch 6 - Beta [ SmartThings Device Custom Release Beta] .
Ron, my question is to you I didn’t post this in your thread because I didn’t want to hijack it with my support questions but what is the trick to get the color wheel tile to look the way you have it as apposed to the way it does for me?
Here is the way the control looks for me the center is filled in:
Here is my code in case you want to take a peek.
/**
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
*/
metadata {
definition (name: "Push Button with Color", namespace: "NutsVolts", author: "John.Rucker@Solar-Current.com") {
capability "Actuator"
capability "Configuration"
capability "Refresh"
capability "Sensor"
capability "Switch"
capability "Switch Level"
This file has been truncated. show original
This looks like the difference between Appv1 and Appv2. The screen shots posted by Ron look like the old GUI.
JohnR
(John Rucker)
October 12, 2015, 8:22pm
3
Humm his screen shot has the “Right Now” | “Recently” | “SmartApps” tab at the top. Isn’t that App v2?
bmmiller
(Brandon)
October 12, 2015, 8:29pm
4
They represent the same amount of colors, just a different way of showing it.
JohnR
(John Rucker)
October 12, 2015, 8:33pm
5
Yes I understand that. The question is how does he get the tile to look the way it does? My color wheel is filled in his is just a wheel. I think his looks much better!
Sticks18
(Scott G)
October 12, 2015, 8:35pm
6
I wonder if it’s an OS difference. Android vs iOS or Windows Phone. My color tile looks like yours John, and looks like we’re both iOS.
1 Like
sidjohn1
(sidjohn1)
October 12, 2015, 8:37pm
7
@Sticks18 got it, iOS vs Android
1 Like
JohnR
(John Rucker)
October 12, 2015, 8:54pm
8
Well I will quit kicking myself for not seeing it in his code!! Thanks!!
Ron
(Ron)
October 12, 2015, 9:11pm
9
JohnR:
show original
I think it needs to be size 3x3, too large in my opinion but I found when you make it smaller it looks more like yours.
Also are you on IPhone or Android, I am on android. that might be a factor.
JohnR
(John Rucker)
October 12, 2015, 9:46pm
10
Yea its the difference between IOS and Android. Thanks!