Page 1 of 1
App Developper active gradient change
Posted: Wed Nov 05, 2025 2:35 pm
by stefan.erni
Hi to All
I have various thermal sensors on a plate. I would like to change the gradient depending on the measured value in real time.
How can I do this?

- 2025-11-05_15-30-31.PNG (27.71 KiB) Viewed 3747 times

- 2025-11-05_15-34-01.PNG (32.31 KiB) Viewed 3747 times
I tried it but it didn't work active.
Re: App Developper active gradient change
Posted: Wed Nov 05, 2025 4:11 pm
by Steve-Matrix
The property value takes a string variable, but I think if this is a number then it may have to be a decimal number (i.e. instead of "FF" you should use "255").
Also, if you just want to change one side of the gradient, consider the "SetColor" function instead of "SetProperty" as that gives more control.
See attached.
Re: App Developper active gradient change
Posted: Thu Nov 06, 2025 2:24 pm
by stefan.erni
Hi Steve
It's working nice.
Only the flame is red on the outside and blue on the inside.
It should be the other way around. But I'll try to fix that.
Here the result:

- 2025-11-06_14-59-16.PNG (55.2 KiB) Viewed 3713 times
I suspect the string is not hex..

- 2025-11-06_15-09-45.PNG (31.03 KiB) Viewed 3713 times
program for gradient