homebridge-switchbot: Bug: Air conditioner temperature not able to change
Describe The Bug
Whenever I use the apple’s native home app to change the temperature of my air conditioner, it doesn’t change the temperature at all. And also, I always select the cooling mode when I turn on, but instead does heating. The number of the temperature i set using a remote controller and the temperature displayed on the apple home app doesn’t sync. As you can see from the log, program has failed to send statusCode instead sending the value of %s,%s,%s,%s
To Reproduce
TOSHIBA air conditioner and change temperature from apple’s home app
Expected behavior
Temperature not changing
Relevant log output
[10/6/2021, 4:25:24 PM] [SwitchBot] Trigger Get CurrentTemperture
[10/6/2021, 4:25:24 PM] [@switchbot/homebridge-switchbot] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.
[10/6/2021, 4:25:24 PM] [@switchbot/homebridge-switchbot] Error:
at CurrentTemperature.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2038:105)
at CurrentTemperature.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1931:16)
at CurrentTemperature.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1456:24)
at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
at fulfilled (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:114:62)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
[10/6/2021, 4:26:48 PM] [SwitchBot] Sending request for Air conditioner Air Conditioner to SwitchBot API. command: setAll parameter: %s,%s,%s,%s commandType: command
[10/6/2021, 4:26:48 PM] [SwitchBot] %s %s pushChanges -
[10/6/2021, 4:26:49 PM] [SwitchBot] %s %s Changes pushed -
[10/6/2021, 4:26:49 PM] [SwitchBot] Unknown statusCode.
[10/6/2021, 4:27:22 PM] [SwitchBot] Sending request for Air conditioner Air Conditioner to SwitchBot API. command: setAll parameter: %s,%s,%s,%s commandType: command
[10/6/2021, 4:27:22 PM] [SwitchBot] %s %s pushChanges -
[10/6/2021, 4:27:23 PM] [SwitchBot] %s %s Changes pushed -
[10/6/2021, 4:27:23 PM] [SwitchBot] Unknown statusCode.
Config for homebridge-switchbot
{
"bridge": {
"name": "Homebridge 2486",
"username": "",
"port":,
"pin": ""
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"name": "SwitchBot",
"credentials": {
"openToken": "",
"notice": "Keep your token a secret!"
},
"platform": "SwitchBot"
}
]
}
Screenshots
No response
Device & Model
WH-UB01UJ (model of air conditioner) W0202200 (model of Switchbot hub mini)
Node.js Version
v14.17.4
NPM Version
v7.24.0
Homebridge Version
v1.3.4
Homebridge Switchbot Plugin Version
v0.1.1
Homebridge Config UI X Plugin Version
v4.41.2
Operating System
macOS
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 42
Commits related to this issue
- potential fix for #43 — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- fix #43 — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- another attempt at #43 & housekeeping - another attempt at #43 - housekeeping — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- v1.2.0 ## [Version 1.2.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.0) (2021-11-19) ## What's Changed * Added option to be able to do Bluetooth Low Energy (BLE) Only C... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- Version 1.2.0 (#96) ## [Version 1.2.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.0) (2021-11-19) ## What's Changed * Added option to be able to do Bluetooth Low Ene... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- Add Cached Values and closed fix to fixing #43 — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- fix for #43 — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- v1.5.0 (#158) ## [Version 1.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.5.0) (2021-12-27) ## What's Changed ### Major Change To `Logging`: * Added the following L... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 3 years ago
- v2.11.0 # Changelog All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/) ## [Version 2.11.0](https://github.com/OpenWond... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 8 months ago
@ilhuafbds, no. I have a life to attend to and only do this on my free time. Please have patients.