homebridge-plugins / homebridge-resideo

The Homebridge Resideo plugin allows you to access your Resideo devices from HomeKit.
ISC License
37 stars 8 forks source link

Bug: #829

Closed fischp2 closed 3 weeks ago

fischp2 commented 6 months ago

Describe The Bug

Using this homebridge plugin with Resideo D6 controllers fine until version 2.1.0. Currently the plugin detects the thermostat controllers but now cannot access correct data or send commands.

To Reproduce

Start plugin with v2.1.0 or later.

Expected behavior

Accurate data and controls.

Relevant log output

[5/30/2024, 8:04:51 PM] [homebridge-resideo] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 18.5 exceeded minimum of 63. See https://homebridge.io/w/JtMGR for more info.
[5/30/2024, 8:05:30 PM] [homebridge-resideo] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 23.5 exceeded minimum of 63. See https://homebridge.io/w/JtMGR for more info.
[5/30/2024, 8:05:31 PM] [Resideo] Room Sensor Thermostat Living Room Thermostat set request ({"thermostatSetpointStatus":"PermanentHold","autoChangeoverActive":false,"coolSetpoint":74,"heatSetpoint":70}) to Resideo API.
[5/30/2024, 8:05:31 PM] [Resideo] Thermostat: Living Room Thermostat failed to pushChanges, Bad Request
[5/30/2024, 8:05:36 PM] [homebridge-resideo] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 23.5 exceeded minimum of 63. See https://homebridge.io/w/JtMGR for more info.
[5/30/2024, 8:05:45 PM] [homebridge-resideo] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 23.5 exceeded minimum of 63. See https://homebridge.io/w/JtMGR for more info.

Config for homebridge-resideo

{
    "name": "Resideo",
    "credentials": {
        "consumerKey": "redacted",
        "consumerSecret": "redacted",
        "accessToken": "redacted",
        "refreshToken": "redacted"
    },
    "platform": "Resideo",
    "_bridge": {
        "username": "redacted",
        "port": 57823
    }
}

Screenshots

No response

Device & Model

DC6000WF1001/U

Node.js Version

v20.14.0

NPM Version

v9.6.7

Homebridge Version

v1.8.2

Homebridge Resideo Plugin Version

v2.1.1

Homebridge Config UI X Plugin Version

v4.56.2

Operating System

Ubuntu

donavanbecker commented 6 months ago

v2.1.2 has been released please try this.

fischp2 commented 6 months ago

Ok tried v2.1.2, no longer get the target temperature illegal value error but still get the following:

5/30/2024, 9:18:25 PM] [Resideo] Room Sensor Thermostat Living Room Thermostat set request ({"thermostatSetpointStatus":"PermanentHold","autoChangeoverActive":false,"coolSetpoint":74,"heatSetpoint":70}) to Resideo API. [5/30/2024, 9:18:26 PM] [Resideo] Thermostat: Living Room Thermostat failed to pushChanges, Bad Request [5/30/2024, 9:18:34 PM] [Resideo] Room Sensor Thermostat Living Room Thermostat set request ({"thermostatSetpointStatus":"PermanentHold","autoChangeoverActive":true,"coolSetpoint":74,"heatSetpoint":70}) to Resideo API. [5/30/2024, 9:18:35 PM] [Resideo] Thermostat: Living Room Thermostat failed to pushChanges, Bad Request

alokj85 commented 5 months ago

I observed the same. Seeing this error

[6/7/2024, 9:25:45 PM] [Resideo] Thermostat: Bedroom Thermostat failed to pushChanges, Bad Request

SlothCroissant commented 5 months ago

+1 - logs:

[6/9/2024, 9:11:33 PM] [Resideo] Thermostat Main Floor Set TargetHeatingCoolingState: 2
[6/9/2024, 9:11:33 PM] [Resideo] Thermostat Main Floor send TargetHeatingCoolingState: undefined
[6/9/2024, 9:11:33 PM] [Resideo] Thermostat Main Floor thermostatSetpointStatus config set to PermanentHold
[6/9/2024, 9:11:33 PM] [Resideo] Thermostat Main Floor send thermostatSetpointStatus: PermanentHold, Model: T5-T6
[6/9/2024, 9:11:33 PM] [Resideo] Thermostat Main Floor set autoChangeoverActive to undefined for Model: T5-T6
[6/9/2024, 9:11:33 PM] [Resideo] Thermostat Main Floor TargetHeatingCoolingState (COOL): 2, TargetTemperature: 67 coolSetpoint, CoolingThresholdTemperature: 67 heatSetpoint
[6/9/2024, 9:11:33 PM] [Resideo] Room Sensor Thermostat Main Floor set request ({"thermostatSetpointStatus":"PermanentHold","coolSetpoint":67,"heatSetpoint":67}) to Resideo API.
[6/9/2024, 9:11:35 PM] [Resideo] Thermostat: Main Floor failed to pushChanges, Bad Request
[6/9/2024, 9:11:35 PM] [Resideo] Thermostat: Main Floor failed to pushChanges, Error Message: "Request failed with status code 400"
[6/9/2024, 9:11:35 PM] [Resideo] The client has issued an invalid request. This is commonly used to specify validation errors in a request payload.

Tried debug logging, didn't get any additional logs.

donavanbecker commented 3 weeks ago

please try v2.1.7

fischp2 commented 3 weeks ago

Yes this appears to have fixed the issue thank you!