Cominch / homebridge-logamatic

Apache License 2.0
1 stars 0 forks source link

characteristic was supplied illegal value: null! #2

Open xyz667 opened 1 year ago

xyz667 commented 1 year ago

Thanks a lot for this nice little plugin! I have come across a little annoyance though…

Describe The Bug: I am using this plugin with the KM100 interface of my Buderus Logamatic 192i heater. It seems to work fine generally, but the Homebridge logs contain many references to null values being supplied to HomeKit. See logs below.

To Reproduce: Happens all the time. Minimum 5 times every hour.

Expected behavior: Provide valid data, don‘t cause warnings.

Logs:

[14/06/2023, 14:08:06] [homebridge-logamatic] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[14/06/2023, 14:08:06] [homebridge-logamatic] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. 

Plugin Config:

{
    "name": "Logamatic",
    "url": "http://x.x.x.x:80",
    "gatewayPassword": "xxxx-xxxx-xxxx-xxxx",
    "privatePassword": "xxxxxxxxxxx",
    "heaterCircuit": "hc1",
    "waterCircuit": "dhw1",
    "platform": "Logamatic",
    "_bridge": {
        "username": "xx:xx:xx:xx:xx:xx",
        "port": 54084
    }
} 
xyz667 commented 1 year ago

Not sure if related to this issue, but I’ve had to deactivate this plugin due to memory loss.