Automatically disabling the passcode when iPhone connected to home wifi
No, this is not possible on a non-jailbroken device. Due to sandboxing and other restrictions, it is not possible for an app on a non-jailbroken device to have control over a system-level passcode.