How to update data bucket by device

I see in data bucket’s refresh mode a option “update by device”. So how to use it? Do i need to edit code in device? I use esp8266 with arduino ide.

Hi, Yes,

in this case the device must stream the resource when required. Checkout the documentation about streaming resources here: http://docs.thinger.io/arduino/#coding-streaming-resources

Bests