snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 56 forks source link

Question: Temperature is updated on start-up only #202

Open tosate opened 1 year ago

tosate commented 1 year ago

Hi there,

I have an outside temperature sensor which is part of my heating system. This is no KNX device. The data of the heating system is available on my Home Assistant instance and it is exposed by Home Assistant to the KNX bus. In the group monitor of ETS5 I can see that the value is actually published to the KNX bus. I have also registered the the outside temperature sensor on my KNX thermostats. If I do a group value request in ETS5, the outside temperature is published to the KNX bus by Home Assistant and all of my thermostats.

When I start homebridge, the temperature value is fetched from the KNX bus. However, it never gets updated afterwards. So the KNXReadRequest seems to work, but not the Listen. Here is my configuration:

{
    "DeviceName": "Außentemperatursensor",
    "Services": [
        {
            "ServiceType": "TemperatureSensor",
            "ServiceName": "Außentemperatur",
            "Characteristics": [
                {
                    "Type": "CurrentTemperature",
                    "Listen": [
                        "3/1/12"
                    ],
                    "DPT": "DPT9"
                }
            ],
            "KNXReadRequests": [
                "3/1/12"
            ]
        }
    ]
}

I am using the same configuration for my real KNX temperature sensors and they work fine. Do you have any idea what could be the problem?

Kind regards, Thomas