-
-
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
Add smb share feature for Chuangmi Camera #1482
Add smb share feature for Chuangmi Camera #1482
Conversation
Tested on chuangmi.camera.ip029a, working fine. |
Co-authored-by: Teemu R. <tpr@iki.fi>
773e035
to
c2dd1c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can be merged after the linting checks pass. Thanks @0x5e! 👍
Hi @rytilahti , I updated the code for black and isort checks, still failed in mypy. I'm not familiar with pyhon3 syntax, could you help me solve this error? Thanks.
|
Now linting checks has passed. |
Co-authored-by: Teemu R. <tpr@iki.fi>
I executed this command on the 029a02 camera, it returned ['OK'] but did not actually write. How can I adapt 029a02? |
The Xiaomi App have limitation in setting NAS location, it has to be in the local network. It discover the NAS then list them then let me choose. I have a NAS across the VPN and actually it's accessible, but not able to be discovered and set.
This function can help people config NAS outside the local network.
Example:
miiocli chuangmicamera --ip 192.168.60.11 --token xxxxxxxxxx set_nas_config on "smb://user:pass@192.168.40.2/camera" realtime quarter
If the
share
param left empty, It will keep the last config.Tested on
chuangmi.camera.ipc013