Automation and remote control