albertogeniola / meross-homeassistant

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

Timeout occurred while waiting a response #111

Closed Malaga82 closed 4 years ago

Malaga82 commented 4 years ago

Hello, updated to new 1.0 version and at first boot the plug was available ( at first integration ). Rebooted and the plugs gone unavailable. Rebooted multiple times and are still unavailable. Strangely from the logs it says the plugs should be ONLINE ( and i can control them from the app correctly ).

> 2020-07-11 12:07:34 WARNING (MainThread) [custom_components.meross_cloud] 
===============================
Meross Cloud Custom component
Developed by Alberto Geniola
Low level library version: 0.4.0.0
-------------------------------
This custom component is under development and not yet ready for production use.
In case of errors/misbehave, please report it here: 
https://github.com/albertogeniola/meross-homeassistant/issues

If you like this extension and you want to support it, please consider donating.
-------------------------------
List of devices reported by HTTP API:
- Presa Lavastoviglie (mss310) - OnlineStatus.ONLINE
- Presa Lavatrice (mss310) - OnlineStatus.ONLINE
- ciabatta soggiorno (mss425e) - OnlineStatus.ONLINE
- Spina Soggiorno (mss310h) - OnlineStatus.ONLINE
===============================
2020-07-11 12:07:34 WARNING (SyncWorker_19) [homeassistant.components.tensorflow.image_processing] No OpenCV library found. TensorFlow will process image with PIL at reduced resolution
2020-07-11 12:07:35 WARNING (Thread-14) [meross_iot.manager] Subscribed to topics, updating state for already known devices...
2020-07-11 12:07:38 WARNING (MainThread) [hacs] Configuration option 'theme' is deprecated and you should remove it from your configuration, HACS will know if you use 'theme' in your Home Assistant configuration, this option will be removed in a future release.
2020-07-11 12:07:40 WARNING (MainThread) [homeassistant.components.calendar] Setup of calendar platform google is taking over 10 seconds.
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Timeout occurred while waiting a response for message b'{"header": {"from": "/app/82587-b073c296c3826a98161f589744716f52/subscribe", "messageId": "5e61211b2f086022d2ce6bb3a8a93ac8", "method": "GET", "namespace": "Appliance.System.Ability", "payloadVersion": 1, "sign": "1b12ddbef74be167093254a1b73eae51", "timestamp": 1594462059}, "payload": {}}' sent to device uuid 1912061548879725187848e1e912f695. Timeout was: 5.0 seconds
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Failed to retrieve abilities for device Presa Lavastoviglie (1912061548879725187848e1e912f695). This device won't be enrolled.
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Timeout occurred while waiting a response for message b'{"header": {"from": "/app/82587-b073c296c3826a98161f589744716f52/subscribe", "messageId": "7bd8b42be31f07a531acb392aeba46c6", "method": "GET", "namespace": "Appliance.System.Ability", "payloadVersion": 1, "sign": "1ecc2160d46fab982793f950f8eebf7d", "timestamp": 1594462059}, "payload": {}}' sent to device uuid 19060600838288251h0548e1e90006d7. Timeout was: 5.0 seconds
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Failed to retrieve abilities for device Presa Lavatrice (19060600838288251h0548e1e90006d7). This device won't be enrolled.
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Timeout occurred while waiting a response for message b'{"header": {"from": "/app/82587-b073c296c3826a98161f589744716f52/subscribe", "messageId": "a556f3aaec9155f1c84b5cb9a519e421", "method": "GET", "namespace": "Appliance.System.Ability", "payloadVersion": 1, "sign": "a4a0c2d7e30aea78ca6d5a2c63079cca", "timestamp": 1594462059}, "payload": {}}' sent to device uuid 18070236828091290d0134298f15bb19. Timeout was: 5.0 seconds
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Failed to retrieve abilities for device ciabatta soggiorno (18070236828091290d0134298f15bb19). This device won't be enrolled.
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Timeout occurred while waiting a response for message b'{"header": {"from": "/app/82587-b073c296c3826a98161f589744716f52/subscribe", "messageId": "0145ca7875a084c640d14110e2f44d3d", "method": "GET", "namespace": "Appliance.System.Ability", "payloadVersion": 1, "sign": "a8ca73fd197b42fa7bb60ce20e413c68", "timestamp": 1594462059}, "payload": {}}' sent to device uuid 1807144086503729081834298f15c5b4. Timeout was: 5.0 seconds
2020-07-11 12:07:44 ERROR (MainThread) [meross_iot.manager] Failed to retrieve abilities for device Spina Soggiorno (1807144086503729081834298f15c5b4). This device won't be enrolled.
2020-07-11 12:07:44 WARNING (MainThread) [custom_components.meross_cloud.sensor] Found 0 devices that require polling. Setting polling interval to 0:00:30

Maybe they block if you do many requests? Meross cloud issue? Thanks

p.s. i have also many sonoff ( cloud ) and don't have issue with them. edit: removed integration, added again it configure the account but it doesn't populate the entities. image

albertogeniola commented 4 years ago

Hi @Malaga82 , Version 1.0.0 requires you to completely remove any previous component version and install it from scratch. To do so, first uninstall the component, reboot HomeAssistant, then remove all the entities/devices (both from lovelace and from settings->devices menu), then reboot again and install the component. Perform the login and reboot HomeAssistant one last time. Then you should be ready to go!