Using a complication on the watch face I created, I present the blood glucose data that I get from G-Watch BG Provider, which is an application installed on my Watch 4 that captures the data obtained from my FreeStyle Libre 2 blood glucose sensor.
I would like to apply label expressions to this data to color it based on its value. But, since it is an editable and not fixed complication, I have no variable to which to refer the expression.
Is there a solution to this problem?
Greetings and thank you very much.
I like you am a Diabetic. I started this quest on watch faces for diabetic some time ago.
You should be using G-Watch Wear. (the developer has stated he is not going to continue to support the app)
I would consider using GlucoDataHandler (Michael had done a terrific job of providing all sorts of complications.) I have mapped out each variation of the SmallBox and Circle complications to identify what data he is passing as Text, Title, Image, Icon and a Ranged Value. Happy to share.
At this time the only thing that i can use to change color is in the 1.7.9 beta version is the RangedValue Progress Bar Color.
I too would love to change to color of text and title based on the value.
Any Experienced Developers if you could shed any thoughts
If i can ever get this through google it will be back on the play store.
Using the new feature in COLOR within the progress bar you can create a series of stops that represent the glucose scale. Following example i have used 0-70 red 71-180 green 181-300 yellow
By changing the Value in the Ranged Value you can see the progress bar move.
This is the best i have been able to come up with.
I have attempted to add a “shape” as this is also one of the components that can use the Color - Linear. However. due to the nature that this is a 3rd party complication I can not seem to manipulate anything else.
Is this a correct assesment?
It’s an imaginative solution, I’ve been testing it.
Too bad my Watch 4 doesn’t support WFS version 1.7.9 (it requires SDK 34 and my watch only supports 33).
Regards.
Wont be too long the 4 5 6 will be updated at some time.
I have been enjoying my new Ultra.
I hear you I would love to change the color of the text also
Finally, following your advice, I used GlucoDataHandler and combined it with G-Watch Wear and I got what I wanted.
Indeed, GlucoDataHandler is much more complete.
It presents the Delta parameter, which is a parameter that I don’t understand very well and I prefer the increment, so I kept G-Watch Wear to obtain this data.
This is the sphere I had with G-Watch Wear:
And this is the one I got with GlucoDataHandler
FYI…
If i am not mistaken the developer of G-Watch Wear has stated he will no longer support the app. I am sure it will be deleted with the google purge
I have created a table that represents all of the complications that Michel from GluccoDataHandler passes.
One thing i have noted is the the developers a Gluroo seem to be using (the new standard) for passing data in the Text and Title elements. They pass the Delta as the Text and Glucose as the Title.