Have you ever wondered how a pine cone knows when to open and close? It's not magic, it's science. Now, researchers have taken this cue from nature to create something pretty cool for our homes.