It comes with a wall-wart. I found the one supplied to get very hot so I use a different one. I, like one of the previous comments, have mine mounted outside and hard wired into my home. If you do not have too many trees I think solar would be an excellent option. I don't think I would recommend batteries unless you have a way to recharge them (solar, wind).
It comes with a power supply,batteries can be done if you make the power connection but the drain would cost a lot of money. If you use it outside with the right weather proof box I used a solar panel with recharge batteries that work really good.