Giter Club home page Giter Club logo

Comments (3)

donavanbecker avatar donavanbecker commented on June 8, 2024 1

I will keep track of the air conditioner issue on #43.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 8, 2024

@watakushi-info, can you try Beta:

npm version

from homebridge-switchbot.

watakushi-info avatar watakushi-info commented on June 8, 2024

Thank you very much for making the fix.
At the Homebridge UI accessory view, the temperature works well.
I believe the fix is probably complete for this issue. Thank you very much.

The error message still shows up, but it may be related to a different problem.
Looking at the messages before the error message, my guess is that the error message might be related to air conditioning.
(The only Switchbot gadget that is related to 'Current Temperature' is the air conditioner, except for the Meter.)

[11/14/2021, 11:57:14 PM] [SwitchBot] CurrentHeaterCoolerStateGet: 0
[11/14/2021, 11:57:14 PM] [SwitchBot] onGet: 24
[11/14/2021, 11:57:14 PM] [SwitchBot] Trigger Get CurrentTemperture
[11/14/2021, 11:57:14 PM] [SwitchBot] HeatingThresholdTemperatureGet: 24
[11/14/2021, 11:57:14 PM] [SwitchBot] HeatingThresholdTemperatureGet: 24
[11/14/2021, 11:57:14 PM] [@switchbot/homebridge-switchbot] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[11/14/2021, 11:57:14 PM] [@switchbot/homebridge-switchbot] Error:
at CurrentTemperature.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2074:105)
at CurrentTemperature.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1967:16)
at CurrentTemperature. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1492: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 (node:internal/process/task_queues:96:5)

from homebridge-switchbot.

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.