lucacalcaterra / org.openhab.binding.melcloud

MelCloud binding for Openhab.
10 stars 6 forks source link

Communication error #20

Closed ae-11 closed 3 years ago

ae-11 commented 3 years ago

Last 2 days I have "Status: OFFLINE - COMMUNICATION_ERROR Login error, reason: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $".

I test MEL account (work) and rewrite credentials (correct) and got same result.

thewiep commented 3 years ago

Thanks for reporting, I just tested and am experiencing the same. I'll have a look at it.

lucacalcaterra commented 3 years ago

Mine openhab doesn't report this error. Anyway thanks for opening the issue. Probably due to json structure change. thanks to @thewiep to check it

ae-11 commented 3 years ago

OpenHAB restart resolve the problem... Sorry...

thewiep commented 3 years ago

I had the same issue in openHAB but could not reproduce it outside of openHAB. I just restarted openHAB and it indeed works as expected again now.

@ae-11 glad you were able to work around it. I grabbed some logs before I rebooted and will have another look to see what might have caused it but not sure if I'll be able to find anything. I don't like stuff I can't explain :-)