Operations for controlling physical devices