MQTT losing data | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
MQTT losing data
Avatar
MarcFinns

Silver
Forum Posts: 10
sp_UserOfflineSmall Offline
1
July 4, 2017 - 2:45 pm
sp_Permalink sp_Print sp_EditHistory

Hi, i have an ESP8266 thing that has been flawlessly logging data for months, one data point per minute.

However I recently realised that it is now skipping quite a lot of points, sometimes going for 8-10 minutes without logs.

I tried the following:

1) stripped down the code to the bare minimum, no difference

2) I eventually even tried the Arduino example on the thingspeak site, it behaves exactly the same

3) I recorded the traffic with tcpdump/wireshark. It appears that all is in order, flawless TCP conversation

My conclusion is that ThingSpeak MUST have changed something on the server side.

Anyone experiencing the same?

Avatar
JasonW

Forum Posts: 23
sp_UserOfflineSmall Offline
2
July 7, 2017 - 10:43 am
sp_Permalink sp_Print

I'm seeing some loss of data points as well, I'm looking into it.

Avatar
MarcFinns

Silver
Forum Posts: 10
sp_UserOfflineSmall Offline
3
July 8, 2017 - 4:41 am
sp_Permalink sp_Print sp_EditHistory

Please keep us posted. The loss I am seeing is in the range of 35-45%.

Let me know if you need more details. Thank you!

Avatar
Vinod

Forum Posts: 186
sp_UserOfflineSmall Offline
4
July 8, 2017 - 11:21 am
sp_Permalink sp_Print

Marc,

Thank you for reporting the issue. We are working to identify a fix and will post when it is resolved.

While we work to resolve this is it possible to switch your device to use the REST API?

Take a look at this example on how to use the REST API to do bulk updates. It has the added benefit that you may be able to send your device to sleep between sending data to the server, potentially extending the battery life for battery powered devices.

-Vinod

Avatar
JasonW

Forum Posts: 23
sp_UserOfflineSmall Offline
5
August 9, 2017 - 3:26 pm
sp_Permalink sp_Print

Marc,

We're made some changes to the MQTT broker that will hopefully stop that behavior from happening in the future.

If you are continuing to see data loss, please let us know!

Jason

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

winnieeq69

AutoCheernpen

Bostermet

engladNed

iivenul

olewaeayafaku

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee