A platform and web interface for controlling electronic devices