2022.2 API correction for increase/decrease HeatSetpoint

Discuss any issue you have with these user forums, the How-To Wiki, or the online Documentation.
User avatar
anyone
Posts: 125
Joined: Sun Apr 03, 2011 3:02 pm
Location: Norfolk, VA

2022.2 API correction for increase/decrease HeatSetpoint

Post by anyone »

I am working with the Indigo 2022.2 API documentation and came across a couple of examples that I believe use an invalid parameter key.

the parameter key for both of these should reflect 'delta', just like the decreaseCoolSetpoint and increaseCoolSetpoint examples.

Code: Select all

{
  "id": "optional-user-generated-id",
  "message": "indigo.thermostat.decreaseHeatSetpoint",
  "objectId": 123456789,
  "parameters": {
    "value": 2
  }
}
{
  "id": "optional-user-generated-id",
  "message": "indigo.thermostat.increaseHeatSetpoint",
  "objectId": 123456789,
  "parameters": {
    "value": 2
  }
}

{"id":"- no message id -","validationErrors":{"value":"invalid parameter key"},"error":"invalid command payload received, id: '- no message id -'"}
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: 2022.2 API correction for increase/decrease HeatSetpoint

Post by DaveL17 »

Thanks for the report. I've updated the wiki docs to reflect that 'delta' is the right payload key for these two indigo.thermostat commands.
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
Post Reply

Return to “Indigo Accounts, Website, Forums, How-To Wiki, and Documentation”