Originally posted by CJVann
View Post
Now, the value/graphic pairs are a bit different. I haven't really started trying to do much with them. Except in in certain cases, like variables. I'll look into this some more but the problem I was having with variables and value/graphics pairs is the default graphics. The default graphics are the light bulbs. If the default values aren't cleared, you end up with an off light bulb graphic when the variable value is 0 and a lit up bulb graphic when the value is not 0.
I can see where defining your own status/value and graphics/value pairs would be very useful for variables. For the status value pairs, it should be fairly easy to simply skip deleting any that are there. But for graphics, I don't know. Maybe I can look through all of them and try to figure out if the default ones are specified and only delete those.
I could just not mess with them at all, but I'm really concerned this will lead to all kinds of support issues when people accidentally change ones that shouldn't be changed. If only HS distinguished between plug-in created and user created pairs.
However, it would also be nice if ISY Insteon let you use Value/Graphic pairs so you could have a graphic based on a range of values. Say you have an ISY variable as a counter. HS3 could set a range of graphics for
Variable = 1-20: Display Graphic 1
Variable = 21-50: Display Graphic 2 (etc.). HSTouch does not have an option to display graphics based on a range of values, only for 1 specific value.
Variable = 1-20: Display Graphic 1
Variable = 21-50: Display Graphic 2 (etc.). HSTouch does not have an option to display graphics based on a range of values, only for 1 specific value.
Comment