albertogeniola / meross-homeassistant

Custom component that leverages the Meross IoT library to integrate with Homeassistant
MIT License
710 stars 82 forks source link

Migrating from eHomeLife to Refoss app #445

Closed kwkid closed 7 months ago

kwkid commented 1 year ago

Has anyone been able to use this integration after migrating from the eHomeLife app to the Refoss app. You need to re-authenticate your login within NA and it now gives "An unexpected error occurred"...Perhaps the HTTP API Endpoint has changed from https://iot.meross.com?

michael-groner commented 1 year ago

I have the same experience. No solution yet.

946021 commented 1 year ago

same here. not working after migration

Adam-Kay commented 1 year ago

Bump. Also not working for me currently. Maybe there's a new API endpoint URL?

HiroMT commented 1 year ago

For anyone looking… Though not ideal. I was tired of this and reset the device and connected to meross and works like a charm with meross lan for HA

prashker commented 1 year ago

Sniffing some traffic on my Pi-Hole, seems like the new endpoint in Refoss version of the app is https://iotx-us.refoss.net

However when I try and login by specifying that endpoint I get:

2023-08-25 22:38:53.826 ERROR (MainThread) [meross_iot.http_api] Received non-ok API status code: CODE_WRONG_EMAIL. Failed request to API. Response was: {'apiStatus': 1008, 'sysStatus': 0, 'info': 'Email unregistered', 'timestamp': 1693017533, 'data': {}}

The fact I migrated from eHomeLife to Refoss may explain this weird discrepancy, having said that, I will update here if I can get any further.

edit: I tested a new account (non-migration) and got same error as above. Moved to Meross' APP as @HiroMT mentioned (I have no loyalty to eHomeLife/Refoss) and all is well again.

FYI @albertogeniola I hope the info on the new API endpoint helps. I wasn't able to get much further from there.

Christophe668 commented 10 months ago

I did the same as @HiroMT, Refoss and Meross ship the same hardware under a different company name. The Refoss switch can therefore be paired to a Meross account via the Meross app and it works perfectly. Confusing but working well 👌