Hi @jb4711
first, thanks a lot for this nice binding
but I found two issues.
The first error occurs when I change a washing program. I can see that the related item is updated. Like if I switch the washing machine to âNight Washâ I see it in my openhab UI for the assigned item.
but right after I get the following exception.
2020-10-15 15:49:41.514 [WARN ] [internal.client.HomeConnectApiClient] - [API_ERROR BOSCH-WAV28M40-68A40E39C393] GET 404 https://api.home-connect.com/api/homeappliances/BOSCH-WAV28M40-68A40E39C393/programs/available/LaundryCare.Washer.Program.Mix.NightWash
...
2020-10-15 15:49:41.515 [WARN ] [dler.AbstractHomeConnectThingHandler] - [HANDLER] Could not update program options. Communication error! response code: 404, message: , body: {
"error": {
"key": "SDK.Error.UnsupportedProgram",
"description": "Program not supported"
}
} (Tried at Thu Oct 15 15:49:41 CEST 2020)
but I donât get this error for all programs.
The following programs produces this error:
LaundryCare.Washer.Program.Cotton.CottonEco
LaundryCare.Washer.Program.Rinse
LaundryCare.Washer.Program.Spin.SpinDrain
LaundryCare.Washer.Program.DrumClean
LaundryCare.Washer.Program.Super153045.Super1530
LaundryCare.Washer.Program.Mix.NightWash
and the following programs works without any error
LaundryCare.Washer.Program.Cotton
LaundryCare.Washer.Program.EasyCare
LaundryCare.Washer.Program.Mix
LaundryCare.Washer.Program.DelicatesSilk
LaundryCare.Washer.Program.Wool
LaundryCare.Washer.Program.SportFitness
LaundryCare.Washer.Program.ShirtsBlouses
LaundryCare.Washer.Program.Sensitive
looks like not all programs provides additional program options.
and the second error occurs sometimes after I switched the washing machine on and off
2020-10-15 15:22:28.076 [INFO ] [dler.AbstractHomeConnectThingHandler] - [HANDLER BOSCH-WAV28M40-68A40E39C393] Set Waschmaschine to ONLINE and update channels.
2020-10-15 15:22:28.411 [WARN ] [internal.client.HomeConnectApiClient] - [API_ERROR BOSCH-WAV28M40-68A40E39C393] GET 409 https://api.home-connect.com/api/homeappliances/BOSCH-WAV28M40-68A40E39C393/status/BSH.Common.Status.DoorState
...
{
"error": {
"key": "SDK.Error.HomeAppliance.Connection.Initialization.Failed",
"description": "HomeAppliance is offline"
}
}
or
{
"error": {
"key": "SDK.Error.HomeAppliance.Connection.Initialization.Failed",
"description": "HomeAppliance did not respond to connection initialization requests in time, it might be offline"
}
}
I guess this happens on corner cases where the real device power state is not synchronized immediately. Like in the following case
- machine is power on
- homeconnect is informed about this power state
- hommeconnect informs openhab that the device is on
- machine is switched off
- openhab is still thinking, the machine is powered on and tries to fetch some data from homeconnect
- hommeconnect informs openhab that the device is off
after 10 failed requests in a row where the washing machine was in state offline I got
{
"error": {
"key": "429",
"description": "The rate limit \"10 successive error calls in 10 minutes\" was reached. Requests are blocked during the remaining period of 347 seconds."
}
}
if you need more information or additional debugging. Let me now.
btw. Iâm using openhab 2.5.9 and your binding in version 2.5.9