A tool to control Sofia-powered chinese IP-cameras.
cms [USERNAME[:PASSWORD]@]IP[:PORT] COMMAND --ARGS...
Default values:
| Parameter | Value |
|---|---|
| USERNAME | admin |
| PASSWORD | empty |
| PORT | 34567 |
Returns JSON config from the device.
cms 192.168.1.10 getconfig --key "Camera.ParamEx[0].BroadTrends.AutoGain"
Updates JSON config on the device.
cms 192.168.1.10 setconfig --key "Camera.ParamEx[0].BroadTrends.AutoGain" --value "1"
Returns a datetime from the device.
cms 192.168.1.10 gettime
Updates device datetime to the current one.
cms 192.168.1.10 gettime
Creates a JPEG snapshot.
cms 192.168.1.10 snap > snap.jpg
Reboots the device.
cms 192.168.1.10 reboot
667bdrm for password hashing algo and stuff.