h4de5 / home-assistant-toshiba_ac

Toshiba AC integration into home-assistant.io
GNU General Public License v3.0
113 stars 17 forks source link

Integration no longer works, probably login problem #188

Closed felixmueller closed 2 weeks ago

felixmueller commented 3 weeks ago

The integration has stopped working for me a few hours ago. At first I got an error message similar to “Invalid credentials” when performing actions. After restarting the integration I get “DisconnectEvent received while in unexpected state - ConnectionState.DISCONNECTED”.

Can any of you reproduce this?

cmug81 commented 3 weeks ago

in Toshiba -mobile app, there was a new EULA to accept. I accepted it, but integration did not immediately start working. I hope they did not change the API somehow.

cmug81 commented 3 weeks ago

2024-06-10 09:29:54.504 WARNING (callback) [azure.iot.device.iothub.pipeline.mqtt_pipeline] Subscribe for methods failed.  Not enabling feature
2024-06-10 09:29:54.505 WARNING (pipeline) [azure.iot.device.common.pipeline.pipeline_stages_base] ConnectionStateStage: DisconnectEvent received while in unexpected state - ConnectionState.DISCONNECTED
2024-06-10 09:29:54.506 WARNING (callback) [azure.iot.device.common.handle_exceptions] Exception caught in background thread.  Unable to handle.
2024-06-10 09:29:54.506 WARNING (callback) [azure.iot.device.common.handle_exceptions] ['azure.iot.device.common.transport_exceptions.ConnectionDroppedError: Unexpected disconnection\n']
Tin-Bui commented 3 weeks ago

I accepted the EULA, but integration still didn't work. I tried deleting the integration and adding it again, then it is all working fine now for me.

laurensk commented 3 weeks ago

Same issue here. But I did not have to accept any new EULA yet. Will investigate and try to fix today!

laurensk commented 3 weeks ago

Fix implemented in https://github.com/h4de5/home-assistant-toshiba_ac/pull/189

For the time being, you can remove the re-add the configuration for this integration as @Tin-Bui mentioned, since this will also refresh the authorization token!

rfam13 commented 2 weeks ago

Starting with a fresh install after buying a Toshiba AC today. Logged into the app, accepted the agreement and can interact with the AC. However when I attempt to login via the integration I get "Invalid Authentication". Tried multiple times, dropped special chars from the password but still receiving the same error.

laurensk commented 2 weeks ago

Can you try if the underlaying Python library (https://github.com/KaSroka/Toshiba-AC-control) works?

rfam13 commented 2 weeks ago

I apologize I did not follow up when I found the problem from a different issue that was closed. It was due to me being in North America from what I read. As the Midea integration works fine.