Git Product home page Git Product logo

Comments (11)

michbeck100 avatar michbeck100 commented on June 17, 2024

What plugin are you using to connect the sensors? I would have a look if its possible to add support.

from pimatic-hap.

tjandt avatar tjandt commented on June 17, 2024

I'm using pimatic-dht-sensors ... Temperature is working fine only Humidity is missing at the moment. If I could help you feel free to get in touch.

from pimatic-hap.

michbeck100 avatar michbeck100 commented on June 17, 2024

pimatic-dht-sensors is misusing the TemperatureSensor class. A TemperatureSensor from pimatic doesn't support humidity, only temperature. Since pimatic-hap currently just supports the features of the base class, measuring humidity would require a rewrite of the dht sensors plugin.

from pimatic-hap.

tjandt avatar tjandt commented on June 17, 2024

So I should get in contact with the developer of https://github.com/pimatic/pimatic-dht-sensors ?

from pimatic-hap.

michbeck100 avatar michbeck100 commented on June 17, 2024

You could also create a fork of the plugin and make the changes by yourself. Then submit a pull request. Maybe I'll find the time to make the changes, but i don't have any device to test.

from pimatic-hap.

tjandt avatar tjandt commented on June 17, 2024

Which class should be used? Or should I create a new HumiditySensor class? Just to understand which information is needed that you plugin can expose this humidity information via HomeKit

from pimatic-hap.

michbeck100 avatar michbeck100 commented on June 17, 2024

HomeKit itself does differentiate between temperature sensor and humidity sensor. One solution would be to create a new device class, the other way would be, to change the way pimatic-hap recognizes device capabilities. I have to think about this, but it's probably easier to go for the second way, since there are more plugins out there that use the same way to measure humidity

from pimatic-hap.

tjandt avatar tjandt commented on June 17, 2024

okay so if I should test something or if you need something we can use my setup.
I'll try to support you as good as possible ;)

from pimatic-hap.

rspaargaren avatar rspaargaren commented on June 17, 2024

I can do the same, I was already exloring your code and the related hap-nodeJS code. As I have more devices also a PIR device. But I have to learn more on the basics of java, koffie, promise etc....

from pimatic-hap.

michbeck100 avatar michbeck100 commented on June 17, 2024

Should be working with the next release ;-)

from pimatic-hap.

tjandt avatar tjandt commented on June 17, 2024

cool ... I'll give it a try after christmas ;) thanks for your work

from pimatic-hap.

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.