Security system

Is there any law about putting a security system in the home. That is motion and video in public areas even if you spouse doesn’t know about it.

If you still reside in the home you may install a security system, but I would advise against using hidden cameras.