miguelangel-nubla/videoP2Proxy

Need help with Aqara camera

Opened this issue · 3 comments

I'm a newbie and do everything according to this instruction. I get Camera IP and token but every time I see this error. How to fix it? Can you help me, please? What's that p2p_id?

Traceback (most recent call last):
  File "<string>", line 1, in <module>
KeyError: 'p2p_id'
Can't read output line 1 from command: python3 -c "import miio;result = miio.device.Device('192.XXX.XX.XXX', '6577324a573XXXXXXXXXXXXXXXXX').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.

I get this error in the last step when I run the RTSP proxy

This has stopped working since v3.3.7_248.0143 firmware update.

FoZo commented

Hello,
it looks like get_ipcprop does not return avID and avPass anymore.
This is the output of get_ipcprop from my device:
{'app_type': 'celing', 'offset_x': '0', 'offset_y': '0', 'offset_radius': '0', 'md_status': 1, 'video_state': 1, 'fullstop': 0, 'led_status': 1, 'ir_status': 1, 'mdsensitivity': 6000000, 'channel_id': 0, 'flip_state': 0, 'id': 1}

I don't know if that information will help @miguelangel-nubla to solve the issue.