Drop the Phone and Talk to the Physical World: Programming the Internet of Things with Erlang