Replace deviceID by variableID