Smart birdhouses