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

Aqara G2 not work #13

Open
Ener-G opened this issue Apr 28, 2019 · 5 comments
Open

Aqara G2 not work #13

Ener-G opened this issue Apr 28, 2019 · 5 comments

Comments

@Ener-G
Copy link

Ener-G commented Apr 28, 2019

Hey,

my new camera "Aqara Hub G2" will not work :(

root@raspberrypi:~# videop2proxy --ip 192.168.86.6 --token TOKENXXXXXX --rtsp 8554
Starting proxy...
Starting RTSP server on "rtsp://192.168.86.2:8554/"
(Using port 80 for optional RTSP-over-HTTP tunneling.)

Got error when receiving: timed out
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 293, 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.86.6', 'TOKENXXXXXX').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.
@ghost
Copy link

ghost commented May 8, 2019

perhaps it should be interesting to share info.
https://github.com/rytilahti/python-miio/issues/504

Actually there is no p2p_id for the streaming of the video but information mention a video_stream property....

@BaQs
Copy link

BaQs commented Jul 21, 2019

Same issue here. What kind of info do you need ?

@lpawlak
Copy link

lpawlak commented Feb 8, 2020

Hey,

my new camera "Aqara Hub G2" will not work :(

root@raspberrypi:~# videop2proxy --ip 192.168.86.6 --token TOKENXXXXXX --rtsp 8554
Starting proxy...
Starting RTSP server on "rtsp://192.168.86.2:8554/"
(Using port 80 for optional RTSP-over-HTTP tunneling.)

Got error when receiving: timed out
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 259, 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.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 293, 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.86.6', 'TOKENXXXXXX').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.

Have the same problem :(

@Letalis
Copy link

Letalis commented Nov 11, 2020

is this project dead?
I encounter the same issue as people above.

@meeDamian
Copy link

Same issue here.

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

5 participants