Closed F-Kg closed 4 years ago
Same to me
The problem seems to be that the service sends: "updateAvailable": ""
but the JSON parser expects something like this: "updateAvailable": {"value": "", "lastChanged": "2019-06-20T00:15:32.766Z"}
I could fix this for myself by changing the type of the "updateAvailable" property in the State class from StringState to String, but this probably will fail with the new hardware revision I guess...
I have the same problem (at updating normally from 2.4.0 to 2.5.0 without any beta, snapshot or milestone releases). Please let this get fixed soon because it seems to affect all Innogy users (with at least Bridge Gen 1, and the Innogy binding of 2.4.0 is also not working anymore, therefore it is now broken for nearly all users). :-(
@planbnet
I could fix this for myself by changing
Did you actual change it? I'm asking because I don't know if this is the only difference. It crashes on the first and if all the other fields also have a mismatch than it will be a long time before this gets fixed because with each iteration the next value will fail.
So to fix this a complete example of data received from the device by the binding is needed.
@Hilbrand This was really the only change I did and the Binding is running fine for a week now. Seems like only this one field (updateAvailable) is handled differently.
I've created a new jar that should fix this issue: https://github.com/Hilbrand/openhab-addons/releases/tag/innogy
I completely removed reading the field updateAvailable
as it doesn't seem to be used in the code.
The fix is working for me. Thank you very much. :-)
I copied the new snapshot jar to the addons folder, uninstalled the (old) binding via Paper UI, removed the SmartHome controller binding, rebooted the server and searched via Paper UI for new innogy things. Now everything was recognized and initialized correctly again (the old things and items were working again automatically).
It works for me, too. Thanks a lot!
Will this fix get included in the release version of OH and if so, when? Am I supposed to close this issue?
Same for me. Thank you very much and I wish you a fine Christmas :-)
@F-Kg Yes I plan to have it in the next release. I don't know when that is. No need to close the issue. I'll will create the pull request and if that is merged it should be auto closed.
Current Behavior
After I upgraded, the innogy binding is not working anymore for me. I upgraded from latest milestone to 2.5.0-1 release build. I am using the older version of the bridge (Gen. 1).
Paper UI shows the birdge as initializing and after a timeout it changes its state to:
The log shows:
What I tried so far to fix:
clear cache, reinstall binding, get a new auth key, reboot raspi
If you want me to deliver any more information please let me know. I am a beginner and not sure what information is important.