2022.2 API correction for increase/decrease HeatSetpoint

Posted on
Wed Mar 08, 2023 5:00 am
anyone offline
User avatar
Posts: 125
Joined: Apr 03, 2011
Location: Norfolk, VA

2022.2 API correction for increase/decrease HeatSetpoint

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 -'"}

Posted on
Wed Mar 08, 2023 7:52 am
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: 2022.2 API correction for increase/decrease HeatSetpoint

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]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest