Hi , ye, that is really too simple now.
You can use the ZigBee wireless devices to help you.
For the lights, no need to change them , just replace the switches .
And you want realize the function that when the PIR detector detect somebody come then the lights would turning on automatically...