Hans on IoT

ThingSpeak, MATLAB, and the Internet of Things

Data Filtering (hidden API commands)

[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.

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.