Hardware Reference
In-Depth Information
number of calls you can make to Temboo is limited. The delay is inserted with the follow-
ing line:
delay(60000);
You can see the different plans and pricing at the following link:
https://www.temboo.com/about/plans
For example, on the free plan, you are limited to 1,000 calls per month, which means that
you can log measurements approximately every 44 minutes. On the first paid plan, you
can log one data point approximately every 5 minutes. Keep these limitations in mind
while developing your applications.
Let's now see the details of the runAppendRow() function. It starts by declaring the
type of Choreo we want to use. A Choreo is the equivalent of a library on the Temboo ser-
vice. For example, we will declare that we want to use the specific library to insert data in
a row in the Google Docs spreadsheet:
TembooChoreoAppendRowChoreo(client);
We will set the different information about your account, such as the name of the account
and your app key. All these are already defined in your Temboo account file that you
downloaded before, so you don't need to define anything more:
AppendRowChoreo.setAccountName(TEMBOO_ACCOUNT);
AppendRowChoreo.setAppKeyName(TEMBOO_APP_KEY_NAME);
AppendRowChoreo.setAppKey(TEMBOO_APP_KEY);
Then, you need to somehow specify where the data should be logged. Once more, all the
work is done by Temboo: all the information is saved on the Temboo side in the Google
Account credentials you have set before. If you used the same name as I did for this ex-
ample, you don't have to modify anything in the following line:
AppendRowChoreo.setSavedInputs("arduinoTemperatureSpreadsheet");
Note that the new way to overcome the Temboo call limitation is also to transmit several
data points at each call of the Temboo API, for example, by appending several rows at
each call. You can modify the code accordingly as an exercise.
Search WWH ::




Custom Search