An Online Wiring the the Internet of Things