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

Got exception while fetching the state @ version 0.98.1 #79

Closed
sunkeycn opened this issue Sep 4, 2019 · 3 comments
Closed

Got exception while fetching the state @ version 0.98.1 #79

sunkeycn opened this issue Sep 4, 2019 · 3 comments

Comments

@sunkeycn
Copy link

sunkeycn commented Sep 4, 2019

错误日志:
Error info:

2019-09-04 14:42:08 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: {'code': -5000, 'message': 'Resp general error.'}
2019-09-04 14:42:13 WARNING (SyncWorker_0) [homeassistant.components.homekit.util] ['Auto', 'Silent', 'Favorite', 'Idle'] does not contain the speed setting off as its first element. Assuming that Auto is equivalent to 'off'.
2019-09-04 14:43:09 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: {'code': -5000, 'message': 'Resp general error.'}
2019-09-04 14:44:10 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: {'code': -5000, 'message': 'Resp general error.'}
2019-09-04 14:45:11 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: {'code': -5000, 'message': 'Resp general error.'}
2019-09-04 14:46:12 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: {'code': -5000, 'message': 'Resp general error.'}

@sunkeycn
Copy link
Author

sunkeycn commented Sep 4, 2019

2019-09-04 16:11:21 DEBUG (MainThread) [miio.device] 192.168.10.103:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []}
2019-09-04 16:11:21 DEBUG (MainThread) [miio.device] 192.168.10.103:54321 (ts: 1970-01-01 02:48:13, id: 1) << {'result': {'life': 10093, 'token': 'b1c......', 'mac': '04:CF:8C:23:07:F8', 'fw_ver': '1.3.2_108', 'hw_ver': 'ESP32', 'uid': 44715***, 'model': 'lumi.acpartner.mcn02', 'wifi_fw_ver': 'v3.0.1-rc-109-gbbb9743-dirty', 'ap': {'rssi': -22, 'ssid': 'R7000_SUNKEY', 'primary': 10, 'bssid': '50:6A:03:A5:F7:15'}, 'netif': {'localIp': '192.168.10.103', 'mask': '255.255.255.0', 'gw': '192.168.10.1'}, 'mmfree': 64260}, 'id': 1}
2019-09-04 16:11:21 INFO (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] lumi.acpartner.mcn02 1.3.2_108 ESP32 detected
2019-09-04 16:11:21 DEBUG (SyncWorker_7) [miio.device] 192.168.10.103:54321 >>: {'id': 2, 'method': 'get_model_and_state', 'params': []}
2019-09-04 16:11:21 DEBUG (SyncWorker_7) [miio.device] 192.168.10.103:54321 (ts: 1970-01-01 02:48:13, id: 2) << {'error': {'code': -5000, 'message': 'Resp general error.'}, 'id': 2}
2019-09-04 16:11:21 ERROR (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got exception while fetching the state: {'code': -5000, 'message': 'Resp general error.'}

@akubak
Copy link

akubak commented Sep 6, 2019

I'm getting a similar error. The token is definitely the correct one, as I've extracted it from the app database through querying by local IP. I did not try it on an earlier version of HASS as I've updated before setting up the component. I'm using the acpartner.v3 (New square version that's cheaper than the round one).

EDIT: At least that's what I though I was using... in the logs it shows up as lumi.acpartner.mcn02. Possibly this is related to issue #61.

@syssi
Copy link
Owner

syssi commented May 13, 2021

Your device isn't supported right now.

@syssi syssi closed this as completed May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants