hi everyone,
please provide an example of converting asset attribute, for example how to use “value converter” to convert temperature from Fahrenheit to celsius.
thanks
Hi,
You can use the Flow editor.
An example for converting an attribute value is the conversion from temperature Celsius into Fahrenheit.
First of all create the attribute you want to show the temperature in Fahrenheit. Note that you have to add the configuration item “Rule state” for the attribute you are using as input (temperature in Celcius) to be able to use it in the flow editor as input node. In the example we also:
- added a new name (using the configuration item ‘Label’)
- set it to “Read only” (so you can’t write a new number on the asset page)
- selected “Store data points” (so you can look back at historical values)
- added the unit Fahrenheit
Next create a flow in the flow editor, which looks like this:
You will than have the second temperature in Fahrenheit filled once the temperature in Celcius updates. It will look like this.
thank you @Pierre for so fast reply
I did and it worked