Data loss everytime exit dashboard


#1

Hi All,

I’m new in Thinger, but I read a lot about IoT platforms and this one looks very nice.
However I’m having the following problem: I made a small dashboard with a time series chart that receives data about temperatures read by a NodeMCU with a DS18B20 probe. I also have some On/Off state buttons and sliders (to control a fan and select setpoint temperature). My problem is that everytime I exit the dashboard I lose all the data (temperature readings and buttons and sliders positions.

Can anyone help me to understand this?

Thank you
André


#2

You are updating the data from the device (not from a bucket), so when you refresh the page the previous data is lost.

You need to update the graphic from a bucket, and of course, store in that bucket the variable that you want to show.

Hope this helps.