nitaybz / homebridge-esphome-ac Goto Github PK
View Code? Open in Web Editor NEWHomebridge plugin for ESPHome AC accessories
License: MIT License
Homebridge plugin for ESPHome AC accessories
License: MIT License
Hi,
Will you be adding new features like manual flow direction (horizontal, vertical) besides swing (If Apple allows this), Auto setting besides Heat and Cool. Dry and Fan are in the pipeline if I read correctly.
Is there an Auto fanspeed? Maybe some postion of the slide in homekit? I think default is Auto speed, correct?
Happy to donate if you will add these features :-)
thx,
Rik
No problem is being caused by this, but I observe logging data every few seconds even with debug turned off in the plugin settings. Is this expected?
[2/11/2023, 8:22:12 pm] [ESPHomeAC] HVAC Entity New State:
[2/11/2023, 8:22:12 pm] [ESPHomeAC] {
key: 2436731887,
mode: 0,
currentTemperature: 23,
targetTemperature: 22,
targetTemperatureLow: 0,
targetTemperatureHigh: 0,
legacyAway: false,
action: 0,
fanMode: 4,
swingMode: 0,
customFanMode: '',
preset: 0,
customPreset: ''
}
[2/11/2023, 8:22:28 pm] [ESPHomeAC] HVAC Entity New State:
[2/11/2023, 8:22:28 pm] [ESPHomeAC] {
key: 2436731887,
mode: 0,
currentTemperature: 22,
targetTemperature: 22,
targetTemperatureLow: 0,
targetTemperatureHigh: 0,
legacyAway: false,
action: 0,
fanMode: 4,
swingMode: 0,
customFanMode: '',
preset: 0,
customPreset: ''
}
[2/11/2023, 8:22:30 pm] [ESPHomeAC] HVAC Entity New State:
[2/11/2023, 8:22:30 pm] [ESPHomeAC] {
key: 2436731887,
mode: 0,
currentTemperature: 23,
targetTemperature: 22,
targetTemperatureLow: 0,
targetTemperatureHigh: 0,
legacyAway: false,
action: 0,
fanMode: 4,
swingMode: 0,
customFanMode: '',
preset: 0,
customPreset: ''
}
[2/11/2023, 8:22:40 pm] [ESPHomeAC] HVAC Entity New State:
[2/11/2023, 8:22:40 pm] [ESPHomeAC] {
key: 2436731887,
mode: 0,
currentTemperature: 22,
targetTemperature: 22,
targetTemperatureLow: 0,
targetTemperatureHigh: 0,
legacyAway: false,
action: 0,
fanMode: 4,
swingMode: 0,
customFanMode: '',
preset: 0,
customPreset: ''
}
[2/11/2023, 8:22:42 pm] [ESPHomeAC] HVAC Entity New State:
[2/11/2023, 8:22:42 pm] [ESPHomeAC] {
key: 2436731887,
mode: 0,
currentTemperature: 23,
targetTemperature: 22,
targetTemperatureLow: 0,
targetTemperatureHigh: 0,
legacyAway: false,
action: 0,
fanMode: 4,
swingMode: 0,
customFanMode: '',
preset: 0,
customPreset: ''
}
[2/11/2023, 8:23:05 pm] [ESPHomeAC] HVAC Entity New State:
[2/11/2023, 8:23:05 pm] [ESPHomeAC] {
key: 2436731887,
mode: 0,
currentTemperature: 22,
targetTemperature: 22,
targetTemperatureLow: 0,
targetTemperatureHigh: 0,
legacyAway: false,
action: 0,
fanMode: 4,
swingMode: 0,
customFanMode: '',
preset: 0,
customPreset: ''
}
[2/11/2023, 8:23:09 pm] [ESPHomeAC] HVAC Entity New State:
[2/11/2023, 8:23:09 pm] [ESPHomeAC] {
key: 2436731887,
mode: 0,
currentTemperature: 23,
targetTemperature: 22,
targetTemperatureLow: 0,
targetTemperatureHigh: 0,
legacyAway: false,
action: 0,
fanMode: 4,
swingMode: 0,
customFanMode: '',
preset: 0,
customPreset: ''
}
The status of the AC is not updated when started outside of HomeKit.
See logging:
[2/28/2024, 1:22:31 PM] [homebridge-esphome-ac] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value 0 is not contained in valid values array. See https://homebridge.io/w/JtMGR for more info.
[2/28/2024, 1:22:31 PM] [homebridge-esphome-ac] Error:
at TargetHeaterCoolerState.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at TargetHeaterCoolerState.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2932:14)
at TargetHeaterCoolerState.Characteristic.updateValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2328:20)
at HeaterCooler.updateState (/usr/local/lib/node_modules/homebridge-esphome-ac/lib/HeaterCooler.js:214:88)
at HeaterCooler.addHeaterCoolerService (/usr/local/lib/node_modules/homebridge-esphome-ac/lib/HeaterCooler.js:144:8)
at new HeaterCooler (/usr/local/lib/node_modules/homebridge-esphome-ac/lib/HeaterCooler.js:66:8)
at Climate. (/usr/local/lib/node_modules/homebridge-esphome-ac/lib/esphome.js:26:53)
at Object.onceWrapper (node:events:629:26)
at Climate.emit (node:events:514:28)
at Climate.handleState (/usr/local/lib/node_modules/homebridge-esphome-ac/node_modules/@2colors/esphome-native-api/lib/entities/Base.js:41:14)
at Climate.handleMessage (/usr/local/lib/node_modules/homebridge-esphome-ac/node_modules/@2colors/esphome-native-api/lib/entities/Base.js:45:14)
at EsphomeNativeApiConnection.emit (node:events:514:28)
at PlaintextFrameHelper. (/usr/local/lib/node_modules/homebridge-esphome-ac/node_modules/@2colors/esphome-native-api/lib/connection.js:35:18)
at PlaintextFrameHelper.emit (node:events:514:28)
at PlaintextFrameHelper.onData (/usr/local/lib/node_modules/homebridge-esphome-ac/node_modules/@2colors/esphome-native-api/lib/utils/plaintextFrameHelper.js:57:22)
at Socket. (/usr/local/lib/node_modules/homebridge-esphome-ac/node_modules/@2colors/esphome-native-api/lib/utils/plaintextFrameHelper.js:7:47)
Hey - per title, since there are no issues in this project tracker just letting you know I found this, tried it, works fine, and I thank you for your efforts :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.