Arduino iot cloud doesnt update variable

hi
please check this
arduino iot cloud deosnt update variables
i used dht sensor and when created, doesnt update! why?

Did you set Variable Update Policy to "Periodically, Every 1 Sec"?
Make sure that your variable settings are correctly done, see an example below


yes i did it! but doesnt update

The setting you have for the variable should reflect how you are using the vaiable in your sketch. For example, if you are only reading a value from a sensor, then set the Variable permission to Read Only. So take a look at your sketch again.



doesnt update!

i think i have limited for send request ! what can i do ?

It would be really useful to see the Sketch listing you are using??

However, I suspect what might be happening here is from looking at a DHT sensor example code, the temperature reading is given from the variable event.temperature

Therefore to make your new temperature variable work on the IoT cloud, you would need to store the value contained in the variable event.temperature into the variable temperature like so temperature = event.temperature; within the Void loop()`

You would also need to complete the same for the Humidity reading.

HTH?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.