This app was mentioned in 1 comment, with an average of 5.00 upvotes
LOL, no the wifi is so you can control the bed with your phone instead of the remote it comes with. I find it handy because once I raise the head I can't reach the table to put down the remote. This way I can just do it with my phone or tablet. I know this is a total first world problem. "Oh no I can't reach the remote for my $9,000 bed and I want to raise my feet 3 inches, FML!"
Here's the app to give you an idea of what it does: https://play.google.com/store/apps/details?id=com.tempur.ergo