Here you can see the script that will get the value from the component inside the project and pubblish its value as percentage value throught the topic. return payload;