Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

No response from device CMSXJ13A (IP & token are correct) #28

Open
bombaata opened this issue May 12, 2021 · 1 comment
Open

No response from device CMSXJ13A (IP & token are correct) #28

bombaata opened this issue May 12, 2021 · 1 comment

Comments

@bombaata
Copy link

Hi, thanks for your work. I'm trying to use it for a CMSXJ13A device and got the following error :

Got error when receiving: timed out
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 193, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 193, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 193, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 193, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/miio/device.py", line 179, in send
    command, parameters, retry_count, extra_parameters=extra_parameters
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 237, in send
    extra_parameters=extra_parameters,
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 237, in send
    extra_parameters=extra_parameters,
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 237, in send
    extra_parameters=extra_parameters,
  File "/usr/local/lib/python3.6/dist-packages/miio/miioprotocol.py", line 241, in send
    raise DeviceException("No response from the device") from ex
miio.exceptions.DeviceException: No response from the device
Can't read output line 1 from command: python3 -c "import miio;result = miio.device.Device('192.168.0.99', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx').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.

IP and token are OK, device is turned on.

@bombaata
Copy link
Author

miiocli command reports Error: Unable to discover the device for this model.

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

No branches or pull requests

1 participant