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

cuco.plug.sp5 keep restarting #415

Open
lmxx1234567 opened this issue Jan 29, 2022 · 6 comments
Open

cuco.plug.sp5 keep restarting #415

lmxx1234567 opened this issue Jan 29, 2022 · 6 comments

Comments

@lmxx1234567
Copy link

I am facing a problem with cuco.plug.sp5. The outlet keep restarting after add cuco.plug.sp5 into HASS by MioT. All switches on the outlet toggle between on and off.
It used to work fine. I have try to upgrade al-one/hass-xiaomi-miot to latest version v0.5.1, it still happening. Everything is normal when I exclude the outlet in Integration.
I got these log on HASS:

Gosund智能排插CP5 switch: Got MiioException while fetching the state: Unable to discover the device 192.168.50.241, mapping: {'switch-6.on': {'siid': 6, 'piid': 1}, 'indicator_light.on': {'siid': 10, 'piid': 1}, 'indicator_light.mode': {'siid': 10, 'piid': 2}, 'indicator_light.start_time': {'siid': 10, 'piid': 3}, 'indicator_light.end_time': {'siid': 10, 'piid': 4}, 'custome.off_memory': {'siid': 9, 'piid': 1}, 'custome.off_manager': {'siid': 9, 'piid': 2}, 'physical_controls_locked': {'siid': 8, 'piid': 1}}, max_properties: 10
Gosund智能排插CP5 Switch: Got MiioException while fetching the state: Unable to discover the device 192.168.50.241, mapping: {'switch.on': {'siid': 2, 'piid': 1}, 'indicator_light.on': {'siid': 10, 'piid': 1}, 'indicator_light.mode': {'siid': 10, 'piid': 2}, 'indicator_light.start_time': {'siid': 10, 'piid': 3}, 'indicator_light.end_time': {'siid': 10, 'piid': 4}, 'custome.off_memory': {'siid': 9, 'piid': 1}, 'custome.off_manager': {'siid': 9, 'piid': 2}, 'physical_controls_locked': {'siid': 8, 'piid': 1}}, max_properties: 10
Gosund智能排插CP5 switch: Got MiioException while fetching the state: Unable to discover the device 192.168.50.241, mapping: {'switch-5.on': {'siid': 5, 'piid': 1}, 'indicator_light.on': {'siid': 10, 'piid': 1}, 'indicator_light.mode': {'siid': 10, 'piid': 2}, 'indicator_light.start_time': {'siid': 10, 'piid': 3}, 'indicator_light.end_time': {'siid': 10, 'piid': 4}, 'custome.off_memory': {'siid': 9, 'piid': 1}, 'custome.off_manager': {'siid': 9, 'piid': 2}, 'physical_controls_locked': {'siid': 8, 'piid': 1}}, max_properties: 10
Gosund智能排插CP5 USB Switch Status: Got MiioException while fetching the state: Unable to discover the device 192.168.50.241, mapping: {'switch-7.on': {'siid': 7, 'piid': 1}, 'indicator_light.on': {'siid': 10, 'piid': 1}, 'indicator_light.mode': {'siid': 10, 'piid': 2}, 'indicator_light.start_time': {'siid': 10, 'piid': 3}, 'indicator_light.end_time': {'siid': 10, 'piid': 4}, 'custome.off_memory': {'siid': 9, 'piid': 1}, 'custome.off_manager': {'siid': 9, 'piid': 2}, 'physical_controls_locked': {'siid': 8, 'piid': 1}}, max_properties: 10
Gosund智能排插CP5 switch: Got MiioException while fetching the state: Unable to discover the device 192.168.50.241, mapping: {'switch-3.on': {'siid': 3, 'piid': 1}, 'indicator_light.on': {'siid': 10, 'piid': 1}, 'indicator_light.mode': {'siid': 10, 'piid': 2}, 'indicator_light.start_time': {'siid': 10, 'piid': 3}, 'indicator_light.end_time': {'siid': 10, 'piid': 4}, 'custome.off_memory': {'siid': 9, 'piid': 1}, 'custome.off_manager': {'siid': 9, 'piid': 2}, 'physical_controls_locked': {'siid': 8, 'piid': 1}}, max_properties: 10
@lmxx1234567
Copy link
Author

Update:
After change MioT Integration into Cloud Mode. It work just fine. Maybe there are some problem with LAN Mode.

@al-one
Copy link
Owner

al-one commented Jan 29, 2022

Maybe you can try to rebind this device in Mihome APP.

@lmxx1234567
Copy link
Author

@al-one Thanks for your reply. I have rebind the device in MiHome. It work fine with MiHome APP. But it still become abnormal when I integrate it with HASS. It used to be fine integrated with HASS.
I don't have a replacement outlet at the moment, so I can't do more testing at the moment. I will provide more information later.

@F-TD5X
Copy link

F-TD5X commented Sep 12, 2022

What I met is when I try to get the power consumption every 5 seconds, this model will get more hotter near main power button, and trigger overheat protection. Then it will restart.

By the way, if I get the data from this model by miio, it will clean the stored infomations. That's why "local" would not update the data should which upload to mi.com.

@hoanghaidang880
Copy link

cuco-plug-sp5 của tôi ko hiện thị trên app dù cho tôi reset nó nhấp nháy xanh và hiện thị wifi cuco-plug-sp5_miap04 mà vào app ko nhận diện đc mong ai giúp đỡ

al-one added a commit that referenced this issue Dec 26, 2024
@al-one
Copy link
Owner

al-one commented Dec 26, 2024

Try master branch.

wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants