home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.35k stars 29.89k forks source link

DeviceException during setup of xiaomi gateway with host #51229

Closed terenceng81 closed 3 years ago

terenceng81 commented 3 years ago

The problem

I have posted an issue here but nobody reply

Wonder am I posted to the wrong place?

https://community.home-assistant.io/t/xiaomi-miio-gateway-integration-issue/311117/3

Thanks!

What is version of Home Assistant Core has the issue?

core-2021.5.5

What was the last working version of Home Assistant Core?

core-2021.5.5

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Xiaomi Miio

Link to integration documentation on our website

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

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Logger: homeassistant.components.xiaomi_miio.gateway Source: components/xiaomi_miio/gateway.py:47 Integration: Xiaomi Miio (documentation, issues) First occurred: 17:48:58 (1 occurrences) Last logged: 17:48:58

DeviceException during setup of xiaomi gateway with host 192.168.8.183

starkillerOG commented 3 years ago

@terenceng81 you could try installing portainer then going to the HomeAssistant image, to the command line, and there you schould see the correct python install.

terenceng81 commented 3 years ago

@terenceng81 you could try installing portainer then going to the HomeAssistant image, to the command line, and there you schould see the correct python install.

I am not using container for HA, still can use portainer?

lafferlaffer commented 3 years ago

@terenceng81: Thanks for the reply.. I am running 'core' in a Docker container.

terenceng81 commented 3 years ago

@starkillerOG @rytilahti

May I know an estimate of when will the Miio component be updated??

lafferlaffer commented 3 years ago

I set up HA core on a Raspberry Pi. (for multiple reasons) Unsurprisingly, theres still the same error here. Any idea where to look to implement the fix?

I've obviously tried to look for the file mentioned here, and gateway.py, but I'm not able to find anything.

bilde

` Logger: homeassistant.components.xiaomi_miio.gateway Source: components/xiaomi_miio/gateway.py:47 Integration: Xiaomi Miio (documentation, issues) First occurred: 08:16:48 (1 occurrences) Last logged: 08:16:48

DeviceException during setup of xiaomi gateway with host `