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

Xiaofang don't not work #7

Open
Ziracul opened this issue Oct 26, 2018 · 1 comment
Open

Xiaofang don't not work #7

Ziracul opened this issue Oct 26, 2018 · 1 comment

Comments

@Ziracul
Copy link

Ziracul commented Oct 26, 2018

Traceback (most recent call last):
File "/home/pi/.local/lib/python3.5/site-packages/miio/device.py", line 257, 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 "/home/pi/.local/lib/python3.5/site-packages/miio/device.py", line 257, 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 "", line 1, in
File "/home/pi/.local/lib/python3.5/site-packages/miio/device.py", line 286, in send
return self.send(command, parameters, retry_count - 1)
File "/home/pi/.local/lib/python3.5/site-packages/miio/device.py", line 286, in send
return self.send(command, parameters, retry_count - 1)
File "/home/pi/.local/lib/python3.5/site-packages/miio/device.py", line 286, in send
return self.send(command, parameters, retry_count - 1)
File "/home/pi/.local/lib/python3.5/site-packages/miio/device.py", line 289, 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.1.78', '58686745624155706865793972764530').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.

@Ziracul Ziracul changed the title Xiaofan don't not work Xiaofang don't not work Oct 26, 2018
@Raidok
Copy link

Raidok commented Mar 28, 2021

Don't waste your time on that. I investigated it and it seems that p2p_id, avID and avPass are not available any more.
Use samtap/fang-hacks for legacy cube cam or EliasKotlyar/Xiaomi-Dafang-Hacks if you have the 1S model and get an RTSP stream straight from the camera itself.

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

2 participants