Hans on IoT

ThingSpeak, MATLAB, and the Internet of Things

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Data Filtering (hidden API commands)

Posted by Hans Scharler,

[eisenhowerj] recently posted in the forum about filtering out bad data. One data point can throw off a chart. There are two hidden API commands) that allow you to filter data between two values. This only works if your channel’s field as numeric data.

All you to do is add either the min or max parameter (or both) to an API call. This will filter out all other values except for the ones that meet the min or max condition. This applies to getting channel feeds and presenting charts.

For more information, check out the ThingSpeak API Documentation.

Add A Comment

Your email address will not be published. Required fields are marked *

Preview: hide