Thingspeak channel, update visualization title based on field change

Its an arduino fridge controller. It has three fields, temperature, humidity and mode. The fridge is used for charcuterie, so I have different modes for the different stages of the process. I have set 6 diferent values for the mode field, from 1 to 6.
I change the visualization title using this code:
modo = thingSpeakRead(957733,'Fields',[3]);
if modo == 1
title('Heladera en modo Fermentado');
elseif modo == 2
title('Heladera en modo Estacionado');
elseif modo == 3
title('Heladera en modo Madurado');
elseif modo == 4
title('Heladera en modo Heladera');
elseif modo == 5
title('Heladera en modo Cava');
elseif modo == 6
title('Heladera en modo Manual');
end
Is it possible to trigger an update when the mode changes? at the moment the only way the visualization title changes is when I refresh the browser page, it doesn't update like the plot does.
Thanks

 採用された回答

Vinod
Vinod 2020 年 1 月 13 日

0 投票

If you have a paid ThingSpeak license, you can have the MATLAB viualizations auto update by simply enabling a checkbox setting. See documentation here.

その他の回答 (1 件)

Pablo Untroib
Pablo Untroib 2020 年 1 月 13 日

0 投票

Sadly I'm on the free service, it's impossible then?

1 件のコメント

Vinod
Vinod 2020 年 1 月 13 日
With the free service you need to manually refresh the browser.

サインインしてコメントする。

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

ヘルプ センター および File ExchangeThingSpeak についてさらに検索

製品

質問済み:

2020 年 1 月 12 日

コメント済み:

2020 年 1 月 13 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by