How to Develop Applications for the Internet of Things

What's the best way to build an application that could do anything from control home appliances remotely to gather meteorological data from sensors to produce a weather forecast? Startups offering data ingestion platforms take much of the hard work out of developing for the Internet of Things.
internet of things control touch user