Table of Contents

ts.connecttothingspeak()

Function Definition: ts.connecttothingspeak(channel_ID = 1234567, read_API = "readAPI", write_API = "writeAPI")

Parameters

NameTypeDescriptionExpected ValuesDefault Value
channel_IDintThe channel ID of the Thingspeak channel.Seven digit number1234567
read_APIstringThe read API of the Thingspeak channel.String"readAPI"
write_APIstringThe write API of the Thingspeak channel.String"writeAPI"

Description

The function connects the PictoBlox to the ThinkSpeak Channel with the specified write and the read API keys. Without this function, other functionality does not work related to ThinkSpeak.

  1. Channel ID: This is the unique ID by which the channel data can be identified.
  2. Read and Write API: These are the unique API keys for performing data read and write operations. You can locate it in the API section of the channel.

Example

There are no examples documented for this article.