-
-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Xiaomi Aqara Camera (lumi.camera.aq1) #373
Comments
Can you tell us more about this device? Is it the same as the one mentioned in #347? |
Yes, It is the same. Is a camera with functionality as a zigbee gateway. How can I help, what do you need to know about it? |
We need to obtain the commands the app is sending to the device. This guide can be helpful for doing that: https://github.com/aholstenson/miio/blob/master/docs/protocol.md . Can you try |
Does not report the token this way, but I have it with the other methods.
Replaced credentials with #####.
And on the plugin of MiHome app I can find:
|
Ok, great. The API seems to be similar to that of the gateway device.
You could also try to see what kind of output you get when sending |
I added a very preliminary support, there are open issues:
|
Every method pasted here is self-descriptive and works as expected. All the changes are verified from the app or manually checking them.
That is partially correct, this camera starts behaving different here.
So I currently don't know how to get the device list for the gateway part.
Sure do, 1 on success beginning format.
Without sd card inserted:
SD card needs format:
While formatting SD card:
SD card ok, the app reports "good"
Also have "arming" state
Arm delay seconds
Volume is 0 to 100, but accepts and reports bigger values whithout problem (bug)
Play the sound directly. First param is the mid value from one item of the previous list (sound ID), second volume at which to play it.
The first param 0 seems to be the type of sound setting, for now only found id 0 wich is the alarm sound setting.
Change alarm
Reports back
Sensitivity set from the app allows high (6000000), medium(10000000), low(11000000), but can set any value. Don't know the unit.
set_video toogles sleep mode
|
Thanks for a comprehensive feedback, I updated the PR based on that information. I think the main thing missing now is to figure out how the video&audio can be accessed. If you don't mind testing the PR, it would be helpful (please comment your findings in the PR, so it is easier to correct them). |
There is a solution to video playback here: |
@sendorm Great! Thank you, I just tried out the linked solution and it worked. I made a docker container for the script if anyone would like to run it in docker: https://github.com/humpedli/docker-xiaomi-aqara-rtsp |
I need to communicate better, see slide 33-38 here: |
@miguelangel-nubla's great work ceased to work after lumi.camera.aq1 3.3.7_248.0143 firmware update. |
sorry to bother, curious about the speaker mentioned above
is it possible to make the camera play a prepared mp3 via a function call? |
$ mirobo discover
INFO:miio.discovery:Discovering devices with mDNS, press any key to quit...
WARNING:miio.discovery:Found unsupported device lumi-camera-aq1_miio75547134._miio._udp.local. at 192.168.1.33, please report to developers
edit: copied over from #347: https://fr.gearbest.com/ip-cameras/pp_978606.html?wid=1433363
The text was updated successfully, but these errors were encountered: