Giter VIP home page Giter VIP logo

Comments (10)

akirakev avatar akirakev commented on July 19, 2024

i think it might be that the plugin is missing the DRY state, Auto, Heat, Cool and Dry

from homebridge-panasonic-air-conditioner.

tampiss avatar tampiss commented on July 19, 2024

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.

xyz667 avatar xyz667 commented on July 19, 2024

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.

efipso avatar efipso commented on July 19, 2024

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.

putthegundownkinkade avatar putthegundownkinkade commented on July 19, 2024

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.

CharlesMonneron avatar CharlesMonneron commented on July 19, 2024

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.

JurgenLB avatar JurgenLB commented on July 19, 2024

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.

veitch123 avatar veitch123 commented on July 19, 2024

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.

veitch123 avatar veitch123 commented on July 19, 2024

A number, a number, my kingdom for a valid finite number.

from homebridge-panasonic-air-conditioner.

codyc1515 avatar codyc1515 commented on July 19, 2024

Fixed.

from homebridge-panasonic-air-conditioner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.