Sending temperature and humidity values to a thingSpeak channel using a NodeMCU(esp8266) and the ThingSpeak library. The problem is that the graphs do not update dynamically even if values are sent and received regularly. To update the graphs I have to refresh the page every time. The numeric displays and other widgets update regularly. How can I solve the problem?
10 Comments
Time DescendingI did some try,and I find that ,if you want dynamically data view in the chart,you should set the "timescale" to "blank"(select the white space bar) and "dynamic" to "true".Otherwise ,it will not refresh the chart data.
as this pic red frame indicated :

If I delete the charts and widgets and then recreate them it does not display as the original display.
I am using MacOS 12.7.2 on a Mac Mini 2018 3 GHz 6-Core Intel Core i5
The browser is Chrome Version 120.0.6099.234 (Official Build) (x86_64)
Charts do not update dynamically. Gauge widget now works correctly!
The data is being uploaded each 30 sec from 2 x MKR 1010 WIFI with very similar software but different R/W API keys
Attached are 3 images
1 and 2 A channel last edited/updated 2021-06-20 03:20 still receiving data uploads and displaying correctly.

2 the same channel showing the widgets correctly.

3 Another channel edited today after deleting all charts and widgets and recreating 5 of them.
Previously the charts and widgets were similar to 1 and 2 (I have not edited the colours)
No numeric display with the Gauge. (It displays correctly! but not in this screen shot)

I have the same issues as the others.
A channel last updated 2021-06-20 03:20 still works correctly ie charts and widgets.
Another channel updated today 2024-01-22 03:14 has the issues with charts and widgets described by others.
Two questions.
If I delete the channel and then recreate it will I my Write and Read API Keys change?
When will the update be released?
I was able to observe this effect in an old channel I have, but not with a new channel. The recent bug that makes it impossible to change the chart settings may be at play here. If you chart was set to a slower refresh time, or had included longer averaging, the data might not refesh as you expect. When I created a brand new channel, I did not observe the same effect.
So there are several temporary workarounds. I'm not sure if creating new field charts in your old channel will work, but certainly creating a completely new channel worked for me. If you do try creating new field charts in your channel, can you let us know how it goes here?
The bug that is causing the effect will be removed in an upcomming release, so the need for a workaround is temporary.
I just did a quick scan this morning, the public view of the channel seems to udate with data for the field charts.Im not sure about the private view, it does seem to be lagging.
Sign in to participate