Comments (10)
i think it might be that the plugin is missing the DRY state, Auto, Heat, Cool and Dry
from homebridge-panasonic-air-conditioner.
I have the same:
[29/04/2021, 08:13:25] [AirCon] Temperature state is not available 126 126
[29/04/2021, 08:13:25] [homebridge-panasonic-air-conditioner] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
As I think my AirCon does not report the temp back at all.
M
from homebridge-panasonic-air-conditioner.
Same Issue here:
"This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info." every 60 seconds (x 2 because I have two aircons)
from homebridge-panasonic-air-conditioner.
I have the same two errors every minute:
[3/6/2021 9:22:15] [Panasonic AC] Temperature state is not available 126 126
[3/6/2021 9:22:15] [homebridge-panasonic-air-conditioner] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
I repeat, every minute.
It's possible to show those errors only in debug mode, please?
from homebridge-panasonic-air-conditioner.
Same issue here
[01/07/2021, 08:40:28] [homebridge-panasonic-air-conditioner] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
from homebridge-panasonic-air-conditioner.
Same issue as above. It seems that the temperature state is not updated if the unit is not active. This is not a plugin problem as one has the same issue in the native iOS app. Also the « OFF » state seems to not be recognised by homebridge and create the « undefined » error message, I force it to « COOL » as I live in hot climate anyway…
I did a quick and dirty edit of index.js at lines 244 and 300 to avoid the messages, but I admit this is not ideal …
in 244
else {this.log("Temperature state is not available", body.parameters.insideTemperature, body.parameters.outTemperature);}
replaced by
// Note - update of fake temperature to avoid error messages polluting the log else { this.HeaterCooler.getCharacteristic(Characteristic.CurrentTemperature).updateValue(30); this.FakeGatoHistory.addEntry({time: moment().unix(), temp: this.temperature}); }
in 300
this.HeaterCooler.getCharacteristic(Characteristic.TargetHeaterCoolerState).updateValue(Characteristic.TargetHeaterCoolerState.OFF);
replaced by
this.HeaterCooler.getCharacteristic(Characteristic.TargetHeaterCoolerState).updateValue(Characteristic.TargetHeaterCoolerState.COOL);
from homebridge-panasonic-air-conditioner.
same issue here
Starting to advertise 'Homebridge CBBF' using bonjour-hap backend!
[2021-7-28 22:26:27] Homebridge v1.3.4 (Homebridge) is running on port 51826.
[2021-7-28 22:26:31] [homebridge-panasonic-air-conditioner] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[2021-7-28 22:26:31] [homebridge-panasonic-air-conditioner] Error:
at TargetHeaterCoolerState.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2038:105)
at TargetHeaterCoolerState.Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1931:16)
at TargetHeaterCoolerState.Characteristic.updateValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1379:20)
at PanasonicAC. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/index.js:300:82)
at Request.self.callback (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:185:22)
at Request.emit (events.js:314:20)
at Request. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:1154:10)
at Request.emit (events.js:314:20)
at IncomingMessage. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:420:28)
[2021-7-28 22:26:31] [homebridge-panasonic-air-conditioner] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[2021-7-28 22:26:31] [homebridge-panasonic-air-conditioner] Error:
at TargetHeaterCoolerState.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2038:105)
at TargetHeaterCoolerState.Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1931:16)
at TargetHeaterCoolerState.Characteristic.updateValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1379:20)
at PanasonicAC. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/index.js:300:82)
at Request.self.callback (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:185:22)
at Request.emit (events.js:314:20)
at Request. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:1154:10)
at Request.emit (events.js:314:20)
at IncomingMessage. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:420:28)
[2021-7-28 22:26:31] [homebridge-panasonic-air-conditioner] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[2021-7-28 22:26:31] [homebridge-panasonic-air-conditioner] Error:
at TargetHeaterCoolerState.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2038:105)
at TargetHeaterCoolerState.Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1931:16)
at TargetHeaterCoolerState.Characteristic.updateValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1379:20)
at PanasonicAC. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/index.js:300:82)
at Request.self.callback (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:185:22)
at Request.emit (events.js:314:20)
at Request. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:1154:10)
at Request.emit (events.js:314:20)
at IncomingMessage. (/usr/lib/node_modules/homebridge-panasonic-air-conditioner/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:420:28)
from homebridge-panasonic-air-conditioner.
I have the same two errors every minute:
[3/6/2021 9:22:15] [Panasonic AC] Temperature state is not available 126 126
[3/6/2021 9:22:15] [homebridge-panasonic-air-conditioner] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.I repeat, every minute.
It's possible to show those errors only in debug mode, please?
Yeah I'm getting them too. It's a pain because it means I have to scroll up for anything meaningful.
Anyway thanks for this amazing plugin. I only wish the characteristic value was a valid finite number whatever that means.
from homebridge-panasonic-air-conditioner.
A number, a number, my kingdom for a valid finite number.
from homebridge-panasonic-air-conditioner.
Fixed.
from homebridge-panasonic-air-conditioner.
Related Issues (20)
- Dry setting and I auto X HOT 2
- After reboot Homebridge (or Pi) no response in Homekit HOT 4
- Error in mail account login but same credentials work fine in the panasonic app (multi device setup) FIXED HOT 1
- Failed to Login HOT 15
- Plugin's new versions not on this repository HOT 2
- 4106 new version has been published HOT 17
- Failed to login error HOT 8
- Duplicate - New Version 4106 - Token Expired Error HOT 1
- Threshold Cooling/Heating Temperature was supplied an illegal value HOT 7
- Failed to login. Check the configured email and password, then restart Homebridge. 5300 HOT 1
- Code sync with npm HOT 5
- Road to Platform Plugin HOT 6
- This plugin generated a warning from the characteristic HOT 4
- Version error and plugin deprecated? HOT 1
- 'Cooling Threshold Temperature' characteristic error HOT 2
- New version of app HOT 2
- Swing Mode HOT 1
- New plugin implementation HOT 1
- New Version of the App HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-panasonic-air-conditioner.