Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud retrieve mode suggests I switch to hack mode #176

Closed
twhittock opened this issue Feb 26, 2022 · 2 comments
Closed

cloud retrieve mode suggests I switch to hack mode #176

twhittock opened this issue Feb 26, 2022 · 2 comments
Labels
bug Something isn't working fixed Upcoming fix/feature already on dev

Comments

@twhittock
Copy link

Version 2.5.4

Configuration

Describe the bug

When I attempt to reconfigure mss420f 3.0.0, Firmware: 3.1.1 I cannot get hack mode to work. So I switched to cloud retrieve, but when I then click submit, instead of being given an opportunity to enter my meross cloud credentials, I am given the error "Key error: select 'Hack mode' to allow empty key." Hack mode does not work, it returns the error "Key error: select 'Cloud retrieve' to get from Meross account."

Debug log

It's unclear what logger settings I need to enable in order to provide information. This is all that is logged currently, probably unrelated to the UI error I'm reporting, more a symptom of the problem I'm trying to fix by switching to cloud retrieve mode.


yaml

This error originated from a custom integration.

Logger: custom_components.meross_lan
Source: custom_components/meross_lan/helpers.py:25
Integration: Meross LAN (documentation, issues)
First occurred: 11:57:00 (4 occurrences)
Last logged: 11:57:00

MerossDevice(2006280724788490817148e1e9216663) error in async_http_request: {'error': {'code': 5001, 'detail': 'sign error'}}
MerossDevice(1912033761949090805948e1e91259a0) error in async_http_request: {'error': {'code': 5001, 'detail': 'sign error'}}
MerossDevice(1912039687493890805948e1e9125b64) error in async_http_request: {'error': {'code': 5001, 'detail': 'sign error'}}
MerossDevice(1806223616531725133234298f135ebb) error in async_http_request: 'channel'

@krahabb krahabb added the bug Something isn't working label Feb 26, 2022
@krahabb
Copy link
Owner

krahabb commented Feb 26, 2022

Yes, I've rechecked the flow and there's an 'hole'.
You could just insert a 'whatever not-null' key to be delivered to the cloud retrieval form.
I'm fixing for the next release

krahabb added a commit that referenced this issue Feb 26, 2022
@krahabb krahabb added the fixed Upcoming fix/feature already on dev label Feb 26, 2022
@krahabb krahabb mentioned this issue Mar 3, 2022
@twhittock
Copy link
Author

Thanks - the workaround worked for me, and the new release seems to work, too! Thank you so much!

@krahabb krahabb mentioned this issue Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Upcoming fix/feature already on dev
Projects
None yet
Development

No branches or pull requests

2 participants