At first the data was there, now I only have live data in graph and when downloading data the CSV is empty!!
Hello @lonitech,
Could I have the thing ID and the property ID linked to the dashboard widget?
Thanks.
Can do!
Thing ID: b86b7106-e47d-4df7-bc8d-484524320d34
Variable ID (is this the property ID?): 5ba79bb4-ce42-4dd6-a106-011f3d873d98
I have tested different variables and history is empty on all I've tested.
Thanx!
The problem is that the variable (5ba79bb4-ce42-4dd6-a106-011f3d873d98) has been created with the persist
field equal to false, so you can see the variable value published by the device in real-time but it is not historicized.
Maybe, you have created the thing or the variable using the IoT Cloud APIs.
To change the value of the persist
field you have to use this API: Arduino IoT Cloud API.
I have seen that most of the variables of your thing have the persist
field equal to false, so you have to update the value also in the other variables.
Let me know if this resolves your problem.
Thanks.
Thank you, I'll check into it.
I created the thing on the Arduino cloud web page, I did not use the API.
But I created the thing for another board at first then I remapped the variables to a new board, I think the history worked before the switch to new hardware. I couldn't find another way to transfer the thing to new hardware.
It helped setting persist to true using the api.
Now I have to do it for all my variables. Is there a way to script/batch change parameters of variables? Kind of tedious to do it with api calls.
Did you duplicate the first thing?
Anyway, the idea of the thing in Arduino Cloud is that it is a virtual twin of the device (hardware) so that you can attach/detach a device but the thing and the variables associated remain (and also the historical data).
Great!
There is no standard way, but for example, you can make a Python script that iterates a list of variables and calls the API for each variable.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.