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

Need help with Aqara camera #12

Open
funnymataleao opened this issue Apr 20, 2019 · 3 comments
Open

Need help with Aqara camera #12

funnymataleao opened this issue Apr 20, 2019 · 3 comments

Comments

@funnymataleao
Copy link

funnymataleao commented Apr 20, 2019

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.
@funnymataleao
Copy link
Author

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

@trananhtuan
Copy link

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

@FoZo
Copy link

FoZo commented Oct 5, 2019

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.

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

3 participants