Coder Social home page Coder Social logo

Comments (4)

steilerDev avatar steilerDev commented on July 19, 2024

Which accessory are you using? Certain HomeKit Types do not support negative values.

from homebridge-openhab2-complete.

EjvindHald avatar EjvindHald commented on July 19, 2024

I am on vacation, so I do not have the code available. But I am quite sure I used type 'temp' in homebridge.

I have connected the very same Item in openHAB to both Homebridge and Homekit native integration, so it is easy to see the difference in behaviour on my iPhone.

from homebridge-openhab2-complete.

EjvindHald avatar EjvindHald commented on July 19, 2024

I can see that other have had problems with this as well. It seems that the Homebridge server uses default values (min=0, max=100) and according to @KhaosT the application should override these with the values needed. Read here for more info include small code examples of how to set a custom minimum and maximum temperature.

I suggest the minimum in openHAB Complete to be -100 and maximum to +200. Both are in Celcius, and the reason for the high maximum number is because I have sensors on my solar panels and they can easily exceed 100 degree Celcius.

Thanks.

from homebridge-openhab2-complete.

steilerDev avatar steilerDev commented on July 19, 2024

I just implemented a potential fix for this (wasn't able to test it locally since I am currently traveling). Feel free to test the latest commit (b10ac33) on this.

Note: The Configuration syntax for 'temp' changed slightly.

from homebridge-openhab2-complete.

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.