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: Changing the temperature doesn't work #598

Closed dmart120 closed 2 years ago

dmart120 commented 3 years ago

Describe The Bug

Changing the temperature doesn't work, it reverts back to the currently set temperature

To Reproduce

Try to change the temperature

Expected behavior

temperature should be set to new temperature

Relevant log output

[HoneywellHome] Sending request for Upstairs to Honeywell API mode: Heat, coolSetpoint: 79, heatSetpoint: 74, thermostatSetpointStatus: undefined

Config for homebridge-honeywell-home

{
    "name": "HoneywellHome",
    "credentials": {
        "consumerKey": "key",
        "consumerSecret": "secret",
        "accessToken": "token",
        "refreshToken": "token"
    },
    "platform": "HoneywellHome"
}

Screenshots

No response

Device & Model

T6

Node.js Version

15.6.0

NPM Version

7.4.0

Homebridge Version

1.3.6

Homebridge Honeywell Home Plugin Version

11.1.0

Homebridge Config UI X Plugin Version

No response

Operating System

macOS

donavanbecker commented 3 years ago

I would need more logs.

martennienhuis commented 3 years ago

I have the same problem.

if i change the temp in homekit after 2 seconds the temp is back to the previous setting. No additional issues in logfile, except ‘ thermostatSetpointStatus: undefined’

also the setting permanent state or temp state is missing. In the previous version this was available.

i already removed the plugin and installed it again. This did not fix the issue. I hope you can fix this soon.

donavanbecker commented 3 years ago

I would need more logs, please put your plugin into debug mode

martennienhuis commented 3 years ago
[11/25/2021, 10:23:45 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Set TargetTemperature: 25.1

[11/25/2021, 10:23:45 PM] [HoneywellHome] [DEBUG] Send thermostatSetpointStatus Model: T5-T6

[11/25/2021, 10:23:45 PM] [HoneywellHome] [DEBUG] Set autoChangeoverActive to undefined for T5-T6 Thermostats

[11/25/2021, 10:23:45 PM] [HoneywellHome] Sending request for Honeywell Home to Honeywell API mode: Heat, coolSetpoint: 10, heatSetpoint: 25.1, thermostatSetpointStatus: undefined

[11/25/2021, 10:23:46 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home device: {"displayedOutdoorHumidity":94,"vacationHold":{"enabled":false},"currentSchedulePeriod":{"day":"Thursday","period":"P3"},"scheduleCapabilities":{"availableScheduleTypes":["None","Geofenced","TimedEmea"],"schedulableFan":false},"scheduleType":{"scheduleType":"Timed","scheduleSubType":"EMEA"},"changeSource":{"by":"partner","name":"Homebridge Marten"},"scheduleStatus":"Resume","allowedTimeIncrements":10,"settings":{"hardwareSettings":{"brightness":3,"maxBrightness":5},"temperatureMode":{"air":true},"specialMode":{},"devicePairingEnabled":true},"deviceOsVersion":"T6H600WF1003","deviceClass":"Thermostat","deviceType":"Thermostat","deviceID":"LCC-B82CA0340349","deviceInternalID":1714695,"userDefinedDeviceName":"Honeywell Home","name":"Honeywell Home","isAlive":true,"isUpgrading":false,"isProvisioned":true,"macID":"B82CA0340349","deviceSettings":{},"service":{"mode":"Up"},"deviceRegistrationDate":"2019-10-19T14:14:18.06","dataSyncStatus":"Initiated","units":"Celsius","indoorTemperature":20.5,"outdoorTemperature":2.5,"allowedModes":["Heat","Off"],"deadband":0,"hasDualSetpointStatus":false,"minHeatSetpoint":5,"maxHeatSetpoint":35,"minCoolSetpoint":-18,"maxCoolSetpoint":-18,"changeableValues":{"mode":"Heat","heatSetpoint":19,"coolSetpoint":10,"thermostatSetpointStatus":"NoHold","nextPeriodTime":"06:00:00","heatCoolMode":"Heat","endHeatSetpoint":null,"endCoolSetpoint":null},"operationStatus":{"mode":"EquipmentOff","fanRequest":false,"circulationFanRequest":false},"deviceModel":"T5-T6"}

[11/25/2021, 10:23:46 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Fetched update for Honeywell Home

       from Honeywell API: {"mode":"Heat","heatSetpoint":19,"coolSetpoint":10,"thermostatSetpointStatus":"NoHold","nextPeriodTime":"06:00:00","heatCoolMode":"Heat","endHeatSetpoint":null,"endCoolSetpoint":null}

[11/25/2021, 10:23:46 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Currently Mode: EquipmentOff(0)

[11/25/2021, 10:23:46 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home CurrentRelativeHumidity: undefined

[11/25/2021, 10:24:47 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home device: {"displayedOutdoorHumidity":94,"vacationHold":{"enabled":false},"currentSchedulePeriod":{"day":"Thursday","period":"P3"},"scheduleCapabilities":{"availableScheduleTypes":["None","Geofenced","TimedEmea"],"schedulableFan":false},"scheduleType":{"scheduleType":"Timed","scheduleSubType":"EMEA"},"changeSource":{"by":"partner","name":"Homebridge Marten"},"scheduleStatus":"Resume","allowedTimeIncrements":10,"settings":{"hardwareSettings":{"brightness":3,"maxBrightness":5},"temperatureMode":{"air":true},"specialMode":{},"devicePairingEnabled":true},"deviceOsVersion":"T6H600WF1003","deviceClass":"Thermostat","deviceType":"Thermostat","deviceID":"LCC-B82CA0340349","deviceInternalID":1714695,"userDefinedDeviceName":"Honeywell Home","name":"Honeywell Home","isAlive":true,"isUpgrading":false,"isProvisioned":true,"macID":"B82CA0340349","deviceSettings":{},"service":{"mode":"Up"},"deviceRegistrationDate":"2019-10-19T14:14:18.06","dataSyncStatus":"Initiated","units":"Celsius","indoorTemperature":20.5,"outdoorTemperature":2.5,"allowedModes":["Heat","Off"],"deadband":0,"hasDualSetpointStatus":false,"minHeatSetpoint":5,"maxHeatSetpoint":35,"minCoolSetpoint":-18,"maxCoolSetpoint":-18,"changeableValues":{"mode":"Heat","heatSetpoint":19,"coolSetpoint":10,"thermostatSetpointStatus":"NoHold","nextPeriodTime":"06:00:00","heatCoolMode":"Heat","endHeatSetpoint":null,"endCoolSetpoint":null},"operationStatus":{"mode":"EquipmentOff","fanRequest":false,"circulationFanRequest":false},"deviceModel":"T5-T6"}

[11/25/2021, 10:24:47 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Fetched update for Honeywell Home

       from Honeywell API: {"mode":"Heat","heatSetpoint":19,"coolSetpoint":10,"thermostatSetpointStatus":"NoHold","nextPeriodTime":"06:00:00","heatCoolMode":"Heat","endHeatSetpoint":null,"endCoolSetpoint":null}

[11/25/2021, 10:24:47 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Currently Mode: EquipmentOff(0)

[11/25/2021, 10:24:47 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home CurrentRelativeHumidity: undefined
martennienhuis commented 3 years ago

I hope this will help. Please let me know if more is needed?

i2fat2kidnap commented 2 years ago

I am also having this issue. Based on my troubleshooting, it does look like the API for Homebridge will send the command to turn the mode to "cool" and the Honeywell app is working independently and sending a signal as well saying that the mode is "off". The "off" mode trumps the "cool" mode potentially because its sending that command faster than Homebridge.

onelight17 commented 2 years ago

+1 to the same issue but with a T9

donavanbecker commented 2 years ago

@onelight17 @i2fat2kidnap @martennienhuis @dmart120, can you try beta:

npm version

Click here to find out how to install Beta

i2fat2kidnap commented 2 years ago

@onelight17 @i2fat2kidnap @martennienhuis @dmart120, can you try beta:

npm version

Click here to find out how to install Beta

Same issue :(

donavanbecker commented 2 years ago

@i2fat2kidnap, okay lets try:

npm version

i2fat2kidnap commented 2 years ago

@donavanbecker - just tested it - I think we're getting closer, but it crashes Homebridge. I uninstalled and reinstalled it as well.

TypeError: Cannot read properties of undefined (reading 'log') at Timeout.refreshStatus [as _onTimeout] (C:\Users\xxx\AppData\Roaming\npm\node_modules\homebridge-honeywell-home\src\devices\thermostats.ts:386:21) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)

donavanbecker commented 2 years ago

Thanks @i2fat2kidnap, sorry for that. The next beta should fix that error and this bug... I hope... ha

npm version

i2fat2kidnap commented 2 years ago

@donavanbecker - no problem, installed beta 3, same log error.

TypeError: Cannot read properties of undefined (reading 'log') at Timeout.refreshStatus [as _onTimeout] (C:\Users\xxx\AppData\Roaming\npm\node_modules\homebridge-honeywell-home\src\devices\thermostats.ts:391:21) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)

donavanbecker commented 2 years ago

@i2fat2kidna

Dang, fixed 1 line of code but forget 2 other lines, can you try the next beta?

npm version

i2fat2kidnap commented 2 years ago

Just tried it, crashing stopped, but the temperature/modes doesn't change the thermostat.

PS. Also on Discord if you want to troubleshoot on there.

martennienhuis commented 2 years ago

Just tested beta 4. No crashes, but temperature changes back to the original setting…. So not yet fixed. I’m also missing the setting to permanent state or temporary state….

martennienhuis commented 2 years ago

Beta 6… same problem….

riskitforabiscuit1252 commented 2 years ago

Beta 6… same problem….

Where are you seeing the updates on this or new beta downloads? I've been having the same issue as all of you.

i2fat2kidnap commented 2 years ago

Beta 6… same problem….

Where are you seeing the updates on this or new beta downloads? I've been having the same issue as all of you.

I'm in Discord testing with @donavanbecker

donavanbecker commented 2 years ago

I have found the issue, I just need to have time to fix it. Hopefully tonight.

donavanbecker commented 2 years ago

this should be fix in v11.1.1. If anyone can confirm? I have tested this on a T9.

i2fat2kidnap commented 2 years ago

this should be fix in v11.1.1. If anyone can confirm? I have tested this on a T9.

Just tested on a T6 and confirmed working again! Thank you!

martennienhuis commented 2 years ago

Hi. Thanks a lot. Setting the temperature is now oke. But, in the previous version there was a setting permanent hold and temporary hold. I can not find this anymore. Can you please fix this also?

donavanbecker commented 2 years ago

@martennienhuis It is there. You need to grab your device if from the devices tab and then go to the Honeywell home device settings option, paste in your device id, select thermostat, and then you have that option.

Funny you say that, that is what the issue was, I wasn't sending that so it was erroring when sending the temp. So I set a default.

If you still can't find it, then I will take sometime to document it. I will document it, just haven't had time.

martennienhuis commented 2 years ago

aha... now I found it. Its a bit confusing but documenting wil help.

When I change the temp the first time everything works fine, but the next change I make wil result in error 400:

[12/16/2021, 2:57:55 PM] [HoneywellHome] Sending request for Honeywell Home to Honeywell API mode: Heat, coolSetpoint: 10, heatSetpoint: 21.5, autoChangeoverActive: undefined, thermostatSetpointStatus: undefined
[12/16/2021, 2:57:56 PM] [HoneywellHome] Thermostat: Honeywell Home: failed to pushChanges. Error Message: "Request failed with status code 400"

Any idea what this means?

donavanbecker commented 2 years ago

The thermostatSetpointStatus shouldn't be undefined. Can you restart your bridge and post more logs in a new issue?

martennienhuis commented 2 years ago

The first time after restart homebridge works fine:

[12/16/2021, 4:05:38 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Set TargetTemperature: 21
[12/16/2021, 4:05:38 PM] [HoneywellHome] [DEBUG] Send TargetHeatingCoolingState mode: Heat
[12/16/2021, 4:05:38 PM] [HoneywellHome] [DEBUG] Send thermostatSetpointStatus Model: T5-T6
[12/16/2021, 4:05:38 PM] [HoneywellHome] [DEBUG] Set autoChangeoverActive to undefined for T5-T6 Thermostats
[12/16/2021, 4:05:38 PM] [HoneywellHome] [DEBUG] T5-T6 Thermostat, TargetHeatingCoolingState (HEAT): 1, TargetTemperature: 21 heatSetpoint, CoolingThresholdTemperature: 10 coolSetpoint
[12/16/2021, 4:05:38 PM] [HoneywellHome] Sending request for Honeywell Home to Honeywell API mode: Heat, coolSetpoint: 10, heatSetpoint: 21, autoChangeoverActive: undefined, thermostatSetpointStatus: TemporaryHold
[12/16/2021, 4:05:39 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home pushChanges: {"mode":"Heat","thermostatSetpointStatus":"TemporaryHold","heatSetpoint":21,"coolSetpoint":10}
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home device: {"displayedOutdoorHumidity":100,"vacationHold":{"enabled":false},"currentSchedulePeriod":{"day":"Thursday","period":"P1"},"scheduleCapabilities":{"availableScheduleTypes":["None","Geofenced","TimedEmea"],"schedulableFan":false},"scheduleType":{"scheduleType":"Timed","scheduleSubType":"EMEA"},"changeSource":{"by":"partner","name":"Homebridge rpi"},"scheduleStatus":"Resume","allowedTimeIncrements":10,"settings":{"hardwareSettings":{"brightness":3,"maxBrightness":5},"temperatureMode":{"air":true},"specialMode":{},"devicePairingEnabled":true},"deviceOsVersion":"T6H600WF1003","deviceClass":"Thermostat","deviceType":"Thermostat","deviceID":"LCC-B82CA0340349","deviceInternalID":3748634,"userDefinedDeviceName":"Honeywell Home","name":"Honeywell Home","isAlive":true,"isUpgrading":false,"isProvisioned":true,"macID":"B82CA0340349","deviceSettings":{},"service":{"mode":"Up"},"deviceRegistrationDate":"2021-12-07T07:43:27.9533333","dataSyncStatus":"Completed","units":"Celsius","indoorTemperature":20,"outdoorTemperature":8,"allowedModes":["Heat","Off"],"deadband":0,"hasDualSetpointStatus":false,"minHeatSetpoint":5,"maxHeatSetpoint":35,"minCoolSetpoint":-18,"maxCoolSetpoint":-18,"changeableValues":{"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"},"operationStatus":{"mode":"EquipmentOff","fanRequest":false,"circulationFanRequest":false},"deviceModel":"T5-T6"}
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Fetched update for Honeywell Home
       from Honeywell API: {"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"}
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TemperatureDisplayUnits: 0
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CurrentTemperature: 20
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus HeatingThresholdTemperature: 21
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CoolingThresholdTemperature: 10
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetHeatingCoolingState: 1
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus Currently Mode (OFF): EquipmentOff(0)
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetTemperature (HEAT): 21)
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TemperatureDisplayUnits: 0
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentTemperature: 20
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home CurrentRelativeHumidity: undefined
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetTemperature: 21
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic HeatingThresholdTemperature: 21
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CoolingThresholdTemperature: 10
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetHeatingCoolingState: 1
[12/16/2021, 4:05:55 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentHeatingCoolingState: 1
martennienhuis commented 2 years ago

the next change result in:

[12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Set TargetTemperature: 22
[12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Send TargetHeatingCoolingState mode: Heat
[12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Send thermostatSetpointStatus Model: T5-T6
[12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Set autoChangeoverActive to undefined for T5-T6 Thermostats
[12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] T5-T6 Thermostat, TargetHeatingCoolingState (HEAT): 1, TargetTemperature: 22 heatSetpoint, CoolingThresholdTemperature: 10 coolSetpoint
[12/16/2021, 4:08:52 PM] [HoneywellHome] Sending request for Honeywell Home to Honeywell API mode: Heat, coolSetpoint: 10, heatSetpoint: 22, autoChangeoverActive: undefined, thermostatSetpointStatus: undefined
[12/16/2021, 4:08:53 PM] [HoneywellHome] Thermostat: Honeywell Home: failed to pushChanges. Error Message: "Request failed with status code 400"
[12/16/2021, 4:08:53 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Error: {"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n    at createError (/homebridge/node_modules/homebridge-honeywell-home/node_modules/axios/lib/core/createError.js:16:15)\n    at settle (/homebridge/node_modules/homebridge-honeywell-home/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd (/homebridge/node_modules/homebridge-honeywell-home/node_modules/axios/lib/adapters/http.js:293:11)\n    at IncomingMessage.emit (node:events:402:35)\n    at endReadableNT (node:internal/streams/readable:1343:12)\n    at processTicksAndRejections (node:internal/process/task_queues:83:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","Authorization":"Bearer D6cQ2CEqYfeB9c4OhFxSnAugvumt","User-Agent":"axios/0.24.0","Content-Length":51},"responseType":"json","params":{"locationId":1541748,"apikey":"GP9pZ6QASplBLva4NNMpfTb44yKotqHs"},"method":"post","url":"https://api.honeywell.com/v2/devices/thermostats/LCC-B82CA0340349","data":"{\"mode\":\"Heat\",\"heatSetpoint\":22,\"coolSetpoint\":10}"},"status":400}
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home device: {"displayedOutdoorHumidity":100,"vacationHold":{"enabled":false},"currentSchedulePeriod":{"day":"Thursday","period":"P1"},"scheduleCapabilities":{"availableScheduleTypes":["None","Geofenced","TimedEmea"],"schedulableFan":false},"scheduleType":{"scheduleType":"Timed","scheduleSubType":"EMEA"},"changeSource":{"by":"partner","name":"Homebridge rpi"},"scheduleStatus":"Resume","allowedTimeIncrements":10,"settings":{"hardwareSettings":{"brightness":3,"maxBrightness":5},"temperatureMode":{"air":true},"specialMode":{},"devicePairingEnabled":true},"deviceOsVersion":"T6H600WF1003","deviceClass":"Thermostat","deviceType":"Thermostat","deviceID":"LCC-B82CA0340349","deviceInternalID":3748634,"userDefinedDeviceName":"Honeywell Home","name":"Honeywell Home","isAlive":true,"isUpgrading":false,"isProvisioned":true,"macID":"B82CA0340349","deviceSettings":{},"service":{"mode":"Up"},"deviceRegistrationDate":"2021-12-07T07:43:27.9533333","dataSyncStatus":"Completed","units":"Celsius","indoorTemperature":20,"outdoorTemperature":8,"allowedModes":["Heat","Off"],"deadband":0,"hasDualSetpointStatus":false,"minHeatSetpoint":5,"maxHeatSetpoint":35,"minCoolSetpoint":-18,"maxCoolSetpoint":-18,"changeableValues":{"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"},"operationStatus":{"mode":"EquipmentOff","fanRequest":false,"circulationFanRequest":false},"deviceModel":"T5-T6"}
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Fetched update for Honeywell Home
       from Honeywell API: {"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"}
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TemperatureDisplayUnits: 0
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CurrentTemperature: 20
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus HeatingThresholdTemperature: 21
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CoolingThresholdTemperature: 10
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetHeatingCoolingState: 1
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus Currently Mode (OFF): EquipmentOff(0)
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetTemperature (HEAT): 21)
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TemperatureDisplayUnits: 0
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentTemperature: 20
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home CurrentRelativeHumidity: undefined
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetTemperature: 21
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic HeatingThresholdTemperature: 21
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CoolingThresholdTemperature: 10
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetHeatingCoolingState: 1
[12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentHeatingCoolingState: 1
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home device: {"displayedOutdoorHumidity":100,"vacationHold":{"enabled":false},"currentSchedulePeriod":{"day":"Thursday","period":"P1"},"scheduleCapabilities":{"availableScheduleTypes":["None","Geofenced","TimedEmea"],"schedulableFan":false},"scheduleType":{"scheduleType":"Timed","scheduleSubType":"EMEA"},"changeSource":{"by":"partner","name":"Homebridge rpi"},"scheduleStatus":"Resume","allowedTimeIncrements":10,"settings":{"hardwareSettings":{"brightness":3,"maxBrightness":5},"temperatureMode":{"air":true},"specialMode":{},"devicePairingEnabled":true},"deviceOsVersion":"T6H600WF1003","deviceClass":"Thermostat","deviceType":"Thermostat","deviceID":"LCC-B82CA0340349","deviceInternalID":3748634,"userDefinedDeviceName":"Honeywell Home","name":"Honeywell Home","isAlive":true,"isUpgrading":false,"isProvisioned":true,"macID":"B82CA0340349","deviceSettings":{},"service":{"mode":"Up"},"deviceRegistrationDate":"2021-12-07T07:43:27.9533333","dataSyncStatus":"Completed","units":"Celsius","indoorTemperature":20,"outdoorTemperature":8,"allowedModes":["Heat","Off"],"deadband":0,"hasDualSetpointStatus":false,"minHeatSetpoint":5,"maxHeatSetpoint":35,"minCoolSetpoint":-18,"maxCoolSetpoint":-18,"changeableValues":{"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"},"operationStatus":{"mode":"EquipmentOff","fanRequest":false,"circulationFanRequest":false},"deviceModel":"T5-T6"}
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Fetched update for Honeywell Home
       from Honeywell API: {"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"}
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TemperatureDisplayUnits: 0
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CurrentTemperature: 20
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus HeatingThresholdTemperature: 21
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CoolingThresholdTemperature: 10
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetHeatingCoolingState: 1
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus Currently Mode (OFF): EquipmentOff(0)
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetTemperature (HEAT): 21)
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TemperatureDisplayUnits: 0
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentTemperature: 20
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home CurrentRelativeHumidity: undefined
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetTemperature: 21
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic HeatingThresholdTemperature: 21
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CoolingThresholdTemperature: 10
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetHeatingCoolingState: 1
[12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentHeatingCoolingState: 1
riskitforabiscuit1252 commented 2 years ago

the next change result in:

[12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Set TargetTemperature: 22 [12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Send TargetHeatingCoolingState mode: Heat [12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Send thermostatSetpointStatus Model: T5-T6 [12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] Set autoChangeoverActive to undefined for T5-T6 Thermostats [12/16/2021, 4:08:52 PM] [HoneywellHome] [DEBUG] T5-T6 Thermostat, TargetHeatingCoolingState (HEAT): 1, TargetTemperature: 22 heatSetpoint, CoolingThresholdTemperature: 10 coolSetpoint [12/16/2021, 4:08:52 PM] [HoneywellHome] Sending request for Honeywell Home to Honeywell API mode: Heat, coolSetpoint: 10, heatSetpoint: 22, autoChangeoverActive: undefined, thermostatSetpointStatus: undefined [12/16/2021, 4:08:53 PM] [HoneywellHome] Thermostat: Honeywell Home: failed to pushChanges. Error Message: "Request failed with status code 400" [12/16/2021, 4:08:53 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Error: {"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at createError (/homebridge/node_modules/homebridge-honeywell-home/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/homebridge/node_modules/homebridge-honeywell-home/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/homebridge/node_modules/homebridge-honeywell-home/node_modules/axios/lib/adapters/http.js:293:11)\n at IncomingMessage.emit (node:events:402:35)\n at endReadableNT (node:internal/streams/readable:1343:12)\n at processTicksAndRejections (node:internal/process/taskqueues:83:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json, text/plain, /_","Content-Type":"application/json","Authorization":"Bearer D6cQ2CEqYfeB9c4OhFxSnAugvumt","User-Agent":"axios/0.24.0","Content-Length":51},"responseType":"json","params":{"locationId":1541748,"apikey":"GP9pZ6QASplBLva4NNMpfTb44yKotqHs"},"method":"post","url":"https://api.honeywell.com/v2/devices/thermostats/LCC-B82CA0340349","data":"{\"mode\":\"Heat\",\"heatSetpoint\":22,\"coolSetpoint\":10}"},"status":400} [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home device: {"displayedOutdoorHumidity":100,"vacationHold":{"enabled":false},"currentSchedulePeriod":{"day":"Thursday","period":"P1"},"scheduleCapabilities":{"availableScheduleTypes":["None","Geofenced","TimedEmea"],"schedulableFan":false},"scheduleType":{"scheduleType":"Timed","scheduleSubType":"EMEA"},"changeSource":{"by":"partner","name":"Homebridge rpi"},"scheduleStatus":"Resume","allowedTimeIncrements":10,"settings":{"hardwareSettings":{"brightness":3,"maxBrightness":5},"temperatureMode":{"air":true},"specialMode":{},"devicePairingEnabled":true},"deviceOsVersion":"T6H600WF1003","deviceClass":"Thermostat","deviceType":"Thermostat","deviceID":"LCC-B82CA0340349","deviceInternalID":3748634,"userDefinedDeviceName":"Honeywell Home","name":"Honeywell Home","isAlive":true,"isUpgrading":false,"isProvisioned":true,"macID":"B82CA0340349","deviceSettings":{},"service":{"mode":"Up"},"deviceRegistrationDate":"2021-12-07T07:43:27.9533333","dataSyncStatus":"Completed","units":"Celsius","indoorTemperature":20,"outdoorTemperature":8,"allowedModes":["Heat","Off"],"deadband":0,"hasDualSetpointStatus":false,"minHeatSetpoint":5,"maxHeatSetpoint":35,"minCoolSetpoint":-18,"maxCoolSetpoint":-18,"changeableValues":{"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"},"operationStatus":{"mode":"EquipmentOff","fanRequest":false,"circulationFanRequest":false},"deviceModel":"T5-T6"} [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Fetched update for Honeywell Home from Honeywell API: {"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"} [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TemperatureDisplayUnits: 0 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CurrentTemperature: 20 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus HeatingThresholdTemperature: 21 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CoolingThresholdTemperature: 10 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetHeatingCoolingState: 1 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus Currently Mode (OFF): EquipmentOff(0) [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetTemperature (HEAT): 21) [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TemperatureDisplayUnits: 0 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentTemperature: 20 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home CurrentRelativeHumidity: undefined [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetTemperature: 21 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic HeatingThresholdTemperature: 21 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CoolingThresholdTemperature: 10 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetHeatingCoolingState: 1 [12/16/2021, 4:09:00 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentHeatingCoolingState: 1 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home device: {"displayedOutdoorHumidity":100,"vacationHold":{"enabled":false},"currentSchedulePeriod":{"day":"Thursday","period":"P1"},"scheduleCapabilities":{"availableScheduleTypes":["None","Geofenced","TimedEmea"],"schedulableFan":false},"scheduleType":{"scheduleType":"Timed","scheduleSubType":"EMEA"},"changeSource":{"by":"partner","name":"Homebridge rpi"},"scheduleStatus":"Resume","allowedTimeIncrements":10,"settings":{"hardwareSettings":{"brightness":3,"maxBrightness":5},"temperatureMode":{"air":true},"specialMode":{},"devicePairingEnabled":true},"deviceOsVersion":"T6H600WF1003","deviceClass":"Thermostat","deviceType":"Thermostat","deviceID":"LCC-B82CA0340349","deviceInternalID":3748634,"userDefinedDeviceName":"Honeywell Home","name":"Honeywell Home","isAlive":true,"isUpgrading":false,"isProvisioned":true,"macID":"B82CA0340349","deviceSettings":{},"service":{"mode":"Up"},"deviceRegistrationDate":"2021-12-07T07:43:27.9533333","dataSyncStatus":"Completed","units":"Celsius","indoorTemperature":20,"outdoorTemperature":8,"allowedModes":["Heat","Off"],"deadband":0,"hasDualSetpointStatus":false,"minHeatSetpoint":5,"maxHeatSetpoint":35,"minCoolSetpoint":-18,"maxCoolSetpoint":-18,"changeableValues":{"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"},"operationStatus":{"mode":"EquipmentOff","fanRequest":false,"circulationFanRequest":false},"deviceModel":"T5-T6"} [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home Fetched update for Honeywell Home from Honeywell API: {"mode":"Heat","heatSetpoint":21,"coolSetpoint":10,"thermostatSetpointStatus":"HoldUntil","holdUntil":"16:30:00","nextPeriodTime":"16:30:00","endHeatSetpoint":20,"endCoolSetpoint":10,"heatCoolMode":"Heat"} [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TemperatureDisplayUnits: 0 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CurrentTemperature: 20 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus HeatingThresholdTemperature: 21 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus CoolingThresholdTemperature: 10 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetHeatingCoolingState: 1 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus Currently Mode (OFF): EquipmentOff(0) [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home parseStatus TargetTemperature (HEAT): 21) [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TemperatureDisplayUnits: 0 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentTemperature: 20 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home CurrentRelativeHumidity: undefined [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetTemperature: 21 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic HeatingThresholdTemperature: 21 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CoolingThresholdTemperature: 10 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic TargetHeatingCoolingState: 1 [12/16/2021, 4:09:09 PM] [HoneywellHome] [DEBUG] Thermostat: Honeywell Home updateCharacteristic CurrentHeatingCoolingState: 1

I have exactly the same issue as above

donavanbecker commented 2 years ago

As stated, please open new issue.