Define sensor id as variable