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

chuangmi.camera.026c05 unable to connect | code: -10000 , user undefined error #1988

Open
4nkitd opened this issue Nov 19, 2024 · 0 comments
Labels

Comments

@4nkitd
Copy link

4nkitd commented Nov 19, 2024

Describe the bug
unable to get device info.

Version information (please complete the following information):

  • OS: Linux ( ubuntu )
  • python-miio: `pip show python-miio]

Device information:
If the issue is specific to a device [Use miiocli device --ip <ip address> --token <token> info]:

  • Model:
  • Hardware version: chuangmi.camera.026c05
  • Firmware version: 4.3.4_0443

To Reproduce
Steps to reproduce the behavior:

  1. run below given code
import miio;

result = miio.device.Device('192.168.x.x', '53784f4xxxxxxxxxxxxxxxxxxx').send('get_ipcprop', ['all'])

print(result)

Console output

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 270, in send
    raise DeviceError(m.data.value["error"])
miio.exceptions.DeviceError: {'code': -10000, 'message': 'user undefined error'}
Can't read output line 1 from command: 
python3 -c "import miio;result = miio.device.Device('192.168.x.x', '53784f4xxxxxxxxxxxx')
.send('get_ipcprop', ['all']);print(result['p2p_id']);print(result['avID']);print(result['avPass']);"
Error connecting to camera, make sure ip and token are correct.
Error, waiting 10 seconds and trying again.
@4nkitd 4nkitd added the bug label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant