Subscribe to variable


I have an esp32 device and I tried to subscribe to a variable and it worked but there is a very high delay. why???

I used this code

Is there a solution to this huge delay??


Greetings, can you expand a little bit about ‘high delay’? If you are at the educational platform, due to its shared resources usually you can experience delays for data ingestion and reception. If you are using an Industrial account, data retrieval is typically after some milliseconds once the data ingestion is performed, but this obviously reaches on your internet connection.

All the best