Git Product home page Git Product logo

Comments (6)

michbeck100 avatar michbeck100 commented on June 2, 2024

Getting the current temperature isn't a feature of the base implementation of HeatingThermostat in pimatic (see devices.coffee line 443). But there are some implementations that deliver the current temperature. This is what i was trying to show. If your device doesn't support this, HomeKit will always show a value of 0. I will try to change this, so it will show the target temperature. This wouldn't be really accurate, but i think it's better than nothing.

from pimatic-hap.

michbeck100 avatar michbeck100 commented on June 2, 2024

if I change the state of a switch from the pimatic web app, the state changes in my home kit app, too. Same for the contact. Do i understand you correct?

from pimatic-hap.

rspaargaren avatar rspaargaren commented on June 2, 2024

Hi in the previous version I did not have the problems as mentioned in this post. So I had an indication of the temp sensor. If I switch in Pimatic app eve does not get updated. If I switch in eve Pimatic does get updated. So it looks like a one way direction for that. Maybe the last change influenced this behaviour?

from pimatic-hap.

michbeck100 avatar michbeck100 commented on June 2, 2024

Could you post the devices section of your config.json? So i can get an idea of the devices that aren't working.

from pimatic-hap.

rspaargaren avatar rspaargaren commented on June 2, 2024

Hi these are the four different devices I can see in eve. However I had to reconnect this morning and the switches are now working as a status update! Only the temp is still indicating 0 and the contact does not indicate.

This is part of the debug log:

debug [pimatic-hap]: contact sensor state changed. Notifying iOS devices.
debug [pimatic-homeduino]: contact1: { id: 43962, all: false, contact: false, unit: 9 }

I have removed the == null at line 106 and now the temp is indicated again.

{
"id": "KAKU_TEL",
"name": "Lamp Televisie",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 1337110,
"unit": 1
}
{
"id": "KAKU_KAST_DEUR",
"name": "Kast Deur",
"class": "HomeduinoRFContactSensor",
"protocols": [
{
"name": "contact1",
"options": {
"unit": 9,
"id": 43962
}
}
{
"id": "KAKU_KAST_DEUR",
"name": "Kast Deur",
"class": "HomeduinoRFContactSensor",
"protocols": [
{
"name": "contact1",
"options": {
"unit": 9,
"id": 43962
}
}
{
"id": "KAKU_BANK",
"name": "Lamp Bank",
"class": "HomeduinoRFDimmer",
"protocols": [
{
"name": "dimmer1",
"options": {
"id": 1337110,
"unit": 0
},
"send": true,
"receive": true
}
]
},

from pimatic-hap.

michbeck100 avatar michbeck100 commented on June 2, 2024

Thanks to your hint i found the error. Commit 336ade8 fixes it. Very embarrassing 😳

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.