Code Monkey home page Code Monkey logo

Comments (4)

sommo avatar sommo commented on August 24, 2024

to enable or disable sensor i installed the other repo plugin homebridge-huesensor, it can do the trick, don't know what's the difference between yours plugin

from homebridge-hue.

ebaauw avatar ebaauw commented on August 24, 2024

Hi @sommo
As far as I can see, they don't expose the sensor value itself. They only support enabling/disabling the sensor. Therefore they don't run into a conflict of multiple On characteristics per service.

from homebridge-hue.

ebaauw avatar ebaauw commented on August 24, 2024

HomeKit now provides a read/write characteristic Active in addition to the read-only Status Active.

v0.1.8 uses Active to enable/disable a sensor - no need for an additional service for a (potentially) second On characteristic. Next to the new Active, Status Active is still used, so Eve alerts the user that the sensor has been disabled.

from homebridge-hue.

ebaauw avatar ebaauw commented on August 24, 2024

Since recently, Siri also sets the Active characteristic off (in addition to the On characteristic), when askied to turn off a room, effectively disabling all sensors.

To avoid this, v0.2.0 uses a custom characteristic Enabled instead of Active.

In v0.2.0, BatteryLevel is exposed in a separate BatteryStatus service, consistent with Apple's iOS 10.3 Home app. This service also includes mandatory characteristics StatusLowBattery and ChargingState. The threshold for low battery can be set in config.json. ChargingState is always Not Chargeable.

I'm closing this issue now, as I have no plans to support the other config attributes.

from homebridge-hue.

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.