Read data from Dashboard every 10 minutes

Hi, I need help with my project. I read temperature data (ESP8266+DS18B20) and send to dashboard. With other ESP8266 I need read temperature from dashboard and display on OLED display ones per 10 minutes. During 10 minutes is ESP disconnected from dashboard and is reconnected every 10 minutes. Exist somethink as Cayenne.virtualRead? Function CAYENNE_IN() does not work in this case.

Post your code plz.

Code is longer and complicated, but It is not about code. I need only know, if is it possibble with any function. Function CAYENNE_IN() read data from dashboard only when are data changed and ESP8266 is connected with dashboard in the same time. So I need function for data update from dashboard to my ESP when I connect to dashboard (ones per 10 minutes)

Wow. Thanks for saving our time.

I am not aware of such a built in function on cayenne server side.

And any idea how to do it?

you will have to use cayenne API to get the latest data from cayenne every 10 minutes. here is an example on how to do it How to access Cayenne API using Insomnia, Node-red and Thunkable

Thanks a lot, that’s exactly what I’m looking for.

2 Likes