core icon indicating copy to clipboard operation
core copied to clipboard

MELCloud integration silently fails when melcloud is down

Open mgartin opened this issue 2 years ago • 21 comments

The problem

As of writing, there seems to be an issue with the cloud servers of Mitsubishi, making it impossible to control HVAC systems for a few countries in the EU at least via the official app and also via the HA MELCloud integration.

What version of Home Assistant Core has the issue?

core-2024.4.3

What was the last working version of Home Assistant Core?

core-2024.4.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

MELCloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/melcloud

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

It would be nice if there could be some information in HA that the MELCloud integration actually fails. For HVACs in heating mode, this is quite important.

Using the MELCloud official Android app also fails, and there is no information in the app.

The issue discussd on reddit: https://www.reddit.com/r/mitsubishi/comments/1c7td2g/melcloud_issues_since_yesterday_anyone_else/

mgartin avatar Apr 22 '24 17:04 mgartin

As per comment by RunTime9816 on Reddit, this is a workaround: If you manage your own DNS server, you can get online again, setting the host "production.receiver.melcloud.com" to resolve to the IPaddress: 52.215.226.151

However, my point with this issue is that the HA integration should somehow be aware that it is in fact not working, and not seemingly work when it doesn't. I think that would be good.

mgartin avatar Apr 22 '24 17:04 mgartin

Screenshot_20240419_225747_MELCloud

PlutoWRC avatar Apr 22 '24 19:04 PlutoWRC

As per comment by RunTime9816 on Reddit, this is a workaround: If you manage your own DNS server, you can get online again, setting the host "production.receiver.melcloud.com" to resolve to the IPaddress: 52.215.226.151

However, my point with this issue is that the HA integration should somehow be aware that it is in fact not working, and not seemingly work when it doesn't. I think that would be good.

I've been doing some debugging on this issue. I can probably make a PR where I read the Offline state from MelCloud and then render the entry/entity as unavailable in HA. This should save some hazzle.

erwindouna avatar Apr 22 '24 19:04 erwindouna

Is this still broken? The Integration fails to load, but I can login via the MEL App okay. Thanks.

saltydog256 avatar May 17 '24 03:05 saltydog256

No response from melcloud since 17:45 CET today May 23rd. HA didn't show any issues until I tried to reload integration and then it failed. Melcloud app works normally.

oh5lep avatar May 23 '24 16:05 oh5lep

No response from melcloud since 17:45 CET today May 23rd. HA didn't show any issues until I tried to reload integration and then it failed. Melcloud app works normally.

Same issue here. App works so it seems to not be the cloud itself. Integration throws following error about the SSL certificate: IMG_3134

TuomasPakkanen avatar May 23 '24 16:05 TuomasPakkanen

Their cert was just renewed on May 20 and I suspect there is an incomplete cert chain presented causing the integration to fail. My browser is able to stitch the proper chain, though the melcloud app fails also on my end.

https://whatsmychaincert.com/?app.melcloud.com

itwtds avatar May 23 '24 18:05 itwtds

Yep the integration is down again SSLLABS for app.melcloud.com also mentions they're B grade capped because of a incomplete chain

"This server's certificate chain is incomplete. Grade capped to B."

bartd83 avatar May 23 '24 18:05 bartd83

The MELcloud app doesn't work either... Screenshot_20240523_211420_MELCloud

PlutoWRC avatar May 23 '24 19:05 PlutoWRC

Unfortunately people are experiencing this in HA, yet this isn't controlled and thus not fixable within HA. Best options we have is to contact their support and notify them regarding this issue.

erwindouna avatar May 23 '24 19:05 erwindouna

another reason why we need a right for a local API on IOT devices. MEL is getting super unreliable in the last time.

osulivanDE avatar May 23 '24 19:05 osulivanDE

Expressions of support for MELcloud...

Dear MELCloud Customer,

MELCloud via Android application is temporarily unavailable for maintenance, we are working to resolve this as quickly as possible. In the meantime, please use https://app.melcloud.com/ via web browser.

We apologise for any inconvenience that this is causing and thank those users who got in touch to inform us.

Kind Regards,

MELCloud Helpdesk

PlutoWRC avatar May 23 '24 20:05 PlutoWRC

Expressions of support for MELcloud...

Dear MELCloud Customer,

MELCloud via Android application is temporarily unavailable for maintenance, we are working to resolve this as quickly as possible. In the meantime, please use https://app.melcloud.com/ via web browser.

We apologise for any inconvenience that this is causing and thank those users who got in touch to inform us.

Kind Regards,

MELCloud Helpdesk

Thanks. How did you get in contact with customer support?

osulivanDE avatar May 23 '24 21:05 osulivanDE

Dík. Jak jste se dostali do kontaktu se zákaznickou podporou?

I contact them through this email: [email protected]

PlutoWRC avatar May 24 '24 05:05 PlutoWRC

Please note:

  • This issue is not about issues at Mitsubishi MELcloud.
  • It is not meant to be a chat about possible causes or workarounds.
  • Read first post (I am the creator of this issue, but not the maintainer): "MELCloud integration silently fails when melcloud is down".

"It would be nice if there could be some information in HA that the MELCloud integration actually fails. For HVACs in heating mode, this is quite important."

That is all this issue is about, everything else is noise (although I do understand the frustration!).

mgartin avatar May 24 '24 06:05 mgartin

The most recent issue, regarding the certificate chain, has been resolved. I think the main root cause of the start of this issue, has also been resolved, @mgartin?

erwindouna avatar May 25 '24 12:05 erwindouna

After an update of HA (I guess it was just the reboot) everything seems to work again.

Baschfest avatar May 26 '24 19:05 Baschfest

Issue has been resolved. Root cause was on Mitsubishi. Please create a new issue when it occurs.

erwindouna avatar Jun 21 '24 09:06 erwindouna

Am I right that the commit in #115962 resolves the issue - the actual issue here - that the integration fails silently, without giving any indication to the HA user that it fails? Will that PR result in a red dot somewhere in HA if MELCloud fails in the future? If so, this issue can be closed.

mgartin avatar Jun 21 '24 10:06 mgartin

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.