I am working on creating blueprints for my new home. My plan is to have both solar panels on the roof and a rainwater catchment system that directs water from the roof into some tanks in the basement. I expect to have a filter (not sure if it will be ceramic, fiber, etc.) somewhere between the tanks and the pump that will push the water into a bladder tank before it reaches the household pipes.
I know you can have solar panels on the roof, and I know you can harvest rainwater from the roof, but is there some health risk in harvesting rainwater that has fallen on solar panels (and the racks, cables, etc.)? Do I need to worry about any chemicals being leached into the water? If so, what would be the best way to filter them out? I plan to use this rainwater for drinking and cooking.
Note: I already plan to have a filter for things like bird droppings and other biomatter. My question is specifically about substances that could leach off the solar panels or any related hardware.