Xiaomi Yi Dome 1080p or Foscam FI9961EP / FI9851P

hi, I wish to install a internal camera for security, I have a Foscam FI9900P for external and I’m very happy.
I wish to buy a internal camera with PTZ like a Foscam FI9961 but it cost over 100 eur (alternatively a simply HD FI9851P). I suppose both haven’t the automatic tracking of the subject
Recently I bought a Xiaomi Yi Dome 1080p, it is very nice have PTZ and have a nice function with automatic tracking of the subjects. The price is very nice… I bought it 40 eur.

If I hack the Xiaomi firmware with the yi-hack-v3 project… will the camera keep the PTZ function with automatic tracking of the subjects?

What do you suggest to me Foscam FI9961 or Yi Dome 1080p hacked?