You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Genability . PricingAndCalc . GetTariffPrice
Retrieve summarized rates of a specified electricity tariff, in addition to changes in rates over a specified time span.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo retrieves summarized rates of a specified electricity tariff, in addition to changes in rates over a specified time span. The documentation for this Genability resource can be found here.
Here's an example of acceptable inputs:
AppID: {YOUR APP ID}
AppKey: {YOUR APP KEY}
ConsumptionAmount: 450
FromDateTime: 2012-06-12T00:00:00.0-0700
MasterTariff: 520
The following is a sample of the JSON information returned by this Choreo:
{ "status": "success", "count": 2, "type": "TariffRateSummary", "results": [ { "tariffId": 520, "chargeType": "MINIMUM", "quantityKey": null, "fromDateTime": "2012-06-12T00:00:00-07:00", "toDateTime": "2012-06-19T00:00:00-07:00", "rateAmount": 0.15881, "relativePriceIndex": 1, "currency": "USD", "priceChanges": [], "name": "MINIMUM rate change" }, { "tariffId": 520, "chargeType": "CONSUMPTION_BASED", "quantityKey": "consumption", "fromDateTime": "2012-06-12T00:00:00-07:00", "toDateTime": "2012-06-19T00:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "currency": "USD", "priceChanges": [ { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-12T10:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Peak", "changeDateTime": "2012-06-12T13:00:00-07:00", "rateAmount": 0.49032, "relativePriceIndex": 1, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-12T19:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Off Peak", "changeDateTime": "2012-06-12T21:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-13T10:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Peak", "changeDateTime": "2012-06-13T13:00:00-07:00", "rateAmount": 0.49032, "relativePriceIndex": 1, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-13T19:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Off Peak", "changeDateTime": "2012-06-13T21:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-14T10:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Peak", "changeDateTime": "2012-06-14T13:00:00-07:00", "rateAmount": 0.49032, "relativePriceIndex": 1, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-14T19:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Off Peak", "changeDateTime": "2012-06-14T21:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-15T10:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Peak", "changeDateTime": "2012-06-15T13:00:00-07:00", "rateAmount": 0.49032, "relativePriceIndex": 1, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-15T19:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Off Peak", "changeDateTime": "2012-06-15T21:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "accuracy": 1 }, { "changeName": "CONSUMPTION_BASED rate change", "changeDateTime": "2012-06-16T17:00:00-07:00", "rateAmount": 0.04753, "relativePriceIndex": 0.1, "accuracy": 1 }, { "changeName": "Summer Off Peak", "changeDateTime": "2012-06-16T20:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "accuracy": 1 }, { "changeName": "CONSUMPTION_BASED rate change", "changeDateTime": "2012-06-17T17:00:00-07:00", "rateAmount": 0.04753, "relativePriceIndex": 0.1, "accuracy": 1 }, { "changeName": "Summer Off Peak", "changeDateTime": "2012-06-17T20:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-18T10:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Peak", "changeDateTime": "2012-06-18T13:00:00-07:00", "rateAmount": 0.49032, "relativePriceIndex": 1, "accuracy": 1 }, { "changeName": "Summer Partial Peak", "changeDateTime": "2012-06-18T19:00:00-07:00", "rateAmount": 0.38167, "relativePriceIndex": 0.78, "accuracy": 1 }, { "changeName": "Summer Off Peak", "changeDateTime": "2012-06-18T21:00:00-07:00", "rateAmount": 0.3093, "relativePriceIndex": 0.63, "accuracy": 1 } ], "name": "Summer Off Peak" } ] }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms