Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add smb share feature for Chuangmi Camera (#1482)
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: ```shell 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` Co-authored-by: Teemu R. <tpr@iki.fi>
- Loading branch information